Searched refs:rkt (Results 1 – 8 of 8) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_keys.c | 56 struct rvt_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_rvt_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_ruc.c | 48 struct rvt_lkey_table *rkt; in qib_init_sge() local 52 rkt = &to_idev(qp->ibqp.device)->rdi.lkey_table; in qib_init_sge() 61 ret = rvt_lkey_ok(rkt, pd, j ? &ss->sg_list[j - 1] : &ss->sge, in qib_init_sge()
|
/drivers/infiniband/sw/rdmavt/ |
D | mr.c | 185 struct rvt_lkey_table *rkt = &dev->lkey_table; in rvt_alloc_lkey() local 188 spin_lock_irqsave(&rkt->lock, flags); in rvt_alloc_lkey() 205 r = rkt->next; in rvt_alloc_lkey() 208 if (!rcu_access_pointer(rkt->table[r])) in rvt_alloc_lkey() 210 r = (r + 1) & (rkt->max - 1); in rvt_alloc_lkey() 214 rkt->next = (r + 1) & (rkt->max - 1); in rvt_alloc_lkey() 219 rkt->gen++; in rvt_alloc_lkey() 224 ((((1 << (24 - dev->dparms.lkey_table_size)) - 1) & rkt->gen) in rvt_alloc_lkey() 228 rkt->gen++; in rvt_alloc_lkey() 232 rcu_assign_pointer(rkt->table[r], mr); in rvt_alloc_lkey() [all …]
|
D | qp.c | 1729 struct rvt_lkey_table *rkt; in rvt_post_one_wr() local 1796 rkt = &rdi->lkey_table; in rvt_post_one_wr() 1815 ret = rvt_lkey_ok(rkt, pd, &wqe->sg_list[j], last_sge, in rvt_post_one_wr()
|
/drivers/scsi/aacraid/ |
D | rkt.c | 80 iounmap(dev->regs.rkt); in aac_rkt_ioremap() 83 dev->base = dev->regs.rkt = ioremap(dev->base_start, size); in aac_rkt_ioremap() 86 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 | 1168 #define rkt_readb(AEP, CSR) readb(&((AEP)->regs.rkt->CSR)) 1169 #define rkt_readl(AEP, CSR) readl(&((AEP)->regs.rkt->CSR)) 1170 #define rkt_writeb(AEP, CSR, value) writeb(value, &((AEP)->regs.rkt->CSR)) 1171 #define rkt_writel(AEP, CSR, value) writel(value, &((AEP)->regs.rkt->CSR)) 1629 struct rkt_registers __iomem *rkt; member
|
/drivers/infiniband/hw/hfi1/ |
D | ruc.c | 64 struct rvt_lkey_table *rkt; in init_sge() local 68 rkt = &to_idev(qp->ibqp.device)->rdi.lkey_table; in init_sge() 77 ret = rvt_lkey_ok(rkt, pd, j ? &ss->sg_list[j - 1] : &ss->sge, in init_sge()
|