Lines Matching refs:data_state
86 unsigned int data_state; member
306 hi->data_state &= in cs_hsi_data_destructor()
309 hi->data_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_data_destructor()
412 __cs_hsi_error_pre(hi, msg, "data read", &hi->data_state); in cs_hsi_data_read_error()
413 __cs_hsi_error_read_bits(&hi->data_state); in cs_hsi_data_read_error()
420 __cs_hsi_error_pre(hi, msg, "data write", &hi->data_state); in cs_hsi_data_write_error()
421 __cs_hsi_error_write_bits(&hi->data_state); in cs_hsi_data_write_error()
584 WARN_ON(!(hi->data_state & SSI_CHANNEL_STATE_READING)); in cs_hsi_read_on_data_complete()
585 hi->data_state &= ~SSI_CHANNEL_STATE_READING; in cs_hsi_read_on_data_complete()
617 WARN_ON(!(hi->data_state & SSI_CHANNEL_STATE_POLL)); in cs_hsi_peek_on_data_complete()
618 hi->data_state &= ~SSI_CHANNEL_STATE_POLL; in cs_hsi_peek_on_data_complete()
619 hi->data_state |= SSI_CHANNEL_STATE_READING; in cs_hsi_peek_on_data_complete()
656 if (hi->data_state & in cs_hsi_read_on_data()
659 hi->data_state); in cs_hsi_read_on_data()
663 hi->data_state |= SSI_CHANNEL_STATE_POLL; in cs_hsi_read_on_data()
682 hi->data_state &= ~SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_data_complete()
703 if (hi->data_state & SSI_CHANNEL_STATE_ERROR) { in cs_hsi_write_on_data()
708 if (hi->data_state & SSI_CHANNEL_STATE_WRITING) { in cs_hsi_write_on_data()
713 hi->data_state |= SSI_CHANNEL_STATE_WRITING; in cs_hsi_write_on_data()
839 if (!cs_state_xfer_active(hi->data_state)) { in cs_hsi_data_sync()
847 if (!cs_state_xfer_active(hi->data_state)) in cs_hsi_data_sync()
944 WARN_ON(cs_state_xfer_active(hi->data_state)); in cs_hsi_buf_config()
1075 WARN_ON(!cs_state_idle(hi->data_state)); in cs_hsi_stop()