/u-boot/drivers/core/ |
A D | of_addr.c | 20 #define OF_CHECK_ADDR_COUNT(na) ((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) argument 21 #define OF_CHECK_COUNTS(na, ns) (OF_CHECK_ADDR_COUNT(na) && \ argument 31 while (na--) in of_dump_addr() 81 memset(addr, 0, na * 4); in of_bus_default_translate() 83 if (na > 1) in of_bus_default_translate() 134 int onesize, i, na, ns; in of_get_address() local 153 onesize = na + ns; in of_get_address() 205 rone = na + pna + ns; in of_translate_one() 241 int na, ns, pna, pns; in __of_translate_address() local 298 na = pna; in __of_translate_address() [all …]
|
A D | fdtaddr.c | 29 int na, ns; in devfdt_get_addr_index() local 31 na = fdt_address_cells(gd->fdt_blob, in devfdt_get_addr_index() 33 if (na < 1) { in devfdt_get_addr_index() 46 if (!reg || (len <= (index * sizeof(fdt32_t) * (na + ns)))) { in devfdt_get_addr_index() 51 reg += index * (na + ns); in devfdt_get_addr_index() 62 addr = fdt_read_number(reg, na); in devfdt_get_addr_index()
|
/u-boot/include/configs/ |
A D | libretech-ac.h | 13 func(ROMUSB, romusb, na) \ 16 func(PXE, pxe, na) \ 17 func(DHCP, dhcp, na)
|
A D | microblaze-generic.h | 67 #define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na) 73 #define BOOT_TARGET_DEVICES_DHCP(func) func(DHCP, dhcp, na) 79 # define BOOT_TARGET_DEVICES_QSPI(func) func(QSPI, qspi, na) 85 # define BOOT_TARGET_DEVICES_NOR(func) func(NOR, nor, na) 107 #define BOOT_TARGET_DEVICES_JTAG(func) func(JTAG, jtag, na)
|
A D | meson64_android.h | 96 func(FASTBOOT, fastboot, na) \ 97 func(RECOVERY, recovery, na) \ 98 func(SYSTEM, system, na) \
|
A D | zynq-common.h | 118 #define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na) 124 #define BOOT_TARGET_DEVICES_DHCP(func) func(DHCP, dhcp, na) 130 # define BOOT_TARGET_DEVICES_QSPI(func) func(QSPI, qspi, na) 136 # define BOOT_TARGET_DEVICES_NAND(func) func(NAND, nand, na) 142 # define BOOT_TARGET_DEVICES_NOR(func) func(NOR, nor, na) 174 #define BOOT_TARGET_DEVICES_JTAG(func) func(JTAG, jtag, na)
|
A D | meson64.h | 63 func(ROMUSB, romusb, na) \ 68 func(PXE, pxe, na) \ 69 func(DHCP, dhcp, na)
|
A D | tinker_rk3288.h | 22 func(PXE, pxe, na) \ 23 func(DHCP, dchp, na)
|
A D | p3450-0000.h | 23 func(PXE, pxe, na) \ 24 func(DHCP, dhcp, na)
|
A D | turris_mox.h | 73 func(PXE, pxe, na) \ 74 func(DHCP, dhcp, na)
|
A D | qemu-riscv.h | 41 func(QEMU, qemu, na) \ 44 func(DHCP, dhcp, na)
|
A D | xilinx_versal.h | 97 # define BOOT_TARGET_DEVICES_PXE(func) func(PXE, pxe, na) 103 # define BOOT_TARGET_DEVICES_DHCP(func) func(DHCP, dhcp, na) 123 #define BOOT_TARGET_DEVICES_JTAG(func) func(JTAG, jtag, na)
|
A D | pcl063.h | 81 func(PXE, pxe, na) \ 82 func(DHCP, dhcp, na)
|
A D | mvebu_armada-37xx.h | 90 func(PXE, pxe, na) \ 91 func(DHCP, dhcp, na)
|
A D | mvebu_armada-8k.h | 88 func(PXE, pxe, na) \ 89 func(DHCP, dhcp, na)
|
A D | mys_6ulx.h | 69 func(PXE, pxe, na) \ 70 func(DHCP, dhcp, na)
|
A D | apalis-tk1.h | 42 func(PXE, pxe, na) \ 43 func(DHCP, dhcp, na)
|
A D | vining_2000.h | 24 func(PXE, pxe, na) \ 25 func(DHCP, dhcp, na)
|
A D | el6x_common.h | 66 func(PXE, PXE, na) \ 67 func(DHCP, dhcp, na)
|
A D | mx6cuboxi.h | 98 func(PXE, pxe, na) \ 99 func(DHCP, dhcp, na)
|
A D | ti_omap4_common.h | 80 func(PXE, pxe, na) \ 81 func(DHCP, dhcp, na)
|
A D | wandboard.h | 101 func(PXE, pxe, na) \ 102 func(DHCP, dhcp, na)
|
/u-boot/common/ |
A D | fdt_support.c | 994 #define OF_CHECK_COUNTS(na, ns) (((na) > 0 && (na) <= OF_MAX_ADDR_CELLS) && \ argument 1002 while(na--) in of_dump_addr() 1047 int na, int ns, int pna); 1070 int na, int ns, int pna) in of_bus_default_map() argument 1088 memset(addr, 0, na * 4); in of_bus_default_translate() 1090 if (na > 1) in of_bus_default_translate() 1121 int na, int ns, int pna) in of_bus_isa_map() argument 1225 rone = na + pna + ns; in of_translate_one() 1261 int na, ns, pna, pns; in __of_translate_address() local 1317 na = pna; in __of_translate_address() [all …]
|
/u-boot/drivers/pinctrl/meson/ |
A D | pinctrl-meson.c | 323 static fdt_addr_t parse_address(int offset, const char *name, int na, int ns) in parse_address() argument 333 if (!reg || (len <= (index * sizeof(fdt32_t) * (na + ns)))) in parse_address() 336 reg += index * (na + ns); in parse_address() 348 int na, ns; in meson_pinctrl_probe() local 352 na = fdt_address_cells(gd->fdt_blob, dev_of_offset(dev->parent)); in meson_pinctrl_probe() 353 if (na < 1) { in meson_pinctrl_probe() 376 addr = parse_address(gpio, "mux", na, ns); in meson_pinctrl_probe() 383 addr = parse_address(gpio, "gpio", na, ns); in meson_pinctrl_probe() 390 addr = parse_address(gpio, "pull", na, ns); in meson_pinctrl_probe() 397 addr = parse_address(gpio, "pull-enable", na, ns); in meson_pinctrl_probe() [all …]
|
/u-boot/lib/ |
A D | fdtdec_test.c | 146 static int make_fdt_carveout_device(void *fdt, uint32_t na, uint32_t ns) in make_fdt_carveout_device() argument 168 if (na > 1 && upper > 0) in make_fdt_carveout_device() 174 if (na > 1) in make_fdt_carveout_device() 190 CHECK(fdt_setprop(fdt, offset, "reg", cells, (na + ns) * sizeof(*cells))); in make_fdt_carveout_device() 234 fdt32_t na = cpu_to_fdt32(address_cells); in make_fdt_carveout() local 245 CHECK(fdt_property(fdt, "#address-cells", &na, sizeof(na))); in make_fdt_carveout()
|