Lines Matching refs:fsm
35 enum eswifi_uart_fsm fsm; member
92 static char get_fsm_char(int fsm) in get_fsm_char() argument
94 switch (fsm) { in get_fsm_char()
116 get_fsm_char(uart->fsm), c, c); in eswifi_uart_get_resp()
126 switch (uart->fsm) { in eswifi_uart_get_resp()
129 uart->fsm = ESWIFI_UART_FSM_WAIT_LF; in eswifi_uart_get_resp()
134 uart->fsm = ESWIFI_UART_FSM_WAIT_MARK; in eswifi_uart_get_resp()
136 uart->fsm = ESWIFI_UART_FSM_WAIT_CR; in eswifi_uart_get_resp()
141 uart->fsm = ESWIFI_UART_FSM_WAIT_SPACE; in eswifi_uart_get_resp()
143 uart->fsm = ESWIFI_UART_FSM_WAIT_LF; in eswifi_uart_get_resp()
145 uart->fsm = ESWIFI_UART_FSM_WAIT_CR; in eswifi_uart_get_resp()
150 uart->fsm = ESWIFI_UART_FSM_END; in eswifi_uart_get_resp()
152 uart->fsm = ESWIFI_UART_FSM_WAIT_LF; in eswifi_uart_get_resp()
154 uart->fsm = ESWIFI_UART_FSM_WAIT_CR; in eswifi_uart_get_resp()
177 if (uart->fsm == ESWIFI_UART_FSM_END) { in eswifi_uart_wait_prompt()
204 uart->fsm = ESWIFI_UART_FSM_WAIT_CR; in eswifi_uart_request()