Lines Matching refs:data_state
99 unsigned int data_state; member
319 hi->data_state &= in cs_hsi_data_destructor()
322 hi->data_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_data_destructor()
425 __cs_hsi_error_pre(hi, msg, "data read", &hi->data_state); in cs_hsi_data_read_error()
426 __cs_hsi_error_read_bits(&hi->data_state); in cs_hsi_data_read_error()
433 __cs_hsi_error_pre(hi, msg, "data write", &hi->data_state); in cs_hsi_data_write_error()
434 __cs_hsi_error_write_bits(&hi->data_state); in cs_hsi_data_write_error()
592 WARN_ON(!(hi->data_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_read_on_data_complete()
593 hi->data_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_data_complete()
625 WARN_ON(!(hi->data_state & SSI_CHANNEL_STATE_POLL)); in cs_hsi_peek_on_data_complete()
626 hi->data_state &= ~SSI_CHANNEL_STATE_POLL; in cs_hsi_peek_on_data_complete()
627 hi->data_state |= SSI_CHANNEL_STATE_READING; in cs_hsi_peek_on_data_complete()
664 if (hi->data_state & in cs_hsi_read_on_data()
667 hi->data_state); in cs_hsi_read_on_data()
671 hi->data_state |= SSI_CHANNEL_STATE_POLL; in cs_hsi_read_on_data()
690 hi->data_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_data_complete()
711 if (hi->data_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_write_on_data()
716 if (hi->data_state & SSI_CHANNEL_STATE_WRITING) { in cs_hsi_write_on_data()
721 hi->data_state |= SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_data()
847 if (!cs_state_xfer_active(hi->data_state)) { in cs_hsi_data_sync()
855 if (!cs_state_xfer_active(hi->data_state)) in cs_hsi_data_sync()
952 WARN_ON(cs_state_xfer_active(hi->data_state)); in cs_hsi_buf_config()
1084 WARN_ON(!cs_state_idle(hi->data_state)); in cs_hsi_stop()