Home
last modified time | relevance | path

Searched refs:MLX5_SET64 (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dmr.c71 MLX5_SET64(mkc, mkc, start_addr, mr->offset); in create_direct_mr()
72 MLX5_SET64(mkc, mkc, len, mr->end - mr->start); in create_direct_mr()
208 MLX5_SET64(mkc, mkc, start_addr, start); in create_indirect_key()
209 MLX5_SET64(mkc, mkc, len, len); in create_indirect_key()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Ddm.c60 MLX5_SET64(alloc_memic_in, in, range_start_addr, in mlx5_cmd_alloc_memic()
101 MLX5_SET64(dealloc_memic_in, in, memic_start_addr, addr); in mlx5_cmd_dealloc_memic()
123 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_dealloc_memic_op()
139 MLX5_SET64(modify_memic_in, in, memic_start_addr, addr - dev->bar_addr); in mlx5_cmd_alloc_memic_op()
H A Dqp.c1398 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_sq()
1486 MLX5_SET64(wq, wq, dbr_addr, MLX5_GET64(qpc, qpc, dbr_addr)); in create_raw_packet_qp_rq()
2036 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_xrc_tgt_qp()
2181 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_dci()
2376 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_user_qp()
2519 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in create_kernel_qp()
2750 MLX5_SET64(dctc, dctc, dc_access_key, ucmd->access_key); in create_dct()
3806 MLX5_SET64(modify_rq_in, in, modify_bitmask, in modify_raw_packet_qp_rq()
3873 MLX5_SET64(modify_sq_in, in, modify_bitmask, 1); in modify_raw_packet_qp_sq()
4069 MLX5_SET64(modify_rq_in, in, modify_bitmask, in __mlx5_ib_qp_set_raw_qp_counter()
[all …]
H A Dumr.c547 MLX5_SET64(mkc, mkey_seg, start_addr, mr->ibmr.iova); in mlx5r_umr_set_update_xlt_mkey_seg()
548 MLX5_SET64(mkc, mkey_seg, len, mr->ibmr.length); in mlx5r_umr_set_update_xlt_mkey_seg()
H A Dsrq_cmd.c37 MLX5_SET64(wq, wq, dbr_addr, in->db_record); in set_wq()
50 MLX5_SET64(srqc, srqc, dbr_addr, in->db_record); in set_srqc()
H A Dmr.c84 MLX5_SET64(mkc, mkc, start_addr, start_addr); in set_mkc_access_pd_addr_fields()
1268 MLX5_SET64(mkc, mkc, len, umem->length); in reg_create()
1326 MLX5_SET64(mkc, mkc, len, length); in mlx5_ib_get_dm_mr()
H A Dcq.c1010 MLX5_SET64(cqc, cqc, dbr_addr, cq->db.dma); in mlx5_ib_create_cq()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dcmd.c339 MLX5_SET64(mkc, mkc, len, npages * PAGE_SIZE); in _create_mkey()
789 MLX5_SET64(page_track_range, addr_range_i_base, start_address, in mlx5vf_create_tracker()
791 MLX5_SET64(page_track_range, addr_range_i_base, length, length); in mlx5vf_create_tracker()
846 MLX5_SET64(page_track, obj_context, modify_field_select, 0x3); in mlx5vf_cmd_modify_tracker()
847 MLX5_SET64(page_track, obj_context, range_start_address, iova); in mlx5vf_cmd_modify_tracker()
848 MLX5_SET64(page_track, obj_context, length, length); in mlx5vf_cmd_modify_tracker()
993 MLX5_SET64(cqc, cqc, dbr_addr, cq->db.dma); in mlx5vf_create_cq()
1075 MLX5_SET64(qpc, qpc, dbr_addr, qp->db.dma); in mlx5vf_create_rc_qp()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Daso.c106 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in create_aso_cq()
209 MLX5_SET64(wq, wq, dbr_addr, sq->wq_ctrl.db.dma); in create_aso_sq()
H A Ddm.c195 MLX5_SET64(sw_icm, sw_icm, sw_icm_start_addr, in mlx5_dm_sw_icm_alloc()
H A Dclock.c234 MLX5_SET64(mtpps_reg, in, time_stamp, tstart); in mlx5_pps_out()
688 MLX5_SET64(mtpps_reg, in, time_stamp, time_stamp); in mlx5_perout_configure()
690 MLX5_SET64(mtpps_reg, in, npps_period, npps_period); in mlx5_perout_configure()
H A Dcrypto.c207 MLX5_SET64(encryption_key_obj, obj, modify_field_select, 1); in mlx5_crypto_modify_dek_key()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
H A Ddr_cmd.c482 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
485 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
488 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
490 MLX5_SET64(flow_table_context, ft_mdev, in mlx5dr_cmd_create_flow_table()
H A Ddr_icm_pool.c72 MLX5_SET64(mkc, mkc, len, length); in dr_icm_create_dm_mkey()
75 MLX5_SET64(mkc, mkc, start_addr, start_addr); in dr_icm_create_dm_mkey()
H A Ddr_send.c321 MLX5_SET64(qpc, qpc, dbr_addr, dr_qp->wq_ctrl.db.dma); in dr_create_rc_qp()
1112 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in dr_create_cq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcmd.c58 MLX5_SET64(fpga_access_reg, in, address, addr); in mlx5_fpga_access_reg()
H A Dconn.c460 MLX5_SET64(cqc, cqc, dbr_addr, conn->cq.wq_ctrl.db.dma); in mlx5_fpga_conn_create_cq()
577 MLX5_SET64(qpc, qpc, dbr_addr, conn->qp.wq_ctrl.db.dma); in mlx5_fpga_conn_create_qp()
688 MLX5_SET64(qpc, qpc, dbr_addr, conn->qp.wq_ctrl.db.dma); in mlx5_fpga_conn_init_qp()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c485 MLX5_SET64(nic_vport_context, nic_vport_context, node_guid, node_guid); in mlx5_modify_nic_vport_node_guid()
1061 MLX5_SET64(hca_vport_context, ctx, port_guid, req->port_guid); in mlx5_core_modify_hca_vport_context()
1063 MLX5_SET64(hca_vport_context, ctx, node_guid, req->node_guid); in mlx5_core_modify_hca_vport_context()
H A Den_main.c379 MLX5_SET64(mkc, mkc, len, npages << page_shift); in mlx5e_create_umr_mkey()
992 MLX5_SET64(wq, wq, dbr_addr, rq->wq_ctrl.db.dma); in mlx5e_create_rq()
1094 MLX5_SET64(modify_rq_in, in, modify_bitmask, in mlx5e_modify_rq_vsd()
1608 MLX5_SET64(wq, wq, dbr_addr, csp->wq_ctrl->db.dma); in mlx5e_create_sq()
1646 MLX5_SET64(modify_sq_in, in, modify_bitmask, bitmask); in mlx5e_modify_sq()
2016 MLX5_SET64(cqc, cqc, dbr_addr, cq->wq_ctrl.db.dma); in mlx5e_create_cq()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c111 MLX5_SET64(resource_dump, cmd->cmd, address, dma); in mlx5_rsc_dump_trigger()
H A Dfw_tracer.c208 MLX5_SET64(mkc, mkc, start_addr, tracer->buff.dma); in mlx5_fw_tracer_create_mkey()
209 MLX5_SET64(mkc, mkc, len, tracer->buff.size); in mlx5_fw_tracer_create_mkey()
/openbmc/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c434 MLX5_SET64(qpc, qpc, dbr_addr, vqp->db.dma); in qp_create()
589 MLX5_SET64(cqc, cqc, dbr_addr, vcq->db.dma); in cq_create()
725 MLX5_SET64(umem, um, num_of_mtt, umem->frag_buf.npages); in create_umem()
911 MLX5_SET64(virtio_q, vq_ctx, desc_addr, mvq->desc_addr); in create_virtqueue()
912 MLX5_SET64(virtio_q, vq_ctx, used_addr, mvq->device_addr); in create_virtqueue()
913 MLX5_SET64(virtio_q, vq_ctx, available_addr, mvq->driver_addr); in create_virtqueue()
1198 MLX5_SET64(virtio_net_q_object, obj_context, modify_field_select, in modify_virtqueue()
1458 MLX5_SET64(modify_rqt_in, in, bitmask, MLX5_MODIFY_RQT_NUM_RQS); in modify_rqt()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dmacsec.c267 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)attrs->ssci); in mlx5e_macsec_create_object()
272 MLX5_SET64(macsec_offload_obj, obj, sci, (__force u64)(attrs->sci)); in mlx5e_macsec_create_object()
1339 MLX5_SET64(macsec_offload_obj, obj, modify_field_select, in mlx5e_macsec_modify_obj()
H A Dipsec_offload.c273 MLX5_SET64(ipsec_obj, obj, modify_field_select, in mlx5_modify_ipsec_obj()
/openbmc/linux/include/linux/mlx5/
H A Ddevice.h111 #define MLX5_SET64(typ, p, fld, v) do { \ macro

12