Lines Matching refs:fsm
225 fsm_instance *fsm; member
252 fsm_instance *fsm; member
540 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx()
551 fsm_event(conn->fsm, CONN_EVENT_TXDONE, &ev); in netiucv_callback_txdone()
558 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()
591 fsm_event(conn->fsm, CONN_EVENT_CONN_REJ, conn); in netiucv_callback_connrej()
598 fsm_event(conn->fsm, CONN_EVENT_CONN_SUS, conn); in netiucv_callback_connsusp()
605 fsm_event(conn->fsm, CONN_EVENT_CONN_RES, conn); in netiucv_callback_connres()
826 fsm_event(privptr->fsm, DEV_EVENT_CONUP, netdev); in conn_action_connaccept()
848 fsm_event(privptr->fsm, DEV_EVENT_CONUP, netdev); in conn_action_connack()
876 fsm_event(privptr->fsm, DEV_EVENT_CONDOWN, netdev); in conn_action_connsever()
980 fsm_event(privptr->fsm, DEV_EVENT_CONDOWN, netdev); in conn_action_stop()
1047 fsm_event(privptr->conn->fsm, CONN_EVENT_START, privptr->conn); in dev_action_start()
1069 fsm_event(privptr->conn->fsm, CONN_EVENT_STOP, &ev); in dev_action_stop()
1163 if (fsm_getstate(conn->fsm) != CONN_STATE_IDLE) { in netiucv_transmit_skb()
1210 fsm_newstate(conn->fsm, CONN_STATE_TX); in netiucv_transmit_skb()
1224 fsm_newstate(conn->fsm, CONN_STATE_IDLE); in netiucv_transmit_skb()
1267 fsm_event(priv->fsm, DEV_EVENT_START, dev); in netiucv_open()
1283 fsm_event(priv->fsm, DEV_EVENT_STOP, dev); in netiucv_close()
1317 priv->pm_state = fsm_getstate(priv->fsm); in netiucv_pm_freeze()
1390 if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) { in netiucv_tx()
1579 return sprintf(buf, "%s\n", fsm_getstate_str(priv->fsm)); in dev_fsm_show()
1590 return sprintf(buf, "%s\n", fsm_getstate_str(priv->conn->fsm)); in conn_fsm_show()
1886 conn->fsm = init_fsm("netiucvconn", conn_state_names, in netiucv_new_connection()
1890 if (!conn->fsm) in netiucv_new_connection()
1893 fsm_settimer(conn->fsm, &conn->timer); in netiucv_new_connection()
1894 fsm_newstate(conn->fsm, CONN_STATE_INVALID); in netiucv_new_connection()
1898 fsm_newstate(conn->fsm, CONN_STATE_STOPPED); in netiucv_new_connection()
1934 kfree_fsm(conn->fsm); in netiucv_remove_connection()
1954 if (privptr->fsm) in netiucv_free_netdevice()
1955 kfree_fsm(privptr->fsm); in netiucv_free_netdevice()
1956 privptr->conn = NULL; privptr->fsm = NULL; in netiucv_free_netdevice()
2001 privptr->fsm = init_fsm("netiucvdev", dev_state_names, in netiucv_init_netdevice()
2004 if (!privptr->fsm) in netiucv_init_netdevice()
2012 fsm_newstate(privptr->fsm, DEV_STATE_STOPPED); in netiucv_init_netdevice()
2016 kfree_fsm(privptr->fsm); in netiucv_init_netdevice()