Home
last modified time | relevance | path

Searched refs:md_state (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/wwan/t7xx/
H A Dt7xx_state_monitor.h69 enum md_state { enum
86 enum md_state md_state; member
119 int (*notifier_fn)(enum md_state state, void *data);
128 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state);
133 enum md_state t7xx_fsm_get_md_state(struct t7xx_fsm_ctl *ctl);
H A Dt7xx_port_wwan.c95 enum md_state md_state; in t7xx_port_ctrl_tx() local
100 md_state = t7xx_fsm_get_md_state(ctl); in t7xx_port_ctrl_tx()
101 if (md_state == MD_STATE_WAITING_FOR_HS1 || md_state == MD_STATE_WAITING_FOR_HS2) { in t7xx_port_ctrl_tx()
103 port_conf->name, md_state); in t7xx_port_ctrl_tx()
H A Dt7xx_port_ctrl_msg.c61 enum md_state md_state; in fsm_ee_message_handler() local
64 md_state = t7xx_fsm_get_md_state(ctl); in fsm_ee_message_handler()
65 if (md_state != MD_STATE_EXCEPTION) { in fsm_ee_message_handler()
67 ctrl_msg_h->ex_msg, md_state); in fsm_ee_message_handler()
H A Dt7xx_state_monitor.c81 static void fsm_state_notify(struct t7xx_modem *md, enum md_state state) in fsm_state_notify()
98 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state) in t7xx_fsm_broadcast_state()
100 ctl->md_state = state; in t7xx_fsm_broadcast_state()
302 if (ctl->md_state != MD_STATE_WAITING_FOR_HS2) in t7xx_fsm_broadcast_ready_state()
305 ctl->md_state = MD_STATE_READY; in t7xx_fsm_broadcast_ready_state()
560 enum md_state t7xx_fsm_get_md_state(struct t7xx_fsm_ctl *ctl) in t7xx_fsm_get_md_state()
563 return ctl->md_state; in t7xx_fsm_get_md_state()
H A Dt7xx_modem_ops.c100 if (ctl->md_state == MD_STATE_INVALID || in t7xx_pci_mhccif_isr()
101 ctl->md_state == MD_STATE_WAITING_FOR_HS1 || in t7xx_pci_mhccif_isr()
102 ctl->md_state == MD_STATE_WAITING_FOR_HS2 || in t7xx_pci_mhccif_isr()
103 ctl->md_state == MD_STATE_READY) { in t7xx_pci_mhccif_isr()
113 } else if (ctl->md_state == MD_STATE_WAITING_FOR_HS1) { in t7xx_pci_mhccif_isr()
H A Dt7xx_port.h86 void (*md_state_notify)(struct t7xx_port *port, unsigned int md_state);
H A Dt7xx_port_proxy.c311 enum md_state md_state = t7xx_fsm_get_md_state(ctl); in t7xx_port_send_skb() local
313 switch (md_state) { in t7xx_port_send_skb()
H A Dt7xx_hif_dpmaif.h197 int t7xx_dpmaif_md_state_callback(struct dpmaif_ctrl *dpmaif_ctrl, enum md_state state);
H A Dt7xx_netdev.c356 static int t7xx_ccmni_md_state_callback(enum md_state state, void *para) in t7xx_ccmni_md_state_callback()
H A Dt7xx_hif_dpmaif.c494 int t7xx_dpmaif_md_state_callback(struct dpmaif_ctrl *dpmaif_ctrl, enum md_state state) in t7xx_dpmaif_md_state_callback()