Home
last modified time | relevance | path

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

/arch/sparc/kernel/
Dof_device_32.c49 int na, int ns, int pna) in of_bus_pci_map() argument
58 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
59 na - 1, ns)) in of_bus_pci_map()
63 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
66 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
68 (addr[na - 1 - i] - in of_bus_pci_map()
69 range[na - 1 - i]); in of_bus_pci_map()
121 int na, int ns, int pna) in of_bus_ambapp_map() argument
123 return of_bus_default_map(addr, range, na, ns, pna); in of_bus_ambapp_map()
190 int na, int ns, int pna) in build_one_resource() argument
[all …]
Dof_device_common.c96 const u32 *size, int na, int ns) in of_out_of_range() argument
98 u64 a = of_read_addr(addr, na); in of_out_of_range()
99 u64 b = of_read_addr(base, na); in of_out_of_range()
111 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna) in of_bus_default_map() argument
121 if (of_out_of_range(addr, range, range + na + pna, na, ns)) in of_bus_default_map()
125 memcpy(result, range + na, pna * 4); in of_bus_default_map()
128 for (i = 0; i < na; i++) in of_bus_default_map()
130 (addr[na - 1 - i] - in of_bus_default_map()
131 range[na - 1 - i]); in of_bus_default_map()
Dof_device_64.c87 int na, int ns, int pna) in of_bus_simba_map() argument
102 int na, int ns, int pna) in of_bus_pci_map() argument
121 if (of_out_of_range(addr + 1, range + 1, range + na + pna, in of_bus_pci_map()
122 na - 1, ns)) in of_bus_pci_map()
126 memcpy(result, range + na, pna * 4); in of_bus_pci_map()
129 for (i = 0; i < na - 1; i++) in of_bus_pci_map()
131 (addr[na - 1 - i] - in of_bus_pci_map()
132 range[na - 1 - i]); in of_bus_pci_map()
244 int na, int ns, int pna) in build_one_resource() argument
255 for (i = 0; i < na; i++) in build_one_resource()
[all …]
Dof_device_common.h15 const u32 *size, int na, int ns);
16 int of_bus_default_map(u32 *addr, const u32 *range, int na, int ns, int pna);
32 int na, int ns, int pna);
/arch/powerpc/boot/
Dsimpleboot.c31 const u32 *na, *ns, *reg, *timebase; in platform_init() local
43 na = fdt_getprop(_dtb_start, node, "#address-cells", &size); in platform_init()
44 if (!na || (size != 4)) in platform_init()
56 if (size < (*na+*ns) * sizeof(u32)) in platform_init()
60 for (i = 0; i < *na; i++) in platform_init()
/arch/powerpc/platforms/chrp/
Dsetup.c388 int na = 1; in chrp_find_openpic() local
396 na = of_n_addr_cells(root); in chrp_find_openpic()
398 if (opprop && oplen >= na * sizeof(unsigned int)) { in chrp_find_openpic()
399 opaddr = opprop[na-1]; /* assume 32-bit */ in chrp_find_openpic()
400 oplen /= na * sizeof(unsigned int); in chrp_find_openpic()
444 j = na - 1; in chrp_find_openpic()
447 j += na; in chrp_find_openpic()
/arch/powerpc/perf/
Dpower4-pmu.c328 int i, j, na; in p4_get_alternatives() local
331 na = 1; in p4_get_alternatives()
350 alt[na++] = ppc_inst_cmpl[j]; in p4_get_alternatives()
355 return na; in p4_get_alternatives()
/arch/ia64/include/asm/
Dprocessor.h133 __u64 na : 1; member
/arch/ia64/kvm/
Dvcpu.c1088 visr.na = 1; in vcpu_tpa()