Home
last modified time | relevance | path

Searched refs:proplen (Results 1 – 10 of 10) sorted by relevance

/drivers/char/ipmi/
Dipmi_si_platform.c233 int proplen; in of_ipmi_probe() local
253 regsize = of_get_property(np, "reg-size", &proplen); in of_ipmi_probe()
254 if (regsize && proplen != 4) { in of_ipmi_probe()
259 regspacing = of_get_property(np, "reg-spacing", &proplen); in of_ipmi_probe()
260 if (regspacing && proplen != 4) { in of_ipmi_probe()
265 regshift = of_get_property(np, "reg-shift", &proplen); in of_ipmi_probe()
266 if (regshift && proplen != 4) { in of_ipmi_probe()
/drivers/virt/
Dfsl_hypervisor.c358 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 &param.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()
/drivers/regulator/
Dgpio-regulator.c135 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()
/drivers/pwm/
Dpwm-lp3943.c203 int i, err, proplen, count = 0; in lp3943_pwm_parse_dt() local
219 if (!of_get_property(node, name[i], &proplen)) in lp3943_pwm_parse_dt()
222 num_outputs = proplen / sizeof(u32); in lp3943_pwm_parse_dt()
/drivers/input/keyboard/
Dpxa27x_keypad.c156 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()
Dtegra-kbc.c498 int proplen; in tegra_kbc_parse_dt() local
514 if (!of_get_property(np, "nvidia,kbc-row-pins", &proplen)) { in tegra_kbc_parse_dt()
518 num_rows = proplen / sizeof(u32); in tegra_kbc_parse_dt()
520 if (!of_get_property(np, "nvidia,kbc-col-pins", &proplen)) { in tegra_kbc_parse_dt()
524 num_cols = proplen / sizeof(u32); in tegra_kbc_parse_dt()
538 if (!of_get_property(np, "linux,keymap", &proplen)) { in tegra_kbc_parse_dt()
Dtc3589x-keypad.c328 int proplen; in tc3589x_keypad_of_probe() local
349 if (!of_get_property(np, "linux,keymap", &proplen)) { in tc3589x_keypad_of_probe()
/drivers/opp/
Dti-opp-supply.c80 int proplen, i; in _store_optimized_voltages() local
108 proplen = prop->length / sizeof(int); in _store_optimized_voltages()
109 data->num_vdd_table = proplen / 2; in _store_optimized_voltages()
/drivers/ata/
Dpata_mpc52xx.c681 int proplen; in mpc52xx_ata_probe() local
725 prop = of_get_property(op->dev.of_node, "mwdma-mode", &proplen); in mpc52xx_ata_probe()
726 if ((prop) && (proplen >= 4)) in mpc52xx_ata_probe()
728 prop = of_get_property(op->dev.of_node, "udma-mode", &proplen); in mpc52xx_ata_probe()
729 if ((prop) && (proplen >= 4)) in mpc52xx_ata_probe()
/drivers/scsi/
Dmac53c94.c417 int proplen, rc = -ENODEV; in mac53c94_probe() local
455 clkprop = of_get_property(node, "clock-frequency", &proplen); in mac53c94_probe()
456 if (clkprop == NULL || proplen != sizeof(int)) { in mac53c94_probe()