Searched refs:cur_cmd (Results 1 – 12 of 12) sorted by relevance
/linux-3.4.99/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 | 203 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); in lbs_command_queue_empty() 282 if (!priv->cur_cmd || priv->tx_pending_len > 0) { in lbs_host_to_card_done() 483 else if (priv->cur_cmd) in lbs_thread() 562 if (priv->cmd_timed_out && priv->cur_cmd) { in lbs_thread() 563 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() 578 !priv->dnld_sent && !priv->cur_cmd) { in lbs_thread() 583 priv->cur_cmd); in lbs_thread() 609 if (!priv->dnld_sent && !priv->cur_cmd) in lbs_thread() 752 if (!priv->cur_cmd) in lbs_cmd_timeout_handler() 756 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in lbs_cmd_timeout_handler()
|
D | dev.h | 124 struct cmd_ctrl_node *cur_cmd; member
|
D | cmd.c | 1003 priv->cur_cmd = cmdnode; in lbs_submit_command() 1091 priv->cur_cmd = NULL; in __lbs_complete_command() 1307 if (priv->cur_cmd) { in lbs_execute_next_command() 1513 if (priv->cur_cmd) { in lbs_ps_confirm_sleep()
|
D | if_usb.c | 939 while (priv->cur_cmd != NULL || priv->dnld_sent != DNLD_RES_RECEIVED) { in if_usb_prog_firmware() 942 (priv->cur_cmd == NULL && in if_usb_prog_firmware()
|
/linux-3.4.99/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
|
/linux-3.4.99/drivers/media/video/s5p-mfc/ |
D | s5p_mfc_cmd.c | 22 int cur_cmd; in s5p_mfc_cmd_host2risc() local 32 cur_cmd = mfc_read(dev, S5P_FIMV_HOST2RISC_CMD); in s5p_mfc_cmd_host2risc() 33 } while (cur_cmd != S5P_FIMV_H2R_CMD_EMPTY); in s5p_mfc_cmd_host2risc()
|
/linux-3.4.99/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() 182 if (dev->cur_cmd) { in ppa_fail_func() 183 dev->cur_cmd->result = error_code << 16; in ppa_fail_func() 632 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt() 682 dev->cur_cmd = NULL; in ppa_interrupt() 806 if (dev->cur_cmd) { in ppa_queuecommand_lck() 812 dev->cur_cmd = cmd; in ppa_queuecommand_lck() 859 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() 176 if (dev->cur_cmd) { in imm_fail_func() 177 dev->cur_cmd->result = error_code << 16; in imm_fail_func() 738 struct scsi_cmnd *cmd = dev->cur_cmd; in imm_interrupt() 787 dev->cur_cmd = NULL; in imm_interrupt() 934 if (dev->cur_cmd) { in imm_queuecommand_lck() 940 dev->cur_cmd = cmd; in imm_queuecommand_lck() 985 dev->cur_cmd = NULL; /* Forget the problem */ in imm_abort() [all …]
|
/linux-3.4.99/drivers/net/hippi/ |
D | rrunner.h | 817 u32 cur_rx, cur_cmd, cur_evt; member
|