/arch/powerpc/boot/ |
D | devtree.c | 21 int naddr, nsize, i; in dt_fixup_memory() local 25 if (getprop(root, "#address-cells", &naddr, sizeof(naddr)) < 0) in dt_fixup_memory() 26 naddr = 2; in dt_fixup_memory() 28 naddr = be32_to_cpu(naddr); in dt_fixup_memory() 29 if (naddr < 1 || naddr > 2) in dt_fixup_memory() 30 fatal("Can't cope with #address-cells == %d in /\n\r", naddr); in dt_fixup_memory() 40 if (naddr == 2) in dt_fixup_memory() 54 for (i = 1; i < (naddr + nsize); i++) in dt_fixup_memory() 58 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory() 137 void dt_get_reg_format(void *node, u32 *naddr, u32 *nsize) in dt_get_reg_format() argument [all …]
|
D | fsl-soc.c | 25 u32 naddr; in fsl_get_immr() local 29 naddr = prop_buf[0]; in fsl_get_immr() 31 naddr = 2; in fsl_get_immr() 33 if (naddr != 1 && naddr != 2) in fsl_get_immr() 42 if (naddr == 2 && prop_buf[1] != 0) in fsl_get_immr() 45 if (!dt_xlate_addr(soc, prop_buf + naddr, 8, &ret)) in fsl_get_immr()
|
D | cuboot-pq2.c | 53 u32 naddr, nsize; in update_cs_ranges() local 61 dt_get_reg_format(bus_node, &naddr, &nsize); in update_cs_ranges() 62 if (naddr != 2 || nsize != 1) in update_cs_ranges() 69 dt_get_reg_format(parent_node, &naddr, &nsize); in update_cs_ranges() 70 if (naddr != 1 || nsize != 1) in update_cs_ranges() 128 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local 143 dt_get_reg_format(node, &naddr, &nsize); in fixup_pci() 144 if (naddr != 3 || nsize != 2) in fixup_pci() 151 dt_get_reg_format(parent_node, &naddr, &nsize); in fixup_pci() 152 if (naddr != 1 || nsize != 1) in fixup_pci()
|
D | ops.h | 98 void dt_get_reg_format(void *node, u32 *naddr, u32 *nsize);
|
/arch/powerpc/platforms/maple/ |
D | setup.c | 199 int naddr, n, i, opplen, has_isus = 0; in maple_init_IRQ() local 226 naddr = of_n_addr_cells(root); in maple_init_IRQ() 229 openpic_addr = of_read_number(opprop, naddr); in maple_init_IRQ() 230 has_isus = (opplen > naddr); in maple_init_IRQ() 256 for (n = 0, i = naddr; i < opplen; i += naddr, n++) { in maple_init_IRQ() 257 unsigned long isuaddr = of_read_number(opprop + i, naddr); in maple_init_IRQ()
|
/arch/powerpc/sysdev/ |
D | fsl_soc.c | 56 u32 naddr; in get_immrbase() local 60 naddr = be32_to_cpup(prop); in get_immrbase() 62 naddr = 2; in get_immrbase() 66 immrbase = of_translate_address(soc, prop + naddr); in get_immrbase()
|
/arch/powerpc/platforms/pasemi/ |
D | setup.c | 245 int naddr, opplen; in pas_init_IRQ() local 269 naddr = of_n_addr_cells(root); in pas_init_IRQ() 276 openpic_addr = of_read_number(opprop, naddr); in pas_init_IRQ()
|
/arch/powerpc/platforms/cell/ |
D | iommu.c | 798 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local 806 naddr = of_n_addr_cells(np); in cell_iommu_get_fixed_address() 827 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address() 835 cpu_addr = of_translate_dma_address(np, ranges + i + naddr); in cell_iommu_get_fixed_address() 836 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address() 845 dev_addr = of_read_number(ranges + best, naddr); in cell_iommu_get_fixed_address()
|
/arch/powerpc/platforms/pseries/ |
D | setup.c | 190 int naddr; in pseries_setup_i8259_cascade() local 221 naddr = of_n_addr_cells(np); in pseries_setup_i8259_cascade() 222 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade() 223 if (naddr > 1) in pseries_setup_i8259_cascade() 224 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-npi-defs.h | 1941 uint64_t naddr:61; member 1943 uint64_t naddr:61; 1955 uint64_t naddr:61; member 1957 uint64_t naddr:61;
|