Lines Matching defs:state
125 const struct pwm_state *state)
138 do_div(tmp, state->period);
158 tmp = (unsigned long long)rate * state->period;
163 tmp = (unsigned long long)rate * state->duty_cycle;
194 * The PWM starts in inactive state until the internal timer reaches the
202 * state instead of its inactive state.
204 if ((state->polarity == PWM_POLARITY_NORMAL) ^ state->enabled)
212 if (state->enabled)