Home
last modified time | relevance | path

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

/openbmc/linux/drivers/pwm/
H A Dpwm-raspberrypi-poe.c94 state->enabled = !!(rpipwm->duty_cycle); in raspberrypi_pwm_get_state()
119 if (duty_cycle == rpipwm->duty_cycle) in raspberrypi_pwm_apply()
130 rpipwm->duty_cycle = duty_cycle; in raspberrypi_pwm_apply()
146 struct raspberrypi_pwm *rpipwm; in raspberrypi_pwm_probe() local
161 rpipwm = devm_kzalloc(&pdev->dev, sizeof(*rpipwm), GFP_KERNEL); in raspberrypi_pwm_probe()
162 if (!rpipwm) in raspberrypi_pwm_probe()
165 rpipwm->firmware = firmware; in raspberrypi_pwm_probe()
166 rpipwm->chip.dev = dev; in raspberrypi_pwm_probe()
167 rpipwm->chip.ops = &raspberrypi_pwm_ops; in raspberrypi_pwm_probe()
171 &rpipwm->duty_cycle); in raspberrypi_pwm_probe()
[all …]