Searched refs:scq (Results 1 – 13 of 13) sorted by relevance
/linux-3.4.99/drivers/atm/ |
D | nicstar.c | 116 #define scq_virt_to_bus(scq, p) \ argument 117 (scq->dma + ((unsigned long)(p) - (unsigned long)(scq)->org)) 127 static void free_scq(ns_dev *card, scq_info * scq, struct atm_vcc *vcc); 134 static int push_scqe(ns_dev * card, vc_map * vc, scq_info * scq, ns_scqe * tbd, 137 static void drain_scq(ns_dev * card, scq_info * scq, int pos); 252 free_scq(card, card->scd2vc[j]->scq, card->scd2vc[j]->tx_vcc); in nicstar_remove_one() 870 scq_info *scq; in get_scq() local 876 scq = kmalloc(sizeof(scq_info), GFP_KERNEL); in get_scq() 877 if (!scq) in get_scq() 879 scq->org = pci_alloc_consistent(card->pcidev, 2 * size, &scq->dma); in get_scq() [all …]
|
D | idt77252.c | 639 struct scq_info *scq; in alloc_scq() local 641 scq = kzalloc(sizeof(struct scq_info), GFP_KERNEL); in alloc_scq() 642 if (!scq) in alloc_scq() 644 scq->base = pci_alloc_consistent(card->pcidev, SCQ_SIZE, in alloc_scq() 645 &scq->paddr); in alloc_scq() 646 if (scq->base == NULL) { in alloc_scq() 647 kfree(scq); in alloc_scq() 650 memset(scq->base, 0, SCQ_SIZE); in alloc_scq() 652 scq->next = scq->base; in alloc_scq() 653 scq->last = scq->base + (SCQ_ENTRIES - 1); in alloc_scq() [all …]
|
D | nicstar.h | 701 scq_info *scq; /* To keep track of the SCQ */ member
|
D | idt77252.h | 214 struct scq_info *scq; /* To keep track of the SCQ */ member
|
/linux-3.4.99/drivers/infiniband/core/ |
D | uverbs_cmd.c | 1390 struct ib_cq *scq = NULL, *rcq = NULL; in ib_uverbs_create_qp() local 1422 scq = idr_read_cq(cmd.send_cq_handle, file->ucontext, 0); in ib_uverbs_create_qp() 1423 if (!pd || !scq) { in ib_uverbs_create_qp() 1439 scq : idr_read_cq(cmd.recv_cq_handle, file->ucontext, 1); in ib_uverbs_create_qp() 1450 attr.send_cq = scq; in ib_uverbs_create_qp() 1522 if (scq) in ib_uverbs_create_qp() 1523 put_cq_read(scq); in ib_uverbs_create_qp() 1524 if (rcq && rcq != scq) in ib_uverbs_create_qp() 1550 if (scq) in ib_uverbs_create_qp() 1551 put_cq_read(scq); in ib_uverbs_create_qp() [all …]
|
D | verbs.c | 873 struct ib_cq *scq, *rcq; in ib_destroy_qp() local 884 scq = qp->send_cq; in ib_destroy_qp() 892 if (scq) in ib_destroy_qp() 893 atomic_dec(&scq->usecnt); in ib_destroy_qp()
|
/linux-3.4.99/drivers/infiniband/hw/cxgb4/ |
D | ev.c | 101 cqid = qhp->attr.scq; in c4iw_ev_dispatch()
|
D | qp.c | 114 struct t4_cq *rcq, struct t4_cq *scq, in create_qp() argument 221 V_FW_RI_RES_WR_IQID(scq->cqid)); in create_qp() 978 schp = get_chp(qhp->rhp, qhp->attr.scq); in flush_qp() 1108 wqe->u.init.scqid = cpu_to_be32(qhp->attr.scq); in rdma_init() 1453 qhp->attr.scq = ((struct c4iw_cq *) attrs->send_cq)->cq.cqid; in c4iw_create_qp()
|
D | iw_cxgb4.h | 333 u32 scq; member
|
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/ |
D | resource_tracker.c | 107 struct res_cq *scq; member 1756 struct res_cq *scq; in mlx4_RST2INIT_QP_wrapper() local 1782 err = get_res(dev, slave, scqn, RES_CQ, &scq); in mlx4_RST2INIT_QP_wrapper() 1786 scq = rcq; in mlx4_RST2INIT_QP_wrapper() 1801 atomic_inc(&scq->ref_count); in mlx4_RST2INIT_QP_wrapper() 1802 qp->scq = scq; in mlx4_RST2INIT_QP_wrapper() 2458 atomic_dec(&qp->scq->ref_count); in mlx4_2RST_QP_wrapper() 2729 atomic_dec(&qp->scq->ref_count); in rem_slave_qps()
|
/linux-3.4.99/drivers/infiniband/hw/cxgb3/ |
D | iwch_provider.h | 130 u32 scq; member
|
D | iwch_qp.c | 857 schp = get_chp(qhp->rhp, qhp->attr.scq); in flush_qp() 903 init_attr.scqid = qhp->attr.scq; in rdma_init()
|
D | iwch_provider.c | 963 qhp->attr.scq = ((struct iwch_cq *) attrs->send_cq)->cq.cqid; in iwch_create_qp()
|