Searched refs:curr_cmd (Results 1 - 14 of 14) sorted by relevance
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
H A D | cmdevt.c | 183 adapter->curr_cmd = cmd_node; mwifiex_dnld_cmd_to_fw() 233 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); mwifiex_dnld_cmd_to_fw() 236 adapter->curr_cmd = NULL; mwifiex_dnld_cmd_to_fw() 725 if (adapter->curr_cmd) { mwifiex_exec_next_cmd() 799 if (!adapter->curr_cmd || !adapter->curr_cmd->resp_skb) { mwifiex_process_cmdresp() 802 "CMD_RESP: NULL curr_cmd, %#x\n", mwifiex_process_cmdresp() 809 resp = (struct host_cmd_ds_command *) adapter->curr_cmd->resp_skb->data; mwifiex_process_cmdresp() 810 if (adapter->curr_cmd->cmd_flag & CMD_F_HOSTCMD) { mwifiex_process_cmdresp() 817 if (adapter->curr_cmd->data_buf) { mwifiex_process_cmdresp() 818 hostcmd = adapter->curr_cmd->data_buf; mwifiex_process_cmdresp() 852 if (adapter->curr_cmd->wait_q_enabled) mwifiex_process_cmdresp() 855 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); mwifiex_process_cmdresp() 857 adapter->curr_cmd = NULL; mwifiex_process_cmdresp() 862 if (adapter->curr_cmd->cmd_flag & CMD_F_HOSTCMD) { mwifiex_process_cmdresp() 863 adapter->curr_cmd->cmd_flag &= ~CMD_F_HOSTCMD; mwifiex_process_cmdresp() 884 if (adapter->curr_cmd) { mwifiex_process_cmdresp() 885 if (adapter->curr_cmd->wait_q_enabled) mwifiex_process_cmdresp() 888 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); mwifiex_process_cmdresp() 891 adapter->curr_cmd = NULL; mwifiex_process_cmdresp() 911 if (!adapter->curr_cmd) { mwifiex_cmd_timeout_func() 913 "cmd: empty curr_cmd\n"); mwifiex_cmd_timeout_func() 916 cmd_node = adapter->curr_cmd; mwifiex_cmd_timeout_func() 1011 if ((adapter->curr_cmd) && (adapter->curr_cmd->wait_q_enabled)) { mwifiex_cancel_all_pending_cmd() 1012 adapter->curr_cmd->wait_q_enabled = false; mwifiex_cancel_all_pending_cmd() 1014 mwifiex_complete_cmd(adapter, adapter->curr_cmd); mwifiex_cancel_all_pending_cmd() 1079 if ((adapter->curr_cmd) && mwifiex_cancel_pending_ioctl() 1080 (adapter->curr_cmd->wait_q_enabled)) { mwifiex_cancel_pending_ioctl() 1082 cmd_node = adapter->curr_cmd; mwifiex_cancel_pending_ioctl() 1083 /* setting curr_cmd to NULL is quite dangerous, because mwifiex_cancel_pending_ioctl() 1084 * mwifiex_process_cmdresp checks curr_cmd to be != NULL mwifiex_cancel_pending_ioctl() 1091 adapter->curr_cmd = NULL; mwifiex_cancel_pending_ioctl() 1139 !adapter->curr_cmd && !IS_CARD_RX_RCVD(adapter)) mwifiex_check_ps_cond() 1145 (adapter->curr_cmd) ? "C" : "", mwifiex_check_ps_cond()
|
H A D | init.c | 670 if (adapter->curr_cmd) { mwifiex_shutdown_drv() 672 "curr_cmd is still in processing\n"); mwifiex_shutdown_drv() 674 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); mwifiex_shutdown_drv() 675 adapter->curr_cmd = NULL; mwifiex_shutdown_drv()
|
H A D | sta_cmdresp.c | 56 if (adapter->curr_cmd->wait_q_enabled) mwifiex_process_cmdresp_error() 103 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); mwifiex_process_cmdresp_error() 106 adapter->curr_cmd = NULL; mwifiex_process_cmdresp_error() 1043 void *data_buf = adapter->curr_cmd->data_buf; mwifiex_process_sta_cmdresp() 1071 adapter->curr_cmd->wait_q_enabled = false; mwifiex_process_sta_cmdresp() 1075 adapter->curr_cmd->wait_q_enabled = false; mwifiex_process_sta_cmdresp()
|
H A D | main.c | 315 if (adapter->cmd_sent || adapter->curr_cmd || mwifiex_main_process() 345 if (!adapter->cmd_sent && !adapter->curr_cmd) mwifiex_main_process() 366 if (!adapter->cmd_sent && !adapter->curr_cmd && mwifiex_main_process() 428 !adapter->curr_cmd && !is_command_pending(adapter) && mwifiex_main_process()
|
H A D | sta_tx.c | 235 if (ret && !adapter->cmd_sent && !adapter->curr_cmd && mwifiex_check_last_packet_indication()
|
H A D | usb.c | 91 } else if (!adapter->curr_cmd) { mwifiex_usb_recv() 92 mwifiex_dbg(adapter, WARN, "CMD: no curr_cmd\n"); mwifiex_usb_recv() 104 adapter->curr_cmd->resp_skb = skb; mwifiex_usb_recv()
|
H A D | sdio.c | 1187 /* take care of curr_cmd = NULL case */ mwifiex_decode_rx_packet() 1188 if (!adapter->curr_cmd) { mwifiex_decode_rx_packet() 1203 adapter->curr_cmd->resp_skb = skb; mwifiex_decode_rx_packet()
|
H A D | sta_event.c | 131 if (adapter->is_cmd_timedout && adapter->curr_cmd) mwifiex_reset_connect_state()
|
H A D | join.c | 791 if (adapter->curr_cmd->wait_q_enabled) { mwifiex_ret_802_11_associate() 1317 if (adapter->curr_cmd->wait_q_enabled) { mwifiex_ret_802_11_ad_hoc()
|
H A D | scan.c | 1875 if (adapter->curr_cmd->wait_q_enabled) { mwifiex_complete_scan() 1880 mwifiex_complete_cmd(adapter, adapter->curr_cmd); mwifiex_complete_scan()
|
H A D | pcie.c | 1621 if (!adapter->curr_cmd) { mwifiex_pcie_process_cmd_complete() 1649 adapter->curr_cmd->resp_skb = skb; mwifiex_pcie_process_cmd_complete()
|
H A D | main.h | 887 struct cmd_ctrl_node *curr_cmd; member in struct:mwifiex_adapter
|
/linux-4.4.14/drivers/scsi/ |
H A D | ps3rom.c | 46 struct scsi_cmnd *curr_cmd; member in struct:ps3rom_private 223 priv->curr_cmd = cmd; ps3rom_queuecommand_lck() 253 priv->curr_cmd = NULL; ps3rom_queuecommand_lck() 304 cmd = priv->curr_cmd; ps3rom_interrupt() 338 priv->curr_cmd = NULL; ps3rom_interrupt()
|
/linux-4.4.14/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 375 int curr_cmd, next_cmd; sti_hqvdp_get_free_cmd() local 379 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); sti_hqvdp_get_free_cmd() 383 if ((cmd != curr_cmd) && (cmd != next_cmd)) sti_hqvdp_get_free_cmd() 403 int curr_cmd; sti_hqvdp_get_curr_cmd() local 407 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); sti_hqvdp_get_curr_cmd() 410 if (cmd == curr_cmd) sti_hqvdp_get_curr_cmd()
|
Completed in 532 milliseconds