/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | vt.c | 50 struct rvt_dev_info *rdi; in rvt_alloc_device() local 52 rdi = container_of(_ib_alloc_device(size), struct rvt_dev_info, ibdev); in rvt_alloc_device() 53 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() 58 ib_dealloc_device(&rdi->ibdev); in rvt_alloc_device() 60 return rdi; in rvt_alloc_device() 70 void rvt_dealloc_device(struct rvt_dev_info *rdi) in rvt_dealloc_device() argument 72 kfree(rdi->ports); in rvt_dealloc_device() [all …]
|
H A D | mmap.c | 16 void rvt_mmap_init(struct rvt_dev_info *rdi) in rvt_mmap_init() argument 18 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() 21 spin_lock_init(&rdi->mmap_offset_lock); in rvt_mmap_init() 32 struct rvt_dev_info *rdi = ib_to_rvt(ip->context->device); in rvt_release_mmap_info() local 34 spin_lock_irq(&rdi->pending_lock); in rvt_release_mmap_info() 36 spin_unlock_irq(&rdi->pending_lock); in rvt_release_mmap_info() 70 struct rvt_dev_info *rdi = ib_to_rvt(context->device); in rvt_mmap() local 81 spin_lock_irq(&rdi->pending_lock); in rvt_mmap() [all …]
|
H A D | vt.h | 21 #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), \ 39 #define rvt_pr_err_ratelimited(rdi, fmt, ...) \ argument [all …]
|
H A D | mad.c | 60 int rvt_create_mad_agents(struct rvt_dev_info *rdi) in rvt_create_mad_agents() argument 67 for (p = 0; p < rdi->dparms.nports; p++) { in rvt_create_mad_agents() 68 rvp = rdi->ports[p]; in rvt_create_mad_agents() 69 agent = ib_register_mad_agent(&rdi->ibdev, p + 1, in rvt_create_mad_agents() 80 if (rdi->driver_f.notify_create_mad_agent) 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() [all …]
|
H A D | qp.c | 22 static void rvt_reset_qp(struct rvt_dev_info *rdi, struct rvt_qp *qp, 103 void rvt_wss_exit(struct rvt_dev_info *rdi) in rvt_wss_exit() argument 105 struct rvt_wss *wss = rdi->wss; in rvt_wss_exit() 113 kfree(rdi->wss); in rvt_wss_exit() 114 rdi->wss = NULL; in rvt_wss_exit() 122 int rvt_wss_init(struct rvt_dev_info *rdi) in rvt_wss_init() argument 124 unsigned int sge_copy_mode = rdi->dparms.sge_copy_mode; in rvt_wss_init() 125 unsigned int wss_threshold = rdi->dparms.wss_threshold; in rvt_wss_init() 126 unsigned int wss_clean_period = rdi->dparms.wss_clean_period; in rvt_wss_init() 132 int node = rdi->dparms.node; in rvt_wss_init() [all …]
|
H A D | cq.c | 62 struct rvt_dev_info *rdi = cq->rdi; in rvt_cq_enter() local 65 rvt_pr_err_ratelimited(rdi, "CQ is full!\n"); in rvt_cq_enter() 162 struct rvt_dev_info *rdi = ib_to_rvt(ibdev); in rvt_create_cq() local 174 if (entries < 1 || entries > rdi->dparms.props.max_cqe) in rvt_create_cq() 180 comp_vector = comp_vector % rdi->ibdev.num_comp_vectors; in rvt_create_cq() 198 k_wc = vzalloc_node(sz, rdi->dparms.node); in rvt_create_cq() 208 cq->ip = rvt_create_mmap_info(rdi, sz, udata, u_wc); in rvt_create_cq() 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() 222 spin_unlock_irq(&rdi->n_cqs_lock); in rvt_create_cq() [all …]
|
H A D | mcast.c | 20 void rvt_driver_mcast_init(struct rvt_dev_info *rdi) in rvt_driver_mcast_init() argument 26 spin_lock_init(&rdi->n_mcast_grps_lock); in rvt_driver_mcast_init() 151 static int rvt_mcast_add(struct rvt_dev_info *rdi, struct rvt_ibport *ibp, in rvt_mcast_add() argument 192 rdi->dparms.props.max_mcast_qp_attach) { in rvt_mcast_add() 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() 241 struct rvt_dev_info *rdi = ib_to_rvt(ibqp->device); in rvt_attach_mcast() local [all …]
|
/openbmc/linux/arch/x86/lib/ |
H A D | memmove_64.S | 31 mov %rdi, %rax 34 cmp %rdi, %rsi 38 cmp %rdi, %r8 73 movq %r11, 0*8(%rdi) 74 movq %r10, 1*8(%rdi) 75 movq %r9, 2*8(%rdi) 76 movq %r8, 3*8(%rdi) 77 leaq 4*8(%rdi), %rdi 88 lea -8(%rdi, %rdx), %r10 102 movq %rdi, %r10 [all …]
|
H A D | memcpy_64.S | 36 movq %rdi, %rax 47 movq %rdi, %rax 71 movq %r8, 0*8(%rdi) 72 movq %r9, 1*8(%rdi) 73 movq %r10, 2*8(%rdi) 74 movq %r11, 3*8(%rdi) 75 leaq 4*8(%rdi), %rdi 85 addq %rdx, %rdi 99 movq %r8, -1*8(%rdi) 100 movq %r9, -2*8(%rdi) [all …]
|
H A D | copy_page_64.S | 44 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 …]
|
H A D | memset_64.S | 34 movq %rdi,%r9 47 movq %rdi,%r10 67 movq %rax,(%rdi) 68 movq %rax,8(%rdi) 69 movq %rax,16(%rdi) 70 movq %rax,24(%rdi) 71 movq %rax,32(%rdi) 72 movq %rax,40(%rdi) 73 movq %rax,48(%rdi) 74 movq %rax,56(%rdi) [all …]
|
H A D | csum-copy_64.S | 70 movq (%rdi), %rbx 72 movq 8(%rdi), %r8 74 movq 16(%rdi), %r11 76 movq 24(%rdi), %rdx 79 movq 32(%rdi), %r10 81 movq 40(%rdi), %r15 83 movq 48(%rdi), %r14 85 movq 56(%rdi), %r13 93 prefetcht0 5*64(%rdi) 124 leaq 64(%rdi), %rdi [all …]
|
H A D | copy_user_uncached_64.S | 44 20: movnti %r8,(%rdi) 45 21: movnti %r9,8(%rdi) 46 22: movnti %r10,16(%rdi) 47 23: movnti %r11,24(%rdi) 52 40: movnti %r8,32(%rdi) 53 41: movnti %r9,40(%rdi) 54 42: movnti %r10,48(%rdi) 55 43: movnti %r11,56(%rdi) 58 addq $64,%rdi 103 51: movnti %rax,(%rdi) [all …]
|
H A D | clear_page_64.S | 31 #define PUT(x) movq %rax,x*8(%rdi) 32 movq %rax,(%rdi) 40 leaq 64(%rdi),%rdi 76 0: movb %al,(%rdi) 77 inc %rdi 86 1: movq %rax,(%rdi) 87 addq $8,%rdi 96 10: movq %rax,(%rdi) 97 11: movq %rax,8(%rdi) 98 12: movq %rax,16(%rdi) [all …]
|
/openbmc/linux/tools/arch/x86/lib/ |
H A D | memcpy_64.S | 35 movq %rdi, %rax 46 movq %rdi, %rax 70 movq %r8, 0*8(%rdi) 71 movq %r9, 1*8(%rdi) 72 movq %r10, 2*8(%rdi) 73 movq %r11, 3*8(%rdi) 74 leaq 4*8(%rdi), %rdi 84 addq %rdx, %rdi 98 movq %r8, -1*8(%rdi) 99 movq %r9, -2*8(%rdi) [all …]
|
H A D | memset_64.S | 34 movq %rdi,%r9 47 movq %rdi,%r10 67 movq %rax,(%rdi) 68 movq %rax,8(%rdi) 69 movq %rax,16(%rdi) 70 movq %rax,24(%rdi) 71 movq %rax,32(%rdi) 72 movq %rax,40(%rdi) 73 movq %rax,48(%rdi) 74 movq %rax,56(%rdi) [all …]
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | regs_load.S | 32 movq %rax, AX(%rdi) 33 movq %rbx, BX(%rdi) 34 movq %rcx, CX(%rdi) 35 movq %rdx, DX(%rdi) 36 movq %rsi, SI(%rdi) 37 movq %rdi, DI(%rdi) 38 movq %rbp, BP(%rdi) 41 movq %rax, SP(%rdi) 44 movq %rax, IP(%rdi) 46 movq $0, FLAGS(%rdi) [all …]
|
/openbmc/u-boot/arch/x86/cpu/x86_64/ |
H A D | setjmp.S | 16 movq %rcx, (%rdi) /* Return address */ 17 movq %rsp, 8(%rdi) 18 movq %rbp, 16(%rdi) 19 movq %rbx, 24(%rdi) 20 movq %r12, 32(%rdi) 21 movq %r13, 40(%rdi) 22 movq %r14, 48(%rdi) 23 movq %r15, 56(%rdi) 33 movq (%rdi), %rcx /* Return address */ 34 movq 8(%rdi), %rsp [all …]
|
/openbmc/linux/arch/x86/um/ |
H A D | setjmp_64.S | 27 movq %rbx,(%rdi) 28 movq %rsp,8(%rdi) # Post-return %rsp! 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) 35 movq %rsi,56(%rdi) # Return address 46 movq (%rdi),%rbx 47 movq 8(%rdi),%rsp [all …]
|
/openbmc/linux/include/rdma/ |
H A D | rdma_vt.h | 237 struct pci_dev * (*get_pci_dev)(struct rvt_dev_info *rdi); 245 void * (*qp_priv_alloc)(struct rvt_dev_info *rdi, struct rvt_qp *qp); 251 int (*qp_priv_init)(struct rvt_dev_info *rdi, struct rvt_qp *qp, 257 void (*qp_priv_free)(struct rvt_dev_info *rdi, struct rvt_qp *qp); 268 int (*get_pmtu_from_attr)(struct rvt_dev_info *rdi, struct rvt_qp *qp, 296 u32 (*mtu_from_qp)(struct rvt_dev_info *rdi, struct rvt_qp *qp, 306 int (*get_guid_be)(struct rvt_dev_info *rdi, struct rvt_ibport *rvp, 312 int (*query_port_state)(struct rvt_dev_info *rdi, u32 port_num, 318 int (*shut_down_port)(struct rvt_dev_info *rdi, u32 port_num); 321 void (*cap_mask_chg)(struct rvt_dev_info *rdi, u32 port_num); [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | twofish-x86_64-asm_64.S | 68 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;\ 85 xor s1(%r11,%rdi,4),%r9d;\ 106 mov s1(%r11,%rdi,4),%r8d;\ 108 mov s2(%r11,%rdi,4),%r9d;\ [all …]
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_verbs.c | 277 struct rvt_dev_info *rdi = &dd->verbs_dev.rdi; in qib_ib_rcv() local 343 qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in qib_ib_rcv() 370 spin_lock_irqsave(&dev->rdi.pending_lock, flags); in mem_timer() 379 spin_unlock_irqrestore(&dev->rdi.pending_lock, flags); in mem_timer() 567 spin_lock(&dev->rdi.pending_lock); in __get_txreq() 573 spin_unlock(&dev->rdi.pending_lock); in __get_txreq() 584 spin_unlock(&dev->rdi.pending_lock); in __get_txreq() 597 spin_lock_irqsave(&dev->rdi.pending_lock, flags); in get_txreq() 603 spin_unlock_irqrestore(&dev->rdi.pending_lock, flags); in get_txreq() 607 spin_unlock_irqrestore(&dev->rdi.pending_lock, flags); in get_txreq() [all …]
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csid-gen2.c | 38 #define CSID_CSI2_RDIN_IRQ_STATUS(rdi) ((IS_LITE ? 0x30 : 0x40) \ argument 39 + 0x10 * (rdi)) 40 #define CSID_CSI2_RDIN_IRQ_MASK(rdi) ((IS_LITE ? 0x34 : 0x44) \ argument 41 + 0x10 * (rdi)) 42 #define CSID_CSI2_RDIN_IRQ_CLEAR(rdi) ((IS_LITE ? 0x38 : 0x48) \ argument 43 + 0x10 * (rdi)) 44 #define CSID_CSI2_RDIN_IRQ_SET(rdi) ((IS_LITE ? 0x3C : 0x4C) \ argument 45 + 0x10 * (rdi)) 76 #define CSID_RDI_CFG0(rdi) ((IS_LITE ? 0x200 : 0x300) \ argument 77 + 0x100 * (rdi)) [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | verbs.c | 334 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_kdeth_eager_rcv() local 360 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_kdeth_eager_rcv() 388 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_kdeth_expected_rcv() local 414 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_kdeth_expected_rcv() 460 struct rvt_dev_info *rdi = &ppd->dd->verbs_dev.rdi; in hfi1_handle_packet() local 506 packet->qp = rvt_lookup_qpn(rdi, &ibp->rvp, qp_num); in hfi1_handle_packet() 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() 1295 rdi->dparms.props.fw_ver = ((u64)(dc8051_ver_maj(ver)) << 32) | in hfi1_fill_device_attr() 1299 rdi->dparms.props.device_cap_flags = IB_DEVICE_BAD_PKEY_CNTR | in hfi1_fill_device_attr() [all …]
|
/openbmc/linux/arch/x86/entry/ |
H A D | entry_64.S | 112 movq %rsp, %rdi 194 movq %rsp, %rdi 198 pushq RSP-RDI(%rdi) /* RSP */ 199 pushq (%rdi) /* RDI */ 207 SWITCH_TO_USER_CR3_STACK scratch_reg=%rdi 209 popq %rdi 239 movq %rsp, TASK_threadsp(%rdi) 289 movq %rax, %rdi /* prev */ 347 movq %rsp, %rdi /* pt_regs pointer into 1st argument*/ 469 movq %rsp, %rdi /* pt_regs pointer */ [all …]
|