Lines Matching full:fsm

55 #include "fsm.h"
150 fsm_instance *fsm; member
178 fsm_instance *fsm; member
486 fsm_event(conn->fsm, CONN_EVENT_RX, &ev); in netiucv_callback_rx()
497 fsm_event(conn->fsm, CONN_EVENT_TXDONE, &ev); in netiucv_callback_txdone()
504 fsm_event(conn->fsm, CONN_EVENT_CONN_ACK, conn); in netiucv_callback_connack()
529 fsm_event(conn->fsm, CONN_EVENT_CONN_REQ, &ev); in netiucv_callback_connreq()
542 fsm_event(conn->fsm, CONN_EVENT_CONN_REJ, conn); in netiucv_callback_connrej()
549 fsm_event(conn->fsm, CONN_EVENT_CONN_SUS, conn); in netiucv_callback_connsusp()
556 fsm_event(conn->fsm, CONN_EVENT_CONN_RES, conn); in netiucv_callback_connres()
786 fsm_event(privptr->fsm, DEV_EVENT_CONUP, netdev); in conn_action_connaccept()
808 fsm_event(privptr->fsm, DEV_EVENT_CONUP, netdev); in conn_action_connack()
836 fsm_event(privptr->fsm, DEV_EVENT_CONDOWN, netdev); in conn_action_connsever()
941 fsm_event(privptr->fsm, DEV_EVENT_CONDOWN, netdev); in conn_action_stop()
1008 fsm_event(privptr->conn->fsm, CONN_EVENT_START, privptr->conn); in dev_action_start()
1030 fsm_event(privptr->conn->fsm, CONN_EVENT_STOP, &ev); in dev_action_stop()
1125 if (fsm_getstate(conn->fsm) != CONN_STATE_IDLE) { in netiucv_transmit_skb()
1171 fsm_newstate(conn->fsm, CONN_STATE_TX); in netiucv_transmit_skb()
1185 fsm_newstate(conn->fsm, CONN_STATE_IDLE); in netiucv_transmit_skb()
1228 fsm_event(priv->fsm, DEV_EVENT_START, dev); in netiucv_open()
1244 fsm_event(priv->fsm, DEV_EVENT_STOP, dev); in netiucv_close()
1278 if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) { in netiucv_tx()
1476 return sprintf(buf, "%s\n", fsm_getstate_str(priv->fsm)); in dev_fsm_show()
1487 return sprintf(buf, "%s\n", fsm_getstate_str(priv->conn->fsm)); in conn_fsm_show()
1750 conn->fsm = init_fsm("netiucvconn", conn_state_names, in netiucv_new_connection()
1754 if (!conn->fsm) in netiucv_new_connection()
1757 fsm_settimer(conn->fsm, &conn->timer); in netiucv_new_connection()
1758 fsm_newstate(conn->fsm, CONN_STATE_INVALID); in netiucv_new_connection()
1764 fsm_newstate(conn->fsm, CONN_STATE_STOPPED); in netiucv_new_connection()
1801 kfree_fsm(conn->fsm); in netiucv_remove_connection()
1821 if (privptr->fsm) in netiucv_free_netdevice()
1822 kfree_fsm(privptr->fsm); in netiucv_free_netdevice()
1823 privptr->conn = NULL; privptr->fsm = NULL; in netiucv_free_netdevice()
1870 privptr->fsm = init_fsm("netiucvdev", dev_state_names, in netiucv_init_netdevice()
1873 if (!privptr->fsm) in netiucv_init_netdevice()
1881 fsm_newstate(privptr->fsm, DEV_STATE_STOPPED); in netiucv_init_netdevice()
1885 kfree_fsm(privptr->fsm); in netiucv_init_netdevice()