/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 100 u32 qid; in c4iw_get_cqid() local 108 qid = entry->qid; in c4iw_get_cqid() 111 qid = c4iw_get_resource(&rdev->resource.qid_table); in c4iw_get_cqid() 112 if (!qid) in c4iw_get_cqid() 115 rdev->stats.qid.cur += rdev->qpmask + 1; in c4iw_get_cqid() 117 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid() 121 entry->qid = i; in c4iw_get_cqid() 132 entry->qid = qid; in c4iw_get_cqid() 134 for (i = qid+1; i & rdev->qpmask; i++) { in c4iw_get_cqid() 138 entry->qid = i; in c4iw_get_cqid() [all …]
|
D | qp.c | 163 c4iw_put_qpid(rdev, wq->rq.qid, uctx); in destroy_qp() 164 c4iw_put_qpid(rdev, wq->sq.qid, uctx); in destroy_qp() 173 void __iomem *c4iw_bar2_addrs(struct c4iw_rdev *rdev, unsigned int qid, in c4iw_bar2_addrs() argument 180 ret = cxgb4_bar2_sge_qregs(rdev->lldi.ports[0], qid, qtype, in c4iw_bar2_addrs() 208 wq->sq.qid = c4iw_get_qpid(rdev, uctx); in create_qp() 209 if (!wq->sq.qid) in create_qp() 212 wq->rq.qid = c4iw_get_qpid(rdev, uctx); in create_qp() 213 if (!wq->rq.qid) { in create_qp() 267 wq->sq.bar2_va = c4iw_bar2_addrs(rdev, wq->sq.qid, T4_BAR2_QTYPE_EGRESS, in create_qp() 270 wq->rq.bar2_va = c4iw_bar2_addrs(rdev, wq->rq.qid, T4_BAR2_QTYPE_EGRESS, in create_qp() [all …]
|
D | device.c | 121 le.qid = wq->sq.qid; in c4iw_log_wr_stats() 127 le.qid = wq->rq.qid; in c4iw_log_wr_stats() 168 lep->qid, lep->opcode, in wr_log_show() 224 if (id != qp->wq.sq.qid) in dump_qp() 246 qp->wq.sq.qid, qp->wq.rq.qid, in dump_qp() 270 qp->wq.sq.qid, qp->wq.rq.qid, in dump_qp() 284 qp->wq.sq.qid, qp->wq.rq.qid, in dump_qp() 450 dev->rdev.stats.qid.total, dev->rdev.stats.qid.cur, in stats_show() 451 dev->rdev.stats.qid.max, dev->rdev.stats.qid.fail); in stats_show() 494 dev->rdev.stats.qid.max = 0; in stats_clear() [all …]
|
D | ev.c | 211 CQE_STATUS(err_cqe), qhp->wq.sq.qid); in c4iw_ev_dispatch() 223 int c4iw_ev_handler(struct c4iw_dev *dev, u32 qid) in c4iw_ev_handler() argument 229 chp = get_chp(dev, qid); in c4iw_ev_handler() 240 PDBG("%s unknown cqid 0x%x\n", __func__, qid); in c4iw_ev_handler()
|
/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_process_queue_manager.c | 31 struct process_queue_manager *pqm, unsigned int qid) in get_queue_by_qid() argument 38 if (pqn->q && pqn->q->properties.queue_id == qid) in get_queue_by_qid() 40 if (pqn->kq && pqn->kq->queue->properties.queue_id == qid) in get_queue_by_qid() 48 unsigned int *qid) in find_available_queue_slot() argument 52 BUG_ON(!pqm || !qid); in find_available_queue_slot() 68 *qid = found; in find_available_queue_slot() 116 struct file *f, unsigned int qid) in create_cp_queue() argument 126 kfd_queue_id_to_doorbell(dev, pqm->process, qid); in create_cp_queue() 130 q_properties->queue_id = qid; in create_cp_queue() 153 unsigned int *qid) in pqm_create_queue() argument [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_debugfs.h | 551 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() argument 556 if (phba->sli4_hba.fcp_wq[wq_idx]->queue_id == qid) in lpfc_debug_dump_wq_by_id() 559 printk(KERN_ERR "FCP WQ[Idx:%d|Qid:%d]\n", wq_idx, qid); in lpfc_debug_dump_wq_by_id() 564 if (phba->sli4_hba.els_wq->queue_id == qid) { in lpfc_debug_dump_wq_by_id() 565 printk(KERN_ERR "ELS WQ[Qid:%d]\n", qid); in lpfc_debug_dump_wq_by_id() 579 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id() argument 581 if (phba->sli4_hba.mbx_wq->queue_id == qid) { in lpfc_debug_dump_mq_by_id() 582 printk(KERN_ERR "MBX WQ[Qid:%d]\n", qid); in lpfc_debug_dump_mq_by_id() 596 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id() argument 598 if (phba->sli4_hba.hdr_rq->queue_id == qid) { in lpfc_debug_dump_rq_by_id() [all …]
|
/drivers/nvme/target/ |
D | fabrics-cmd.c | 103 u16 qid = le16_to_cpu(c->qid); in nvmet_install_queue() local 113 nvmet_cq_setup(ctrl, req->cq, qid, sqsize); in nvmet_install_queue() 114 nvmet_sq_setup(ctrl, req->sq, qid, sqsize); in nvmet_install_queue() 170 u16 qid = le16_to_cpu(c->qid); in nvmet_execute_io_connect() local 191 if (unlikely(qid > ctrl->subsys->max_qid)) { in nvmet_execute_io_connect() 192 pr_warn("invalid queue id (%d)\n", qid); in nvmet_execute_io_connect() 194 req->rsp->result = IPO_IATTR_CONNECT_SQE(qid); in nvmet_execute_io_connect() 205 pr_info("adding queue %d to ctrl %d.\n", qid, ctrl->cntlid); in nvmet_execute_io_connect() 235 if (cmd->connect.qid == 0) in nvmet_parse_connect_cmd()
|
D | core.c | 392 req->rsp->sq_id = cpu_to_le16(req->sq->qid); in __nvmet_req_complete() 408 u16 qid, u16 size) in nvmet_cq_setup() argument 410 cq->qid = qid; in nvmet_cq_setup() 413 ctrl->cqs[qid] = cq; in nvmet_cq_setup() 417 u16 qid, u16 size) in nvmet_sq_setup() argument 419 sq->qid = qid; in nvmet_sq_setup() 422 ctrl->sqs[qid] = sq; in nvmet_sq_setup() 504 else if (likely(req->sq->qid != 0)) in nvmet_req_init()
|
D | nvmet.h | 66 u16 qid; member 73 u16 qid; member 267 void nvmet_cq_setup(struct nvmet_ctrl *ctrl, struct nvmet_cq *cq, u16 qid, 269 void nvmet_sq_setup(struct nvmet_ctrl *ctrl, struct nvmet_sq *sq, u16 qid,
|
/drivers/s390/crypto/ |
D | zcrypt_error.h | 115 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_error() 117 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online, in convert_error() 127 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_error() 129 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online, in convert_error() 135 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_error() 137 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online, in convert_error()
|
D | ap_bus.c | 173 __pqap_tapq(ap_qid_t qid, unsigned long *info) in __pqap_tapq() argument 175 register unsigned long reg0 asm ("0") = qid; in __pqap_tapq() 193 ap_test_queue(ap_qid_t qid, unsigned long *info) in ap_test_queue() argument 199 qid |= 1UL << 23; /* set APFT T bit*/ in ap_test_queue() 200 aqs = __pqap_tapq(qid, &_info); in ap_test_queue() 212 static inline struct ap_queue_status ap_reset_queue(ap_qid_t qid) in ap_reset_queue() argument 214 register unsigned long reg0 asm ("0") = qid | 0x01000000UL; in ap_reset_queue() 232 ap_queue_interruption_control(ap_qid_t qid, void *ind) in ap_queue_interruption_control() argument 234 register unsigned long reg0 asm ("0") = qid | 0x03000000UL; in ap_queue_interruption_control() 346 status = ap_queue_interruption_control(ap_dev->qid, ind); in ap_queue_enable_interruption() [all …]
|
D | zcrypt_msgtype6.c | 207 msg->cprbx.domain = AP_QID_QUEUE(zdev->ap_dev->qid); in ICAMEX_msg_to_type6MEX_msgX() 275 msg->cprbx.domain = AP_QID_QUEUE(zdev->ap_dev->qid); in ICACRT_msg_to_type6CRT_msgX() 463 AP_QID_QUEUE(zdev->ap_dev->qid); in xcrb_msg_to_type6_ep11cprb_msgx() 481 AP_QID_QUEUE(zdev->ap_dev->qid); in xcrb_msg_to_type6_ep11cprb_msgx() 575 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_type86_ica() 577 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online, in convert_type86_ica() 718 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_response_ica() 720 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online); in convert_response_ica() 750 AP_QID_DEVICE(zdev->ap_dev->qid)); in convert_response_xcrb() 752 AP_QID_DEVICE(zdev->ap_dev->qid), zdev->online); in convert_response_xcrb() [all …]
|
D | zcrypt_pcixcc.c | 179 rc = ap_send(ap_dev->qid, 0x0102030405060708ULL, msg, sizeof(msg)); in zcrypt_pcixcc_mcl() 186 rc = ap_recv(ap_dev->qid, &psmid, reply, 4096); in zcrypt_pcixcc_mcl() 231 rc = ap_send(ap_dev->qid, 0x0102030405060708ULL, ap_msg.message, in zcrypt_pcixcc_rng_supported() 239 rc = ap_recv(ap_dev->qid, &psmid, ap_msg.message, 4096); in zcrypt_pcixcc_rng_supported()
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 40 int osc_quota_chkdq(struct client_obd *cli, const unsigned int qid[]) in osc_quota_chkdq() argument 47 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_chkdq() 57 type == USRQUOTA ? "user" : "grout", qid[type]); in osc_quota_chkdq() 70 int osc_quota_setdq(struct client_obd *cli, const unsigned int qid[], in osc_quota_setdq() argument 86 oqi = cfs_hash_lookup(cli->cl_quota_hash[type], &qid[type]); in osc_quota_setdq() 94 oqi = osc_oqi_alloc(qid[type]); in osc_quota_setdq() 101 &qid[type], &oqi->oqi_hash); in osc_quota_setdq() 111 qid[type], rc); in osc_quota_setdq() 120 &qid[type]); in osc_quota_setdq() 127 qid[type], oqi); in osc_quota_setdq()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 234 struct bnx2x_virtf *vf, int qid, in bnx2x_vf_queue_create() argument 240 DP(BNX2X_MSG_IOV, "vf[%d:%d]\n", vf->abs_vfid, qid); in bnx2x_vf_queue_create() 244 q_params->q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_create() 267 bnx2x_vf_igu_ack_sb(bp, vf, vf_igu_sb(vf, bnx2x_vfq(vf, qid, sb_idx)), in bnx2x_vf_queue_create() 274 int qid) in bnx2x_vf_queue_destroy() argument 286 q_params.q_obj = &bnx2x_vfq(vf, qid, sp_obj); in bnx2x_vf_queue_destroy() 306 if (bnx2x_vfq(vf, qid, cxt)) { in bnx2x_vf_queue_destroy() 307 bnx2x_vfq(vf, qid, cxt)->ustorm_ag_context.cdu_usage = 0; in bnx2x_vf_queue_destroy() 308 bnx2x_vfq(vf, qid, cxt)->xstorm_ag_context.cdu_reserved = 0; in bnx2x_vf_queue_destroy() 355 int qid, bool drv_only, int type) in bnx2x_vf_vlan_mac_clear() argument [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800mmio.c | 254 u8 qid; in rt2800mmio_txdone() local 258 qid = rt2x00_get_field32(status, TX_STA_FIFO_PID_QUEUE); in rt2800mmio_txdone() 259 if (unlikely(qid >= QID_RX)) { in rt2800mmio_txdone() 265 qid); in rt2800mmio_txdone() 269 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); in rt2800mmio_txdone() 276 qid); in rt2800mmio_txdone() 286 qid); in rt2800mmio_txdone() 305 qid); in rt2800mmio_txdone() 561 switch (queue->qid) { in rt2800mmio_start_queue() 589 switch (queue->qid) { in rt2800mmio_kick_queue() [all …]
|
D | rt2x00queue.c | 510 entry->queue->qid, DRV_PROJECT); in rt2x00queue_write_tx_data() 675 queue->qid); in rt2x00queue_write_tx_frame() 687 queue->qid, DRV_PROJECT); in rt2x00queue_write_tx_frame() 896 switch (queue->qid) { in rt2x00queue_pause_queue_nocheck() 905 ieee80211_stop_queue(queue->rt2x00dev->hw, queue->qid); in rt2x00queue_pause_queue_nocheck() 929 switch (queue->qid) { in rt2x00queue_unpause_queue() 938 ieee80211_wake_queue(queue->rt2x00dev->hw, queue->qid); in rt2x00queue_unpause_queue() 992 (queue->qid == QID_AC_VO) || in rt2x00queue_flush_queue() 993 (queue->qid == QID_AC_VI) || in rt2x00queue_flush_queue() 994 (queue->qid == QID_AC_BE) || in rt2x00queue_flush_queue() [all …]
|
D | rt2800usb.c | 62 switch (queue->qid) { in rt2800usb_start_queue() 85 switch (queue->qid) { in rt2800usb_stop_queue() 130 entry->entry_idx, entry->queue->qid); in rt2800usb_entry_txstatus_timeout() 487 if (entry->queue->qid == QID_BEACON) in rt2800usb_get_txwi() 583 entry->queue->qid, entry->entry_idx); in rt2800usb_txdone_entry_check() 595 u8 qid; in rt2800usb_txdone() local 603 qid = rt2x00_get_field32(reg, TX_STA_FIFO_PID_QUEUE); in rt2800usb_txdone() 604 queue = rt2x00queue_get_tx_queue(rt2x00dev, qid); in rt2800usb_txdone() 608 qid); in rt2800usb_txdone() 617 entry->entry_idx, qid); in rt2800usb_txdone() [all …]
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 151 struct ena_ring *ring, u16 qid) in ena_init_io_rings_common() argument 153 ring->qid = qid; in ena_init_io_rings_common() 157 ring->napi = &adapter->ena_napi[qid].napi; in ena_init_io_rings_common() 205 static int ena_setup_tx_resources(struct ena_adapter *adapter, int qid) in ena_setup_tx_resources() argument 207 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_setup_tx_resources() 208 struct ena_irq *ena_irq = &adapter->irq_tbl[ENA_IO_IRQ_IDX(qid)]; in ena_setup_tx_resources() 256 static void ena_free_tx_resources(struct ena_adapter *adapter, int qid) in ena_free_tx_resources() argument 258 struct ena_ring *tx_ring = &adapter->tx_ring[qid]; in ena_free_tx_resources() 315 u32 qid) in ena_setup_rx_resources() argument 317 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; in ena_setup_rx_resources() [all …]
|
/drivers/nvme/host/ |
D | pci.c | 132 u16 qid; member 704 if (unlikely(nvmeq->qid == 0 && in __nvme_process_cq() 796 c.delete_queue.qid = cpu_to_le16(id); in adapter_delete_queue() 801 static int adapter_alloc_cq(struct nvme_dev *dev, u16 qid, in adapter_alloc_cq() argument 814 c.create_cq.cqid = cpu_to_le16(qid); in adapter_alloc_cq() 822 static int adapter_alloc_sq(struct nvme_dev *dev, u16 qid, in adapter_alloc_sq() argument 835 c.create_sq.sqid = cpu_to_le16(qid); in adapter_alloc_sq() 838 c.create_sq.cqid = cpu_to_le16(qid); in adapter_alloc_sq() 881 req->tag, nvmeq->qid); in nvme_timeout() 892 if (!nvmeq->qid || iod->aborted) { in nvme_timeout() [all …]
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | sched.c | 111 const unsigned int qid, in t4_sched_queue_lookup() argument 129 if (qe->cntxt_id == qid) { in t4_sched_queue_lookup() 151 unsigned int qid; in t4_sched_queue_unbind() local 159 qid = txq->q.cntxt_id; in t4_sched_queue_unbind() 162 e = t4_sched_queue_lookup(pi, qid, &index); in t4_sched_queue_unbind() 198 unsigned int qid; in t4_sched_queue_bind() local 209 qid = txq->q.cntxt_id; in t4_sched_queue_bind() 220 qe->cntxt_id = qid; in t4_sched_queue_bind()
|
/drivers/staging/lustre/lustre/include/ |
D | lustre_fid.h | 430 fid_build_quota_res_name(const struct lu_fid *glb_fid, union lquota_id *qid, in fid_build_quota_res_name() argument 434 res->name[LUSTRE_RES_ID_QUOTA_SEQ_OFF] = fid_seq(&qid->qid_fid); in fid_build_quota_res_name() 435 res->name[LUSTRE_RES_ID_QUOTA_VER_OID_OFF] = fid_ver_oid(&qid->qid_fid); in fid_build_quota_res_name() 442 union lquota_id *qid, in fid_extract_from_quota_res() argument 446 qid->qid_fid.f_seq = res->name[LUSTRE_RES_ID_QUOTA_SEQ_OFF]; in fid_extract_from_quota_res() 447 qid->qid_fid.f_oid = (__u32)res->name[LUSTRE_RES_ID_QUOTA_VER_OID_OFF]; in fid_extract_from_quota_res() 448 qid->qid_fid.f_ver = in fid_extract_from_quota_res()
|
/drivers/net/wireless/ti/wl1251/ |
D | init.c | 231 static int wl1251_hw_init_txq_fill(u8 qid, in wl1251_hw_init_txq_fill() argument 235 config->qid = qid; in wl1251_hw_init_txq_fill() 237 switch (qid) { in wl1251_hw_init_txq_fill() 263 wl1251_error("Invalid TX queue id: %d", qid); in wl1251_hw_init_txq_fill()
|
/drivers/block/ |
D | virtio_blk.c | 140 int qid = vq->index; in virtblk_done() local 145 spin_lock_irqsave(&vblk->vqs[qid].lock, flags); in virtblk_done() 148 while ((vbr = virtqueue_get_buf(vblk->vqs[qid].vq, &len)) != NULL) { in virtblk_done() 159 spin_unlock_irqrestore(&vblk->vqs[qid].lock, flags); in virtblk_done() 170 int qid = hctx->queue_num; in virtio_queue_rq() local 214 spin_lock_irqsave(&vblk->vqs[qid].lock, flags); in virtio_queue_rq() 215 err = __virtblk_add_req(vblk->vqs[qid].vq, vbr, vbr->sg, num); in virtio_queue_rq() 217 virtqueue_kick(vblk->vqs[qid].vq); in virtio_queue_rq() 219 spin_unlock_irqrestore(&vblk->vqs[qid].lock, flags); in virtio_queue_rq() 227 if (bd->last && virtqueue_kick_prepare(vblk->vqs[qid].vq)) in virtio_queue_rq() [all …]
|
/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 37 int qid = skb_get_queue_mapping(skb); in skb2q() local 39 if (WARN_ON(qid >= MT_TXQ_PSD)) { in skb2q() 40 qid = MT_TXQ_BE; in skb2q() 41 skb_set_queue_mapping(skb, qid); in skb2q() 44 return q2hwq(qid); in skb2q()
|