Searched refs:PWMF_ENABLED (Results 1 – 13 of 13) sorted by relevance
/linux-4.1.27/drivers/pwm/ |
D | pwm-tiecap.c | 100 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_config() 114 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_config() 182 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in ecap_pwm_free() 309 if (test_bit(PWMF_ENABLED, &pwm->flags)) in ecap_pwm_suspend() 321 if (test_bit(PWMF_ENABLED, &pwm->flags)) in ecap_pwm_resume()
|
D | pwm-tegra.c | 115 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in tegra_pwm_config() 127 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in tegra_pwm_config() 217 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in tegra_pwm_remove()
|
D | pwm-mxs.c | 80 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in mxs_pwm_config() 95 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in mxs_pwm_config()
|
D | pwm-ep93xx.c | 85 if (!test_bit(PWMF_ENABLED, &pwm->flags)) { in ep93xx_pwm_config() 116 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in ep93xx_pwm_config()
|
D | pwm-atmel.c | 111 if (test_bit(PWMF_ENABLED, &pwm->flags) && (period_ns != pwm->period)) { in atmel_pwm_config() 158 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in atmel_pwm_config_v1() 183 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in atmel_pwm_config_v2()
|
D | core.c | 441 if (test_bit(PWMF_ENABLED, &pwm->flags)) in pwm_set_polarity() 460 if (pwm && !test_and_set_bit(PWMF_ENABLED, &pwm->flags)) in pwm_enable() 473 if (pwm && test_and_clear_bit(PWMF_ENABLED, &pwm->flags)) in pwm_disable() 822 if (test_bit(PWMF_ENABLED, &pwm->flags)) in pwm_dbg_show()
|
D | pwm-bcm-kona.c | 137 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in kona_pwmc_config() 293 if (test_bit(PWMF_ENABLED, &kp->chip.pwms[chan].flags)) in kona_pwmc_remove()
|
D | pwm-tiehrpwm.c | 410 if (test_bit(PWMF_ENABLED, &pwm->flags)) { in ehrpwm_pwm_free() 568 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in ehrpwm_pwm_suspend() 585 if (!test_bit(PWMF_ENABLED, &pwm->flags)) in ehrpwm_pwm_resume()
|
D | sysfs.c | 100 int enabled = test_bit(PWMF_ENABLED, &pwm->flags); in pwm_enable_show()
|
D | pwm-imx.c | 117 bool enable = test_bit(PWMF_ENABLED, &pwm->flags); in imx_pwm_config_v2()
|
D | pwm-renesas-tpu.c | 304 if (!test_bit(PWMF_ENABLED, &_pwm->flags)) in tpu_pwm_config()
|
D | pwm-atmel-tcb.c | 350 if (test_bit(PWMF_ENABLED, &pwm->flags)) in atmel_tcb_pwm_config()
|
/linux-4.1.27/include/linux/ |
D | pwm.h | 78 PWMF_ENABLED = 1 << 1, enumerator
|