Lines Matching refs:control_state

98 	unsigned int			control_state;  member
241 hi->control_state &= in cs_cmd_destructor()
244 hi->control_state & SSI_CHANNEL_STATE_WRITING) in cs_cmd_destructor()
245 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_cmd_destructor()
407 __cs_hsi_error_pre(hi, msg, "control read", &hi->control_state); in cs_hsi_control_read_error()
409 __cs_hsi_error_read_bits(&hi->control_state); in cs_hsi_control_read_error()
416 __cs_hsi_error_pre(hi, msg, "control write", &hi->control_state); in cs_hsi_control_write_error()
418 __cs_hsi_error_write_bits(&hi->control_state); in cs_hsi_control_write_error()
444 hi->control_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control_complete()
477 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_peek_on_control_complete()
493 if (hi->control_state & SSI_CHANNEL_STATE_READING) { in cs_hsi_read_on_control()
495 hi->control_state); in cs_hsi_read_on_control()
499 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_read_on_control()
501 hi->control_state); in cs_hsi_read_on_control()
505 hi->control_state |= SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control()
522 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control_complete()
540 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_write_on_control()
544 if (hi->control_state & SSI_CHANNEL_STATE_WRITING) { in cs_hsi_write_on_control()
550 hi->control_state |= SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control()
573 if (!(hi->control_state & SSI_CHANNEL_STATE_READING)) { in cs_hsi_write_on_control()
1083 WARN_ON(!cs_state_idle(hi->control_state)); in cs_hsi_stop()