/linux-4.4.14/drivers/net/wireless/libertas/ |
H A D | cmdresp.c | 76 if (!priv->cur_cmd) { lbs_process_command_response() 77 lbs_deb_host("CMD_RESP: cur_cmd is NULL\n"); lbs_process_command_response() 84 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); lbs_process_command_response() 92 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { lbs_process_command_response() 96 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); lbs_process_command_response() 172 __lbs_complete_command(priv, priv->cur_cmd, result); lbs_process_command_response() 193 __lbs_complete_command(priv, priv->cur_cmd, result); lbs_process_command_response() 202 if (priv->cur_cmd && priv->cur_cmd->callback) { lbs_process_command_response() 203 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, lbs_process_command_response() 209 if (priv->cur_cmd) { lbs_process_command_response() 211 __lbs_complete_command(priv, priv->cur_cmd, result); lbs_process_command_response()
|
H A D | main.c | 209 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); lbs_command_queue_empty() 288 if (!priv->cur_cmd || priv->tx_pending_len > 0) { lbs_host_to_card_done() 489 else if (priv->cur_cmd) lbs_thread() 568 if (priv->cmd_timed_out && priv->cur_cmd) { lbs_thread() 569 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; lbs_thread() 587 !priv->dnld_sent && !priv->cur_cmd) { lbs_thread() 590 "dnld_sent %d, cur_cmd %p\n", lbs_thread() 592 priv->cur_cmd); lbs_thread() 618 if (!priv->dnld_sent && !priv->cur_cmd) lbs_thread() 763 if (!priv->cur_cmd) lbs_cmd_timeout_handler() 767 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); lbs_cmd_timeout_handler()
|
H A D | dev.h | 127 struct cmd_ctrl_node *cur_cmd; member in struct:lbs_private
|
H A D | cmd.c | 1004 priv->cur_cmd = cmdnode; lbs_submit_command() 1092 priv->cur_cmd = NULL; __lbs_complete_command() 1325 if (priv->cur_cmd) { lbs_execute_next_command() 1531 if (priv->cur_cmd) { lbs_ps_confirm_sleep() 1533 lbs_deb_host("cur_cmd was set\n"); lbs_ps_confirm_sleep()
|
/linux-4.4.14/drivers/net/wireless/libertas_tf/ |
H A D | cmd.c | 251 priv->cur_cmd = cmdnode; lbtf_submit_command() 317 priv->cur_cmd = NULL; lbtf_complete_command() 578 if (priv->cur_cmd) { lbtf_execute_next_command() 729 if (!priv->cur_cmd) { lbtf_process_rx_command() 736 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); lbtf_process_rx_command() 745 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { lbtf_process_rx_command() 782 lbtf_complete_command(priv, priv->cur_cmd, result); lbtf_process_rx_command() 791 if (priv->cur_cmd && priv->cur_cmd->callback) { lbtf_process_rx_command() 792 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, lbtf_process_rx_command() 797 if (priv->cur_cmd) { lbtf_process_rx_command() 799 lbtf_complete_command(priv, priv->cur_cmd, result); lbtf_process_rx_command()
|
H A D | main.c | 110 if (priv->cmd_timed_out && priv->cur_cmd) { lbtf_cmd_work() 111 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; lbtf_cmd_work() 118 priv->cur_cmd = NULL; lbtf_cmd_work() 134 if (!priv->cur_cmd) lbtf_cmd_work() 183 if (!priv->cur_cmd) { command_timer_fn() 190 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); command_timer_fn()
|
H A D | libertas_tf.h | 211 struct cmd_ctrl_node *cur_cmd; member in struct:lbtf_private
|
/linux-4.4.14/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_cmd_v5.c | 23 int cur_cmd; s5p_mfc_cmd_host2risc_v5() local 33 cur_cmd = mfc_read(dev, S5P_FIMV_HOST2RISC_CMD); s5p_mfc_cmd_host2risc_v5() 34 } while (cur_cmd != S5P_FIMV_H2R_CMD_EMPTY); s5p_mfc_cmd_host2risc_v5()
|
/linux-4.4.14/drivers/scsi/ |
H A D | ppa.c | 34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member in struct:__anon9954 57 if (dev->cur_cmd) got_it() 58 dev->cur_cmd->SCp.phase = 1; got_it() 165 if (dev->cur_cmd) { ppa_fail_func() 166 dev->cur_cmd->result = error_code << 16; ppa_fail_func() 615 struct scsi_cmnd *cmd = dev->cur_cmd; ppa_interrupt() 665 dev->cur_cmd = NULL; ppa_interrupt() 789 if (dev->cur_cmd) { ppa_queuecommand_lck() 795 dev->cur_cmd = cmd; ppa_queuecommand_lck() 842 dev->cur_cmd = NULL; /* Forget the problem */ ppa_abort() 865 dev->cur_cmd = NULL; /* Forget the problem */ ppa_reset()
|
H A D | imm.c | 39 struct scsi_cmnd *cur_cmd; /* Current queued command */ member in struct:__anon9503 66 if (dev->cur_cmd) got_it() 67 dev->cur_cmd->SCp.phase = 1; got_it() 157 if (dev->cur_cmd) { imm_fail_func() 158 dev->cur_cmd->result = error_code << 16; imm_fail_func() 719 struct scsi_cmnd *cmd = dev->cur_cmd; imm_interrupt() 768 dev->cur_cmd = NULL; imm_interrupt() 915 if (dev->cur_cmd) { imm_queuecommand_lck() 921 dev->cur_cmd = cmd; imm_queuecommand_lck() 966 dev->cur_cmd = NULL; /* Forget the problem */ imm_abort() 993 dev->cur_cmd = NULL; /* Forget the problem */ imm_reset()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | drxk_hard.c | 1461 u16 cur_cmd = 0; scu_command() local 1494 status = read16(state, SCU_RAM_COMMAND__A, &cur_cmd); scu_command() 1497 } while (!(cur_cmd == DRX_SCU_READY) && (time_is_after_jiffies(end))); scu_command() 1498 if (cur_cmd != DRX_SCU_READY) { scu_command() 3224 u16 cur_cmd = 0; dvbt_sc_command() local 3243 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); dvbt_sc_command() 3245 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); dvbt_sc_command() 3296 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); dvbt_sc_command() 3298 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); dvbt_sc_command()
|
/linux-4.4.14/drivers/net/hippi/ |
H A D | rrunner.h | 817 u32 cur_rx, cur_cmd, cur_evt; member in struct:rr_private
|
/linux-4.4.14/drivers/usb/host/ |
H A D | xhci-ring.c | 1193 struct xhci_command *cur_cmd, *tmp_cmd; xhci_cleanup_command_queue() local 1194 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) xhci_cleanup_command_queue() 1195 xhci_complete_del_and_free_cmd(cur_cmd, COMP_CMD_ABORT); xhci_cleanup_command_queue() 1204 struct xhci_command *cur_cmd) xhci_handle_stopped_cmd_ring() 1241 xhci->current_cmd = cur_cmd; xhci_handle_stopped_cmd_ring() 1255 struct xhci_command *cur_cmd = NULL; xhci_handle_command_timeout() local 1261 cur_cmd = xhci->current_cmd; xhci_handle_command_timeout() 1262 cur_cmd->status = COMP_CMD_ABORT; xhci_handle_command_timeout() 1203 xhci_handle_stopped_cmd_ring(struct xhci_hcd *xhci, struct xhci_command *cur_cmd) xhci_handle_stopped_cmd_ring() argument
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 3978 u16 cur_cmd = 0; scu_command() local 3986 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); scu_command() 3991 if (cur_cmd != DRX_SCU_READY) scu_command() 4041 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); scu_command() 4046 if (cur_cmd == DRX_SCU_READY) scu_command() 4051 if (cur_cmd != DRX_SCU_READY) scu_command()
|