Lines Matching refs:control_state

85 	unsigned int			control_state;  member
228 hi->control_state &= in cs_cmd_destructor()
231 hi->control_state & SSI_CHANNEL_STATE_WRITING) in cs_cmd_destructor()
232 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_cmd_destructor()
394 __cs_hsi_error_pre(hi, msg, "control read", &hi->control_state); in cs_hsi_control_read_error()
396 __cs_hsi_error_read_bits(&hi->control_state); in cs_hsi_control_read_error()
403 __cs_hsi_error_pre(hi, msg, "control write", &hi->control_state); in cs_hsi_control_write_error()
405 __cs_hsi_error_write_bits(&hi->control_state); in cs_hsi_control_write_error()
431 hi->control_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control_complete()
469 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_peek_on_control_complete()
485 if (hi->control_state & SSI_CHANNEL_STATE_READING) { in cs_hsi_read_on_control()
487 hi->control_state); in cs_hsi_read_on_control()
491 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_read_on_control()
493 hi->control_state); in cs_hsi_read_on_control()
497 hi->control_state |= SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control()
514 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control_complete()
532 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_write_on_control()
536 if (hi->control_state & SSI_CHANNEL_STATE_WRITING) { in cs_hsi_write_on_control()
542 hi->control_state |= SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control()
565 if (!(hi->control_state & SSI_CHANNEL_STATE_READING)) { in cs_hsi_write_on_control()
1074 WARN_ON(!cs_state_idle(hi->control_state)); in cs_hsi_stop()