Lines Matching refs:rx_state
549 while (nfrms < cfhsi->rx_state.nfrms) { in cfhsi_rx_pld()
583 cfhsi->rx_state.nfrms = nfrms; in cfhsi_rx_pld()
620 int desc_pld_len = 0, rx_len, rx_state; in cfhsi_rx_done() local
638 if (cfhsi->rx_state.state == CFHSI_RX_STATE_DESC) { in cfhsi_rx_done()
654 if (cfhsi->rx_state.pld_len > 0 && in cfhsi_rx_done()
659 cfhsi->rx_state.pld_len); in cfhsi_rx_done()
661 cfhsi->rx_state.piggy_desc = true; in cfhsi_rx_done()
684 rx_state = CFHSI_RX_STATE_PAYLOAD; in cfhsi_rx_done()
687 rx_state = CFHSI_RX_STATE_DESC; in cfhsi_rx_done()
708 if (cfhsi->rx_state.state == CFHSI_RX_STATE_DESC) { in cfhsi_rx_done()
726 memset(&cfhsi->rx_state, 0, sizeof(cfhsi->rx_state)); in cfhsi_rx_done()
727 cfhsi->rx_state.state = rx_state; in cfhsi_rx_done()
730 cfhsi->rx_state.pld_len = desc_pld_len; in cfhsi_rx_done()
731 cfhsi->rx_state.piggy_desc = desc->header & CFHSI_PIGGY_DESC; in cfhsi_rx_done()
1145 cfhsi->rx_state.state = CFHSI_RX_STATE_DESC; in cfhsi_open()