Searched refs:prop_val (Results 1 – 9 of 9) sorted by relevance
/linux-6.6.21/drivers/video/backlight/ |
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-6.6.21/include/linux/ |
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
|
D | extcon.h | 188 union extcon_property_value *prop_val); 242 union extcon_property_value *prop_val) in extcon_get_property() argument
|
/linux-6.6.21/drivers/extcon/ |
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-6.6.21/drivers/watchdog/ |
D | cpwd.c | 517 const void *prop_val; in cpwd_probe() local 546 prop_val = of_get_property(options, "watchdog-enable?", NULL); in cpwd_probe() 547 p->enabled = (prop_val ? true : false); in cpwd_probe() 549 prop_val = of_get_property(options, "watchdog-reboot?", NULL); in cpwd_probe() 550 p->reboot = (prop_val ? true : false); in cpwd_probe()
|
/linux-6.6.21/tools/testing/selftests/powerpc/syscalls/ |
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-6.6.21/sound/soc/codecs/ |
D | wcd938x.c | 3256 u32 prop_val = 0; in wcd938x_dt_parse_micbias_info() local 3259 rc = of_property_read_u32(np, "qcom,micbias1-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info() 3261 wcd->micb1_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info() 3265 rc = of_property_read_u32(np, "qcom,micbias2-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info() 3267 wcd->micb2_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info() 3271 rc = of_property_read_u32(np, "qcom,micbias3-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info() 3273 wcd->micb3_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info() 3277 rc = of_property_read_u32(np, "qcom,micbias4-microvolt", &prop_val); in wcd938x_dt_parse_micbias_info() 3279 wcd->micb4_mv = prop_val/1000; in wcd938x_dt_parse_micbias_info()
|
/linux-6.6.21/drivers/staging/greybus/ |
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-6.6.21/include/linux/greybus/ |
D | greybus_protocols.h | 592 __le32 prop_val; member 598 __le32 prop_val; member
|