Searched refs:lpc18xx_data (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/pwm/
H A Dpwm-lpc18xx-sct.c169 struct lpc18xx_pwm_data *lpc18xx_data = pwm_get_chip_data(pwm); lpc18xx_pwm_config_duty() local
176 LPC18XX_PWM_MATCH(lpc18xx_data->duty_event), lpc18xx_pwm_config_duty()
180 LPC18XX_PWM_MATCHREL(lpc18xx_data->duty_event), lpc18xx_pwm_config_duty()
239 struct lpc18xx_pwm_data *lpc18xx_data = pwm_get_chip_data(pwm); lpc18xx_pwm_enable() local
244 LPC18XX_PWM_EVCTRL(lpc18xx_data->duty_event), lpc18xx_pwm_enable()
245 LPC18XX_PWM_EVCTRL_MATCH(lpc18xx_data->duty_event) | lpc18xx_pwm_enable()
249 LPC18XX_PWM_EVSTATEMSK(lpc18xx_data->duty_event), lpc18xx_pwm_enable()
254 clear_event = lpc18xx_data->duty_event; lpc18xx_pwm_enable()
257 set_event = lpc18xx_data->duty_event; lpc18xx_pwm_enable()
274 struct lpc18xx_pwm_data *lpc18xx_data = pwm_get_chip_data(pwm); lpc18xx_pwm_disable() local
277 LPC18XX_PWM_EVCTRL(lpc18xx_data->duty_event), 0); lpc18xx_pwm_disable()
285 struct lpc18xx_pwm_data *lpc18xx_data = pwm_get_chip_data(pwm); lpc18xx_pwm_request() local
298 lpc18xx_data->duty_event = event; lpc18xx_pwm_request()
307 struct lpc18xx_pwm_data *lpc18xx_data = pwm_get_chip_data(pwm); lpc18xx_pwm_free() local
311 clear_bit(lpc18xx_data->duty_event, &lpc18xx_pwm->event_map); lpc18xx_pwm_free()

Completed in 69 milliseconds