Searched refs:propval (Results 1 – 5 of 5) sorted by relevance
/drivers/video/backlight/ |
D | rt4831-backlight.c | 93 u8 propval; in rt4831_parse_backlight_properties() local 119 ret = device_property_read_u8(dev, "richtek,bled-ovp-sel", &propval); in rt4831_parse_backlight_properties() 121 propval = RT4831_BLOVPLVL_21V; in rt4831_parse_backlight_properties() 123 propval = min_t(u8, propval, RT4831_BLOVPLVL_29V); in rt4831_parse_backlight_properties() 125 propval << RT4831_BLOVP_SHIFT); in rt4831_parse_backlight_properties() 154 ret = device_property_read_u8(dev, "richtek,channel-use", &propval); in rt4831_parse_backlight_properties() 160 if (!(propval & RT4831_BLCH_MASK)) { in rt4831_parse_backlight_properties() 165 return regmap_update_bits(priv->regmap, RT4831_REG_ENABLE, RT4831_BLCH_MASK, propval); in rt4831_parse_backlight_properties()
|
/drivers/virt/ |
D | fsl_hypervisor.c | 337 void *propval; in ioctl_dtprop() local 346 upropval = (void __user *)(uintptr_t)param.propval; in ioctl_dtprop() 363 propval = kmalloc(param.proplen, GFP_KERNEL); in ioctl_dtprop() 364 if (!propval) { in ioctl_dtprop() 370 if (copy_from_user(propval, upropval, param.proplen)) { in ioctl_dtprop() 378 virt_to_phys(propval), in ioctl_dtprop() 384 virt_to_phys(propval), in ioctl_dtprop() 388 if (copy_to_user(upropval, propval, param.proplen) || in ioctl_dtprop() 400 kfree(propval); in ioctl_dtprop()
|
/drivers/regulator/ |
D | rt6245-regulator.c | 126 u8 propval; in rt6245_init_device_properties() local 130 ret = device_property_read_u8(dev, rt6245_props[i].name, &propval); in rt6245_init_device_properties() 134 ret = regmap_write(regmap, rt6245_props[i].reg, propval); in rt6245_init_device_properties() 136 dev_err(dev, "Fail to apply [%s:%d]\n", rt6245_props[i].name, propval); in rt6245_init_device_properties()
|
/drivers/power/supply/ |
D | pmu_battery.c | 21 int propval; member
|
/drivers/peci/controller/ |
D | peci-aspeed.c | 443 u32 min, u32 max, u32 default_val, u32 *propval) in aspeed_peci_property_sanitize() argument 458 *propval = val; in aspeed_peci_property_sanitize()
|