/linux/scripts/dtc/libfdt/ |
H A D | fdt_wip.c | 19 int proplen; in fdt_setprop_inplace_namelen_partial() local 22 &proplen); in fdt_setprop_inplace_namelen_partial() 24 return proplen; in fdt_setprop_inplace_namelen_partial() 26 if ((unsigned)proplen < (len + idx)) in fdt_setprop_inplace_namelen_partial() 37 int proplen; in fdt_setprop_inplace() local 39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace() 41 return proplen; in fdt_setprop_inplace() 43 if (proplen != len) in fdt_setprop_inplace()
|
H A D | fdt_rw.c | 205 int proplen; in fdt_add_property_() local 219 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in fdt_add_property_() 221 err = fdt_splice_struct_(fdt, *prop, 0, proplen); in fdt_add_property_() 321 int len, proplen; in fdt_delprop() local 329 proplen = sizeof(*prop) + FDT_TAGALIGN(len); in fdt_delprop() 330 return fdt_splice_struct_(fdt, prop, proplen, 0); in fdt_delprop()
|
H A D | fdt_ro.c | 685 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument 702 if (val && (len == proplen) in fdt_node_offset_by_prop_value()
|
H A D | libfdt.h | 1077 const void *propval, int proplen);
|
/linux/arch/powerpc/platforms/cell/ |
H A D | spu_manage.c | 40 int proplen; in find_spu_unit_number() local 43 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 44 if (proplen == 4) in find_spu_unit_number() 48 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 49 if (proplen == 4) in find_spu_unit_number() 53 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 54 if (proplen == 4) in find_spu_unit_number() 112 int proplen; in spu_map_prop_old() local 114 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 115 if (prop == NULL || proplen != sizeof (struct address_prop)) in spu_map_prop_old()
|
/linux/arch/powerpc/kernel/ |
H A 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()
|
H A D | rtas.c | 1533 int proplen, count, i; in rtas_indicator_present() local 1539 indicators = of_get_property(rtas.dev, "rtas-indicators", &proplen); in rtas_indicator_present() 1543 count = proplen / sizeof(struct indicator_elem); in rtas_indicator_present()
|
/linux/arch/powerpc/platforms/chrp/ |
H A 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()
|
/linux/drivers/virt/ |
H A D | fsl_hypervisor.c | 358 if (param.proplen > FH_DTPROP_MAX_PROPLEN) { in ioctl_dtprop() 363 propval = kmalloc(param.proplen, GFP_KERNEL); in ioctl_dtprop() 370 if (copy_from_user(propval, upropval, param.proplen)) { in ioctl_dtprop() 379 param.proplen); in ioctl_dtprop() 385 ¶m.proplen); in ioctl_dtprop() 388 if (copy_to_user(upropval, propval, param.proplen) || in ioctl_dtprop() 389 put_user(param.proplen, &p->proplen)) { in ioctl_dtprop()
|
/linux/arch/powerpc/platforms/pseries/ |
H A 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()
|
/linux/drivers/regulator/ |
H A D | gpio-regulator.c | 135 int proplen, i; in of_get_gpio_regulator_config() local 190 proplen = of_property_count_u32_elems(np, "states"); in of_get_gpio_regulator_config() 191 if (proplen < 0) { in of_get_gpio_regulator_config() 197 proplen / 2, in of_get_gpio_regulator_config() 203 for (i = 0; i < proplen / 2; i++) { in of_get_gpio_regulator_config()
|
/linux/arch/powerpc/boot/ |
H A D | ops.h | 48 const char *propval, int proplen); 146 const char *propval, int proplen) in find_node_by_prop_value() argument 150 propval, proplen); in find_node_by_prop_value()
|
/linux/drivers/input/keyboard/ |
H A D | pxa27x_keypad.c | 156 unsigned int proplen, size; in pxa27x_keypad_direct_key_parse_dt() local 186 prop = of_get_property(np, "marvell,direct-key-map", &proplen); in pxa27x_keypad_direct_key_parse_dt() 190 if (proplen % sizeof(u16)) in pxa27x_keypad_direct_key_parse_dt() 193 size = proplen / sizeof(u16); in pxa27x_keypad_direct_key_parse_dt() 213 unsigned int code, proplen; in pxa27x_keypad_rotary_parse_dt() local 237 prop = of_get_property(np, rotaryname[i], &proplen); in pxa27x_keypad_rotary_parse_dt()
|
/linux/drivers/opp/ |
H A D | ti-opp-supply.c | 85 int proplen, i; in _store_optimized_voltages() local 113 proplen = prop->length / sizeof(int); in _store_optimized_voltages() 114 data->num_vdd_table = proplen / 2; in _store_optimized_voltages()
|
/linux/include/uapi/linux/ |
H A D | fsl_hypervisor.h | 181 __u32 proplen; member
|
/linux/arch/sparc/kernel/ |
H A D | pci.c | 212 int proplen; in pci_parse_of_addrs() local 214 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs() 219 proplen, addrs); in pci_parse_of_addrs() 221 for (; proplen >= 20; proplen -= 20, addrs += 5, op_res++) { in pci_parse_of_addrs()
|
/linux/drivers/ata/ |
H A D | pata_mpc52xx.c | 682 int proplen; in mpc52xx_ata_probe() local 726 prop = of_get_property(op->dev.of_node, "mwdma-mode", &proplen); in mpc52xx_ata_probe() 727 if ((prop) && (proplen >= 4)) in mpc52xx_ata_probe() 729 prop = of_get_property(op->dev.of_node, "udma-mode", &proplen); in mpc52xx_ata_probe() 730 if ((prop) && (proplen >= 4)) in mpc52xx_ata_probe()
|
/linux/drivers/scsi/ |
H A D | mac53c94.c | 415 int proplen, rc = -ENODEV; in mac53c94_probe() local 453 clkprop = of_get_property(node, "clock-frequency", &proplen); in mac53c94_probe() 454 if (clkprop == NULL || proplen != sizeof(int)) { in mac53c94_probe()
|
/linux/scripts/dtc/ |
H A D | flattree.c | 667 uint32_t proplen, stroff; in flat_read_property() local 671 proplen = flat_read_word(dtbuf); in flat_read_property() 676 if ((flags & FTF_VARALIGN) && (proplen >= 8)) in flat_read_property() 679 val = flat_read_data(dtbuf, proplen); in flat_read_property()
|