Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/pwm/
Dpwm-gpio.c28 struct hrtimer gpio_timer; member
75 static enum hrtimer_restart pwm_gpio_timer(struct hrtimer *gpio_timer) in pwm_gpio_timer() argument
77 struct pwm_gpio *gpwm = container_of(gpio_timer, struct pwm_gpio, in pwm_gpio_timer()
78 gpio_timer); in pwm_gpio_timer()
95 hrtimer_forward(gpio_timer, hrtimer_get_expires(gpio_timer), in pwm_gpio_timer()
115 hrtimer_cancel(&gpwm->gpio_timer); in pwm_gpio_apply()
147 hrtimer_start(&gpwm->gpio_timer, next_toggle, in pwm_gpio_apply()
178 hrtimer_cancel(&gpwm->gpio_timer); in pwm_gpio_disable_hrtimer()
210 hrtimer_init(&gpwm->gpio_timer, CLOCK_MONOTONIC, HRTIMER_MODE_REL); in pwm_gpio_probe()
215 gpwm->gpio_timer.function = pwm_gpio_timer; in pwm_gpio_probe()