Searched refs:mvpwm (Results 1 – 1 of 1) sorted by relevance
125 struct mvebu_pwm *mvpwm; member290 static unsigned int mvebu_pwmreg_blink_on_duration(struct mvebu_pwm *mvpwm) in mvebu_pwmreg_blink_on_duration() argument292 return mvpwm->offset + PWM_BLINK_ON_DURATION_OFF; in mvebu_pwmreg_blink_on_duration()295 static unsigned int mvebu_pwmreg_blink_off_duration(struct mvebu_pwm *mvpwm) in mvebu_pwmreg_blink_off_duration() argument297 return mvpwm->offset + PWM_BLINK_OFF_DURATION_OFF; in mvebu_pwmreg_blink_off_duration()625 struct mvebu_pwm *mvpwm = to_mvebu_pwm(chip); in mvebu_pwm_request() local626 struct mvebu_gpio_chip *mvchip = mvpwm->mvchip; in mvebu_pwm_request()631 spin_lock_irqsave(&mvpwm->lock, flags); in mvebu_pwm_request()633 if (mvpwm->gpiod) { in mvebu_pwm_request()645 mvpwm->gpiod = desc; in mvebu_pwm_request()[all …]