Searched refs:md_state (Results 1 – 10 of 10) sorted by relevance
/openbmc/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_state_monitor.h | 69 enum md_state { enum 86 enum md_state md_state; member 118 int (*notifier_fn)(enum md_state state, void *data); 127 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state); 132 enum md_state t7xx_fsm_get_md_state(struct t7xx_fsm_ctl *ctl);
|
H A D | t7xx_port_wwan.c | 60 enum md_state md_state; in t7xx_port_ctrl_tx() local 68 md_state = t7xx_fsm_get_md_state(ctl); in t7xx_port_ctrl_tx() 69 if (md_state == MD_STATE_WAITING_FOR_HS1 || md_state == MD_STATE_WAITING_FOR_HS2) { in t7xx_port_ctrl_tx() 71 port_conf->name, md_state); in t7xx_port_ctrl_tx()
|
H A D | t7xx_port_ctrl_msg.c | 61 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 D | t7xx_state_monitor.c | 74 static void fsm_state_notify(struct t7xx_modem *md, enum md_state state) in fsm_state_notify() 91 void t7xx_fsm_broadcast_state(struct t7xx_fsm_ctl *ctl, enum md_state state) in t7xx_fsm_broadcast_state() 93 ctl->md_state = state; in t7xx_fsm_broadcast_state() 260 if (ctl->md_state != MD_STATE_WAITING_FOR_HS2) in t7xx_fsm_broadcast_ready_state() 263 ctl->md_state = MD_STATE_READY; in t7xx_fsm_broadcast_ready_state() 480 enum md_state t7xx_fsm_get_md_state(struct t7xx_fsm_ctl *ctl) in t7xx_fsm_get_md_state() 483 return ctl->md_state; in t7xx_fsm_get_md_state()
|
H A D | t7xx_modem_ops.c | 99 if (ctl->md_state == MD_STATE_INVALID || in t7xx_pci_mhccif_isr() 100 ctl->md_state == MD_STATE_WAITING_FOR_HS1 || in t7xx_pci_mhccif_isr() 101 ctl->md_state == MD_STATE_WAITING_FOR_HS2 || in t7xx_pci_mhccif_isr() 102 ctl->md_state == MD_STATE_READY) { in t7xx_pci_mhccif_isr() 112 } else if (ctl->md_state == MD_STATE_WAITING_FOR_HS1) { in t7xx_pci_mhccif_isr()
|
H A D | t7xx_port.h | 84 void (*md_state_notify)(struct t7xx_port *port, unsigned int md_state);
|
H A D | t7xx_port_proxy.c | 283 enum md_state md_state = t7xx_fsm_get_md_state(ctl); in t7xx_port_send_skb() local 285 switch (md_state) { in t7xx_port_send_skb()
|
H A D | t7xx_hif_dpmaif.h | 197 int t7xx_dpmaif_md_state_callback(struct dpmaif_ctrl *dpmaif_ctrl, enum md_state state);
|
H A D | t7xx_netdev.c | 350 static int t7xx_ccmni_md_state_callback(enum md_state state, void *para) in t7xx_ccmni_md_state_callback()
|
H A D | t7xx_hif_dpmaif.c | 494 int t7xx_dpmaif_md_state_callback(struct dpmaif_ctrl *dpmaif_ctrl, enum md_state state) in t7xx_dpmaif_md_state_callback()
|