Home
last modified time | relevance | path

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

/linux-6.6.21/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.h128 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-6.6.21/drivers/net/wireless/marvell/libertas_tf/
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 …]
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()
Dlibertas_tf.h211 struct cmd_ctrl_node *cur_cmd; member
/linux-6.6.21/drivers/scsi/
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()
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 …]
Dppa.c34 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
68 if (dev->cur_cmd) in got_it()
69 ppa_scsi_pointer(dev->cur_cmd)->phase = 1; in got_it()
176 if (dev->cur_cmd) { in ppa_fail_func()
177 dev->cur_cmd->result = error_code << 16; in ppa_fail_func()
644 struct scsi_cmnd *cmd = dev->cur_cmd; in ppa_interrupt()
694 dev->cur_cmd = NULL; in ppa_interrupt()
823 if (dev->cur_cmd) { in ppa_queuecommand_lck()
829 dev->cur_cmd = cmd; in ppa_queuecommand_lck()
875 dev->cur_cmd = NULL; /* Forget the problem */ in ppa_abort()
[all …]
/linux-6.6.21/drivers/media/platform/samsung/s5p-mfc/
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.6.21/drivers/net/wireless/realtek/rtw88/
Dmac.c189 const struct rtw_pwr_seq_cmd *cur_cmd; in rtw_sub_pwr_seq_parser() local
193 for (cur_cmd = cmd; cur_cmd->cmd != RTW_PWR_CMD_END; cur_cmd++) { in rtw_sub_pwr_seq_parser()
194 if (!(cur_cmd->intf_mask & intf_mask) || in rtw_sub_pwr_seq_parser()
195 !(cur_cmd->cut_mask & cut_mask)) in rtw_sub_pwr_seq_parser()
198 switch (cur_cmd->cmd) { in rtw_sub_pwr_seq_parser()
200 offset = cur_cmd->offset; in rtw_sub_pwr_seq_parser()
202 if (cur_cmd->base == RTW_PWR_ADDR_SDIO) in rtw_sub_pwr_seq_parser()
206 value &= ~cur_cmd->mask; in rtw_sub_pwr_seq_parser()
207 value |= (cur_cmd->value & cur_cmd->mask); in rtw_sub_pwr_seq_parser()
211 if (rtw_pwr_cmd_polling(rtwdev, cur_cmd)) in rtw_sub_pwr_seq_parser()
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/
Ddrxk_hard.c1414 u16 cur_cmd = 0; in scu_command() local
1449 status = read16(state, SCU_RAM_COMMAND__A, &cur_cmd); in scu_command()
1452 } while (!(cur_cmd == DRX_SCU_READY) && (time_is_after_jiffies(end))); in scu_command()
1453 if (cur_cmd != DRX_SCU_READY) { in scu_command()
3181 u16 cur_cmd = 0; in dvbt_sc_command() local
3200 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3202 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
3253 status = read16(state, OFDM_SC_RA_RAM_CMD__A, &cur_cmd); in dvbt_sc_command()
3255 } while ((cur_cmd != 0) && (retry_cnt < DRXK_MAX_RETRIES)); in dvbt_sc_command()
/linux-6.6.21/drivers/net/hippi/
Drrunner.h818 u32 cur_rx, cur_cmd, cur_evt; member
/linux-6.6.21/drivers/usb/host/
Dxhci-ring.c386 struct xhci_command *cur_cmd) in xhci_handle_stopped_cmd_ring() argument
414 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
1579 struct xhci_command *cur_cmd, *tmp_cmd; in xhci_cleanup_command_queue() local
1581 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1582 xhci_complete_del_and_free_cmd(cur_cmd, COMP_COMMAND_ABORTED); in xhci_cleanup_command_queue()
/linux-6.6.21/drivers/media/dvb-frontends/drx39xyj/
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()