Lines Matching defs:state
123 const struct pwm_state *state)
136 do_div(tmp, state->period);
156 tmp = (unsigned long long)rate * state->period;
161 tmp = (unsigned long long)rate * state->duty_cycle;
192 * The PWM starts in inactive state until the internal timer reaches the
200 * state instead of its inactive state.
202 if ((state->polarity == PWM_POLARITY_NORMAL) ^ state->enabled)
210 if (state->enabled)