Lines Matching refs:rx_state
61 } rx_state; member
438 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
449 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
458 bcsp->rx_state != BCSP_W4_CRC) in bcsp_unslip_one_byte()
468 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_unslip_one_byte()
570 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_complete_rx_pkt()
586 hu, count, bcsp->rx_state, bcsp->rx_count); in bcsp_recv()
595 bcsp->rx_state = BCSP_W4_PKT_START; in bcsp_recv()
604 switch (bcsp->rx_state) { in bcsp_recv()
611 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_recv()
615 bcsp->rx_state = BCSP_W4_DATA; in bcsp_recv()
622 bcsp->rx_state = BCSP_W4_CRC; in bcsp_recv()
636 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_recv()
647 bcsp->rx_state = BCSP_W4_PKT_START; in bcsp_recv()
663 bcsp->rx_state = BCSP_W4_BCSP_HDR; in bcsp_recv()
676 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_recv()
728 bcsp->rx_state = BCSP_W4_PKT_DELIMITER; in bcsp_open()