Home
last modified time | relevance | path

Searched refs:rdi (Results 1 – 25 of 177) sorted by relevance

12345678

/linux/drivers/infiniband/sw/rdmavt/
A Dvt.c53 if (!rdi) in rvt_alloc_device()
54 return rdi; in rvt_alloc_device()
56 rdi->ports = kcalloc(nports, sizeof(*rdi->ports), GFP_KERNEL); in rvt_alloc_device()
57 if (!rdi->ports) in rvt_alloc_device()
60 return rdi; in rvt_alloc_device()
139 return rdi->driver_f.query_port_state(rdi, port_num, props); in rvt_query_port()
169 rdi->driver_f.cap_mask_chg(rdi, port_num); in rvt_modify_port()
171 ret = rdi->driver_f.shut_down_port(rdi, port_num); in rvt_modify_port()
236 return rdi->driver_f.get_guid_be(rdi, rvp, guid_index, in rvt_query_gid()
482 if (!rdi) in rvt_register_device()
[all …]
A Dmmap.c18 INIT_LIST_HEAD(&rdi->pending_mmaps); in rvt_mmap_init()
19 spin_lock_init(&rdi->pending_lock); in rvt_mmap_init()
20 rdi->mmap_offset = PAGE_SIZE; in rvt_mmap_init()
34 spin_lock_irq(&rdi->pending_lock); in rvt_release_mmap_info()
36 spin_unlock_irq(&rdi->pending_lock); in rvt_release_mmap_info()
131 if (rdi->mmap_offset == 0) in rvt_create_mmap_info()
133 ip->offset = rdi->mmap_offset; in rvt_create_mmap_info()
161 if (rdi->mmap_offset == 0) in rvt_update_mmap_info()
162 rdi->mmap_offset = PAGE_SIZE; in rvt_update_mmap_info()
163 ip->offset = rdi->mmap_offset; in rvt_update_mmap_info()
[all …]
A Dqp.c140 if (!rdi->wss) in rvt_wss_init()
383 rdi->qp_dev->qp_table_size = rdi->dparms.qp_table_size; in rvt_driver_qp_init()
398 if (init_qpn_table(rdi, &rdi->qp_dev->qpn_table)) in rvt_driver_qp_init()
1044 if (!rdi) in rvt_create_qp()
1120 priv = rdi->driver_f.qp_priv_alloc(rdi, qp); in rvt_create_qp()
1167 ret = alloc_qpn(rdi, &rdi->qp_dev->qpn_table, in rvt_create_qp()
1268 rdi->driver_f.qp_priv_free(rdi, qp); in rvt_create_qp()
1701 rdi->driver_f.qp_priv_free(rdi, qp); in rvt_destroy_qp()
2661 i->rdi = rdi; in rvt_qp_iter_init()
2690 struct rvt_dev_info *rdi = iter->rdi; in rvt_qp_iter_next() local
[all …]
A Dmad.c67 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents()
68 rvp = rdi->ports[p]; in rvt_create_mad_agents()
81 rdi->driver_f.notify_create_mad_agent(rdi, p); in rvt_create_mad_agents()
87 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents()
88 rvp = rdi->ports[p]; in rvt_create_mad_agents()
93 if (rdi->driver_f.notify_free_mad_agent) in rvt_create_mad_agents()
94 rdi->driver_f.notify_free_mad_agent(rdi, p); in rvt_create_mad_agents()
113 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_free_mad_agents()
114 rvp = rdi->ports[p]; in rvt_free_mad_agents()
126 if (rdi->driver_f.notify_free_mad_agent) in rvt_free_mad_agents()
[all …]
A Dvt.h21 #define rvt_pr_info(rdi, fmt, ...) \ argument
22 __rvt_pr_info(rdi->driver_f.get_pci_dev(rdi), \
23 rvt_get_ibdev_name(rdi), \
27 #define rvt_pr_warn(rdi, fmt, ...) \ argument
28 __rvt_pr_warn(rdi->driver_f.get_pci_dev(rdi), \
29 rvt_get_ibdev_name(rdi), \
33 #define rvt_pr_err(rdi, fmt, ...) \ argument
34 __rvt_pr_err(rdi->driver_f.get_pci_dev(rdi), \
35 rvt_get_ibdev_name(rdi), \
40 __rvt_pr_err_ratelimited((rdi)->driver_f.get_pci_dev(rdi), \
[all …]
A Dcq.c62 struct rvt_dev_info *rdi = cq->rdi; in rvt_cq_enter() local
220 spin_lock_irq(&rdi->n_cqs_lock); in rvt_create_cq()
221 if (rdi->n_cqs_allocated == rdi->dparms.props.max_cq) { in rvt_create_cq()
227 rdi->n_cqs_allocated++; in rvt_create_cq()
228 spin_unlock_irq(&rdi->n_cqs_lock); in rvt_create_cq()
241 cq->rdi = rdi; in rvt_create_cq()
244 rdi->driver_f.comp_vect_cpu_lookup(rdi, comp_vector); in rvt_create_cq()
279 struct rvt_dev_info *rdi = cq->rdi; in rvt_destroy_cq() local
282 spin_lock_irq(&rdi->n_cqs_lock); in rvt_destroy_cq()
283 rdi->n_cqs_allocated--; in rvt_destroy_cq()
[all …]
A Dmcast.c26 spin_lock_init(&rdi->n_mcast_grps_lock); in rvt_driver_mcast_init()
204 spin_lock(&rdi->n_mcast_grps_lock); in rvt_mcast_add()
205 if (rdi->n_mcast_grps_allocated == rdi->dparms.props.max_mcast_grp) { in rvt_mcast_add()
206 spin_unlock(&rdi->n_mcast_grps_lock); in rvt_mcast_add()
211 rdi->n_mcast_grps_allocated++; in rvt_mcast_add()
212 spin_unlock(&rdi->n_mcast_grps_lock); in rvt_mcast_add()
378 spin_lock_irq(&rdi->n_mcast_grps_lock); in rvt_detach_mcast()
379 rdi->n_mcast_grps_allocated--; in rvt_detach_mcast()
380 spin_unlock_irq(&rdi->n_mcast_grps_lock); in rvt_detach_mcast()
397 for (i = 0; i < rdi->dparms.nports; i++) in rvt_mcast_tree_empty()
[all …]
/linux/arch/x86/lib/
A Dmemmove_64.S30 mov %rdi, %rax
33 cmp %rdi, %rsi
37 cmp %rdi, %r8
72 movq %r9, 2*8(%rdi)
73 movq %r8, 3*8(%rdi)
74 leaq 4*8(%rdi), %rdi
99 movq %rdi, %r10
101 leaq -8(%rdi, %rdx), %rdi
125 addq %rdx, %rdi
142 leaq -4*8(%rdi), %rdi
[all …]
A Dmemcpy_64.S35 movq %rdi, %rax
53 movq %rdi, %rax
60 movq %rdi, %rax
84 movq %r8, 0*8(%rdi)
85 movq %r9, 1*8(%rdi)
88 leaq 4*8(%rdi), %rdi
98 addq %rdx, %rdi
116 leaq -4*8(%rdi), %rdi
124 subq %rdx, %rdi
163 movl %ecx, (%rdi)
[all …]
A Dcopy_page_64.S44 movq %rax, 0x8*0(%rdi)
45 movq %rbx, 0x8*1(%rdi)
46 movq %rdx, 0x8*2(%rdi)
47 movq %r8, 0x8*3(%rdi)
48 movq %r9, 0x8*4(%rdi)
49 movq %r10, 0x8*5(%rdi)
50 movq %r11, 0x8*6(%rdi)
51 movq %r12, 0x8*7(%rdi)
54 leaq 64 (%rdi), %rdi
72 movq %rax, 0x8*0(%rdi)
[all …]
A Dmemset_64.S31 movq %rdi,%r9
61 movq %rdi,%r9
70 movq %rdi,%r10
90 movq %rax,(%rdi)
91 movq %rax,8(%rdi)
98 leaq 64(%rdi),%rdi
112 movq %rax,(%rdi)
113 leaq 8(%rdi),%rdi
122 movb %al,(%rdi)
123 leaq 1(%rdi),%rdi
[all …]
A Dcsum-copy_64.S70 movq (%rdi), %rbx
124 leaq 64(%rdi), %rdi
148 leaq 8(%rdi), %rdi
172 movw (%rdi), %bx
177 leaq 2(%rdi), %rdi
188 movb (%rdi), %bl
215 movw (%rdi), %bx
218 leaq 2(%rdi), %rdi
228 leaq 4(%rdi), %rdi
236 movb (%rdi), %bl
[all …]
A Dcopy_user_64.S29 101: movb %al,(%rdi)
31 incq %rdi
70 5: movq %r8,(%rdi)
83 leaq 64(%rdi),%rdi
92 19: movq %r8,(%rdi)
94 leaq 8(%rdi),%rdi
103 incq %rdi
289 leaq 64(%rdi),%rdi
305 leaq 8(%rdi),%rdi
329 leaq 4(%rdi),%rdi
[all …]
A Dmsr-reg.S18 movq %rdi, %r10 /* Save pointer */
20 movl (%rdi), %eax
21 movl 4(%rdi), %ecx
22 movl 8(%rdi), %edx
23 movl 12(%rdi), %ebx
24 movl 20(%rdi), %r12d
25 movl 24(%rdi), %esi
26 movl 28(%rdi), %edi
/linux/tools/perf/arch/x86/tests/
A Dregs_load.S32 movq %rax, AX(%rdi)
33 movq %rbx, BX(%rdi)
34 movq %rcx, CX(%rdi)
35 movq %rdx, DX(%rdi)
37 movq %rdi, DI(%rdi)
47 movq $0, CS(%rdi)
48 movq $0, SS(%rdi)
49 movq $0, DS(%rdi)
50 movq $0, ES(%rdi)
51 movq $0, FS(%rdi)
[all …]
/linux/tools/arch/x86/lib/
A Dmemcpy_64.S35 movq %rdi, %rax
53 movq %rdi, %rax
60 movq %rdi, %rax
84 movq %r8, 0*8(%rdi)
85 movq %r9, 1*8(%rdi)
88 leaq 4*8(%rdi), %rdi
98 addq %rdx, %rdi
116 leaq -4*8(%rdi), %rdi
124 subq %rdx, %rdi
163 movl %ecx, (%rdi)
[all …]
A Dmemset_64.S31 movq %rdi,%r9
61 movq %rdi,%r9
70 movq %rdi,%r10
90 movq %rax,(%rdi)
91 movq %rax,8(%rdi)
98 leaq 64(%rdi),%rdi
112 movq %rax,(%rdi)
113 leaq 8(%rdi),%rdi
122 movb %al,(%rdi)
123 leaq 1(%rdi),%rdi
[all …]
/linux/include/rdma/
A Drdma_vt.h447 dev_set_name(&rdi->ibdev.dev, fmt, name, unit); in rvt_set_ibdev_name()
448 strlcpy(rdi->ibdev.name, dev_name(&rdi->ibdev.dev), IB_DEVICE_NAME_MAX); in rvt_set_ibdev_name()
459 return dev_name(&rdi->ibdev.dev); in rvt_get_ibdev_name()
482 return rdi->dparms.npkeys; in rvt_get_npkeys()
491 return rdi->dparms.max_rdma_atomic + in rvt_max_atomic()
492 rdi->dparms.extra_rdma_atomic + 1; in rvt_max_atomic()
497 return rdi->dparms.max_rdma_atomic + in rvt_size_atomic()
498 rdi->dparms.extra_rdma_atomic; in rvt_size_atomic()
508 if (index >= rvt_get_npkeys(rdi)) in rvt_get_pkey()
511 return rdi->ports[port_index]->pkey_table[index]; in rvt_get_pkey()
[all …]
/linux/arch/x86/um/
A Dsetjmp_64.S27 movq %rbx,(%rdi)
30 movq %rbp,16(%rdi)
31 movq %r12,24(%rdi)
32 movq %r13,32(%rdi)
33 movq %r14,40(%rdi)
34 movq %r15,48(%rdi)
46 movq (%rdi),%rbx
47 movq 8(%rdi),%rsp
48 movq 16(%rdi),%rbp
49 movq 24(%rdi),%r12
[all …]
/linux/arch/x86/crypto/
A Dtwofish-x86_64-asm_64.S68 mov s1(%r11,%rdi,4),%r8d;\
70 mov s2(%r11,%rdi,4),%r9d;\
73 xor s2(%r11,%rdi,4),%r8d;\
76 xor s3(%r11,%rdi,4),%r9d;\
78 xor s3(%r11,%rdi,4),%r8d;\
80 xor (%r11,%rdi,4), %r9d;\
83 xor (%r11,%rdi,4), %r8d;\
118 xor (%r11,%rdi,4), %r9d;\
121 xor (%r11,%rdi,4), %r8d;\
213 mov %rdi, %r11
[all …]
/linux/drivers/infiniband/hw/qib/
A Dqib_verbs.c277 struct rvt_dev_info *rdi = &dd->verbs_dev.rdi; in qib_ib_rcv() local
567 spin_lock(&dev->rdi.pending_lock); in __get_txreq()
677 spin_lock(&dev->rdi.pending_lock); in qib_verbs_sdma_desc_avail()
754 spin_lock(&dev->rdi.pending_lock); in wait_kmem()
890 spin_lock(&dev->rdi.pending_lock); in no_bufs_available()
1194 struct qib_ibdev *ibdev = container_of(rdi, struct qib_ibdev, rdi); in qib_query_port()
1278 struct qib_ibdev *ibdev = container_of(rdi, struct qib_ibdev, rdi); in qib_shut_down_port()
1438 struct rvt_dev_info *rdi = &dd->verbs_dev.rdi; in qib_fill_device_attr() local
1440 memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); in qib_fill_device_attr()
1449 rdi->dparms.props.vendor_id = in qib_fill_device_attr()
[all …]
/linux/arch/x86/entry/
A Dentry_64.S110 movq %rsp, %rdi
199 movq %rsp, %rdi
214 popq %rdi
279 movq %rax, %rdi
287 movq %rsp, %rdi
294 movq %r12, %rdi
587 movq %rsp, %rdi
599 pushq (%rdi)
610 popq %rdi
1043 mov %rsp, %rdi
[all …]
A Dentry_64_compat.S85 pushq %rdi /* pt_regs->di */
138 movq %rsp, %rdi
224 pushq %rdi /* pt_regs->di */
255 movq %rsp, %rdi
278 popq %rdi /* pt_regs->di */
360 pushq %rdi /* pt_regs->di */
368 movq %rsp, %rdi
371 pushq 6*8(%rdi) /* regs->ss */
374 pushq 3*8(%rdi) /* regs->cs */
375 pushq 2*8(%rdi) /* regs->ip */
[all …]
/linux/drivers/media/platform/qcom/camss/
A Dcamss-csid-170.c39 + 0x10 * (rdi))
41 + 0x10 * (rdi))
43 + 0x10 * (rdi))
45 + 0x10 * (rdi))
77 + 0x100 * (rdi))
102 + 0x100 * (rdi))
106 + 0x100 * (rdi))
112 + 0x100 * (rdi))
114 + 0x100 * (rdi))
116 + 0x100 * (rdi))
[all …]
/linux/drivers/infiniband/hw/hfi1/
A Dverbs.c334 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_kdeth_eager_rcv() local
388 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_kdeth_expected_rcv() local
460 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_handle_packet() local
1290 struct rvt_dev_info *rdi = &dd->verbs_dev.rdi; in hfi1_fill_device_attr() local
1293 memset(&rdi->dparms.props, 0, sizeof(rdi->dparms.props)); in hfi1_fill_device_attr()
1308 rdi->dparms.props.hw_ver = dd->minrev; in hfi1_fill_device_attr()
1313 rdi->dparms.props.max_qp_wr = in hfi1_fill_device_attr()
1334 rdi->dparms.props.max_mcast_grp; in hfi1_fill_device_attr()
1825 dd->verbs_dev.rdi.dparms.qpn_start = 0; in hfi1_register_ib_device()
1826 dd->verbs_dev.rdi.dparms.qpn_inc = 1; in hfi1_register_ib_device()
[all …]

Completed in 43 milliseconds

12345678