Home
last modified time | relevance | path

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

/linux-6.6.21/scripts/dtc/libfdt/
Dfdt_wip.c18 void *propval; in fdt_setprop_inplace_namelen_partial() local
21 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
23 if (!propval) in fdt_setprop_inplace_namelen_partial()
29 memcpy((char *)propval + idx, val, len); in fdt_setprop_inplace_namelen_partial()
36 const void *propval; in fdt_setprop_inplace() local
39 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
40 if (!propval) in fdt_setprop_inplace()
Dfdt_ro.c656 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
674 && (memcmp(val, propval, len) == 0)) in fdt_node_offset_by_prop_value()
Dlibfdt.h1016 const void *propval, int proplen);
/linux-6.6.21/drivers/video/backlight/
Drt4831-backlight.c93 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()
/linux-6.6.21/arch/powerpc/boot/
Dops.h48 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()
157 const char *propval) in find_node_by_prop_value_str() argument
159 return find_node_by_prop_value(prev, propname, propval, in find_node_by_prop_value_str()
160 strlen(propval) + 1); in find_node_by_prop_value_str()
/linux-6.6.21/drivers/virt/
Dfsl_hypervisor.c337 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()
/linux-6.6.21/drivers/regulator/
Drt6245-regulator.c126 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()
/linux-6.6.21/include/uapi/linux/
Dfsl_hypervisor.h180 __u64 propval; member
/linux-6.6.21/drivers/power/supply/
Dpmu_battery.c21 int propval; member
/linux-6.6.21/drivers/peci/controller/
Dpeci-aspeed.c443 u32 min, u32 max, u32 default_val, u32 *propval) in aspeed_peci_property_sanitize() argument
458 *propval = val; in aspeed_peci_property_sanitize()