Searched refs:mvpwm (Results 1 – 1 of 1) sorted by relevance
122 struct mvebu_pwm *mvpwm; member287 static unsigned int mvebu_pwmreg_blink_on_duration(struct mvebu_pwm *mvpwm) in mvebu_pwmreg_blink_on_duration() argument289 return mvpwm->offset + PWM_BLINK_ON_DURATION_OFF; in mvebu_pwmreg_blink_on_duration()292 static unsigned int mvebu_pwmreg_blink_off_duration(struct mvebu_pwm *mvpwm) in mvebu_pwmreg_blink_off_duration() argument294 return mvpwm->offset + PWM_BLINK_OFF_DURATION_OFF; in mvebu_pwmreg_blink_off_duration()622 struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); in mvebu_pwm_request() local623 struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; in mvebu_pwm_request()628 spin_lock_irqsave(&mvpwm->lock, flags); in mvebu_pwm_request()630 if (mvpwm->gpiod) { in mvebu_pwm_request()642 mvpwm->gpiod = desc; in mvebu_pwm_request()[all …]