Home
last modified time | relevance | path

Searched refs:prop_val (Results 1 – 6 of 6) sorted by relevance

/drivers/video/backlight/
Dmt6370-backlight.c133 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 …]
/drivers/extcon/
Dextcon.c624 union extcon_property_value *prop_val) in extcon_get_property() argument
630 *prop_val = (union extcon_property_value){0}; in extcon_get_property()
667 *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; in extcon_get_property()
670 *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; in extcon_get_property()
673 *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; in extcon_get_property()
676 *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; in extcon_get_property()
703 union extcon_property_value prop_val) in extcon_set_property() argument
734 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property()
737 cable->chg_propval[prop - EXTCON_PROP_CHG_MIN] = prop_val; in extcon_set_property()
740 cable->jack_propval[prop - EXTCON_PROP_JACK_MIN] = prop_val; in extcon_set_property()
[all …]
/drivers/watchdog/
Dcpwd.c517 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()
/drivers/staging/media/deprecated/cpia2/
Dcpia2.h442 void cpia2_set_property_flip(struct camera_data *cam, int prop_val);
443 void cpia2_set_property_mirror(struct camera_data *cam, int prop_val);
Dcpia2_core.c1659 void cpia2_set_property_flip(struct camera_data *cam, int prop_val) in cpia2_set_property_flip() argument
1666 if (prop_val) in cpia2_set_property_flip()
1684 void cpia2_set_property_mirror(struct camera_data *cam, int prop_val) in cpia2_set_property_mirror() argument
1691 if (prop_val) in cpia2_set_property_mirror()
/drivers/staging/greybus/
Dpower_supply.c610 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()