Searched refs:curr_cmd (Results 1 – 16 of 16) sorted by relevance
18 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_send_cmd_with_resp()83 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_signal_cmdresp()133 init_completion(&trans->curr_cmd.cmd_resp_completion); in qtnf_trans_init()134 spin_lock_init(&trans->curr_cmd.resp_lock); in qtnf_trans_init()136 spin_lock(&trans->curr_cmd.resp_lock); in qtnf_trans_init()137 trans->curr_cmd.seq_num = 0; in qtnf_trans_init()138 trans->curr_cmd.waiting_for_resp = false; in qtnf_trans_init()139 trans->curr_cmd.resp_skb = NULL; in qtnf_trans_init()140 spin_unlock(&trans->curr_cmd.resp_lock); in qtnf_trans_init()
30 struct qtnf_cmd_ctl_node curr_cmd; member
211 adapter->curr_cmd = cmd_node; in mwifiex_dnld_cmd_to_fw()261 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_dnld_cmd_to_fw()264 adapter->curr_cmd = NULL; in mwifiex_dnld_cmd_to_fw()753 if (adapter->curr_cmd) { in mwifiex_exec_next_cmd()820 if (!adapter->curr_cmd || !adapter->curr_cmd->resp_skb) { in mwifiex_process_cmdresp()828 resp = (struct host_cmd_ds_command *)adapter->curr_cmd->resp_skb->data; in mwifiex_process_cmdresp()832 if (adapter->curr_cmd->cmd_no != cmdresp_no) { in mwifiex_process_cmdresp()835 adapter->curr_cmd->cmd_no, cmdresp_no); in mwifiex_process_cmdresp()842 if (adapter->curr_cmd->cmd_flag & CMD_F_HOSTCMD) { in mwifiex_process_cmdresp()849 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()[all …]
42 if (adapter->curr_cmd->wait_q_enabled) in mwifiex_process_cmdresp_error()75 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_process_cmdresp_error()78 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp_error()1217 void *data_buf = adapter->curr_cmd->data_buf; in mwifiex_process_sta_cmdresp()1245 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()1249 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()
613 if (adapter->curr_cmd) { in mwifiex_shutdown_drv()617 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_shutdown_drv()618 adapter->curr_cmd = NULL; in mwifiex_shutdown_drv()
213 if (ret && !adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_check_last_packet_indication()
338 if (adapter->cmd_sent || adapter->curr_cmd || in mwifiex_main_process()388 if (!adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_main_process()471 !adapter->curr_cmd && !is_command_pending(adapter) && in mwifiex_main_process()
847 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_associate()1387 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_ad_hoc()
77 } else if (!adapter->curr_cmd) { in mwifiex_usb_recv()90 adapter->curr_cmd->resp_skb = skb; in mwifiex_usb_recv()
1809 if (adapter->curr_cmd) in mwifiex_pcie_process_cmd_complete()1828 if (!adapter->curr_cmd) { in mwifiex_pcie_process_cmd_complete()1860 adapter->curr_cmd->resp_skb = skb; in mwifiex_pcie_process_cmd_complete()
220 adapter->curr_cmd) in mwifiex_reset_connect_state()
1904 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_complete_scan()1909 mwifiex_complete_cmd(adapter, adapter->curr_cmd); in mwifiex_complete_scan()
1693 if (!adapter->curr_cmd) { in mwifiex_decode_rx_packet()1708 adapter->curr_cmd->resp_skb = skb; in mwifiex_decode_rx_packet()
923 struct cmd_ctrl_node *curr_cmd; member
34 struct scsi_cmnd *curr_cmd; member210 priv->curr_cmd = cmd; in ps3rom_queuecommand_lck()237 priv->curr_cmd = NULL; in ps3rom_queuecommand_lck()288 cmd = priv->curr_cmd; in ps3rom_interrupt()321 priv->curr_cmd = NULL; in ps3rom_interrupt()
380 u32 curr_cmd, next_cmd; in sti_hqvdp_get_free_cmd() local384 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_free_cmd()388 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd()408 u32 curr_cmd; in sti_hqvdp_get_curr_cmd() local412 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_curr_cmd()415 if (cmd == curr_cmd) in sti_hqvdp_get_curr_cmd()