Lines Matching refs:fsm_state
280 common->fsm_state = FSM_CARD_NOT_READY; in rsi_set_default_parameters()
406 if (common->fsm_state == FSM_MAC_INIT_DONE) { in rsi_load_radio_caps()
1928 if (common->fsm_state == FSM_BOOT_PARAMS_SENT) { in rsi_handle_ta_confirm_type()
1936 common->fsm_state = FSM_RESET_MAC_SENT; in rsi_handle_ta_confirm_type()
1944 common->fsm_state = FSM_CARD_NOT_READY; in rsi_handle_ta_confirm_type()
1947 common->fsm_state = FSM_EEPROM_READ_MAC_ADDR; in rsi_handle_ta_confirm_type()
1952 __func__, common->fsm_state); in rsi_handle_ta_confirm_type()
1968 common->fsm_state = FSM_CARD_NOT_READY; in rsi_handle_ta_confirm_type()
1971 if (common->fsm_state == FSM_EEPROM_READ_MAC_ADDR) { in rsi_handle_ta_confirm_type()
1982 common->fsm_state = FSM_CARD_NOT_READY; in rsi_handle_ta_confirm_type()
1985 common->fsm_state = FSM_EEPROM_READ_RF_TYPE; in rsi_handle_ta_confirm_type()
1986 } else if (common->fsm_state == FSM_EEPROM_READ_RF_TYPE) { in rsi_handle_ta_confirm_type()
1999 common->fsm_state = FSM_RESET_MAC_SENT; in rsi_handle_ta_confirm_type()
2008 if (common->fsm_state == FSM_RESET_MAC_SENT) { in rsi_handle_ta_confirm_type()
2015 common->fsm_state = FSM_RADIO_CAPS_SENT; in rsi_handle_ta_confirm_type()
2019 __func__, common->fsm_state); in rsi_handle_ta_confirm_type()
2025 if (common->fsm_state == FSM_RADIO_CAPS_SENT) { in rsi_handle_ta_confirm_type()
2036 common->fsm_state = FSM_BB_RF_PROG_SENT; in rsi_handle_ta_confirm_type()
2043 __func__, common->fsm_state); in rsi_handle_ta_confirm_type()
2052 if (common->fsm_state == FSM_BB_RF_PROG_SENT) { in rsi_handle_ta_confirm_type()
2055 common->fsm_state = FSM_MAC_INIT_DONE; in rsi_handle_ta_confirm_type()
2065 __func__, common->fsm_state); in rsi_handle_ta_confirm_type()
2107 switch (common->fsm_state) { in rsi_handle_card_ready()
2113 common->fsm_state = FSM_COMMON_DEV_PARAMS_SENT; in rsi_handle_card_ready()
2123 common->fsm_state = FSM_CARD_NOT_READY; in rsi_handle_card_ready()
2139 common->fsm_state = FSM_CARD_NOT_READY; in rsi_handle_card_ready()
2142 common->fsm_state = FSM_BOOT_PARAMS_SENT; in rsi_handle_card_ready()
2147 __func__, common->fsm_state); in rsi_handle_card_ready()
2196 if (common->fsm_state != FSM_MAC_INIT_DONE) in rsi_mgmt_pkt_recv()