Home
last modified time | relevance | path

Searched defs:fsm (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/
H A Dphl_fsm.c167 struct fsm_main *fsm; member
183 struct fsm_main *fsm; member
213 static void fsm_status_set(struct fsm_main *fsm, enum FSM_STATUS status) in fsm_status_set()
218 static enum FSM_STATUS fsm_status(struct fsm_main *fsm) in fsm_status()
291 static struct fsm_msg *fsm_dequeue_msg(struct fsm_main *fsm) in fsm_dequeue_msg()
306 static struct fsm_evt *fsm_dequeue_evt(struct fsm_main *fsm) in fsm_dequeue_evt()
327 int phl_fsm_enqueue_ext(struct fsm_main *fsm, struct fsm_msg *msg, u8 to_head) in phl_fsm_enqueue_ext()
346 struct fsm_msg *phl_fsm_dequeue_ext(struct fsm_main *fsm) in phl_fsm_dequeue_ext()
365 int phl_fsm_is_ext_queue_empty(struct fsm_main *fsm) in phl_fsm_is_ext_queue_empty()
370 static int fsm_new_oid(struct fsm_main *fsm) in fsm_new_oid()
[all …]
H A Dphl_fsm.h84 struct fsm_main *fsm; member
224 #define FSM_PRINT(fsm, fmt, ...) \ argument
230 #define FSM_ERR(fsm, fmt, ...) \ argument
236 #define FSM_WARN(fsm, fmt, ...) \ argument
242 #define FSM_INFO(fsm, fmt, ...) \ argument
248 #define FSM_DBG(fsm, fmt, ...) \ argument
254 #define FSM_MSG(fsm, level_, fmt, ...) \ argument
260 #define FSM_EV_MSG(fsm, level_, fmt, ...) \ argument
267 #define FSM_PRINT(fsm, fmt, ...) argument
269 #define FSM_ERR(fsm, fmt, ...) argument
[all …]
H A Dphl_btc_fsm.c21 struct fsm_main *fsm; member
195 static void btc_dump_fsm(void *fsm, char *s, int *sz) in btc_dump_fsm()
211 struct fsm_main *fsm = NULL; in phl_btc_new_fsm() local
232 void phl_btc_destory_fsm(struct fsm_main *fsm) in phl_btc_destory_fsm()
250 struct btc_obj *phl_btc_new_obj(struct fsm_main *fsm, in phl_btc_new_obj()
H A Dphl_cmd_fsm.c353 static void cmd_dump_fsm(void *fsm, char *p, int *sz) in cmd_dump_fsm()
428 struct fsm_main *fsm = NULL; in phl_cmd_new_fsm() local
451 void phl_cmd_destory_fsm(struct fsm_main *fsm) in phl_cmd_destory_fsm()
469 struct _cmd_obj *phl_cmd_new_obj(struct fsm_main *fsm, in phl_cmd_new_obj()
H A Dphl_ser_fsm.c36 struct fsm_main *fsm; member
1109 static void ser_dump_fsm(void *fsm, char *s, int *sz) in ser_dump_fsm()
1125 struct fsm_main *fsm = NULL; in phl_ser_new_fsm() local
1155 void phl_ser_destory_fsm(struct fsm_main *fsm) in phl_ser_destory_fsm()
1173 struct ser_obj *phl_ser_new_obj(struct fsm_main *fsm, in phl_ser_new_obj()
H A Dphl_sound_fsm.c555 static void snd_dump_fsm(void *fsm, char *s, int *sz) in snd_dump_fsm()
613 struct fsm_main *fsm = NULL; in phl_sound_new_fsm() local
636 void phl_snd_destory_fsm(struct fsm_main *fsm) in phl_snd_destory_fsm()
H A Dphl_scan_fsm.c103 struct fsm_main *fsm; member
1032 static void scan_dump_fsm(void *fsm, char *s, int *sz) in scan_dump_fsm()
1111 struct fsm_main *fsm = NULL; in phl_scan_new_fsm() local
1134 void phl_scan_destory_fsm(struct fsm_main *fsm) in phl_scan_destory_fsm()
1152 struct scan_obj *phl_scan_new_obj(struct fsm_main *fsm, in phl_scan_new_obj()
H A Dphl_cmd_fsm.h29 struct fsm_main *fsm; member
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/
H A Dphl_fsm.c167 struct fsm_main *fsm; member
183 struct fsm_main *fsm; member
213 static void fsm_status_set(struct fsm_main *fsm, enum FSM_STATUS status) in fsm_status_set()
218 static enum FSM_STATUS fsm_status(struct fsm_main *fsm) in fsm_status()
291 static struct fsm_msg *fsm_dequeue_msg(struct fsm_main *fsm) in fsm_dequeue_msg()
306 static struct fsm_evt *fsm_dequeue_evt(struct fsm_main *fsm) in fsm_dequeue_evt()
327 int phl_fsm_enqueue_ext(struct fsm_main *fsm, struct fsm_msg *msg, u8 to_head) in phl_fsm_enqueue_ext()
346 struct fsm_msg *phl_fsm_dequeue_ext(struct fsm_main *fsm) in phl_fsm_dequeue_ext()
365 int phl_fsm_is_ext_queue_empty(struct fsm_main *fsm) in phl_fsm_is_ext_queue_empty()
370 static int fsm_new_oid(struct fsm_main *fsm) in fsm_new_oid()
[all …]
H A Dphl_fsm.h84 struct fsm_main *fsm; member
224 #define FSM_PRINT(fsm, fmt, ...) \ argument
230 #define FSM_ERR(fsm, fmt, ...) \ argument
236 #define FSM_WARN(fsm, fmt, ...) \ argument
242 #define FSM_INFO(fsm, fmt, ...) \ argument
248 #define FSM_DBG(fsm, fmt, ...) \ argument
254 #define FSM_MSG(fsm, level_, fmt, ...) \ argument
260 #define FSM_EV_MSG(fsm, level_, fmt, ...) \ argument
267 #define FSM_PRINT(fsm, fmt, ...) argument
269 #define FSM_ERR(fsm, fmt, ...) argument
[all …]
H A Dphl_btc_fsm.c21 struct fsm_main *fsm; member
195 static void btc_dump_fsm(void *fsm, char *s, int *sz) in btc_dump_fsm()
211 struct fsm_main *fsm = NULL; in phl_btc_new_fsm() local
232 void phl_btc_destory_fsm(struct fsm_main *fsm) in phl_btc_destory_fsm()
250 struct btc_obj *phl_btc_new_obj(struct fsm_main *fsm, in phl_btc_new_obj()
H A Dphl_cmd_fsm.c353 static void cmd_dump_fsm(void *fsm, char *p, int *sz) in cmd_dump_fsm()
428 struct fsm_main *fsm = NULL; in phl_cmd_new_fsm() local
451 void phl_cmd_destory_fsm(struct fsm_main *fsm) in phl_cmd_destory_fsm()
469 struct _cmd_obj *phl_cmd_new_obj(struct fsm_main *fsm, in phl_cmd_new_obj()
H A Dphl_ser_fsm.c36 struct fsm_main *fsm; member
1109 static void ser_dump_fsm(void *fsm, char *s, int *sz) in ser_dump_fsm()
1125 struct fsm_main *fsm = NULL; in phl_ser_new_fsm() local
1155 void phl_ser_destory_fsm(struct fsm_main *fsm) in phl_ser_destory_fsm()
1173 struct ser_obj *phl_ser_new_obj(struct fsm_main *fsm, in phl_ser_new_obj()
H A Dphl_sound_fsm.c555 static void snd_dump_fsm(void *fsm, char *s, int *sz) in snd_dump_fsm()
613 struct fsm_main *fsm = NULL; in phl_sound_new_fsm() local
636 void phl_snd_destory_fsm(struct fsm_main *fsm) in phl_snd_destory_fsm()
H A Dphl_scan_fsm.c103 struct fsm_main *fsm; member
1032 static void scan_dump_fsm(void *fsm, char *s, int *sz) in scan_dump_fsm()
1111 struct fsm_main *fsm = NULL; in phl_scan_new_fsm() local
1134 void phl_scan_destory_fsm(struct fsm_main *fsm) in phl_scan_destory_fsm()
1152 struct scan_obj *phl_scan_new_obj(struct fsm_main *fsm, in phl_scan_new_obj()
H A Dphl_cmd_fsm.h29 struct fsm_main *fsm; member
/OK3568_Linux_fs/kernel/drivers/usb/common/
H A Dusb-otg-fsm.c29 static int otg_set_protocol(struct otg_fsm *fsm, int protocol) in otg_set_protocol()
60 static void otg_leave_state(struct otg_fsm *fsm, enum usb_otg_state old_state) in otg_leave_state()
122 struct otg_fsm *fsm = container_of(to_delayed_work(work), in otg_hnp_polling_work() local
187 static void otg_start_hnp_polling(struct otg_fsm *fsm) in otg_start_hnp_polling()
206 static int otg_set_state(struct otg_fsm *fsm, enum usb_otg_state new_state) in otg_set_state()
328 int otg_statemachine(struct otg_fsm *fsm) in otg_statemachine()
/OK3568_Linux_fs/kernel/drivers/mtd/devices/
H A Dst_spi_fsm.c702 static inline int stfsm_is_idle(struct stfsm *fsm) in stfsm_is_idle()
707 static inline uint32_t stfsm_fifo_available(struct stfsm *fsm) in stfsm_fifo_available()
712 static inline void stfsm_load_seq(struct stfsm *fsm, in stfsm_load_seq()
728 static void stfsm_wait_seq(struct stfsm *fsm) in stfsm_wait_seq()
748 static void stfsm_read_fifo(struct stfsm *fsm, uint32_t *buf, uint32_t size) in stfsm_read_fifo()
799 static void stfsm_clear_fifo(struct stfsm *fsm) in stfsm_clear_fifo()
835 static int stfsm_write_fifo(struct stfsm *fsm, const uint32_t *buf, in stfsm_write_fifo()
849 static int stfsm_enter_32bit_addr(struct stfsm *fsm, int enter) in stfsm_enter_32bit_addr()
866 static uint8_t stfsm_wait_busy(struct stfsm *fsm) in stfsm_wait_busy()
913 static int stfsm_read_status(struct stfsm *fsm, uint8_t cmd, in stfsm_read_status()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/phy/
H A Dphy-fsl-usb.c117 void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on) in fsl_otg_chrg_vbus()
153 void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on) in fsl_otg_drv_vbus()
171 void fsl_otg_loc_conn(struct otg_fsm *fsm, int on) in fsl_otg_loc_conn()
190 void fsl_otg_loc_sof(struct otg_fsm *fsm, int on) in fsl_otg_loc_sof()
205 void fsl_otg_start_pulse(struct otg_fsm *fsm) in fsl_otg_start_pulse()
284 int fsl_otg_init_timers(struct otg_fsm *fsm) in fsl_otg_init_timers()
393 void fsl_otg_add_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_add_timer()
411 static void fsl_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_add_timer()
423 void fsl_otg_del_timer(struct otg_fsm *fsm, void *gtimer) in fsl_otg_del_timer()
433 static void fsl_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in fsl_otg_fsm_del_timer()
[all …]
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dotg-fsm.h218 static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on) in otg_chrg_vbus()
226 static inline int otg_drv_vbus(struct otg_fsm *fsm, int on) in otg_drv_vbus()
237 static inline int otg_loc_conn(struct otg_fsm *fsm, int on) in otg_loc_conn()
248 static inline int otg_loc_sof(struct otg_fsm *fsm, int on) in otg_loc_sof()
259 static inline int otg_start_pulse(struct otg_fsm *fsm) in otg_start_pulse()
270 static inline int otg_start_adp_prb(struct otg_fsm *fsm) in otg_start_adp_prb()
282 static inline int otg_start_adp_sns(struct otg_fsm *fsm) in otg_start_adp_sns()
293 static inline int otg_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_add_timer()
301 static inline int otg_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer timer) in otg_del_timer()
309 static inline int otg_start_host(struct otg_fsm *fsm, int on) in otg_start_host()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/chipidea/
H A Dotg_fsm.c436 static void ci_otg_fsm_add_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_add_timer()
445 static void ci_otg_fsm_del_timer(struct otg_fsm *fsm, enum otg_fsm_timer t) in ci_otg_fsm_del_timer()
458 static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on) in ci_otg_drv_vbus()
493 static void ci_otg_loc_conn(struct otg_fsm *fsm, int on) in ci_otg_loc_conn()
512 static void ci_otg_loc_sof(struct otg_fsm *fsm, int on) in ci_otg_loc_sof()
535 static void ci_otg_start_pulse(struct otg_fsm *fsm) in ci_otg_start_pulse()
546 static int ci_otg_start_host(struct otg_fsm *fsm, int on) in ci_otg_start_host()
560 static int ci_otg_start_gadget(struct otg_fsm *fsm, int on) in ci_otg_start_gadget()
642 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_event() local
738 struct otg_fsm *fsm = &ci->fsm; in ci_otg_fsm_irq() local
/OK3568_Linux_fs/kernel/lib/
H A Dts_fsm.c136 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_find() local
260 struct ts_fsm *fsm; in fsm_init() local
304 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_get_pattern() local
310 struct ts_fsm *fsm = ts_config_priv(conf); in fsm_get_pattern_len() local
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dctcm_mpc.c827 static void mpc_action_go_ready(fsm_instance *fsm, int event, void *arg) in mpc_action_go_ready()
1661 static void mpc_action_side_xid(fsm_instance *fsm, void *arg, int side) in mpc_action_side_xid()
1818 static void mpc_action_xside_xid(fsm_instance *fsm, int event, void *arg) in mpc_action_xside_xid()
1827 static void mpc_action_yside_xid(fsm_instance *fsm, int event, void *arg) in mpc_action_yside_xid()
1836 static void mpc_action_doxid0(fsm_instance *fsm, int event, void *arg) in mpc_action_doxid0()
1877 static void mpc_action_doxid7(fsm_instance *fsm, int event, void *arg) in mpc_action_doxid7()
1946 static void mpc_action_rcvd_xid0(fsm_instance *fsm, int event, void *arg) in mpc_action_rcvd_xid0()
2008 static void mpc_action_rcvd_xid7(fsm_instance *fsm, int event, void *arg) in mpc_action_rcvd_xid7()
/OK3568_Linux_fs/kernel/drivers/isdn/mISDN/
H A Dfsm.c21 mISDN_FsmNew(struct Fsm *fsm, in mISDN_FsmNew()
48 mISDN_FsmFree(struct Fsm *fsm) in mISDN_FsmFree()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.h59 bfa_fsm_t fsm; member
85 bfa_fsm_t fsm; member

12