Home
last modified time | relevance | path

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

12

/linux/drivers/dma/ptdma/
A Dptdma-dev.c72 u8 *q_desc = (u8 *)&cmd_q->qbase[cmd_q->qidx]; in pt_core_execute_cmd()
83 cmd_q->qidx = (cmd_q->qidx + 1) % CMD_Q_LEN; in pt_core_execute_cmd()
131 struct pt_cmd_queue *cmd_q = &cmd->pt->cmd_q; in pt_do_cmd_complete() local
140 pt_log_error(cmd_q->pt, cmd_q->cmd_error); in pt_do_cmd_complete()
150 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_core_irq_handler() local
176 struct pt_cmd_queue *cmd_q = &pt->cmd_q; in pt_core_init() local
222 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
239 cmd_q->qdma_tail = cmd_q->qbase_dma; in pt_core_init()
246 iowrite32(cmd_q->qcontrol, cmd_q->reg_control); in pt_core_init()
264 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.h248 struct pt_cmd_queue cmd_q; member
318 int pt_core_perform_passthru(struct pt_cmd_queue *cmd_q,
321 void pt_start_queue(struct pt_cmd_queue *cmd_q);
322 void pt_stop_queue(struct pt_cmd_queue *cmd_q);
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()
256 pt_stop_queue(&chan->pt->cmd_q); in pt_pause()
269 pt_start_queue(&chan->pt->cmd_q); in pt_resume()
/linux/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/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()
3350 crq = vscsi->cmd_q.base_addr + vscsi->cmd_q.index; in ibmvscsis_handle_crq()
3363 (vscsi->cmd_q.index + 1) & vscsi->cmd_q.mask; in ibmvscsis_handle_crq()
3391 vscsi->cmd_q.index = vscsi->cmd_q.mask; in ibmvscsis_handle_crq()
[all …]
A Dibmvscsi_tgt.h268 struct cmd_queue cmd_q; member
/linux/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/net/bluetooth/
A Dhci_request.c41 skb_queue_head_init(&req->cmd_q); in hci_req_init()
48 skb_queue_purge(&req->cmd_q); in hci_req_purge()
63 bt_dev_dbg(hdev, "length %u", skb_queue_len(&req->cmd_q)); in req_run()
69 skb_queue_purge(&req->cmd_q); in req_run()
74 if (skb_queue_empty(&req->cmd_q)) in req_run()
77 skb = skb_peek_tail(&req->cmd_q); in req_run()
85 spin_lock_irqsave(&hdev->cmd_q.lock, flags); in req_run()
86 skb_queue_splice_tail(&req->cmd_q, &hdev->cmd_q); in req_run()
87 spin_unlock_irqrestore(&hdev->cmd_q.lock, flags); in req_run()
340 if (skb_queue_empty(&req->cmd_q)) in hci_req_add_ev()
[all …]
A Dhci_core.c1506 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_open()
1686 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_close()
1700 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_close()
1772 skb_queue_purge(&hdev->cmd_q); in hci_dev_do_reset()
3753 skb_queue_head_init(&hdev->cmd_q); in hci_alloc_dev_priv()
4218 skb_queue_tail(&hdev->cmd_q, skb); in hci_send_cmd()
4947 skb = skb_peek(&hdev->cmd_q); in hci_req_is_complete()
4972 skb_queue_head(&hdev->cmd_q, skb); in hci_resend_last()
5028 __skb_queue_head(&hdev->cmd_q, skb); in hci_req_cmd_complete()
5114 skb = skb_dequeue(&hdev->cmd_q); in hci_cmd_work()
[all …]
A Dhci_request.h30 struct sk_buff_head cmd_q; member
/linux/net/nfc/nci/
A Dcore.c540 skb_queue_purge(&ndev->cmd_q); in nci_open_device()
578 skb_queue_purge(&ndev->cmd_q); in nci_close_device()
1242 skb_queue_head_init(&ndev->cmd_q); in nci_register_device()
1371 skb_queue_tail(&ndev->cmd_q, skb); in nci_send_cmd()
1546 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/drivers/staging/unisys/include/
A Diochannel.h551 struct signal_queue_header cmd_q; member
/linux/drivers/scsi/
A Dsg.c149 char cmd_q; /* 1 -> allow command queuing, 0 -> don't */ member
730 sfp->cmd_q = 1; /* when sg_io_hdr seen, set command queuing on */ in sg_new_write()
1057 sfp->cmd_q = val ? 1 : 0; in sg_ioctl_common()
1060 return put_user((int) sfp->cmd_q, ip); in sg_ioctl_common()
1199 else if (!sfp->cmd_q) { in sg_poll()
2088 if (!sfp->cmd_q) in sg_add_request()
2147 sfp->cmd_q = SG_DEF_COMMAND_Q; in sg_add_sfp()
2516 (int) fp->cmd_q, (int) fp->force_packid, in sg_proc_debug_helper()
/linux/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/drivers/net/wireless/intel/iwlwifi/mvm/
A Dutils.c621 bool tdls, bool cmd_q) in iwl_mvm_get_wd_timeout() argument
625 unsigned int default_timeout = cmd_q ? in iwl_mvm_get_wd_timeout()
647 if (cmd_q) in iwl_mvm_get_wd_timeout()
/linux/include/net/nfc/
A Dnci_core.h225 struct sk_buff_head cmd_q; member
/linux/drivers/scsi/bfa/
A Dbfa_ioc.c82 (!list_empty(&((__ioc)->mbox_mod.cmd_q)) || \
1981 INIT_LIST_HEAD(&mod->cmd_q); in bfa_ioc_mbox_attach()
2001 if (list_empty(&mod->cmd_q)) in bfa_ioc_mbox_poll()
2014 bfa_q_deq(&mod->cmd_q, &cmd); in bfa_ioc_mbox_poll()
2027 while (!list_empty(&mod->cmd_q)) in bfa_ioc_mbox_flush()
2028 bfa_q_deq(&mod->cmd_q, &cmd); in bfa_ioc_mbox_flush()
2568 if (!list_empty(&mod->cmd_q)) { in bfa_ioc_mbox_queue()
2569 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_ioc_mbox_queue()
2578 list_add_tail(&cmd->qe, &mod->cmd_q); in bfa_ioc_mbox_queue()

Completed in 97 milliseconds

12