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
223 adapter->curr_cmd = cmd_node; in mwifiex_dnld_cmd_to_fw()273 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_dnld_cmd_to_fw()276 adapter->curr_cmd = NULL; in mwifiex_dnld_cmd_to_fw()763 if (adapter->curr_cmd) { in mwifiex_exec_next_cmd()830 if (!adapter->curr_cmd || !adapter->curr_cmd->resp_skb) { in mwifiex_process_cmdresp()838 resp = (struct host_cmd_ds_command *)adapter->curr_cmd->resp_skb->data; in mwifiex_process_cmdresp()842 if (adapter->curr_cmd->cmd_no != cmdresp_no) { in mwifiex_process_cmdresp()845 adapter->curr_cmd->cmd_no, cmdresp_no); in mwifiex_process_cmdresp()852 if (adapter->curr_cmd->cmd_flag & CMD_F_HOSTCMD) { in mwifiex_process_cmdresp()859 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()[all …]
54 if (adapter->curr_cmd->wait_q_enabled) in mwifiex_process_cmdresp_error()87 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_process_cmdresp_error()90 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp_error()1229 void *data_buf = adapter->curr_cmd->data_buf; in mwifiex_process_sta_cmdresp()1257 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()1261 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()
633 if (adapter->curr_cmd) { in mwifiex_shutdown_drv()637 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_shutdown_drv()638 adapter->curr_cmd = NULL; in mwifiex_shutdown_drv()
235 if (ret && !adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_check_last_packet_indication()
352 if (adapter->cmd_sent || adapter->curr_cmd || in mwifiex_main_process()402 if (!adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_main_process()485 !adapter->curr_cmd && !is_command_pending(adapter) && in mwifiex_main_process()
811 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_associate()1351 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_ad_hoc()
89 } else if (!adapter->curr_cmd) { in mwifiex_usb_recv()102 adapter->curr_cmd->resp_skb = skb; in mwifiex_usb_recv()
1922 if (adapter->curr_cmd) in mwifiex_pcie_process_cmd_complete()1941 if (!adapter->curr_cmd) { in mwifiex_pcie_process_cmd_complete()1977 adapter->curr_cmd->resp_skb = skb; in mwifiex_pcie_process_cmd_complete()
229 adapter->curr_cmd) in mwifiex_reset_connect_state()
1927 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_complete_scan()1932 mwifiex_complete_cmd(adapter, adapter->curr_cmd); in mwifiex_complete_scan()
1655 if (!adapter->curr_cmd) { in mwifiex_decode_rx_packet()1670 adapter->curr_cmd->resp_skb = skb; in mwifiex_decode_rx_packet()
936 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()
378 u32 curr_cmd, next_cmd; in sti_hqvdp_get_free_cmd() local382 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_free_cmd()386 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd()406 u32 curr_cmd; in sti_hqvdp_get_curr_cmd() local410 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_curr_cmd()413 if (cmd == curr_cmd) in sti_hqvdp_get_curr_cmd()