Searched refs:nsize (Results 1 – 4 of 4) sorted by relevance
/arch/powerpc/boot/ |
D | devtree.c | 24 int naddr, nsize, i; in dt_fixup_memory() local 33 if (getprop(root, "#size-cells", &nsize, sizeof(nsize)) < 0) in dt_fixup_memory() 34 nsize = 1; in dt_fixup_memory() 35 if (nsize < 1 || nsize > 2) in dt_fixup_memory() 36 fatal("Can't cope with #size-cells == %d in /\n\r", nsize); in dt_fixup_memory() 42 if (nsize == 2) in dt_fixup_memory() 53 for (i = 1; i < (naddr + nsize); i++) in dt_fixup_memory() 57 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory() 136 void dt_get_reg_format(void *node, u32 *naddr, u32 *nsize) in dt_get_reg_format() argument 140 if (getprop(node, "#size-cells", nsize, 4) != 4) in dt_get_reg_format() [all …]
|
D | cuboot-pq2.c | 56 u32 naddr, nsize; in update_cs_ranges() local 64 dt_get_reg_format(bus_node, &naddr, &nsize); in update_cs_ranges() 65 if (naddr != 2 || nsize != 1) in update_cs_ranges() 72 dt_get_reg_format(parent_node, &naddr, &nsize); in update_cs_ranges() 73 if (naddr != 1 || nsize != 1) in update_cs_ranges() 131 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local 146 dt_get_reg_format(node, &naddr, &nsize); in fixup_pci() 147 if (naddr != 3 || nsize != 2) in fixup_pci() 154 dt_get_reg_format(parent_node, &naddr, &nsize); in fixup_pci() 155 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 | 905 int i, len, best, naddr, nsize, pna, range_size; in cell_iommu_get_fixed_address() local 910 nsize = of_n_size_cells(np); in cell_iommu_get_fixed_address() 930 range_size = naddr + nsize + pna; in cell_iommu_get_fixed_address() 939 size = of_read_number(ranges + i + naddr + pna, nsize); in cell_iommu_get_fixed_address()
|