Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wireless/marvell/libertas/
A 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()
A 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()
A Ddev.h128 struct cmd_ctrl_node *cur_cmd; member
A 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-6.3-rc2/drivers/net/wireless/marvell/libertas_tf/
A Dcmd.c247 priv->cur_cmd = cmdnode; in lbtf_submit_command()
313 priv->cur_cmd = NULL; in lbtf_complete_command()
574 if (priv->cur_cmd) { in lbtf_execute_next_command()
725 if (!priv->cur_cmd) { in lbtf_process_rx_command()
732 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbtf_process_rx_command()
740 if (resp->seqnum != priv->cur_cmd->cmdbuf->seqnum) { in lbtf_process_rx_command()
777 lbtf_complete_command(priv, priv->cur_cmd, result); in lbtf_process_rx_command()
786 if (priv->cur_cmd && priv->cur_cmd->callback) { in lbtf_process_rx_command()
787 ret = priv->cur_cmd->callback(priv, priv->cur_cmd->callback_arg, in lbtf_process_rx_command()
792 if (priv->cur_cmd) { in lbtf_process_rx_command()
[all …]
A Dmain.c98 if (priv->cmd_timed_out && priv->cur_cmd) { in lbtf_cmd_work()
99 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbtf_cmd_work()
106 priv->cur_cmd = NULL; in lbtf_cmd_work()
117 if (!priv->cur_cmd) in lbtf_cmd_work()
135 if (!priv->cur_cmd) { in command_timer_fn()
142 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in command_timer_fn()
A Dlibertas_tf.h211 struct cmd_ctrl_node *cur_cmd; member
/linux-6.3-rc2/drivers/scsi/
A Dfdomain.c113 struct scsi_cmnd *cur_cmd; member
214 scsi_done(fd->cur_cmd); in fdomain_finish_cmd()
215 fd->cur_cmd = NULL; in fdomain_finish_cmd()
270 struct scsi_cmnd *cmd = fd->cur_cmd; in fdomain_work()
397 if (!fd->cur_cmd) /* Spurious interrupt */ in fdomain_irq()
420 fd->cur_cmd = cmd; in fdomain_queue()
444 if (!fd->cur_cmd) in fdomain_abort()
450 fdomain_scsi_pointer(fd->cur_cmd)->phase |= aborted; in fdomain_abort()
453 set_host_byte(fd->cur_cmd, DID_ABORT); in fdomain_abort()
A Dppa.c34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
63 if (dev->cur_cmd) in got_it()
64 ppa_scsi_pointer(dev->cur_cmd)->phase = 1; in got_it()
171 if (dev->cur_cmd) { in ppa_fail_func()
172 dev->cur_cmd->result = error_code << 16; in ppa_fail_func()
624 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt()
674 dev->cur_cmd = NULL; in ppa_interrupt()
803 if (dev->cur_cmd) { in ppa_queuecommand_lck()
809 dev->cur_cmd = cmd; in ppa_queuecommand_lck()
855 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_abort()
[all …]
A Dimm.c40 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
68 if (dev->cur_cmd) in got_it()
69 imm_scsi_pointer(dev->cur_cmd)->phase = 1; in got_it()
160 if (dev->cur_cmd) { in imm_fail_func()
161 dev->cur_cmd->result = error_code << 16; in imm_fail_func()
722 struct scsi_cmnd *cmd = dev->cur_cmd; in imm_interrupt()
771 dev->cur_cmd = NULL; in imm_interrupt()
918 if (dev->cur_cmd) { in imm_queuecommand_lck()
924 dev->cur_cmd = cmd; in imm_queuecommand_lck()
968 dev->cur_cmd = NULL; /* Forget the problem */ in imm_abort()
[all …]
/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_cmd_v5.c19 int cur_cmd; in s5p_mfc_cmd_host2risc_v5() local
29 cur_cmd = mfc_read(dev, S5P_FIMV_HOST2RISC_CMD); in s5p_mfc_cmd_host2risc_v5()
30 } while (cur_cmd != S5P_FIMV_H2R_CMD_EMPTY); in s5p_mfc_cmd_host2risc_v5()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/
A Dmac.c165 const struct rtw_pwr_seq_cmd *cur_cmd; in rtw_sub_pwr_seq_parser() local
169 for (cur_cmd = cmd; cur_cmd->cmd != RTW_PWR_CMD_END; cur_cmd++) { in rtw_sub_pwr_seq_parser()
170 if (!(cur_cmd->intf_mask & intf_mask) || in rtw_sub_pwr_seq_parser()
171 !(cur_cmd->cut_mask & cut_mask)) in rtw_sub_pwr_seq_parser()
174 switch (cur_cmd->cmd) { in rtw_sub_pwr_seq_parser()
176 offset = cur_cmd->offset; in rtw_sub_pwr_seq_parser()
178 if (cur_cmd->base == RTW_PWR_ADDR_SDIO) in rtw_sub_pwr_seq_parser()
182 value &= ~cur_cmd->mask; in rtw_sub_pwr_seq_parser()
183 value |= (cur_cmd->value & cur_cmd->mask); in rtw_sub_pwr_seq_parser()
192 udelay(cur_cmd->offset); in rtw_sub_pwr_seq_parser()
[all …]
/linux-6.3-rc2/drivers/media/dvb-frontends/
A Ddrxk_hard.c1433 u16 cur_cmd = 0; in scu_command() local
1468 status = read16(state, SCU_RAM_COMMAND__A, &cur_cmd); in scu_command()
1471 } while (!(cur_cmd == DRX_SCU_READY) && (time_is_after_jiffies(end))); in scu_command()
1472 if (cur_cmd != DRX_SCU_READY) { in scu_command()
3200 u16 cur_cmd = 0; in dvbt_sc_command() local
3219 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3221 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
3272 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3274 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
/linux-6.3-rc2/drivers/net/hippi/
A Drrunner.h818 u32 cur_rx, cur_cmd, cur_evt; member
/linux-6.3-rc2/drivers/usb/host/
A Dxhci-ring.c332 struct xhci_command *cur_cmd) in xhci_handle_stopped_cmd_ring() argument
360 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
1557 struct xhci_command *cur_cmd, *tmp_cmd; in xhci_cleanup_command_queue() local
1559 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1560 xhci_complete_del_and_free_cmd(cur_cmd, COMP_COMMAND_ABORTED); in xhci_cleanup_command_queue()
/linux-6.3-rc2/drivers/media/dvb-frontends/drx39xyj/
A Ddrxj.c3982 u16 cur_cmd = 0; in scu_command() local
3990 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command()
3995 if (cur_cmd != DRX_SCU_READY) in scu_command()
4050 rc = drxj_dap_read_reg16(dev_addr, SCU_RAM_COMMAND__A, &cur_cmd, 0); in scu_command()
4055 if (cur_cmd == DRX_SCU_READY) in scu_command()
4060 if (cur_cmd != DRX_SCU_READY) in scu_command()

Completed in 65 milliseconds