• Home
  • Raw
  • Download

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()
482 WARN_ON(!(hi->control_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_peek_on_control_complete()
498 if (hi->control_state & SSI_CHANNEL_STATE_READING) { in cs_hsi_read_on_control()
500 hi->control_state); in cs_hsi_read_on_control()
504 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_read_on_control()
506 hi->control_state); in cs_hsi_read_on_control()
510 hi->control_state |= SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_control()
527 hi->control_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control_complete()
545 if (hi->control_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_write_on_control()
549 if (hi->control_state & SSI_CHANNEL_STATE_WRITING) { in cs_hsi_write_on_control()
555 hi->control_state |= SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_control()
578 if (!(hi->control_state & SSI_CHANNEL_STATE_READING)) { in cs_hsi_write_on_control()
1088 WARN_ON(!cs_state_idle(hi->control_state)); in cs_hsi_stop()