/linux-4.4.14/drivers/usb/common/ |
D | usb-otg-fsm.c | 34 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol() argument 38 if (fsm->protocol != protocol) { in otg_set_protocol() 40 fsm->protocol, protocol); in otg_set_protocol() 42 if (fsm->protocol == PROTO_HOST) in otg_set_protocol() 43 ret = otg_start_host(fsm, 0); in otg_set_protocol() 44 else if (fsm->protocol == PROTO_GADGET) in otg_set_protocol() 45 ret = otg_start_gadget(fsm, 0); in otg_set_protocol() 51 ret = otg_start_host(fsm, 1); in otg_set_protocol() 53 ret = otg_start_gadget(fsm, 1); in otg_set_protocol() 57 fsm->protocol = protocol; in otg_set_protocol() [all …]
|
D | Makefile | 9 obj-$(CONFIG_USB_OTG_FSM) += usb-otg-fsm.o
|
/linux-4.4.14/include/linux/usb/ |
D | otg-fsm.h | 125 void (*chrg_vbus)(struct otg_fsm *fsm, int on); 126 void (*drv_vbus)(struct otg_fsm *fsm, int on); 127 void (*loc_conn)(struct otg_fsm *fsm, int on); 128 void (*loc_sof)(struct otg_fsm *fsm, int on); 129 void (*start_pulse)(struct otg_fsm *fsm); 130 void (*start_adp_prb)(struct otg_fsm *fsm); 131 void (*start_adp_sns)(struct otg_fsm *fsm); 132 void (*add_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer); 133 void (*del_timer)(struct otg_fsm *fsm, enum otg_fsm_timer timer); 134 int (*start_host)(struct otg_fsm *fsm, int on); [all …]
|
/linux-4.4.14/drivers/mtd/devices/ |
D | st_spi_fsm.c | 316 static int stfsm_n25q_config(struct stfsm *fsm); 317 static int stfsm_mx25_config(struct stfsm *fsm); 318 static int stfsm_s25fl_config(struct stfsm *fsm); 319 static int stfsm_w25q_config(struct stfsm *fsm); 707 static inline int stfsm_is_idle(struct stfsm *fsm) in stfsm_is_idle() argument 709 return readl(fsm->base + SPI_FAST_SEQ_STA) & 0x10; in stfsm_is_idle() 712 static inline uint32_t stfsm_fifo_available(struct stfsm *fsm) in stfsm_fifo_available() argument 714 return (readl(fsm->base + SPI_FAST_SEQ_STA) >> 5) & 0x7f; in stfsm_fifo_available() 717 static inline void stfsm_load_seq(struct stfsm *fsm, in stfsm_load_seq() argument 720 void __iomem *dst = fsm->base + SPI_FAST_SEQ_TRANSFER_SIZE; in stfsm_load_seq() [all …]
|
/linux-4.4.14/drivers/usb/chipidea/ |
D | otg_fsm.c | 43 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_req); in get_a_bus_req() 59 mutex_lock(&ci->fsm.lock); in set_a_bus_req() 61 ci->fsm.a_bus_req = 0; in set_a_bus_req() 64 if (ci->fsm.a_bus_drop) { in set_a_bus_req() 65 mutex_unlock(&ci->fsm.lock); in set_a_bus_req() 68 ci->fsm.a_bus_req = 1; in set_a_bus_req() 72 mutex_unlock(&ci->fsm.lock); in set_a_bus_req() 87 t = scnprintf(next, size, "%d\n", ci->fsm.a_bus_drop); in get_a_bus_drop() 103 mutex_lock(&ci->fsm.lock); in set_a_bus_drop() 105 ci->fsm.a_bus_drop = 0; in set_a_bus_drop() [all …]
|
D | debug.c | 223 struct otg_fsm *fsm; in ci_otg_show() local 228 fsm = &ci->fsm; in ci_otg_show() 235 seq_printf(s, "a_bus_drop: %d\n", fsm->a_bus_drop); in ci_otg_show() 237 seq_printf(s, "a_bus_req: %d\n", fsm->a_bus_req); in ci_otg_show() 239 seq_printf(s, "a_srp_det: %d\n", fsm->a_srp_det); in ci_otg_show() 241 seq_printf(s, "a_vbus_vld: %d\n", fsm->a_vbus_vld); in ci_otg_show() 243 seq_printf(s, "b_conn: %d\n", fsm->b_conn); in ci_otg_show() 245 seq_printf(s, "adp_change: %d\n", fsm->adp_change); in ci_otg_show() 247 seq_printf(s, "power_up: %d\n", fsm->power_up); in ci_otg_show() 249 seq_printf(s, "a_bus_resume: %d\n", fsm->a_bus_resume); in ci_otg_show() [all …]
|
D | core.c | 1100 if ((ci->fsm.otg->state == OTG_STATE_A_IDLE) && in ci_otg_fsm_suspend_for_srp() 1112 if ((ci->fsm.otg->state == OTG_STATE_A_IDLE) && in ci_otg_fsm_wakeup_by_srp() 1113 (ci->fsm.a_bus_drop == 1) && (ci->fsm.a_bus_req == 0)) { in ci_otg_fsm_wakeup_by_srp() 1115 ci->fsm.a_srp_det = 1; in ci_otg_fsm_wakeup_by_srp() 1116 ci->fsm.a_bus_drop = 0; in ci_otg_fsm_wakeup_by_srp() 1118 ci->fsm.id = 1; in ci_otg_fsm_wakeup_by_srp()
|
D | udc.c | 1731 if (ci_otg_is_fsm_mode(ci) && ci->fsm.id) { in ci_udc_start() 1759 mutex_lock(&ci->fsm.lock); in ci_udc_stop_for_otg_fsm() 1760 if (ci->fsm.otg->state == OTG_STATE_A_PERIPHERAL) { in ci_udc_stop_for_otg_fsm() 1761 ci->fsm.a_bidl_adis_tmout = 1; in ci_udc_stop_for_otg_fsm() 1763 } else if (ci->fsm.otg->state == OTG_STATE_B_PERIPHERAL) { in ci_udc_stop_for_otg_fsm() 1764 ci->fsm.protocol = PROTO_UNDEF; in ci_udc_stop_for_otg_fsm() 1765 ci->fsm.otg->state = OTG_STATE_UNDEFINED; in ci_udc_stop_for_otg_fsm() 1767 mutex_unlock(&ci->fsm.lock); in ci_udc_stop_for_otg_fsm()
|
D | ci.h | 212 struct otg_fsm fsm; member
|
/linux-4.4.14/drivers/usb/phy/ |
D | phy-fsl-usb.c | 123 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus() argument 159 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus() argument 177 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn() argument 196 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof() argument 211 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse() argument 224 fsl_otg_add_timer(fsm, b_data_pulse_tmr); in fsl_otg_start_pulse() 241 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 1); in fsl_otg_pulse_vbus() 243 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_vbus_pulse_tmr); in fsl_otg_pulse_vbus() 248 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 0); in b_vbus_pulse_end() 256 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_srp_wait_tmr); in b_vbus_pulse_end() [all …]
|
D | phy-fsl-usb.h | 373 struct otg_fsm fsm; member 404 void fsl_otg_add_timer(struct otg_fsm *fsm, void *timer); 405 void fsl_otg_del_timer(struct otg_fsm *fsm, void *timer);
|
D | phy-isp1301-omap.c | 415 u8 fsm = omap_readw(OTG_TEST) & 0x0ff; in check_state() local 418 switch (fsm) { in check_state() 480 usb_otg_state_string(state), fsm, state_name(isp), in check_state()
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | fsm.c | 25 FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount) in FsmNew() argument 29 fsm->jumpmatrix = in FsmNew() 30 kzalloc(sizeof(FSMFNPTR) * fsm->state_count * fsm->event_count, GFP_KERNEL); in FsmNew() 31 if (!fsm->jumpmatrix) in FsmNew() 35 if ((fnlist[i].state >= fsm->state_count) || (fnlist[i].event >= fsm->event_count)) { in FsmNew() 37 i, (long)fnlist[i].state, (long)fsm->state_count, in FsmNew() 38 (long)fnlist[i].event, (long)fsm->event_count); in FsmNew() 40 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + in FsmNew() 46 FsmFree(struct Fsm *fsm) in FsmFree() argument 48 kfree((void *) fsm->jumpmatrix); in FsmFree() [all …]
|
D | st5481_d.c | 289 FsmEvent(&adapter->d_out.fsm, EV_DOUT_STOPPED, NULL); in dout_stop_event() 304 if (d_out->fsm.state != ST_DOUT_NORMAL) in usb_d_out() 330 FsmChangeState(&d_out->fsm, ST_DOUT_WAIT_FOR_UNDERRUN); in usb_d_out() 372 FsmEvent(&adapter->d_out.fsm, EV_DOUT_RESETED, NULL); in fifo_reseted() 403 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COMPLETE, (void *) buf_nr); in usb_d_out_complete() 408 static void dout_start_xmit(struct FsmInst *fsm, int event, void *arg) in dout_start_xmit() argument 411 struct st5481_adapter *adapter = fsm->userdata; in dout_start_xmit() 437 FsmChangeState(&d_out->fsm, ST_DOUT_SHORT_INIT); in dout_start_xmit() 439 FsmChangeState(&d_out->fsm, ST_DOUT_LONG_INIT); in dout_start_xmit() 462 static void dout_short_fifo(struct FsmInst *fsm, int event, void *arg) in dout_short_fifo() argument [all …]
|
D | fsm.h | 30 struct Fsm *fsm; member 50 int FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount); 51 void FsmFree(struct Fsm *fsm);
|
D | st5481_usb.c | 207 FsmEvent(&adapter->d_out.fsm, EV_DOUT_DEN, NULL); in usb_int_complete() 210 FsmEvent(&adapter->d_out.fsm, EV_DOUT_COLL, NULL); in usb_int_complete() 214 FsmEvent(&adapter->d_out.fsm, EV_DOUT_UNDERRUN, NULL); in usb_int_complete()
|
D | isdnl1.c | 814 st->l1.l1m.fsm->strState[st->l1.l1m.state]); in dch_l2l1() 894 st->l1.l1m.fsm = &l1fsm_s; in setstack_HiSax() 899 st->l1.l1m.fsm = &l1fsm_u; in setstack_HiSax() 922 st->l1.l1m.fsm = &l1fsm_b; in setstack_l1_B()
|
D | Makefile | 25 lmgr.o q931.o callc.o fsm.o
|
D | hisax.h | 177 struct Fsm *fsm; member 1276 int FsmNew(struct Fsm *fsm, struct FsmNode *fnlist, int fncount); 1277 void FsmFree(struct Fsm *fsm);
|
D | isdnl3.c | 337 st->l3.l3m.fsm = &l3fsm; in setstack_l3dc() 407 st->l3.l3m.fsm = &l3fsm; in setstack_l3bc()
|
D | st5481.h | 342 struct FsmInst fsm; member
|
D | tei.c | 411 st->ma.tei_m.fsm = &teifsm; in setstack_tei()
|
D | hisax_isac.c | 760 isac->l1m.fsm = &l1fsm; in isac_init()
|
D | callc.c | 1101 chanp->fi.fsm = &callcfsm; in init_chan()
|
D | isdnl2.c | 1782 st->l2.l2m.fsm = &l2fsm; in setstack_isdnl2()
|
/linux-4.4.14/drivers/isdn/mISDN/ |
D | fsm.c | 30 mISDN_FsmNew(struct Fsm *fsm, in mISDN_FsmNew() argument 35 fsm->jumpmatrix = kzalloc(sizeof(FSMFNPTR) * fsm->state_count * in mISDN_FsmNew() 36 fsm->event_count, GFP_KERNEL); in mISDN_FsmNew() 39 if ((fnlist[i].state >= fsm->state_count) || in mISDN_FsmNew() 40 (fnlist[i].event >= fsm->event_count)) { in mISDN_FsmNew() 43 i, (long)fnlist[i].state, (long)fsm->state_count, in mISDN_FsmNew() 44 (long)fnlist[i].event, (long)fsm->event_count); in mISDN_FsmNew() 46 fsm->jumpmatrix[fsm->state_count * fnlist[i].event + in mISDN_FsmNew() 52 mISDN_FsmFree(struct Fsm *fsm) in mISDN_FsmFree() argument 54 kfree((void *) fsm->jumpmatrix); in mISDN_FsmFree() [all …]
|
D | fsm.h | 38 struct Fsm *fsm; member
|
D | Makefile | 11 mISDN_core-objs := core.o fsm.o socket.o clock.o hwchannel.o stack.o layer1.o layer2.o tei.o timerd…
|
D | tei.c | 826 l2->tm->tei_m.fsm = &teifsmn; in create_new_tei() 1070 l2->tm->tei_m.fsm = &teifsmu; in create_teimgr() 1078 l2->tm->tei_m.fsm = &teifsmn; in create_teimgr() 1381 mgr->deact.fsm = &deactfsm; in create_teimanager()
|
D | layer1.c | 391 nl1->l1m.fsm = &l1fsm_s; in create_l1()
|
D | layer2.c | 2209 l2->l2m.fsm = &l2fsm; in create_l2()
|
/linux-4.4.14/drivers/net/irda/ |
D | sir_dev.c | 38 struct sir_fsm *fsm = &dev->fsm; in sirdev_tx_complete_fsm() local 43 next_state = fsm->substate; /* default: stay in current substate */ in sirdev_tx_complete_fsm() 46 switch(fsm->substate) { in sirdev_tx_complete_fsm() 88 fsm->substate = next_state; in sirdev_tx_complete_fsm() 106 struct sir_dev *dev = container_of(work, struct sir_dev, fsm.work.work); in sirdev_config_fsm() 107 struct sir_fsm *fsm = &dev->fsm; in sirdev_config_fsm() local 116 __func__, fsm->state, fsm->substate); in sirdev_config_fsm() 118 next_state = fsm->state; in sirdev_config_fsm() 121 switch(fsm->state) { in sirdev_config_fsm() 127 fsm->result = -EINVAL; in sirdev_config_fsm() [all …]
|
D | mcp2120-sir.c | 96 unsigned state = dev->fsm.substate; in mcp2120_change_speed() 157 dev->fsm.substate = state; in mcp2120_change_speed() 181 unsigned state = dev->fsm.substate; in mcp2120_reset() 214 dev->fsm.substate = state; in mcp2120_reset()
|
D | girbil-sir.c | 120 unsigned state = dev->fsm.substate; in girbil_change_speed() 181 dev->fsm.substate = state; in girbil_change_speed() 202 unsigned state = dev->fsm.substate; in girbil_reset() 242 dev->fsm.substate = state; in girbil_reset()
|
D | tekram-sir.c | 124 unsigned state = dev->fsm.substate; in tekram_change_speed() 182 dev->fsm.substate = state; in tekram_change_speed()
|
D | toim3232-sir.c | 236 unsigned state = dev->fsm.substate; in toim3232_change_speed() 302 dev->fsm.substate = state; in toim3232_change_speed()
|
D | act200l-sir.c | 194 unsigned state = dev->fsm.substate; in act200l_reset() 240 dev->fsm.substate = state; in act200l_reset()
|
D | sir-dev.h | 171 struct sir_fsm fsm; member
|
/linux-4.4.14/drivers/s390/net/ |
D | ctcm_mpc.c | 111 static void mpc_action_nop(fsm_instance *fsm, int event, void *arg); 112 static void mpc_action_go_ready(fsm_instance *fsm, int event, void *arg); 116 static void mpc_action_yside_xid(fsm_instance *fsm, int event, void *arg); 117 static void mpc_action_doxid0(fsm_instance *fsm, int event, void *arg); 118 static void mpc_action_doxid7(fsm_instance *fsm, int event, void *arg); 119 static void mpc_action_xside_xid(fsm_instance *fsm, int event, void *arg); 120 static void mpc_action_rcvd_xid0(fsm_instance *fsm, int event, void *arg); 121 static void mpc_action_rcvd_xid7(fsm_instance *fsm, int event, void *arg); 344 CTCM_FUNTAIL, dev->name, fsm_getstate_str(grp->fsm)); in ctc_mpc_alloc_channel() 346 switch (fsm_getstate(grp->fsm)) { in ctc_mpc_alloc_channel() [all …]
|
D | ctcm_main.c | 191 fsm_newstate(ch->fsm, CTC_STATE_IDLE); in channel_free() 218 kfree_fsm(ch->fsm); in channel_remove() 270 fsm_newstate(ch->fsm, CTC_STATE_STOPPED); in channel_get() 322 fsm_event(ch->fsm, CTC_EVENT_UC_RCRESET, ch); in ccw_unit_check() 330 fsm_event(ch->fsm, CTC_EVENT_UC_RSRESET, ch); in ccw_unit_check() 340 fsm_event(ch->fsm, CTC_EVENT_UC_HWFAIL, ch); in ccw_unit_check() 348 fsm_event(ch->fsm, CTC_EVENT_UC_RXPARITY, ch); in ccw_unit_check() 358 fsm_event(ch->fsm, CTC_EVENT_UC_TXTIMEOUT, ch); in ccw_unit_check() 360 fsm_event(ch->fsm, CTC_EVENT_UC_TXPARITY, ch); in ccw_unit_check() 372 fsm_event(ch->fsm, CTC_EVENT_UC_ZERO, ch); in ccw_unit_check() [all …]
|
D | ctcm_fsms.c | 179 static void ctcmpc_chx_attn(fsm_instance *fsm, int event, void *arg); 182 static void ctcmpc_chx_send_sweep(fsm_instance *fsm, int event, void *arg); 199 fsm_event(ch->fsm, CTC_EVENT_IO_EBUSY, ch); in ctcm_ccw_check_rc() 204 fsm_event(ch->fsm, CTC_EVENT_IO_ENODEV, ch); in ctcm_ccw_check_rc() 209 fsm_event(ch->fsm, CTC_EVENT_IO_UNKNOWN, ch); in ctcm_ccw_check_rc() 344 fsm_event(priv->fsm, DEV_EVENT_TXUP, ch->netdev); in ctcm_chx_txidle() 462 fsm_event(priv->fsm, DEV_EVENT_TXUP, dev); in chx_firstio() 498 fsm_event(priv->fsm, DEV_EVENT_RXUP, dev); in chx_firstio() 535 fsm_event(priv->fsm, DEV_EVENT_RXUP, dev); in chx_rxidle() 722 fsm_event(priv->fsm, DEV_EVENT_RXDOWN, dev); in ctcm_chx_cleanup() [all …]
|
D | netiucv.c | 199 fsm_instance *fsm; member 227 fsm_instance *fsm; member 537 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx() 548 fsm_event(conn->fsm, CONN_EVENT_TXDONE, &ev); in netiucv_callback_txdone() 555 fsm_event(conn->fsm, CONN_EVENT_CONN_ACK, conn); in netiucv_callback_connack() 580 fsm_event(conn->fsm, CONN_EVENT_CONN_REQ, &ev); in netiucv_callback_connreq() 593 fsm_event(conn->fsm, CONN_EVENT_CONN_REJ, conn); in netiucv_callback_connrej() 600 fsm_event(conn->fsm, CONN_EVENT_CONN_SUS, conn); in netiucv_callback_connsusp() 607 fsm_event(conn->fsm, CONN_EVENT_CONN_RES, conn); in netiucv_callback_connres() 832 fsm_event(privptr->fsm, DEV_EVENT_CONUP, netdev); in conn_action_connaccept() [all …]
|
D | Makefile | 6 obj-$(CONFIG_CTCM) += ctcm.o fsm.o 7 obj-$(CONFIG_NETIUCV) += netiucv.o fsm.o
|
D | ctcm_sysfs.c | 88 fsm_getstate_str(priv->fsm)); in ctcm_print_statistics() 90 fsm_getstate_str(priv->channel[CTCM_READ]->fsm)); in ctcm_print_statistics() 92 fsm_getstate_str(priv->channel[CTCM_WRITE]->fsm)); in ctcm_print_statistics()
|
D | fsm.h | 48 } fsm; typedef 64 fsm *f;
|
D | ctcm_main.h | 193 fsm_instance *fsm; /* finite state machine of this channel */ member 210 fsm_instance *fsm; member
|
D | fsm.c | 22 fsm *f; in init_fsm() 33 f = kzalloc(sizeof(fsm), order); in init_fsm()
|
D | ctcm_mpc.h | 198 fsm_instance *fsm; /* group xid fsm */ member
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bfa_cs.h | 40 typedef void (*bfa_fsm_t)(void *fsm, int event); 48 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 49 static void oc ## _sm_ ## st ## _entry(otype * fsm) 52 (_fsm)->fsm = (bfa_fsm_t)(_state); \ 56 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) 58 ((_fsm)->fsm == (bfa_fsm_t)(_state))
|
D | bfa_msgq.h | 67 bfa_fsm_t fsm; member 93 bfa_fsm_t fsm; member
|
D | bna_types.h | 324 bfa_fsm_t fsm; member 346 bfa_fsm_t fsm; member 372 bfa_fsm_t fsm; member 471 bfa_fsm_t fsm; member 710 bfa_fsm_t fsm; member 786 bfa_fsm_t fsm; member
|
D | bfa_ioc.h | 159 bfa_fsm_t fsm; member 167 bfa_fsm_t fsm; member
|
D | bna_enet.c | 1268 if (enet->fsm != (bfa_sm_t)bna_enet_sm_stopped) in bna_enet_enable() 1762 if (ioceth->fsm == (bfa_fsm_t)bna_ioceth_sm_ready) { in bna_ioceth_enable() 1767 if (ioceth->fsm == (bfa_fsm_t)bna_ioceth_sm_stopped) in bna_ioceth_enable()
|
D | bfa_ioc.c | 2865 enum bfa_ioc_state ioc_st = bfa_sm_to_state(ioc_sm_table, ioc->fsm); in bfa_ioc_get_state() 2870 iocpf_st = bfa_sm_to_state(iocpf_sm_table, ioc->iocpf.fsm); in bfa_ioc_get_state() 2988 iocpf_st = bfa_sm_to_state(iocpf_sm_table, ioc->iocpf.fsm); in bfa_nw_iocpf_timeout()
|
D | bna_tx_rx.c | 1967 if (rx->fsm == (bfa_fsm_t) bna_rx_sm_stopped) in bna_rx_stop() 2546 if (rx->fsm != (bfa_sm_t)bna_rx_sm_stopped) in bna_rx_enable() 3534 if (tx->fsm != (bfa_sm_t)bna_tx_sm_stopped) in bna_tx_enable()
|
/linux-4.4.14/lib/ |
D | ts_fsm.c | 140 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find() local 164 strict = fsm->tokens[0].recur != TS_FSM_HEAD_IGNORE; in fsm_find() 169 for (tok_idx = 0; tok_idx < fsm->ntokens; tok_idx++) { in fsm_find() 170 cur = &fsm->tokens[tok_idx]; in fsm_find() 172 if (likely(tok_idx < (fsm->ntokens - 1))) in fsm_find() 173 next = &fsm->tokens[tok_idx + 1]; in fsm_find() 264 struct ts_fsm *fsm; in fsm_init() local 267 size_t priv_size = sizeof(*fsm) + len; in fsm_init() 291 fsm = ts_config_priv(conf); in fsm_init() 292 fsm->ntokens = ntokens; in fsm_init() [all …]
|
/linux-4.4.14/Documentation/devicetree/bindings/mtd/ |
D | st-fsm.txt | 4 - compatible : Should be "st,spi-fsm" 6 - reg-names : Should contain the reg names "spi-fsm" 17 compatible = "st,spi-fsm"; 19 reg-names = "spi-fsm";
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfa_cs.h | 228 static void oc ## _sm_ ## st(otype * fsm, etype event) 248 typedef void (*bfa_fsm_t)(void *fsm, int event); 257 static void oc ## _sm_ ## st(otype * fsm, etype event); \ 258 static void oc ## _sm_ ## st ## _entry(otype * fsm) 261 (_fsm)->fsm = (bfa_fsm_t)(_state); \ 265 #define bfa_fsm_send_event(_fsm, _event) ((_fsm)->fsm((_fsm), (_event))) 266 #define bfa_fsm_get_state(_fsm) ((_fsm)->fsm) 268 ((_fsm)->fsm == (bfa_fsm_t)(_state))
|
D | bfa_ioc.h | 289 bfa_fsm_t fsm; member 297 bfa_fsm_t fsm; member
|
D | bfa.h | 228 bfa_fsm_t fsm; member
|
D | bfa_ioc.c | 2832 enum bfa_ioc_state ioc_st = bfa_sm_to_state(ioc_sm_table, ioc->fsm); in bfa_ioc_get_state() 2837 iocpf_st = bfa_sm_to_state(iocpf_sm_table, ioc->iocpf.fsm); in bfa_ioc_get_state()
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | gdm_wimax.c | 342 struct fsm_s *fsm = nic->sdk_data[SIOC_DATA_FSM].buf; in gdm_wimax_open() local 346 if (fsm && fsm->m_status != M_INIT) in gdm_wimax_open() 354 struct fsm_s *fsm = nic->sdk_data[SIOC_DATA_FSM].buf; in gdm_wimax_close() local 358 if (fsm && fsm->m_status != M_INIT) in gdm_wimax_close() 421 static void gdm_wimax_ind_fsm_update(struct net_device *dev, struct fsm_s *fsm) in gdm_wimax_ind_fsm_update() argument 429 memcpy(&hci->data[0], fsm, sizeof(struct fsm_s)); in gdm_wimax_ind_fsm_update() 801 struct fsm_s *fsm = nic->sdk_data[SIOC_DATA_FSM].buf; in unregister_wimax_device() local 803 if (fsm) in unregister_wimax_device() 804 fsm->m_status = M_INIT; in unregister_wimax_device()
|
/linux-4.4.14/arch/cris/include/arch-v32/arch/hwregs/iop/ |
D | iop_spu_defs.h | 111 unsigned int fsm : 1; member 334 unsigned int fsm : 1; member 348 unsigned int fsm : 1; member 369 unsigned int fsm : 1; member
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | stih416-pinctrl.dtsi | 380 fsm { 381 pinctrl_fsm: fsm { 383 spi-fsm-clk = <&pio12 2 ALT1 OUT>; 384 spi-fsm-cs = <&pio12 3 ALT1 OUT>; 385 spi-fsm-mosi = <&pio12 4 ALT1 OUT>; 386 spi-fsm-miso = <&pio12 5 ALT1 IN>; 387 spi-fsm-hol = <&pio12 6 ALT1 OUT>; 388 spi-fsm-wp = <&pio12 7 ALT1 OUT>;
|
D | stih407-pinctrl.dtsi | 1148 fsm { 1149 pinctrl_fsm: fsm { 1151 spi-fsm-clk = <&pio40 1 ALT1 OUT>; 1152 spi-fsm-cs = <&pio40 0 ALT1 OUT>; 1153 spi-fsm-mosi = <&pio40 2 ALT1 OUT>; 1154 spi-fsm-miso = <&pio40 3 ALT1 IN>; 1155 spi-fsm-hol = <&pio40 5 ALT1 OUT>; 1156 spi-fsm-wp = <&pio40 4 ALT1 OUT>;
|
D | stih416.dtsi | 241 compatible = "st,spi-fsm";
|
/linux-4.4.14/drivers/input/touchscreen/ |
D | ti_am335x_tsc.c | 269 unsigned int fsm, status, irqclr = 0; in titsc_irq() local 282 fsm = titsc_readl(ts_dev, REG_ADCFSM); in titsc_irq() 283 if (fsm == ADCFSM_STEPID) { in titsc_irq()
|
/linux-4.4.14/Documentation/usb/ |
D | chipidea.txt | 9 If you want to check some internal variables for otg fsm, 11 can show otg fsm variables and some controller registers value:
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
D | iop_fw_load.c | 61 .fsm = regk_iop_spu_no, in iop_fw_load_spu()
|
/linux-4.4.14/ |
D | MAINTAINERS | 11165 F: drivers/usb/common/usb-otg-fsm.c
|