Home
last modified time | relevance | path

Searched refs:cmd_q (Results 1 – 25 of 35) sorted by relevance

12

/linux-6.3-rc2/drivers/dma/ptdma/
A Dptdma-dev.c72 u8 *q_desc = (u8 *)&cmd_q->qbase[cmd_q->qidx]; in pt_core_execute_cmd()
84 cmd_q->qidx = (cmd_q->qidx + 1) % CMD_Q_LEN; in pt_core_execute_cmd()
128 struct pt_cmd_queue *cmd_q = &cmd->pt->cmd_q; in pt_do_cmd_complete() local
137 pt_log_error(cmd_q->pt, cmd_q->cmd_error); in pt_do_cmd_complete()
167 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_core_irq_handler() local
179 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_core_init() local
225 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
244 cmd_q->qdma_tail = cmd_q->qbase_dma; in pt_core_init()
251 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
269 dma_free_coherent(dev, cmd_q->qsize, cmd_q->qbase, cmd_q->qbase_dma); in pt_core_init()
[all …]
A Dptdma-debugfs.c57 struct pt_cmd_queue *cmd_q = s->private; in pt_debugfs_queue_show() local
60 if (!cmd_q) in pt_debugfs_queue_show()
63 seq_printf(s, " Pass-Thru: %ld\n", cmd_q->total_pt_ops); in pt_debugfs_queue_show()
65 regval = ioread32(cmd_q->reg_control + 0x000C); in pt_debugfs_queue_show()
87 struct pt_cmd_queue *cmd_q; in ptdma_debugfs_setup() local
99 cmd_q = &pt->cmd_q; in ptdma_debugfs_setup()
104 debugfs_create_file("stats", 0400, debugfs_q_instance, cmd_q, in ptdma_debugfs_setup()
A Dptdma-dmaengine.c53 struct pt_cmd_queue *cmd_q; in pt_dma_start_desc() local
59 cmd_q = &pt->cmd_q; in pt_dma_start_desc()
65 pt_cmd->ret = pt_core_perform_passthru(cmd_q, pt_engine); in pt_dma_start_desc()
174 desc->pt->cmd_q.int_en = !!(flags & DMA_PREP_INTERRUPT); in pt_alloc_dma_desc()
266 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_tx_status() local
268 pt_check_status_trans(pt, cmd_q); in pt_tx_status()
278 pt_stop_queue(&chan->pt->cmd_q); in pt_pause()
291 pt_start_queue(&chan->pt->cmd_q); in pt_resume()
306 struct pt_cmd_queue *cmd_q = &chan->pt->cmd_q; in pt_terminate_all() local
309 iowrite32(SUPPORTED_INTERRUPTS, cmd_q->reg_control + 0x0010); in pt_terminate_all()
A Dptdma.h251 struct pt_cmd_queue cmd_q; member
321 int pt_core_perform_passthru(struct pt_cmd_queue *cmd_q,
324 void pt_check_status_trans(struct pt_device *pt, struct pt_cmd_queue *cmd_q);
325 void pt_start_queue(struct pt_cmd_queue *cmd_q);
326 void pt_stop_queue(struct pt_cmd_queue *cmd_q);
330 iowrite32(0, pt->cmd_q.reg_control + 0x000C); in pt_core_disable_queue_interrupts()
335 iowrite32(SUPPORTED_INTERRUPTS, pt->cmd_q.reg_control + 0x000C); in pt_core_enable_queue_interrupts()
/linux-6.3-rc2/drivers/crypto/ccp/
A Dccp-dev-v5.c238 mP = (__le32 *)&cmd_q->qbase[cmd_q->qidx]; in ccp5_do_cmd()
628 struct ccp_cmd_queue *cmd_q = &ccp->cmd_q[i]; in ccp_find_and_assign_lsb_to_q() local
820 cmd_q = &ccp->cmd_q[ccp->cmd_q_count]; in ccp5_init()
848 cmd_q->reg_int_enable = cmd_q->reg_control + in ccp5_init()
853 cmd_q->reg_int_status = cmd_q->reg_control + in ccp5_init()
855 cmd_q->reg_dma_status = cmd_q->reg_control + in ccp5_init()
876 cmd_q = &ccp->cmd_q[i]; in ccp5_init()
914 cmd_q = &ccp->cmd_q[i]; in ccp5_init()
919 cmd_q->qdma_tail = cmd_q->qbase_dma; in ccp5_init()
951 cmd_q = &ccp->cmd_q[i]; in ccp5_init()
[all …]
A Dccp-dev-v3.c76 struct ccp_cmd_queue *cmd_q = op->cmd_q; in ccp_do_cmd() local
140 cmd_q->free_slots = CMD_Q_DEPTH(cmd_q->q_status); in ccp_do_cmd()
334 cmd_q = &ccp->cmd_q[i]; in ccp_irq_bh()
336 q_int = status & (cmd_q->int_ok | cmd_q->int_err); in ccp_irq_bh()
339 cmd_q->q_status = ioread32(cmd_q->reg_status); in ccp_irq_bh()
397 cmd_q = &ccp->cmd_q[ccp->cmd_q_count]; in ccp_init()
419 cmd_q->free_slots = ccp_get_free_slots(cmd_q); in ccp_init()
424 ccp->qim |= cmd_q->int_ok | cmd_q->int_err; in ccp_init()
444 cmd_q = &ccp->cmd_q[i]; in ccp_init()
468 cmd_q = &ccp->cmd_q[i]; in ccp_init()
[all …]
A Dccp-debugfs.c115 struct ccp_cmd_queue *cmd_q = &ccp->cmd_q[i]; in ccp5_debugfs_stats_read() local
160 cmd_q->total_ops = 0L; in ccp5_debugfs_reset_queue_stats()
161 cmd_q->total_aes_ops = 0L; in ccp5_debugfs_reset_queue_stats()
163 cmd_q->total_3des_ops = 0L; in ccp5_debugfs_reset_queue_stats()
164 cmd_q->total_sha_ops = 0L; in ccp5_debugfs_reset_queue_stats()
165 cmd_q->total_rsa_ops = 0L; in ccp5_debugfs_reset_queue_stats()
166 cmd_q->total_pt_ops = 0L; in ccp5_debugfs_reset_queue_stats()
167 cmd_q->total_ecc_ops = 0L; in ccp5_debugfs_reset_queue_stats()
200 if (!cmd_q) in ccp5_debugfs_queue_read()
208 cmd_q->total_ops); in ccp5_debugfs_queue_read()
[all …]
A Dccp-ops.c434 op.cmd_q = cmd_q; in ccp_copy_to_from_sb()
509 op.cmd_q = cmd_q; in ccp_run_aes_cmac_cmd()
696 op.cmd_q = cmd_q; in ccp_run_aes_gcm_cmd()
848 op.cmd_q = cmd_q; in ccp_run_aes_gcm_cmd()
949 op.cmd_q = cmd_q; in ccp_run_aes_cmd()
1144 op.cmd_q = cmd_q; in ccp_run_xts_aes_cmd()
1332 op.cmd_q = cmd_q; in ccp_run_des3_cmd()
1642 op.cmd_q = cmd_q; in ccp_run_sha_cmd()
1848 op.cmd_q = cmd_q; in ccp_run_rsa_cmd()
1990 op.cmd_q = cmd_q; in ccp_run_passthru_cmd()
[all …]
A Dccp-dev.c327 if (ccp->cmd_q[i].active) in ccp_enqueue_cmd()
339 wake_up_process(ccp->cmd_q[i].kthread); in ccp_enqueue_cmd()
361 if (ccp->cmd_q[i].active) in ccp_do_cmd_backlog()
376 struct ccp_device *ccp = cmd_q->ccp; in ccp_dequeue_cmd()
383 cmd_q->active = 0; in ccp_dequeue_cmd()
386 cmd_q->suspended = 1; in ccp_dequeue_cmd()
395 cmd_q->active = 1; in ccp_dequeue_cmd()
449 cmd = ccp_dequeue_cmd(cmd_q); in ccp_cmd_queue_thread()
456 cmd->ret = ccp_run_cmd(cmd_q, cmd); in ccp_cmd_queue_thread()
543 if (ccp->cmd_q[i].suspended) in ccp_queues_suspended()
[all …]
A Dccp-dev.h380 struct ccp_cmd_queue cmd_q[MAX_HW_QUEUES]; member
532 struct ccp_cmd_queue *cmd_q; member
641 int ccp_run_cmd(struct ccp_cmd_queue *cmd_q, struct ccp_cmd *cmd);
/linux-6.3-rc2/net/bluetooth/
A Dhci_request.c37 skb_queue_head_init(&req->cmd_q); in hci_req_init()
44 skb_queue_purge(&req->cmd_q); in hci_req_purge()
59 bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); in req_run()
65 skb_queue_purge(&req->cmd_q); in req_run()
70 if (skb_queue_empty(&req->cmd_q)) in req_run()
73 skb = skb_peek_tail(&req->cmd_q); in req_run()
81 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in req_run()
82 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in req_run()
83 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in req_run()
261 if (skb_queue_empty(&req->cmd_q)) in hci_req_add_ev()
[all …]
A Dhci_request.h38 struct sk_buff_head cmd_q; member
A Dhci_core.c596 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_reset()
2539 skb_queue_head_init(&hdev->cmd_q); in hci_alloc_dev_priv()
3014 skb_queue_tail(&hdev->cmd_q, skb); in hci_send_cmd()
3899 skb = skb_peek(&hdev->cmd_q); in hci_req_is_complete()
3924 skb_queue_head(&hdev->cmd_q, skb); in hci_resend_last()
3977 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
3978 while ((skb = __skb_dequeue(&hdev->cmd_q))) { in hci_req_cmd_complete()
3980 __skb_queue_head(&hdev->cmd_q, skb); in hci_req_cmd_complete()
3990 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in hci_req_cmd_complete()
4078 skb = skb_dequeue(&hdev->cmd_q); in hci_cmd_work()
[all …]
A Dhci_sync.c104 if (skb_queue_empty(&req->cmd_q)) in hci_cmd_sync_add()
109 skb_queue_tail(&req->cmd_q, skb); in hci_cmd_sync_add()
124 skb_queue_purge(&req->cmd_q); in hci_cmd_sync_run()
129 if (skb_queue_empty(&req->cmd_q)) in hci_cmd_sync_run()
132 skb = skb_peek_tail(&req->cmd_q); in hci_cmd_sync_run()
136 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in hci_cmd_sync_run()
137 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in hci_cmd_sync_run()
138 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in hci_cmd_sync_run()
4717 skb_queue_purge(&hdev->cmd_q); in hci_dev_open_sync()
4866 skb_queue_purge(&hdev->cmd_q); in hci_dev_close_sync()
[all …]
/linux-6.3-rc2/drivers/scsi/ibmvscsi_tgt/
A Dibmvscsi_tgt.c363 crq = ibmvscsis_cmd_q_dequeue(vscsi->cmd_q.mask, &vscsi->cmd_q.index, in ibmvscsis_check_init_msg()
982 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_ready_for_suspend()
1179 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_poll_cmd_q()
1185 vscsi->cmd_q.index = in ibmvscsis_poll_cmd_q()
1186 (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; in ibmvscsis_poll_cmd_q()
1217 vscsi->cmd_q.index = vscsi->cmd_q.mask; in ibmvscsis_poll_cmd_q()
1224 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_poll_cmd_q()
3347 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_handle_crq()
3360 (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; in ibmvscsis_handle_crq()
3388 vscsi->cmd_q.index = vscsi->cmd_q.mask; in ibmvscsis_handle_crq()
[all …]
A Dibmvscsi_tgt.h268 struct cmd_queue cmd_q; member
/linux-6.3-rc2/drivers/platform/olpc/
A Dolpc-ec.c43 struct list_head cmd_q; member
85 if (!list_empty(&ec->cmd_q)) { in olpc_ec_worker()
86 desc = list_first_entry(&ec->cmd_q, struct ec_cmd_desc, node); in olpc_ec_worker()
120 list_add_tail(&desc->node, &ec->cmd_q); in queue_ec_descriptor()
422 INIT_LIST_HEAD(&ec->cmd_q); in olpc_ec_probe()
/linux-6.3-rc2/drivers/media/platform/amphion/
A Dvpu_cmds.c149 list_for_each_entry_safe(cmd, tmp, &inst->cmd_q, list) { in vpu_process_cmd_request()
181 list_add_tail(&cmd->list, &inst->cmd_q); in vpu_request_cmd()
241 list_for_each_entry_safe(cmd, tmp, &inst->cmd_q, list) { in vpu_clear_request()
260 list_for_each_entry(cmd, &inst->cmd_q, list) { in check_is_responsed()
A Dvpu.h254 struct list_head cmd_q; member
/linux-6.3-rc2/net/nfc/nci/
A Dcore.c541 skb_queue_purge(&ndev->cmd_q); in nci_open_device()
583 skb_queue_purge(&ndev->cmd_q); in nci_close_device()
1247 skb_queue_head_init(&ndev->cmd_q); in nci_register_device()
1376 skb_queue_tail(&ndev->cmd_q, skb); in nci_send_cmd()
1554 skb = skb_dequeue(&ndev->cmd_q); in nci_cmd_work()
A Drsp.c426 if (!skb_queue_empty(&ndev->cmd_q)) in nci_rsp_packet()
/linux-6.3-rc2/drivers/scsi/
A Dsg.c153 char cmd_q; /* 1 -> allow command queuing, 0 -> don't */ member
726 sfp->cmd_q = 1; /* when sg_io_hdr seen, set command queuing on */ in sg_new_write()
1051 sfp->cmd_q = val ? 1 : 0; in sg_ioctl_common()
1054 return put_user((int) sfp->cmd_q, ip); in sg_ioctl_common()
1193 else if (!sfp->cmd_q) { in sg_poll()
2098 if (!sfp->cmd_q) in sg_add_request()
2166 sfp->cmd_q = SG_DEF_COMMAND_Q; in sg_add_sfp()
2535 (int) fp->cmd_q, (int) fp->force_packid, in sg_proc_debug_helper()
/linux-6.3-rc2/drivers/net/ethernet/brocade/bna/
A Dbfa_ioc.c2120 INIT_LIST_HEAD(&mod->cmd_q); in bfa_ioc_mbox_attach()
2140 if (list_empty(&mod->cmd_q)) in bfa_ioc_mbox_poll()
2153 cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); in bfa_ioc_mbox_poll()
2175 while (!list_empty(&mod->cmd_q)) { in bfa_ioc_mbox_flush()
2176 cmd = list_first_entry(&mod->cmd_q, struct bfa_mbox_cmd, qe); in bfa_ioc_mbox_flush()
2662 if (!list_empty(&mod->cmd_q)) { in bfa_nw_ioc_mbox_queue()
2663 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_nw_ioc_mbox_queue()
2672 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_nw_ioc_mbox_queue()
A Dbfa_ioc.h109 struct list_head cmd_q; /*!< pending mbox queue */ member
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dutils.c626 bool tdls, bool cmd_q) in iwl_mvm_get_wd_timeout() argument
630 unsigned int default_timeout = cmd_q ? in iwl_mvm_get_wd_timeout()
652 if (cmd_q) in iwl_mvm_get_wd_timeout()

Completed in 91 milliseconds

12