Home
last modified time | relevance | path

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

/linux/drivers/input/misc/
H A Dmax77693-haptic.c60 unsigned int pwm_duty; member
74 delta = (pargs.period + haptic->pwm_duty) / 2; in max77693_haptic_set_duty_cycle()
250 haptic->pwm_duty = (unsigned int)(period_mag_multi >> in max77693_haptic_play_effect()
/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c142 u8 pwm_duty; member
226 .pwm_duty = MT6370_PWM_DUTY,
234 .pwm_duty = MT6372_PWM_DUTY,
280 divisor = pdata->pwm_duty; in mt6370_set_led_duty()
/linux/drivers/hwmon/
H A Dit87.c626 u8 pwm_duty[NUM_PWM]; /* Manual PWM value set by user */ member
803 data->pwm_duty[nr] = it87_read_value(data, in it87_update_pwm_ctrl()
809 data->pwm_duty[nr] = data->pwm_ctrl[nr] & 0x7f; in it87_update_pwm_ctrl()
1302 data->pwm_duty[nr] == pwm_to_reg(data, 0xff)) in pwm_mode()
1364 pwm_from_reg(data, data->pwm_duty[nr])); in show_pwm()
1551 data->pwm_duty[nr] = pwm_to_reg(data, 0xff); in set_pwm_enable()
1553 data->pwm_duty[nr]); in set_pwm_enable()
1559 ctrl = data->pwm_duty[nr]; in set_pwm_enable()
1573 ctrl = (val == 1 ? data->pwm_duty[nr] : 0x80); in set_pwm_enable()
1616 data->pwm_duty[nr] = pwm_to_reg(data, val); in set_pwm()
[all …]