Home
last modified time | relevance | path

Searched refs:prop_val (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/drivers/video/backlight/
H A 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()
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dextcon-provider.h57 union extcon_property_value prop_val);
60 union extcon_property_value prop_val);
116 union extcon_property_value prop_val) in extcon_set_property()
123 union extcon_property_value prop_val) in extcon_set_property_sync()
114 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property() argument
121 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property_sync() argument
H A Dextcon.h188 union extcon_property_value *prop_val);
242 union extcon_property_value *prop_val) in extcon_get_property()
240 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) extcon_get_property() argument
/kernel/linux/linux-6.6/include/linux/
H A Dextcon-provider.h57 union extcon_property_value prop_val);
60 union extcon_property_value prop_val);
116 union extcon_property_value prop_val) in extcon_set_property()
123 union extcon_property_value prop_val) in extcon_set_property_sync()
114 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property() argument
121 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property_sync() argument
H A Dextcon.h188 union extcon_property_value *prop_val);
242 union extcon_property_value *prop_val) in extcon_get_property()
240 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) extcon_get_property() argument
/kernel/linux/linux-5.10/arch/arm/mach-bcm/
H A Dbcm_kona_smc.c46 const __be32 *prop_val; in bcm_kona_smc_init() local
56 prop_val = of_get_address(node, 0, &prop_size, NULL); in bcm_kona_smc_init()
58 if (!prop_val) in bcm_kona_smc_init()
66 buffer_phys = be32_to_cpup(prop_val); in bcm_kona_smc_init()
/kernel/linux/linux-5.10/drivers/extcon/
H A Dextcon.c624 * @prop_val: the pointer which store the value of extcon property
635 union extcon_property_value *prop_val) in extcon_get_property()
641 *prop_val = (union extcon_property_value){0}; in extcon_get_property()
678 *prop_val = cable->usb_propval[prop - EXTCON_PROP_USB_MIN]; in extcon_get_property()
681 *prop_val = cable->chg_propval[prop - EXTCON_PROP_CHG_MIN]; in extcon_get_property()
684 *prop_val = cable->jack_propval[prop - EXTCON_PROP_JACK_MIN]; in extcon_get_property()
687 *prop_val = cable->disp_propval[prop - EXTCON_PROP_DISP_MIN]; in extcon_get_property()
705 * @prop_val: the pointer including the new value of extcon property
714 union extcon_property_value prop_val) in extcon_set_property()
745 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property()
633 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) extcon_get_property() argument
712 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property() argument
777 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property_sync() argument
[all...]
/kernel/linux/linux-6.6/drivers/extcon/
H A Dextcon.c615 * @prop_val: the pointer which store the value of extcon property
626 union extcon_property_value *prop_val) in extcon_get_property()
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()
696 * @prop_val: the pointer including the new value of extcon property
705 union extcon_property_value prop_val) in extcon_set_property()
736 cable->usb_propval[prop - EXTCON_PROP_USB_MIN] = prop_val; in extcon_set_property()
624 extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) extcon_get_property() argument
703 extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property() argument
771 extcon_set_property_sync(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) extcon_set_property_sync() argument
[all...]
/kernel/linux/linux-5.10/drivers/watchdog/
H A Dcpwd.c518 const void *prop_val; in cpwd_probe() local
547 prop_val = of_get_property(options, "watchdog-enable?", NULL); in cpwd_probe()
548 p->enabled = (prop_val ? true : false); in cpwd_probe()
550 prop_val = of_get_property(options, "watchdog-reboot?", NULL); in cpwd_probe()
551 p->reboot = (prop_val ? true : false); in cpwd_probe()
/kernel/linux/linux-6.6/drivers/watchdog/
H A 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()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c105 char **prop_val, size_t *prop_len) in get_property()
113 rc = read_entire_file(fd, prop_val, prop_len); in get_property()
104 get_property(const char *prop_path, const char *prop_name, char **prop_val, size_t *prop_len) get_property() argument
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/syscalls/
H A Drtas_filter.c55 char **prop_val, size_t *prop_len) in get_property()
63 return read_file_alloc(path, prop_val, prop_len); in get_property()
54 get_property(const char *prop_path, const char *prop_name, char **prop_val, size_t *prop_len) get_property() argument
/kernel/linux/linux-5.10/drivers/media/usb/cpia2/
H A 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);
H A 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()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwcd938x.c3256 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()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A 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()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A 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()
/kernel/linux/linux-5.10/include/linux/greybus/
H A Dgreybus_protocols.h592 __le32 prop_val; member
598 __le32 prop_val; member
/kernel/linux/linux-6.6/include/linux/greybus/
H A Dgreybus_protocols.h592 __le32 prop_val; member
598 __le32 prop_val; member

Completed in 59 milliseconds