Searched refs:proplen (Results 1 – 7 of 7) sorted by relevance
/arch/powerpc/platforms/chrp/ |
D | nvram.c | 70 unsigned int proplen; in chrp_nvram_init() local 76 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in chrp_nvram_init() 77 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in chrp_nvram_init()
|
/arch/powerpc/platforms/cell/ |
D | spu_manage.c | 50 int proplen; in find_spu_unit_number() local 53 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 54 if (proplen == 4) in find_spu_unit_number() 58 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 59 if (proplen == 4) in find_spu_unit_number() 63 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 64 if (proplen == 4) in find_spu_unit_number() 119 int proplen; in spu_map_prop_old() local 121 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 122 if (prop == NULL || proplen != sizeof (struct address_prop)) in spu_map_prop_old()
|
/arch/powerpc/kernel/ |
D | pci_of_scan.c | 82 int proplen; in of_pci_parse_addrs() local 84 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs() 87 pr_debug(" parse addresses (%d bytes) @ %p\n", proplen, addrs); in of_pci_parse_addrs() 88 for (; proplen >= 20; proplen -= 20, addrs += 5) { in of_pci_parse_addrs()
|
D | rtas.c | 590 int proplen, count, i; in rtas_indicator_present() local 596 indicators = of_get_property(rtas.dev, "rtas-indicators", &proplen); in rtas_indicator_present() 600 count = proplen / sizeof(struct indicator_elem); in rtas_indicator_present()
|
/arch/powerpc/boot/ |
D | ops.h | 49 const char *propval, int proplen); 148 const char *propval, int proplen) in find_node_by_prop_value() argument 152 propval, proplen); in find_node_by_prop_value()
|
/arch/powerpc/platforms/pseries/ |
D | nvram.c | 480 unsigned int proplen; in pSeries_nvram_init() local 486 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in pSeries_nvram_init() 487 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in pSeries_nvram_init()
|
/arch/sparc/kernel/ |
D | pci.c | 207 int proplen; in pci_parse_of_addrs() local 209 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs() 214 proplen, addrs); in pci_parse_of_addrs() 216 for (; proplen >= 20; proplen -= 20, addrs += 5, op_res++) { in pci_parse_of_addrs()
|