Home
last modified time | relevance | path

Searched refs:pwm_type (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/pwm/
Dpwm-cros-ec.c66 static int cros_ec_dt_type_to_pwm_type(u8 dt_index, u8 *pwm_type) in cros_ec_dt_type_to_pwm_type() argument
70 *pwm_type = EC_PWM_TYPE_KB_LIGHT; in cros_ec_dt_type_to_pwm_type()
73 *pwm_type = EC_PWM_TYPE_DISPLAY_LIGHT; in cros_ec_dt_type_to_pwm_type()
102 ret = cros_ec_dt_type_to_pwm_type(index, &params->pwm_type); in cros_ec_pwm_set_duty()
109 params->pwm_type = EC_PWM_TYPE_GENERIC; in cros_ec_pwm_set_duty()
139 ret = cros_ec_dt_type_to_pwm_type(index, &params->pwm_type); in cros_ec_pwm_get_duty()
146 params->pwm_type = EC_PWM_TYPE_GENERIC; in cros_ec_pwm_get_duty()
/Linux-v6.6/sound/soc/atmel/
Datmel-classd.c23 int pwm_type; member
65 pdata->pwm_type = CLASSD_MR_PWMTYP_DIFF; in atmel_classd_dt_init()
67 pdata->pwm_type = CLASSD_MR_PWMTYP_SINGLE; in atmel_classd_dt_init()
226 static const char * const pwm_type[] = { variable
238 val = pdata->pwm_type << CLASSD_MR_PWMTYP_SHIFT; in atmel_classd_component_probe()
277 pwm_type[pdata->pwm_type], in atmel_classd_component_probe()
/Linux-v6.6/include/linux/platform_data/
Dcros_ec_commands.h1781 uint8_t pwm_type; /* ec_pwm_type */ member
1788 uint8_t pwm_type; /* ec_pwm_type */ member