Searched refs:nsize (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/boot/ |
D | devtree.c | 21 int naddr, nsize, i; in dt_fixup_memory() local 32 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory() 33 nsize = 1; in dt_fixup_memory() 35 nsize = be32_to_cpu(nsize); in dt_fixup_memory() 36 if (nsize < 1 || nsize > 2) in dt_fixup_memory() 37 fatal("Can't cope with #size-cells == %d in /\n\r", nsize); in dt_fixup_memory() 43 if (nsize == 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 | 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/cell/ |
D | iommu.c | 798 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local 807 nsize = of_n_size_cells(np); in cell_iommu_get_fixed_address() 827 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address() 836 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address()
|