Home
last modified time | relevance | path

Searched refs:cur_cmd (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/net/wireless/marvell/libertas/
Dcmdresp.c76 if (!priv->cur_cmd) { in lbs_process_command_response()
84 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbs_process_command_response()
92 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbs_process_command_response()
96 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response()
175 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response()
196 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response()
205 if (priv->cur_cmd && priv->cur_cmd->callback) { in lbs_process_command_response()
206 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, in lbs_process_command_response()
212 if (priv->cur_cmd) { in lbs_process_command_response()
214 __lbs_complete_command(priv, priv->cur_cmd, result); in lbs_process_command_response()
Dmain.c207 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); in lbs_command_queue_empty()
278 if (!priv->cur_cmd || priv->tx_pending_len > 0) { in lbs_host_to_card_done()
469 else if (priv->cur_cmd) in lbs_thread()
548 if (priv->cmd_timed_out && priv->cur_cmd) { in lbs_thread()
549 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread()
567 !priv->dnld_sent && !priv->cur_cmd) { in lbs_thread()
572 priv->cur_cmd); in lbs_thread()
598 if (!priv->dnld_sent && !priv->cur_cmd) in lbs_thread()
732 if (!priv->cur_cmd) in lbs_cmd_timeout_handler()
736 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in lbs_cmd_timeout_handler()
Ddev.h130 struct cmd_ctrl_node *cur_cmd; member
Dcmd.c946 priv->cur_cmd = cmdnode; in lbs_submit_command()
1028 priv->cur_cmd = NULL; in __lbs_complete_command()
1240 if (priv->cur_cmd) { in lbs_execute_next_command()
1413 if (priv->cur_cmd) { in lbs_ps_confirm_sleep()
/Linux-v4.19/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c251 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 …]
Dmain.c103 if (priv->cmd_timed_out && priv->cur_cmd) { in lbtf_cmd_work()
104 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work()
111 priv->cur_cmd = NULL; in lbtf_cmd_work()
127 if (!priv->cur_cmd) in lbtf_cmd_work()
176 if (!priv->cur_cmd) { in command_timer_fn()
183 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in command_timer_fn()
Dlibertas_tf.h211 struct cmd_ctrl_node *cur_cmd; member
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc_cmd_v5.c23 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()
/Linux-v4.19/drivers/scsi/
Dppa.c34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
58 if (dev->cur_cmd) in got_it()
59 dev->cur_cmd->SCp.phase = 1; in got_it()
166 if (dev->cur_cmd) { in ppa_fail_func()
167 dev->cur_cmd->result = error_code << 16; in ppa_fail_func()
616 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt()
666 dev->cur_cmd = NULL; in ppa_interrupt()
794 if (dev->cur_cmd) { in ppa_queuecommand_lck()
800 dev->cur_cmd = cmd; in ppa_queuecommand_lck()
847 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_abort()
[all …]
Dimm.c39 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
67 if (dev->cur_cmd) in got_it()
68 dev->cur_cmd->SCp.phase = 1; in got_it()
159 if (dev->cur_cmd) { in imm_fail_func()
160 dev->cur_cmd->result = error_code << 16; in imm_fail_func()
721 struct scsi_cmnd *cmd = dev->cur_cmd; in imm_interrupt()
770 dev->cur_cmd = NULL; in imm_interrupt()
917 if (dev->cur_cmd) { in imm_queuecommand_lck()
923 dev->cur_cmd = cmd; in imm_queuecommand_lck()
968 dev->cur_cmd = NULL; /* Forget the problem */ in imm_abort()
[all …]
/Linux-v4.19/drivers/media/dvb-frontends/
Ddrxk_hard.c1457 u16 cur_cmd = 0; in scu_command() local
1490 status = read16(state, SCU_RAM_COMMAND__A, &cur_cmd); in scu_command()
1493 } while (!(cur_cmd == DRX_SCU_READY) && (time_is_after_jiffies(end))); in scu_command()
1494 if (cur_cmd != DRX_SCU_READY) { in scu_command()
3222 u16 cur_cmd = 0; in dvbt_sc_command() local
3241 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3243 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
3294 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3296 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
/Linux-v4.19/drivers/net/hippi/
Drrunner.h818 u32 cur_rx, cur_cmd, cur_evt; member
/Linux-v4.19/drivers/usb/host/
Dxhci-ring.c305 struct xhci_command *cur_cmd) in xhci_handle_stopped_cmd_ring() argument
333 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
1297 struct xhci_command *cur_cmd, *tmp_cmd; in xhci_cleanup_command_queue() local
1299 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1300 xhci_complete_del_and_free_cmd(cur_cmd, COMP_COMMAND_ABORTED); in xhci_cleanup_command_queue()
/Linux-v4.19/drivers/media/dvb-frontends/drx39xyj/
Ddrxj.c3985 u16 cur_cmd = 0; in scu_command() local
3993 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command()
3998 if (cur_cmd != DRX_SCU_READY) in scu_command()
4048 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command()
4053 if (cur_cmd == DRX_SCU_READY) in scu_command()
4058 if (cur_cmd != DRX_SCU_READY) in scu_command()