Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A 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()
/openbmc/linux/sound/soc/atmel/
H A 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()
/openbmc/u-boot/include/
H A Dec_commands.h1511 uint8_t pwm_type; /* ec_pwm_type */ member
1518 uint8_t pwm_type; /* ec_pwm_type */ member
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_commands.h1781 uint8_t pwm_type; /* ec_pwm_type */ member
1788 uint8_t pwm_type; /* ec_pwm_type */ member