Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/libertas/
H 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()
H A Dmain.c187 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); in lbs_command_queue_empty()
258 if (!priv->cur_cmd || priv->tx_pending_len > 0) { in lbs_host_to_card_done()
448 else if (priv->cur_cmd) in lbs_thread()
518 if (priv->cmd_timed_out && priv->cur_cmd) { in lbs_thread()
519 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread()
537 !priv->dnld_sent && !priv->cur_cmd) { in lbs_thread()
542 priv->cur_cmd); in lbs_thread()
568 if (!priv->dnld_sent && !priv->cur_cmd) in lbs_thread()
701 if (!priv->cur_cmd) in lbs_cmd_timeout_handler()
705 le16_to_cpu(priv->cur_cmd->cmdbuf->command)); in lbs_cmd_timeout_handler()
H A Ddev.h124 struct cmd_ctrl_node *cur_cmd; member
H A Dcmd.c881 priv->cur_cmd = cmdnode; in lbs_submit_command()
959 priv->cur_cmd = NULL; in __lbs_complete_command()
1180 if (priv->cur_cmd) { in lbs_execute_next_command()
1353 if (priv->cur_cmd) { in lbs_ps_confirm_sleep()
/linux/drivers/net/wireless/marvell/libertas_tf/
H 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 …]
H A Dlibertas_tf.h211 struct cmd_ctrl_node *cur_cmd; member
/linux/drivers/net/wireless/realtek/rtw88/
H A 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/drivers/media/platform/samsung/s5p-mfc/
H 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/drivers/scsi/
H A Dimm.c40 struct scsi_cmnd *cur_cmd; /* Current queued command */ member
73 if (dev->cur_cmd) in got_it()
74 imm_scsi_pointer(dev->cur_cmd)->phase = 1; in got_it()
165 if (dev->cur_cmd) { in imm_fail_func()
166 dev->cur_cmd->result = error_code << 16; in imm_fail_func()
736 struct scsi_cmnd *cmd = dev->cur_cmd; in imm_interrupt()
785 dev->cur_cmd = NULL; in imm_interrupt()
932 if (dev->cur_cmd) { in imm_queuecommand_lck()
938 dev->cur_cmd = cmd; in imm_queuecommand_lck()
982 dev->cur_cmd = NULL; /* Forget the problem */ in imm_abort()
[all …]
/linux/drivers/usb/host/
H A Dxhci-ring.c454 struct xhci_command *cur_cmd) in xhci_handle_stopped_cmd_ring() argument
482 xhci->current_cmd = cur_cmd; in xhci_handle_stopped_cmd_ring()
483 if (cur_cmd) in xhci_handle_stopped_cmd_ring()
1711 struct xhci_command *cur_cmd, *tmp_cmd; in xhci_cleanup_command_queue() local
1713 list_for_each_entry_safe(cur_cmd, tmp_cmd, &xhci->cmd_list, cmd_list) in xhci_cleanup_command_queue()
1714 xhci_complete_del_and_free_cmd(cur_cmd, COMP_COMMAND_ABORTED, 0); in xhci_cleanup_command_queue()
/linux/drivers/net/hippi/
H A Drrunner.h818 u32 cur_rx, cur_cmd, cur_evt; member