/drivers/net/wireless/libertas/ |
D | cmdresp.c | 73 if (!priv->cur_cmd) { in lbs_process_command_response() 81 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbs_process_command_response() 89 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbs_process_command_response() 93 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response() 169 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response() 190 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response() 199 if (priv->cur_cmd && priv->cur_cmd->callback) { in lbs_process_command_response() 200 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, in lbs_process_command_response() 206 if (priv->cur_cmd) { in lbs_process_command_response() 208 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response()
|
D | main.c | 209 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); in lbs_command_queue_empty() 288 if (!priv->cur_cmd || priv->tx_pending_len > 0) { in lbs_host_to_card_done() 489 else if (priv->cur_cmd) in lbs_thread() 568 if (priv->cmd_timed_out && priv->cur_cmd) { in lbs_thread() 569 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() 587 !priv->dnld_sent && !priv->cur_cmd) { in lbs_thread() 592 priv->cur_cmd); in lbs_thread() 618 if (!priv->dnld_sent && !priv->cur_cmd) in lbs_thread() 763 if (!priv->cur_cmd) in lbs_cmd_timeout_handler() 767 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in lbs_cmd_timeout_handler()
|
D | dev.h | 127 struct cmd_ctrl_node *cur_cmd; member
|
D | cmd.c | 1004 priv->cur_cmd = cmdnode; in lbs_submit_command() 1092 priv->cur_cmd = NULL; in __lbs_complete_command() 1325 if (priv->cur_cmd) { in lbs_execute_next_command() 1531 if (priv->cur_cmd) { in lbs_ps_confirm_sleep()
|
/drivers/net/wireless/libertas_tf/ |
D | cmd.c | 251 priv->cur_cmd = cmdnode; in lbtf_submit_command() 317 priv->cur_cmd = NULL; in lbtf_complete_command() 578 if (priv->cur_cmd) { in lbtf_execute_next_command() 729 if (!priv->cur_cmd) { in lbtf_process_rx_command() 736 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbtf_process_rx_command() 745 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbtf_process_rx_command() 782 lbtf_complete_command(priv, priv->cur_cmd, result); in lbtf_process_rx_command() 791 if (priv->cur_cmd && priv->cur_cmd->callback) { in lbtf_process_rx_command() 792 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, in lbtf_process_rx_command() 797 if (priv->cur_cmd) { in lbtf_process_rx_command() [all …]
|
D | main.c | 110 if (priv->cmd_timed_out && priv->cur_cmd) { in lbtf_cmd_work() 111 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work() 118 priv->cur_cmd = NULL; in lbtf_cmd_work() 134 if (!priv->cur_cmd) in lbtf_cmd_work() 183 if (!priv->cur_cmd) { in command_timer_fn() 190 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in command_timer_fn()
|
D | libertas_tf.h | 211 struct cmd_ctrl_node *cur_cmd; member
|
/drivers/scsi/ |
D | ppa.c | 34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member 57 if (dev->cur_cmd) in got_it() 58 dev->cur_cmd->SCp.phase = 1; in got_it() 165 if (dev->cur_cmd) { in ppa_fail_func() 166 dev->cur_cmd->result = error_code << 16; in ppa_fail_func() 615 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt() 665 dev->cur_cmd = NULL; in ppa_interrupt() 789 if (dev->cur_cmd) { in ppa_queuecommand_lck() 795 dev->cur_cmd = cmd; in ppa_queuecommand_lck() 842 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_abort() [all …]
|
D | imm.c | 39 struct scsi_cmnd *cur_cmd; /* Current queued command */ member 66 if (dev->cur_cmd) in got_it() 67 dev->cur_cmd->SCp.phase = 1; in got_it() 157 if (dev->cur_cmd) { in imm_fail_func() 158 dev->cur_cmd->result = error_code << 16; in imm_fail_func() 719 struct scsi_cmnd *cmd = dev->cur_cmd; in imm_interrupt() 768 dev->cur_cmd = NULL; in imm_interrupt() 915 if (dev->cur_cmd) { in imm_queuecommand_lck() 921 dev->cur_cmd = cmd; in imm_queuecommand_lck() 966 dev->cur_cmd = NULL; /* Forget the problem */ in imm_abort() [all …]
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_cmd_v5.c | 23 int cur_cmd; in s5p_mfc_cmd_host2risc_v5() local 33 cur_cmd = mfc_read(dev, S5P_FIMV_HOST2RISC_CMD); in s5p_mfc_cmd_host2risc_v5() 34 } while (cur_cmd != S5P_FIMV_H2R_CMD_EMPTY); in s5p_mfc_cmd_host2risc_v5()
|
/drivers/media/dvb-frontends/ |
D | drxk_hard.c | 1461 u16 cur_cmd = 0; in scu_command() local 1494 status = read16(state, SCU_RAM_COMMAND__A, &cur_cmd); in scu_command() 1497 } while (!(cur_cmd == DRX_SCU_READY) && (time_is_after_jiffies(end))); in scu_command() 1498 if (cur_cmd != DRX_SCU_READY) { in scu_command() 3224 u16 cur_cmd = 0; in dvbt_sc_command() local 3243 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command() 3245 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command() 3295 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command() 3297 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
|
/drivers/usb/host/ |
D | xhci-ring.c | 1191 struct xhci_command *cur_cmd, *tmp_cmd; in xhci_cleanup_command_queue() local 1192 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue() 1193 xhci_complete_del_and_free_cmd(cur_cmd, COMP_CMD_ABORT); in xhci_cleanup_command_queue() 1202 struct xhci_command *cur_cmd) in xhci_handle_stopped_cmd_ring() argument 1239 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
|
/drivers/net/hippi/ |
D | rrunner.h | 817 u32 cur_rx, cur_cmd, cur_evt; member
|
/drivers/media/dvb-frontends/drx39xyj/ |
D | drxj.c | 3978 u16 cur_cmd = 0; in scu_command() local 3986 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command() 3991 if (cur_cmd != DRX_SCU_READY) in scu_command() 4041 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command() 4046 if (cur_cmd == DRX_SCU_READY) in scu_command() 4051 if (cur_cmd != DRX_SCU_READY) in scu_command()
|