/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | arasan_nfc.c | 293 switch (curr_cmd->addr_cycles) { in arasan_nand_get_addrcycle() 633 cmd_reg |= curr_cmd->cmd1 | in arasan_nand_reset() 698 reg_val |= curr_cmd->cmd1 | in arasan_nand_send_wrcmd() 793 reg_val |= curr_cmd->cmd1 | in arasan_nand_erase() 849 reg_val |= curr_cmd->cmd1 | in arasan_nand_read_status() 902 reg_val |= curr_cmd->cmd1 | in arasan_nand_send_rdcmd() 1038 curr_cmd = NULL; in arasan_nand_cmd_function() 1052 curr_cmd = &arasan_nand_commands[i]; in arasan_nand_cmd_function() 1057 if (curr_cmd == NULL) { in arasan_nand_cmd_function() 1062 if (curr_cmd->cmd1 == NAND_CMD_RESET) in arasan_nand_cmd_function() [all …]
|
H A D | zynq_nand.c | 783 const struct zynq_nand_command_format *curr_cmd = NULL; in zynq_nand_cmd_function() local 821 curr_cmd = &zynq_nand_commands[index]; in zynq_nand_cmd_function() 827 if (curr_cmd->end_cmd_valid == ZYNQ_NAND_CMD_PHASE) in zynq_nand_cmd_function() 830 if (curr_cmd->end_cmd == NAND_CMD_NONE) in zynq_nand_cmd_function() 833 end_cmd = curr_cmd->end_cmd; in zynq_nand_cmd_function() 842 addr_cycles = curr_cmd->addr_cycles; in zynq_nand_cmd_function() 850 (curr_cmd->start_cmd << START_CMD_SHIFT); in zynq_nand_cmd_function() 898 if (curr_cmd->end_cmd_valid) { in zynq_nand_cmd_function() 899 xnand->end_cmd = curr_cmd->end_cmd; in zynq_nand_cmd_function()
|
/openbmc/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | trans.c | 18 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_send_cmd_with_resp() 83 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd; in qtnf_trans_signal_cmdresp() 133 init_completion(&trans->curr_cmd.cmd_resp_completion); in qtnf_trans_init() 134 spin_lock_init(&trans->curr_cmd.resp_lock); in qtnf_trans_init() 136 spin_lock(&trans->curr_cmd.resp_lock); in qtnf_trans_init() 137 trans->curr_cmd.seq_num = 0; in qtnf_trans_init() 138 trans->curr_cmd.waiting_for_resp = false; in qtnf_trans_init() 139 trans->curr_cmd.resp_skb = NULL; in qtnf_trans_init() 140 spin_unlock(&trans->curr_cmd.resp_lock); in qtnf_trans_init()
|
H A D | trans.h | 30 struct qtnf_cmd_ctl_node curr_cmd; member
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | cmdevt.c | 211 adapter->curr_cmd = cmd_node; in mwifiex_dnld_cmd_to_fw() 264 adapter->curr_cmd = NULL; in mwifiex_dnld_cmd_to_fw() 751 if (adapter->curr_cmd) { in mwifiex_exec_next_cmd() 818 if (!adapter->curr_cmd || !adapter->curr_cmd->resp_skb) { in mwifiex_process_cmdresp() 886 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp() 913 if (adapter->curr_cmd) { in mwifiex_process_cmdresp() 920 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp() 939 if (!adapter->curr_cmd) { in mwifiex_cmd_timeout_func() 1053 if ((adapter->curr_cmd) && (adapter->curr_cmd->wait_q_enabled)) { in mwifiex_cancel_all_pending_cmd() 1090 if ((adapter->curr_cmd) && in mwifiex_cancel_pending_ioctl() [all …]
|
H A D | sta_cmdresp.c | 42 if (adapter->curr_cmd->wait_q_enabled) in mwifiex_process_cmdresp_error() 75 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_process_cmdresp_error() 78 adapter->curr_cmd = NULL; in mwifiex_process_cmdresp_error() 1217 void *data_buf = adapter->curr_cmd->data_buf; in mwifiex_process_sta_cmdresp() 1245 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp() 1249 adapter->curr_cmd->wait_q_enabled = false; in mwifiex_process_sta_cmdresp()
|
H A D | init.c | 620 if (adapter->curr_cmd) { in mwifiex_shutdown_drv() 624 mwifiex_recycle_cmd_node(adapter, adapter->curr_cmd); in mwifiex_shutdown_drv() 625 adapter->curr_cmd = NULL; in mwifiex_shutdown_drv()
|
H A D | sta_tx.c | 212 if (ret && !adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_check_last_packet_indication()
|
H A D | main.c | 340 if (adapter->cmd_sent || adapter->curr_cmd || in mwifiex_main_process() 390 if (!adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_main_process() 473 !adapter->curr_cmd && !is_command_pending(adapter) && in mwifiex_main_process()
|
H A D | join.c | 799 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_associate() 1339 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_ret_802_11_ad_hoc()
|
H A D | usb.c | 77 } else if (!adapter->curr_cmd) { in mwifiex_usb_recv() 90 adapter->curr_cmd->resp_skb = skb; in mwifiex_usb_recv()
|
H A D | pcie.c | 1919 if (adapter->curr_cmd) in mwifiex_pcie_process_cmd_complete() 1938 if (!adapter->curr_cmd) { in mwifiex_pcie_process_cmd_complete() 1974 adapter->curr_cmd->resp_skb = skb; in mwifiex_pcie_process_cmd_complete()
|
H A D | sta_event.c | 217 adapter->curr_cmd) in mwifiex_reset_connect_state()
|
H A D | scan.c | 1910 if (adapter->curr_cmd->wait_q_enabled) { in mwifiex_complete_scan() 1915 mwifiex_complete_cmd(adapter, adapter->curr_cmd); in mwifiex_complete_scan()
|
H A D | sdio.c | 1683 if (!adapter->curr_cmd) { in mwifiex_decode_rx_packet() 1698 adapter->curr_cmd->resp_skb = skb; in mwifiex_decode_rx_packet()
|
H A D | main.h | 914 struct cmd_ctrl_node *curr_cmd; member
|
/openbmc/linux/drivers/scsi/ |
H A D | ps3rom.c | 34 struct scsi_cmnd *curr_cmd; member 210 priv->curr_cmd = cmd; in ps3rom_queuecommand_lck() 237 priv->curr_cmd = NULL; in ps3rom_queuecommand_lck() 288 cmd = priv->curr_cmd; in ps3rom_interrupt() 321 priv->curr_cmd = NULL; in ps3rom_interrupt()
|
/openbmc/qemu/hw/scsi/ |
H A D | vmw_pvscsi.c | 119 uint64_t curr_cmd; /* Last command arrived */ member 350 s->curr_cmd = PVSCSI_CMD_FIRST; in pvscsi_reset_state() 995 assert(s->curr_cmd < PVSCSI_CMD_LAST); in pvscsi_do_command_processing() 996 if (bytes_arrived >= pvscsi_commands[s->curr_cmd].data_size) { in pvscsi_do_command_processing() 997 s->reg_command_status = pvscsi_commands[s->curr_cmd].handler_fn(s); in pvscsi_do_command_processing() 998 s->curr_cmd = PVSCSI_CMD_FIRST; in pvscsi_do_command_processing() 1018 s->curr_cmd = cmd_id; in pvscsi_on_command() 1020 s->curr_cmd = PVSCSI_CMD_FIRST; in pvscsi_on_command() 1273 VMSTATE_UINT64(curr_cmd, PVSCSIState),
|
/openbmc/linux/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 380 u32 curr_cmd, next_cmd; in sti_hqvdp_get_free_cmd() local 384 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_free_cmd() 388 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd() 408 u32 curr_cmd; in sti_hqvdp_get_curr_cmd() local 412 curr_cmd = readl(hqvdp->regs + HQVDP_MBX_CURRENT_CMD); in sti_hqvdp_get_curr_cmd() 415 if (cmd == curr_cmd) in sti_hqvdp_get_curr_cmd()
|