Searched refs:pwm_type (Results 1 – 3 of 3) sorted by relevance
66 static int cros_ec_dt_type_to_pwm_type(u8 dt_index, u8 *pwm_type) in cros_ec_dt_type_to_pwm_type() argument70 *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, ¶ms->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, ¶ms->pwm_type); in cros_ec_pwm_get_duty()146 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()
1781 uint8_t pwm_type; /* ec_pwm_type */ member1788 uint8_t pwm_type; /* ec_pwm_type */ member