Lines Matching refs:control_state
85 unsigned int control_state;
228 hi->control_state &=
231 hi->control_state & SSI_CHANNEL_STATE_WRITING)
232 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING;
394 __cs_hsi_error_pre(hi, msg, "control read", &hi->control_state);
396 __cs_hsi_error_read_bits(&hi->control_state);
403 __cs_hsi_error_pre(hi, msg, "control write", &hi->control_state);
405 __cs_hsi_error_write_bits(&hi->control_state);
431 hi->control_state &= ~SSI_CHANNEL_STATE_READING;
469 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING));
485 if (hi->control_state & SSI_CHANNEL_STATE_READING) {
487 hi->control_state);
491 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) {
493 hi->control_state);
497 hi->control_state |= SSI_CHANNEL_STATE_READING;
514 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING;
532 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) {
536 if (hi->control_state & SSI_CHANNEL_STATE_WRITING) {
542 hi->control_state |= SSI_CHANNEL_STATE_WRITING;
565 if (!(hi->control_state & SSI_CHANNEL_STATE_READING)) {
1074 WARN_ON(!cs_state_idle(hi->control_state));