Home
last modified time | relevance | path

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

/Linux-v5.15/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-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-ep93xx.c109 if (!pwm_is_enabled(pwm)) { in ep93xx_pwm_apply()
141 if (!pwm_is_enabled(pwm)) in ep93xx_pwm_apply()
Dpwm-tegra.c183 if (!pwm_is_enabled(pwm)) { in tegra_pwm_config()
195 if (!pwm_is_enabled(pwm)) in tegra_pwm_config()
Dpwm-lpss.c155 if (!pwm_is_enabled(pwm)) { in pwm_lpss_apply()
163 } else if (pwm_is_enabled(pwm)) { in pwm_lpss_apply()
Dpwm-tiehrpwm.c395 if (pwm_is_enabled(pwm)) { in ehrpwm_pwm_free()
536 if (!pwm_is_enabled(pwm)) in ehrpwm_pwm_suspend()
554 if (!pwm_is_enabled(pwm)) in ehrpwm_pwm_resume()
Dpwm-tiecap.c300 if (pwm_is_enabled(pwm)) in ecap_pwm_suspend()
312 if (pwm_is_enabled(pwm)) in ecap_pwm_resume()
Dpwm-fsl-ftm.c484 if (!pwm_is_enabled(pwm)) in fsl_pwm_suspend()
507 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-bcm-kona.c158 if (pwm_is_enabled(pwm)) { in kona_pwmc_config()
Dpwm-renesas-tpu.c296 if (!pwm_is_enabled(_pwm)) in tpu_pwm_config()
/Linux-v5.15/drivers/staging/greybus/
Dpwm.c201 if (pwm_is_enabled(pwm)) in gb_pwm_free()
/Linux-v5.15/drivers/regulator/
Dpwm-regulator.c142 return pwm_is_enabled(drvdata->pwm); in pwm_regulator_is_enabled()
/Linux-v5.15/include/linux/
Dpwm.h111 static inline bool pwm_is_enabled(const struct pwm_device *pwm) in pwm_is_enabled() function
/Linux-v5.15/drivers/video/backlight/
Dpwm_bl.c424 if (!pwm_is_enabled(pb->pwm)) in pwm_backlight_initial_power_state()
/Linux-v5.15/drivers/gpu/drm/i915/display/
Dintel_panel.c1941 if (pwm_is_enabled(panel->backlight.pwm)) { in ext_pwm_setup_backlight()