Searched refs:proplen (Results 1 – 8 of 8) sorted by relevance
/arch/powerpc/platforms/chrp/ |
D | nvram.c | 71 unsigned int proplen; in chrp_nvram_init() local 77 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in chrp_nvram_init() 78 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in chrp_nvram_init()
|
/arch/powerpc/platforms/cell/ |
D | spu_manage.c | 38 int proplen; in find_spu_unit_number() local 41 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 42 if (proplen == 4) in find_spu_unit_number() 46 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 47 if (proplen == 4) in find_spu_unit_number() 51 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 52 if (proplen == 4) in find_spu_unit_number() 110 int proplen; in spu_map_prop_old() local 112 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 113 if (prop == NULL || proplen != sizeof (struct address_prop)) in spu_map_prop_old()
|
/arch/powerpc/kernel/ |
D | pci_of_scan.c | 125 int proplen; in of_pci_parse_addrs() local 128 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs() 129 if (!addrs || !proplen) { in of_pci_parse_addrs() 130 addrs = of_get_property(node, "reg", &proplen); in of_pci_parse_addrs() 131 if (!addrs || !proplen) in of_pci_parse_addrs() 136 pr_debug(" parse addresses (%d bytes) @ %p\n", proplen, addrs); in of_pci_parse_addrs() 137 for (; proplen >= 20; proplen -= 20, addrs += 5) { in of_pci_parse_addrs()
|
D | rtas.c | 639 int proplen, count, i; in rtas_indicator_present() local 645 indicators = of_get_property(rtas.dev, "rtas-indicators", &proplen); in rtas_indicator_present() 649 count = proplen / sizeof(struct indicator_elem); in rtas_indicator_present()
|
/arch/powerpc/platforms/pseries/ |
D | nvram.c | 216 unsigned int proplen; in pSeries_nvram_init() local 222 nbytes_p = of_get_property(nvram, "#bytes", &proplen); in pSeries_nvram_init() 223 if (nbytes_p == NULL || proplen != sizeof(unsigned int)) { in pSeries_nvram_init()
|
/arch/powerpc/platforms/512x/ |
D | mpc512x_lpbfifo.c | 378 int proplen; in get_cs_ranges() local 402 proplen = of_property_count_u32_elems(lb_node, "ranges"); in get_cs_ranges() 403 if (proplen <= 0 || proplen % 4 != 0) in get_cs_ranges() 406 lpbfifo.cs_n = proplen / 4; in get_cs_ranges() 413 (u32 *)lpbfifo.cs_ranges, proplen) != 0) { in get_cs_ranges()
|
/arch/powerpc/boot/ |
D | ops.h | 50 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/sparc/kernel/ |
D | pci.c | 211 int proplen; in pci_parse_of_addrs() local 213 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs() 218 proplen, addrs); in pci_parse_of_addrs() 220 for (; proplen >= 20; proplen -= 20, addrs += 5, op_res++) { in pci_parse_of_addrs()
|