Searched refs:fsm_state (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/isdn/act2000/
H A Dcapi.c163 chan->fsm_state = ACT2000_STATE_NULL; actcapi_connect_req()
395 chan->fsm_state = ACT2000_STATE_BHWAIT; actcapi_disconnect_b3_req()
410 chan->fsm_state = ACT2000_STATE_NULL; actcapi_connect_resp()
413 chan->fsm_state = ACT2000_STATE_IWAIT; actcapi_connect_resp()
426 if (chan->fsm_state == ACT2000_STATE_IWAIT) actcapi_connect_active_resp()
427 chan->fsm_state = ACT2000_STATE_IBWAIT; actcapi_connect_active_resp()
446 chan->fsm_state = ACT2000_STATE_BWAIT; actcapi_connect_b3_resp()
460 chan->fsm_state = ACT2000_STATE_ACTIVE; actcapi_connect_b3_active_resp()
541 (card->bch[i].fsm_state == ACT2000_STATE_OCALL)) find_dialing()
559 if (card->bch[chan].fsm_state != ACT2000_STATE_ACTIVE) actcapi_data_b3_ind()
655 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_ACTIVE)) { actcapi_dispatch()
675 card->bch[chan].fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
681 card->bch[chan].fsm_state = ACT2000_STATE_OWAIT; actcapi_dispatch()
694 card->bch[chan].fsm_state = ACT2000_STATE_ICALL; actcapi_dispatch()
720 switch (card->bch[chan].fsm_state) { actcapi_dispatch()
733 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_IBWAIT)) { actcapi_dispatch()
745 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_BWAIT)) { actcapi_dispatch()
759 switch (ctmp->fsm_state) { actcapi_dispatch()
761 ctmp->fsm_state = ACT2000_STATE_DHWAIT2; actcapi_dispatch()
769 ctmp->fsm_state = ACT2000_STATE_DHWAIT; actcapi_dispatch()
784 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
799 switch (card->bch[chan].fsm_state) { actcapi_dispatch()
806 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
819 switch (card->bch[chan].fsm_state) { actcapi_dispatch()
826 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
838 switch (card->bch[chan].fsm_state) { actcapi_dispatch()
844 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
855 ctmp->fsm_state = ACT2000_STATE_OBWAIT; actcapi_dispatch()
861 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
873 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_OBWAIT)) { actcapi_dispatch()
876 ctmp->fsm_state = ACT2000_STATE_NULL; actcapi_dispatch()
883 ctmp->fsm_state = ACT2000_STATE_BWAIT; actcapi_dispatch()
890 if ((chan >= 0) && (card->bch[chan].fsm_state == ACT2000_STATE_BHWAIT)) actcapi_dispatch()
891 card->bch[chan].fsm_state = ACT2000_STATE_BHWAIT2; actcapi_dispatch()
H A Dmodule.c318 if (chan->fsm_state != ACT2000_STATE_NULL) { act2000_command()
321 chan->fsm_state); act2000_command()
328 chan->fsm_state = ACT2000_STATE_OCALL; act2000_command()
346 if (chan->fsm_state == ACT2000_STATE_ICALL) act2000_command()
358 switch (chan->fsm_state) { act2000_command()
429 if (chan->fsm_state != ACT2000_STATE_ACTIVE) act2000_sendbuf()
H A Dact2000.h120 unsigned short fsm_state; /* Current D-Channel state */ member in struct:act2000_chan
/linux-4.4.14/drivers/block/
H A Dxsysace.c183 uint fsm_state; /* Current state (ACE_FSM_STATE_*) */ member in struct:ace_device
487 dev_dbg(ace->dev, "fsm_state=%i, id_req_count=%i\n", ace_fsm_dostate()
488 ace->fsm_state, ace->id_req_count); ace_fsm_dostate()
495 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
509 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
517 switch (ace->fsm_state) { ace_fsm_dostate()
522 ace->fsm_state = ACE_FSM_STATE_REQ_LOCK; ace_fsm_dostate()
535 ace->fsm_state = ACE_FSM_STATE_WAIT_CFREADY; ace_fsm_dostate()
542 ace->fsm_state = ACE_FSM_STATE_WAIT_LOCK; ace_fsm_dostate()
548 ace->fsm_state = ACE_FSM_STATE_WAIT_CFREADY; ace_fsm_dostate()
567 ace->fsm_state = ACE_FSM_STATE_IDENTIFY_PREPARE; ace_fsm_dostate()
569 ace->fsm_state = ACE_FSM_STATE_REQ_PREPARE; ace_fsm_dostate()
585 ace->fsm_state = ACE_FSM_STATE_IDENTIFY_TRANSFER; ace_fsm_dostate()
616 ace->fsm_state = ACE_FSM_STATE_IDENTIFY_COMPLETE; ace_fsm_dostate()
640 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
651 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
690 ace->fsm_state = ACE_FSM_STATE_REQ_TRANSFER; ace_fsm_dostate()
742 ace->fsm_state = ACE_FSM_STATE_REQ_COMPLETE; ace_fsm_dostate()
749 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
753 ace->fsm_state = ACE_FSM_STATE_IDLE; ace_fsm_dostate()
780 ace->fsm_state, ace->fsm_task, ace->fsm_iter_num, ace_stall_timer()
838 dev_err(ace->dev, "fsm_task=%i fsm_state=%i data_count=%i\n", ace_interrupt()
839 ace->fsm_task, ace->fsm_state, ace->data_count); ace_interrupt()
/linux-4.4.14/drivers/net/wireless/rsi/
H A Drsi_91x_mgmt.c218 common->fsm_state = FSM_CARD_NOT_READY; rsi_set_default_parameters()
310 if (common->fsm_state == FSM_MAC_INIT_DONE) { rsi_load_radio_caps()
1261 if (common->fsm_state == FSM_BOOT_PARAMS_SENT) { rsi_handle_ta_confirm_type()
1263 common->fsm_state = FSM_CARD_NOT_READY; rsi_handle_ta_confirm_type()
1266 common->fsm_state = FSM_EEPROM_READ_MAC_ADDR; rsi_handle_ta_confirm_type()
1271 __func__, common->fsm_state); rsi_handle_ta_confirm_type()
1277 if (common->fsm_state == FSM_EEPROM_READ_MAC_ADDR) { rsi_handle_ta_confirm_type()
1289 common->fsm_state = FSM_CARD_NOT_READY; rsi_handle_ta_confirm_type()
1295 common->fsm_state = FSM_RESET_MAC_SENT; rsi_handle_ta_confirm_type()
1299 __func__, common->fsm_state); rsi_handle_ta_confirm_type()
1305 if (common->fsm_state == FSM_RESET_MAC_SENT) { rsi_handle_ta_confirm_type()
1312 common->fsm_state = FSM_RADIO_CAPS_SENT; rsi_handle_ta_confirm_type()
1316 __func__, common->fsm_state); rsi_handle_ta_confirm_type()
1322 if (common->fsm_state == FSM_RADIO_CAPS_SENT) { rsi_handle_ta_confirm_type()
1327 common->fsm_state = FSM_BB_RF_PROG_SENT; rsi_handle_ta_confirm_type()
1334 __func__, common->fsm_state); rsi_handle_ta_confirm_type()
1343 if (common->fsm_state == FSM_BB_RF_PROG_SENT) { rsi_handle_ta_confirm_type()
1346 common->fsm_state = FSM_MAC_INIT_DONE; rsi_handle_ta_confirm_type()
1352 __func__, common->fsm_state); rsi_handle_ta_confirm_type()
1391 if (common->fsm_state == FSM_CARD_NOT_READY) { rsi_mgmt_pkt_recv()
1398 common->fsm_state = FSM_BOOT_PARAMS_SENT; rsi_mgmt_pkt_recv()
H A Drsi_91x_debugfs.c127 unsigned char fsm_state[][32] = { rsi_stats_read() local
139 if (common->fsm_state <= FSM_MAC_INIT_DONE) rsi_stats_read()
140 seq_printf(seq, "%s", fsm_state[common->fsm_state]); rsi_stats_read()
142 seq_printf(seq, "(%d)\n\n", common->fsm_state); rsi_stats_read()
H A Drsi_main.h185 u32 fsm_state; member in struct:rsi_common
H A Drsi_91x_core.c338 if (common->fsm_state != FSM_MAC_INIT_DONE) { rsi_core_xmit()
H A Drsi_91x_sdio_ops.c443 common->fsm_state = FSM_CARD_NOT_READY; rsi_interrupt_handler()
/linux-4.4.14/drivers/isdn/pcbit/
H A Dedss1.c276 if (action->init == chan->fsm_state && action->event == event) pcbit_fsm_event()
283 event, chan->fsm_state); pcbit_fsm_event()
292 chan->fsm_state = action->final; pcbit_fsm_event()
297 if (tentry->init == chan->fsm_state) pcbit_fsm_event()
H A Dpcbit.h33 unsigned short fsm_state; member in struct:pcbit_chan
H A Ddrv.c345 if (chan->fsm_state != ST_ACTIVE) pcbit_xmit()
529 if (!dev->b1->fsm_state) pcbit_l3_receive()
531 else if (!dev->b2->fsm_state) pcbit_l3_receive()
572 if (dev->b1->fsm_state == ST_CALL_INIT) pcbit_l3_receive()
H A Dlayer2.c485 if (chan->fsm_state == ST_ACTIVE) { pcbit_firmware_bug()
490 if (chan->fsm_state == ST_ACTIVE) { pcbit_firmware_bug()
/linux-4.4.14/drivers/power/
H A D88pm860x_charger.c290 unsigned char fsm_state[][16] = { "init", "discharge", "precharge", set_charging_fsm() local
319 &fsm_state[info->state][0], set_charging_fsm()
391 &fsm_state[info->state][0], set_charging_fsm()
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c8669 u16 fsm_state = 0; qam_flip_spec() local
8819 while ((fsm_state != 4) && (i++ < 100)) { qam_flip_spec()
8820 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_QAM_FSM_STATE__A, &fsm_state, 0); qam_flip_spec()

Completed in 469 milliseconds