Searched refs:rkt (Results 1 – 11 of 11) sorted by relevance
/drivers/infiniband/hw/ipath/ |
D | ipath_keys.c | 47 int ipath_alloc_lkey(struct ipath_lkey_table *rkt, struct ipath_mregion *mr) in ipath_alloc_lkey() argument 54 spin_lock_irqsave(&rkt->lock, flags); in ipath_alloc_lkey() 57 r = n = rkt->next; in ipath_alloc_lkey() 59 if (rkt->table[r] == NULL) in ipath_alloc_lkey() 61 r = (r + 1) & (rkt->max - 1); in ipath_alloc_lkey() 63 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_alloc_lkey() 69 rkt->next = (r + 1) & (rkt->max - 1); in ipath_alloc_lkey() 74 rkt->gen++; in ipath_alloc_lkey() 76 ((((1 << (24 - ib_ipath_lkey_table_size)) - 1) & rkt->gen) in ipath_alloc_lkey() 80 rkt->gen++; in ipath_alloc_lkey() [all …]
|
D | ipath_mr.c | 351 struct ipath_lkey_table *rkt; in ipath_map_phys_fmr() local 361 rkt = &to_idev(ibfmr->device)->lk_table; in ipath_map_phys_fmr() 362 spin_lock_irqsave(&rkt->lock, flags); in ipath_map_phys_fmr() 378 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_map_phys_fmr() 394 struct ipath_lkey_table *rkt; in ipath_unmap_fmr() local 398 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in ipath_unmap_fmr() 399 spin_lock_irqsave(&rkt->lock, flags); in ipath_unmap_fmr() 403 spin_unlock_irqrestore(&rkt->lock, flags); in ipath_unmap_fmr()
|
D | ipath_verbs.h | 780 int ipath_alloc_lkey(struct ipath_lkey_table *rkt, 783 void ipath_free_lkey(struct ipath_lkey_table *rkt, u32 lkey);
|
/drivers/infiniband/hw/qib/ |
D | qib_keys.c | 56 struct qib_lkey_table *rkt = &dev->lk_table; in qib_alloc_lkey() local 58 spin_lock_irqsave(&rkt->lock, flags); in qib_alloc_lkey() 74 r = rkt->next; in qib_alloc_lkey() 77 if (rkt->table[r] == NULL) in qib_alloc_lkey() 79 r = (r + 1) & (rkt->max - 1); in qib_alloc_lkey() 83 rkt->next = (r + 1) & (rkt->max - 1); in qib_alloc_lkey() 88 rkt->gen++; in qib_alloc_lkey() 94 ((((1 << (24 - ib_qib_lkey_table_size)) - 1) & rkt->gen) in qib_alloc_lkey() 98 rkt->gen++; in qib_alloc_lkey() 101 rcu_assign_pointer(rkt->table[r], mr); in qib_alloc_lkey() [all …]
|
D | qib_mr.c | 440 struct qib_lkey_table *rkt; in qib_map_phys_fmr() local 454 rkt = &to_idev(ibfmr->device)->lk_table; in qib_map_phys_fmr() 455 spin_lock_irqsave(&rkt->lock, flags); in qib_map_phys_fmr() 470 spin_unlock_irqrestore(&rkt->lock, flags); in qib_map_phys_fmr() 486 struct qib_lkey_table *rkt; in qib_unmap_fmr() local 490 rkt = &to_idev(fmr->ibfmr.device)->lk_table; in qib_unmap_fmr() 491 spin_lock_irqsave(&rkt->lock, flags); in qib_unmap_fmr() 495 spin_unlock_irqrestore(&rkt->lock, flags); in qib_unmap_fmr()
|
D | qib_ruc.c | 85 struct qib_lkey_table *rkt; in qib_init_sge() local 89 rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_init_sge() 98 if (!qib_lkey_ok(rkt, pd, j ? &ss->sg_list[j - 1] : &ss->sge, in qib_init_sge()
|
D | qib_verbs.c | 347 struct qib_lkey_table *rkt; in qib_post_one_send() local 397 rkt = &to_idev(qp->ibqp.device)->lk_table; in qib_post_one_send() 412 ok = qib_lkey_ok(rkt, pd, &wqe->sg_list[j], in qib_post_one_send()
|
D | qib_verbs.h | 983 int qib_lkey_ok(struct qib_lkey_table *rkt, struct qib_pd *pd,
|
/drivers/scsi/aacraid/ |
D | rkt.c | 79 iounmap(dev->regs.rkt); in aac_rkt_ioremap() 82 dev->base = dev->regs.rkt = ioremap(dev->base_start, size); in aac_rkt_ioremap() 85 dev->IndexRegs = &dev->regs.rkt->IndexRegs; in aac_rkt_ioremap()
|
D | Makefile | 6 dpcsup.o rx.o sa.o rkt.o nark.o src.o
|
D | aacraid.h | 745 #define rkt_readb(AEP, CSR) readb(&((AEP)->regs.rkt->CSR)) 746 #define rkt_readl(AEP, CSR) readl(&((AEP)->regs.rkt->CSR)) 747 #define rkt_writeb(AEP, CSR, value) writeb(value, &((AEP)->regs.rkt->CSR)) 748 #define rkt_writel(AEP, CSR, value) writel(value, &((AEP)->regs.rkt->CSR)) 1114 struct rkt_registers __iomem *rkt; member
|