Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/pwm/
Dpwm-cros-ec.c65 static int cros_ec_dt_type_to_pwm_type(u8 dt_index, u8 *pwm_type) in cros_ec_dt_type_to_pwm_type() argument
69 *pwm_type = EC_PWM_TYPE_KB_LIGHT; in cros_ec_dt_type_to_pwm_type()
72 *pwm_type = EC_PWM_TYPE_DISPLAY_LIGHT; in cros_ec_dt_type_to_pwm_type()
101 ret = cros_ec_dt_type_to_pwm_type(index, &params->pwm_type); in cros_ec_pwm_set_duty()
108 params->pwm_type = EC_PWM_TYPE_GENERIC; in cros_ec_pwm_set_duty()
138 ret = cros_ec_dt_type_to_pwm_type(index, &params->pwm_type); in cros_ec_pwm_get_duty()
145 params->pwm_type = EC_PWM_TYPE_GENERIC; in cros_ec_pwm_get_duty()
/linux-6.1.9/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-6.1.9/include/linux/platform_data/
Dcros_ec_commands.h1771 uint8_t pwm_type; /* ec_pwm_type */ member
1778 uint8_t pwm_type; /* ec_pwm_type */ member