Searched refs:prop_val (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/video/backlight/ |
| H A D | mt6370-backlight.c | 133 u8 prop_val; in mt6370_init_backlight_properties() local 148 &prop_val); in mt6370_init_backlight_properties() 150 prop_val = clamp_val(prop_val, in mt6370_init_backlight_properties() 153 prop_val = prop_val <= 1 ? 0 : in mt6370_init_backlight_properties() 154 prop_val <= 4 ? 1 : in mt6370_init_backlight_properties() 155 prop_val <= 16 ? 2 : 3; in mt6370_init_backlight_properties() 156 val |= prop_val; in mt6370_init_backlight_properties() 217 &prop_val); in mt6370_init_backlight_properties() 223 if (!prop_val || prop_val > MT6370_BL_MAX_CH) { in mt6370_init_backlight_properties() 226 prop_val); in mt6370_init_backlight_properties() [all …]
|
| /linux/include/linux/ |
| H A D | extcon-provider.h | 57 union extcon_property_value prop_val); 60 union extcon_property_value prop_val); 116 union extcon_property_value prop_val) in extcon_set_property() argument 123 union extcon_property_value prop_val) in extcon_set_property_sync() argument
|
| H A D | extcon.h | 188 union extcon_property_value *prop_val); 242 union extcon_property_value *prop_val) in extcon_get_property() argument
|
| /linux/drivers/extcon/ |
| H A D | extcon.c | 626 union extcon_property_value *prop_val) in extcon_get_property() argument 632 *prop_val = (union extcon_property_value){0}; in extcon_get_property() 669 *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; in extcon_get_property() 672 *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; in extcon_get_property() 675 *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; in extcon_get_property() 678 *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; in extcon_get_property() 705 union extcon_property_value prop_val) in extcon_set_property() argument 736 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property() 739 cable->chg_propval[prop - EXTCON_PROP_CHG_MIN] = prop_val; in extcon_set_property() 742 cable->jack_propval[prop - EXTCON_PROP_JACK_MIN] = prop_val; in extcon_set_property() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | cpwd.c | 516 const void *prop_val; in cpwd_probe() local 545 prop_val = of_get_property(options, "watchdog-enable?", NULL); in cpwd_probe() 546 p->enabled = (prop_val ? true : false); in cpwd_probe() 548 prop_val = of_get_property(options, "watchdog-reboot?", NULL); in cpwd_probe() 549 p->reboot = (prop_val ? true : false); in cpwd_probe()
|
| /linux/drivers/soundwire/ |
| H A D | mipi_disco.c | 381 const char *prop_val; in sdw_slave_read_lane_mapping() local 388 ret = device_property_read_string(dev, prop_name, &prop_val); in sdw_slave_read_lane_mapping() 392 len = strlen(prop_val); in sdw_slave_read_lane_mapping() 397 ret = kstrtou8(&prop_val[len - 1], 10, &lane); in sdw_slave_read_lane_mapping()
|
| /linux/tools/testing/selftests/powerpc/syscalls/ |
| H A D | rtas_filter.c | 55 char **prop_val, size_t *prop_len) in get_property() argument 63 return read_file_alloc(path, prop_val, prop_len); in get_property()
|
| /linux/drivers/staging/greybus/ |
| H A D | power_supply.c | 610 val = le32_to_cpu(resp.prop_val); in __gb_power_supply_property_update() 785 req.prop_val = cpu_to_le32((s32)val); in gb_power_supply_property_set()
|
| /linux/include/linux/greybus/ |
| H A D | greybus_protocols.h | 588 __le32 prop_val; member 594 __le32 prop_val; member
|