Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpio-mvebu.c122 struct mvebu_pwm *mvpwm; member
287 static unsigned int mvebu_pwmreg_blink_on_duration(struct mvebu_pwm *mvpwm) in mvebu_pwmreg_blink_on_duration() argument
289 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() argument
294 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() local
623 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 …]