Searched refs:reglen (Results 1 – 3 of 3) sorted by relevance
/arch/powerpc/boot/ |
D | devtree.c | 232 static int dt_xlate(void *node, int res, int reglen, unsigned long *addr, in dt_xlate() argument 253 if (reglen < offset + naddr + nsize || in dt_xlate() 319 int reglen; in dt_xlate_reg() local 321 reglen = getprop(node, "reg", prop_buf, sizeof(prop_buf)) / 4; in dt_xlate_reg() 322 return dt_xlate(node, res, reglen, addr, size); in dt_xlate_reg()
|
/arch/powerpc/kernel/ |
D | pci_of_scan.c | 306 int reglen, devfn; in of_scan_pci_dev() local 315 reg = of_get_property(dn, "reg", ®len); in of_scan_pci_dev() 316 if (reg == NULL || reglen < 20) in of_scan_pci_dev()
|
/arch/sparc/kernel/ |
D | pci.c | 545 int reglen, devfn, prev_devfn; in pci_of_scan_bus() local 557 reg = of_get_property(child, "reg", ®len); in pci_of_scan_bus() 558 if (reg == NULL || reglen < 20) in pci_of_scan_bus()
|