Lines Matching refs:enabled
97 state->enabled = (val & enable_conf) == enable_conf;
232 bool enabled;
241 enabled = curstate.enabled;
243 if (state->polarity != curstate.polarity && enabled && !pc->data->supports_lock) {
248 enabled = false;
252 if (state->enabled != enabled) {
253 ret = rockchip_pwm_enable(chip, pwm, state->enabled);
259 if (state->enabled) {
351 bool enabled;
433 enabled = (ctrl & enable_conf) == enable_conf;
443 /* Keep the PWM clk enabled if the PWM appears to be up and running. */
444 if (!enabled) {