/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
H A D | cmdresp.c | 76 if (!priv->cur_cmd) { in lbs_process_command_response() 77 lbs_deb_host("CMD_RESP: cur_cmd is NULL\n"); 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 in lbs_process_command_response() [all...] |
H A D | main.c | 208 ret = priv->cur_cmd == NULL && list_empty(&priv->cmdpendingq); in lbs_command_queue_empty() 279 if (!priv->cur_cmd || priv->tx_pending_len > 0) { in lbs_host_to_card_done() 470 else if (priv->cur_cmd) in lbs_thread() 549 if (priv->cmd_timed_out && priv->cur_cmd) { in lbs_thread() 550 struct cmd_ctrl_node *cmdnode = priv->cur_cmd; in lbs_thread() 568 !priv->dnld_sent && !priv->cur_cmd) { in lbs_thread() 571 "dnld_sent %d, cur_cmd %p\n", in lbs_thread() 573 priv->cur_cmd); in lbs_thread() 599 if (!priv->dnld_sent && !priv->cur_cmd) in lbs_thread() 733 if (!priv->cur_cmd) in lbs_cmd_timeout_handler() [all...] |
H A D | dev.h | 128 struct cmd_ctrl_node *cur_cmd; member
|
H A D | cmd.c | 947 priv->cur_cmd = cmdnode; in lbs_submit_command() 1029 priv->cur_cmd = NULL; in __lbs_complete_command() 1241 if (priv->cur_cmd) { in lbs_execute_next_command() 1414 if (priv->cur_cmd) { in lbs_ps_confirm_sleep() 1416 lbs_deb_host("cur_cmd was set\n"); in lbs_ps_confirm_sleep()
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/ |
H A D | cmdresp.c | 76 if (!priv->cur_cmd) { in lbs_process_command_response() 77 lbs_deb_host("CMD_RESP: cur_cmd is NULL\n"); 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 in lbs_process_command_response() [all...] |
H A D | main.c | 207 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() 570 "dnld_sent %d, cur_cmd %p\n", 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() [all...] |
H A D | dev.h | 128 struct cmd_ctrl_node *cur_cmd; member
|
H A D | cmd.c | 946 priv->cur_cmd = cmdnode; in lbs_submit_command() 1028 priv->cur_cmd = NULL; in __lbs_complete_command() 1249 if (priv->cur_cmd) { in lbs_execute_next_command() 1422 if (priv->cur_cmd) { in lbs_ps_confirm_sleep() 1424 lbs_deb_host("cur_cmd was set\n"); in lbs_ps_confirm_sleep()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | fdomain.c | 113 struct scsi_cmnd *cur_cmd; member 209 fd->cur_cmd->result = result; in fdomain_finish_cmd() 210 fd->cur_cmd->scsi_done(fd->cur_cmd); in fdomain_finish_cmd() 211 fd->cur_cmd = NULL; in fdomain_finish_cmd() 266 struct scsi_cmnd *cmd = fd->cur_cmd; in fdomain_work() 305 /* cur_cmd->SCp.phase == in_other: this is the body of the routine */ in fdomain_work() 389 if (!fd->cur_cmd) /* Spurious interrupt */ in fdomain_irq() 411 fd->cur_cmd = cmd; in fdomain_queue() 435 if (!fd->cur_cmd) in fdomain_abort() [all...] |
H A D | imm.c | 40 struct scsi_cmnd *cur_cmd; /* Current queued command */ member 68 if (dev->cur_cmd) in got_it() 69 dev->cur_cmd->SCp.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() 969 dev->cur_cmd in imm_abort() [all...] |
H A D | ppa.c | 34 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 in ppa_abort() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
H A D | cmd.c | 247 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 in lbtf_process_rx_command() [all...] |
H A D | main.c | 98 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()
|
H A D | libertas_tf.h | 211 struct cmd_ctrl_node *cur_cmd; member
|
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas_tf/ |
H A D | cmd.c | 247 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 in lbtf_process_rx_command() [all...] |
H A D | main.c | 98 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()
|
H A D | libertas_tf.h | 211 struct cmd_ctrl_node *cur_cmd; member
|
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | fdomain.c | 113 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() 312 /* fdomain_scsi_pointer(cur_cmd)->phase == in_other: this is the body of the routine */ 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_ABOR in fdomain_abort() [all...] |
H A D | imm.c | 40 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 in imm_abort() [all...] |
H A D | ppa.c | 34 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 in ppa_abort() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/ |
H A D | s5p_mfc_cmd_v5.c | 19 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()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/ |
H A D | s5p_mfc_cmd_v5.c | 19 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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
H A D | mac.c | 165 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 in rtw_sub_pwr_seq_parser() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/ |
H A D | mac.c | 189 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 in rtw_sub_pwr_seq_parser() [all...] |
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
H A D | drxk_hard.c | 1433 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()
|