Lines Matching refs:state
33 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
35 if (state->aud_input != CX25840_AUDIO_SERIAL) {
65 if (is_cx2583x(state))
102 if (is_cx2583x(state))
139 if (is_cx2583x(state))
178 if (is_cx2583x(state))
219 if (is_cx2583x(state))
260 if (is_cx2583x(state))
276 state->audclk_freq = freq;
288 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
290 if (state->aud_input != CX25840_AUDIO_SERIAL) {
323 state->audclk_freq = freq;
330 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
332 if (state->aud_input != CX25840_AUDIO_SERIAL) {
399 state->audclk_freq = freq;
406 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
411 if (is_cx231xx(state))
414 if (is_cx2388x(state))
417 if (is_cx2583x(state))
425 struct cx25840_state *state = to_state(i2c_get_clientdata(client));
427 if (!is_cx2583x(state)) {
437 if (state->aud_input == CX25840_AUDIO_SERIAL) {
450 set_audclk_freq(client, state->audclk_freq);
452 if (!is_cx2583x(state)) {
453 if (state->aud_input != CX25840_AUDIO_SERIAL) {
463 if (is_cx2388x(state) || is_cx231xx(state))
507 struct cx25840_state *state = to_state(sd);
510 if (!is_cx2583x(state))
512 if (state->aud_input != CX25840_AUDIO_SERIAL) {
517 if (state->aud_input != CX25840_AUDIO_SERIAL)
519 if (!is_cx2583x(state))
527 struct cx25840_state *state = to_state(sd);
532 if (state->mute->val)
535 set_volume(client, state->volume->val);