Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pwm/
Dpwm-crc.c69 if (pwm_is_enabled(pwm) && !state->enabled) { in crc_pwm_apply()
90 if (pwm_is_enabled(pwm) && state->enabled && in crc_pwm_apply()
101 pwm_is_enabled(pwm) != state->enabled) { in crc_pwm_apply()
113 if (!pwm_is_enabled(pwm) && state->enabled) { in crc_pwm_apply()
Dpwm-tiecap.c85 if (!pwm_is_enabled(pwm)) { in ecap_pwm_config()
99 if (!pwm_is_enabled(pwm)) { in ecap_pwm_config()
173 if (pwm_is_enabled(pwm)) { in ecap_pwm_free()
284 if (pwm_is_enabled(pwm)) in ecap_pwm_suspend()
296 if (pwm_is_enabled(pwm)) in ecap_pwm_resume()
Dpwm-mxs.c62 if (!pwm_is_enabled(pwm)) { in mxs_pwm_apply()
68 if (!state->enabled && pwm_is_enabled(pwm)) in mxs_pwm_apply()
103 if (!pwm_is_enabled(pwm)) { in mxs_pwm_apply()
Dpwm-stmpe.c113 if (pwm_is_enabled(pwm)) { in stmpe_24xx_pwm_config()
192 if (pwm_is_enabled(pwm)) in stmpe_24xx_pwm_config()
251 if (pwm_is_enabled(pwm)) in stmpe_24xx_pwm_config()
Dpwm-lpss.c150 if (!pwm_is_enabled(pwm)) { in pwm_lpss_apply()
158 } else if (pwm_is_enabled(pwm)) { in pwm_lpss_apply()
256 if (pwm_is_enabled(&lpwm->chip.pwms[i])) in pwm_lpss_remove()
Dpwm-tegra.c183 if (!pwm_is_enabled(pwm)) { in tegra_pwm_config()
195 if (!pwm_is_enabled(pwm)) in tegra_pwm_config()
319 if (!pwm_is_enabled(pwm)) in tegra_pwm_remove()
Dpwm-ep93xx.c76 if (!pwm_is_enabled(pwm)) { in ep93xx_pwm_config()
107 if (!pwm_is_enabled(pwm)) in ep93xx_pwm_config()
Dpwm-zx.c133 if (pwm_is_enabled(pwm)) in zx_pwm_config()
143 if (pwm_is_enabled(pwm)) in zx_pwm_config()
Dpwm-bcm-kona.c158 if (pwm_is_enabled(pwm)) { in kona_pwmc_config()
319 if (pwm_is_enabled(&kp->chip.pwms[chan])) in kona_pwmc_remove()
Dpwm-tiehrpwm.c395 if (pwm_is_enabled(pwm)) { in ehrpwm_pwm_free()
543 if (!pwm_is_enabled(pwm)) in ehrpwm_pwm_suspend()
561 if (!pwm_is_enabled(pwm)) in ehrpwm_pwm_resume()
Dpwm-fsl-ftm.c496 if (!pwm_is_enabled(pwm)) in fsl_pwm_suspend()
519 if (!pwm_is_enabled(pwm)) in fsl_pwm_resume()
Dpwm-atmel-hlcdc.c189 if (pwm_is_enabled(&chip->chip.pwms[0])) in atmel_hlcdc_pwm_suspend()
Dpwm-renesas-tpu.c296 if (!pwm_is_enabled(_pwm)) in tpu_pwm_config()
Dpwm-rockchip.c392 if (pwm_is_enabled(pc->chip.pwms)) in rockchip_pwm_remove()
Dpwm-atmel-tcb.c363 if (pwm_is_enabled(pwm)) in atmel_tcb_pwm_config()
/Linux-v5.10/drivers/staging/greybus/
Dpwm.c201 if (pwm_is_enabled(pwm)) in gb_pwm_free()
/Linux-v5.10/drivers/regulator/
Dpwm-regulator.c142 return pwm_is_enabled(drvdata->pwm); in pwm_regulator_is_enabled()
/Linux-v5.10/include/linux/
Dpwm.h101 static inline bool pwm_is_enabled(const struct pwm_device *pwm) in pwm_is_enabled() function
/Linux-v5.10/drivers/video/backlight/
Dpwm_bl.c441 if (!pwm_is_enabled(pb->pwm)) in pwm_backlight_initial_power_state()
/Linux-v5.10/drivers/gpu/drm/i915/display/
Dintel_panel.c1921 if (pwm_is_enabled(panel->backlight.pwm)) { in pwm_setup_backlight()