Home
last modified time | relevance | path

Searched refs:na (Results 1 – 25 of 96) sorted by relevance

1234

/u-boot/drivers/core/
A Dof_addr.c20 #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 Dfdtaddr.c29 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 Dlibretech-ac.h13 func(ROMUSB, romusb, na) \
16 func(PXE, pxe, na) \
17 func(DHCP, dhcp, na)
A Dmicroblaze-generic.h67 #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 Dmeson64_android.h96 func(FASTBOOT, fastboot, na) \
97 func(RECOVERY, recovery, na) \
98 func(SYSTEM, system, na) \
A Dzynq-common.h118 #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 Dmeson64.h63 func(ROMUSB, romusb, na) \
68 func(PXE, pxe, na) \
69 func(DHCP, dhcp, na)
A Dtinker_rk3288.h22 func(PXE, pxe, na) \
23 func(DHCP, dchp, na)
A Dp3450-0000.h23 func(PXE, pxe, na) \
24 func(DHCP, dhcp, na)
A Dturris_mox.h73 func(PXE, pxe, na) \
74 func(DHCP, dhcp, na)
A Dqemu-riscv.h41 func(QEMU, qemu, na) \
44 func(DHCP, dhcp, na)
A Dxilinx_versal.h97 # 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 Dpcl063.h81 func(PXE, pxe, na) \
82 func(DHCP, dhcp, na)
A Dmvebu_armada-37xx.h90 func(PXE, pxe, na) \
91 func(DHCP, dhcp, na)
A Dmvebu_armada-8k.h88 func(PXE, pxe, na) \
89 func(DHCP, dhcp, na)
A Dmys_6ulx.h69 func(PXE, pxe, na) \
70 func(DHCP, dhcp, na)
A Dapalis-tk1.h42 func(PXE, pxe, na) \
43 func(DHCP, dhcp, na)
A Dvining_2000.h24 func(PXE, pxe, na) \
25 func(DHCP, dhcp, na)
A Del6x_common.h66 func(PXE, PXE, na) \
67 func(DHCP, dhcp, na)
A Dmx6cuboxi.h98 func(PXE, pxe, na) \
99 func(DHCP, dhcp, na)
A Dti_omap4_common.h80 func(PXE, pxe, na) \
81 func(DHCP, dhcp, na)
A Dwandboard.h101 func(PXE, pxe, na) \
102 func(DHCP, dhcp, na)
/u-boot/common/
A Dfdt_support.c994 #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 Dpinctrl-meson.c323 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 Dfdtdec_test.c146 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()

Completed in 29 milliseconds

1234