Home
last modified time | relevance | path

Searched refs:curr_cmd (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Darasan_nfc.c293 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 Dzynq_nand.c783 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 Dtrans.c18 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 Dtrans.h30 struct qtnf_cmd_ctl_node curr_cmd; member
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dcmdevt.c211 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 Dsta_cmdresp.c42 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 Dinit.c620 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 Dsta_tx.c212 if (ret && !adapter->cmd_sent && !adapter->curr_cmd && in mwifiex_check_last_packet_indication()
H A Dmain.c340 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 Djoin.c799 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 Dusb.c77 } else if (!adapter->curr_cmd) { in mwifiex_usb_recv()
90 adapter->curr_cmd->resp_skb = skb; in mwifiex_usb_recv()
H A Dpcie.c1919 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 Dsta_event.c217 adapter->curr_cmd) in mwifiex_reset_connect_state()
H A Dscan.c1910 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 Dsdio.c1683 if (!adapter->curr_cmd) { in mwifiex_decode_rx_packet()
1698 adapter->curr_cmd->resp_skb = skb; in mwifiex_decode_rx_packet()
H A Dmain.h914 struct cmd_ctrl_node *curr_cmd; member
/openbmc/linux/drivers/scsi/
H A Dps3rom.c34 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 Dvmw_pvscsi.c119 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 Dsti_hqvdp.c380 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()