Lines Matching refs:main_state
124 unsigned int main_state; member
404 ssi->main_state = 0; in ssip_reset()
426 dev_err(&cl->device, "Main state: %d\n", ssi->main_state); in ssip_dump_state()
429 dev_err(&cl->device, "CMT %s\n", (ssi->main_state == ACTIVE) ? in ssip_dump_state()
459 ssi->main_state, ssi->recv_state, ssi->send_state); in ssip_keep_alive()
519 dev_dbg(&cl->device, "RX start M(%d) R(%d)\n", ssi->main_state, in ssip_start_rx()
526 if ((ssi->main_state != ACTIVE) || (ssi->recv_state == RECV_READY)) { in ssip_start_rx()
544 dev_dbg(&cl->device, "RX stop M(%d)\n", ssi->main_state); in ssip_stop_rx()
546 if (likely(ssi->main_state == ACTIVE)) in ssip_stop_rx()
665 switch (ssi->main_state) { in ssip_rx_bootinforeq()
673 ssi->main_state = HANDSHAKE; in ssip_rx_bootinforeq()
692 dev_dbg(&cl->device, "Wrong state M(%d)\n", ssi->main_state); in ssip_rx_bootinforeq()
705 if (ssi->main_state != ACTIVE) in ssip_rx_bootinforesp()
710 ssi->main_state); in ssip_rx_bootinforesp()
720 if (ssi->main_state != HANDSHAKE) { in ssip_rx_waketest()
722 ssi->main_state); in ssip_rx_waketest()
732 ssi->main_state = ACTIVE; in ssip_rx_waketest()
752 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_rx_ready()
754 ssi->send_state, ssi->main_state); in ssip_rx_ready()
777 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_rx_strans()
779 ssi->send_state, ssi->main_state); in ssip_rx_strans()
941 ssi->main_state = HANDSHAKE; in ssip_pn_open()
1000 if (unlikely(ssi->main_state != ACTIVE)) { in ssip_pn_xmit()