Searched refs:pwm_type (Results 1 – 3 of 3) sorted by relevance
65 static int cros_ec_dt_type_to_pwm_type(u8 dt_index, u8 *pwm_type) in cros_ec_dt_type_to_pwm_type() argument69 *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, ¶ms->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, ¶ms->pwm_type); in cros_ec_pwm_get_duty()145 params->pwm_type = EC_PWM_TYPE_GENERIC; in cros_ec_pwm_get_duty()
23 int pwm_type; member65 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[] = { variable238 val = pdata->pwm_type << CLASSD_MR_PWMTYP_SHIFT; in atmel_classd_component_probe()277 pwm_type[pdata->pwm_type], in atmel_classd_component_probe()
1771 uint8_t pwm_type; /* ec_pwm_type */ member1778 uint8_t pwm_type; /* ec_pwm_type */ member