Lines Matching defs:ret
151 int ret, node;
161 node = ret = fdt_add_subnode(fdt, fcnlnode, nodename);
162 if (ret < 0) {
163 NOTICE("BL2: Cannot create FCNL node (ret=%i)\n", ret);
167 ret = fdt_setprop_string(fdt, node, "compatible",
169 if (ret < 0) {
170 NOTICE("BL2: Cannot add FCNL compat string %s (ret=%i)\n",
171 "renesas,lossy-decompression", ret);
175 ret = fdt_appendprop_string(fdt, node, "compatible",
177 if (ret < 0) {
178 NOTICE("BL2: Cannot append FCNL compat string %s (ret=%i)\n",
179 "shared-dma-pool", ret);
183 ret = fdt_setprop_u64(fdt, node, "reg", start_addr);
184 if (ret < 0) {
185 NOTICE("BL2: Cannot add FCNL reg prop (ret=%i)\n", ret);
189 ret = fdt_appendprop(fdt, node, "reg", &fcnlsize, sizeof(fcnlsize));
190 if (ret < 0) {
191 NOTICE("BL2: Cannot append FCNL reg size prop (ret=%i)\n", ret);
195 ret = fdt_setprop(fdt, node, "no-map", NULL, 0);
196 if (ret < 0) {
197 NOTICE("BL2: Cannot add FCNL no-map prop (ret=%i)\n", ret);
201 ret = fdt_setprop_u32(fdt, node, "renesas,formats", format);
202 if (ret < 0) {
203 NOTICE("BL2: Cannot add FCNL formats prop (ret=%i)\n", ret);
383 uint64_t ret;
394 ret = rzg_get_dest_addr_from_cert(SOC_FW_CONTENT_CERT_ID,
396 if (ret == 0U) {
401 ret = rzg_get_dest_addr_from_cert(TRUSTED_OS_FW_CONTENT_CERT_ID,
403 if (ret == 0U) {
431 int ret;
440 ret = fdt_setprop_string(dt, 0, "compatible",
444 ret = fdt_setprop_string(dt, 0, "compatible",
448 ret = fdt_setprop_string(dt, 0, "compatible",
452 ret = fdt_setprop_string(dt, 0, "compatible",
461 if (ret < 0) {
462 NOTICE("BL2: Cannot set compatible string (ret=%i)\n", ret);
469 ret = fdt_appendprop_string(dt, 0, "compatible",
473 ret = fdt_appendprop_string(dt, 0, "compatible",
477 ret = fdt_appendprop_string(dt, 0, "compatible",
481 ret = fdt_appendprop_string(dt, 0, "compatible",
490 if (ret < 0) {
491 NOTICE("BL2: Cannot set compatible string (ret=%i)\n", ret);
500 int ret, node;
506 node = ret = fdt_add_subnode(fdt, 0, nodename);
507 if (ret < 0) {
508 return ret;
511 ret = fdt_setprop_string(fdt, node, "device_type", "memory");
512 if (ret < 0) {
513 return ret;
516 ret = fdt_setprop_u64(fdt, node, "reg", start);
517 if (ret < 0) {
518 return ret;
527 int ret, chan;
567 ret = bl2_add_memory_node(start, size);
568 if (ret < 0) {
576 ret = bl2_add_memory_node(start, size);
577 if (ret < 0) {
584 NOTICE("BL2: Cannot add memory node to FDT (ret=%i)\n", ret);
652 int32_t ret;
872 ret = rcar_dram_init();
873 if (ret != 0) {
874 NOTICE("BL2: Failed to DRAM initialize (%d).\n", ret);
881 ret = fdt_create_empty_tree(fdt, sizeof(fdt_blob));
882 if (ret != 0) {
883 NOTICE("BL2: Cannot allocate FDT for U-Boot (ret=%i)\n", ret);
946 NOTICE("BL2: Cannot create reserved mem node (ret=%i)\n",