/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 278 void *rqc, *wq; in mlx5_hairpin_create_rq() local 280 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5_hairpin_create_rq() 281 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5_hairpin_create_rq() 283 MLX5_SET(rqc, rqc, hairpin, 1); in mlx5_hairpin_create_rq() 284 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5_hairpin_create_rq() 285 MLX5_SET(rqc, rqc, counter_set_id, params->q_counter); in mlx5_hairpin_create_rq() 356 void *rqc; in mlx5_hairpin_modify_rq() local 358 rqc = MLX5_ADDR_OF(modify_rq_in, in, ctx); in mlx5_hairpin_modify_rq() 361 MLX5_SET(rqc, rqc, hairpin_peer_sq, peer_sq); in mlx5_hairpin_modify_rq() 362 MLX5_SET(rqc, rqc, hairpin_peer_vhca, peer_vhca); in mlx5_hairpin_modify_rq() [all …]
|
D | en_main.c | 612 void *wqc = MLX5_ADDR_OF(rqc, rqp->rqc, wq); in mlx5_rq_shampo_alloc() 671 void *rqc = rqp->rqc; in mlx5e_alloc_rq() local 672 void *rqc_wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_alloc_rq() 920 void *rqc; in mlx5e_create_rq() local 934 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in mlx5e_create_rq() 935 wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_create_rq() 937 memcpy(rqc, param->rqc, sizeof(param->rqc)); in mlx5e_create_rq() 939 MLX5_SET(rqc, rqc, cqn, rq->cq.mcq.cqn); in mlx5e_create_rq() 940 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in mlx5e_create_rq() 941 MLX5_SET(rqc, rqc, ts_format, ts_format); in mlx5e_create_rq() [all …]
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 878 void *rqc = param->rqc; in mlx5e_build_rq_param() local 879 void *wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_build_rq_param() 914 MLX5_SET(rqc, rqc, reservation_timeout, in mlx5e_build_rq_param() 916 MLX5_SET(rqc, rqc, shampo_match_criteria_type, in mlx5e_build_rq_param() 918 MLX5_SET(rqc, rqc, shampo_no_match_alignment_granularity, in mlx5e_build_rq_param() 936 MLX5_SET(rqc, rqc, counter_set_id, q_counter); in mlx5e_build_rq_param() 937 MLX5_SET(rqc, rqc, vsd, params->vlan_strip_disable); in mlx5e_build_rq_param() 938 MLX5_SET(rqc, rqc, scatter_fcs, params->scatter_fcs_en); in mlx5e_build_rq_param() 950 void *rqc = param->rqc; in mlx5e_build_drop_rq_param() local 951 void *wq = MLX5_ADDR_OF(rqc, rqc, wq); in mlx5e_build_drop_rq_param() [all …]
|
D | params.h | 24 u32 rqc[MLX5_ST_SZ_DW(rqc)]; member
|
D | reporter_rx.c | 15 void *rqc; in mlx5e_query_rq_state() local 26 rqc = MLX5_ADDR_OF(query_rq_out, out, rq_context); in mlx5e_query_rq_state() 27 *state = MLX5_GET(rqc, rqc, state); in mlx5e_query_rq_state()
|
/linux-6.1.9/drivers/infiniband/hw/mlx5/ |
D | qp.c | 1355 void *rqc; in create_raw_packet_qp_rq() local 1383 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in create_raw_packet_qp_rq() 1385 MLX5_SET(rqc, rqc, vsd, 1); in create_raw_packet_qp_rq() 1386 MLX5_SET(rqc, rqc, mem_rq_type, MLX5_RQC_MEM_RQ_TYPE_MEMORY_RQ_INLINE); in create_raw_packet_qp_rq() 1387 MLX5_SET(rqc, rqc, state, MLX5_RQC_STATE_RST); in create_raw_packet_qp_rq() 1388 MLX5_SET(rqc, rqc, ts_format, ts_format); in create_raw_packet_qp_rq() 1389 MLX5_SET(rqc, rqc, flush_in_error_en, 1); in create_raw_packet_qp_rq() 1390 MLX5_SET(rqc, rqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_rq() 1391 MLX5_SET(rqc, rqc, cqn, MLX5_GET(qpc, qpc, cqn_rcv)); in create_raw_packet_qp_rq() 1394 MLX5_SET(rqc, rqc, scatter_fcs, 1); in create_raw_packet_qp_rq() [all …]
|
D | devx.c | 705 void *rqc, *wq; in devx_set_umem_valid() local 707 rqc = MLX5_ADDR_OF(create_rq_in, in, ctx); in devx_set_umem_valid() 708 wq = MLX5_ADDR_OF(rqc, rqc, wq); in devx_set_umem_valid()
|
/linux-6.1.9/drivers/dma/ |
D | pl330.c | 1431 static inline u32 _prepare_ccr(const struct pl330_reqcfg *rqc) in _prepare_ccr() argument 1435 if (rqc->src_inc) in _prepare_ccr() 1438 if (rqc->dst_inc) in _prepare_ccr() 1442 if (rqc->privileged) in _prepare_ccr() 1444 if (rqc->nonsecure) in _prepare_ccr() 1446 if (rqc->insnaccess) in _prepare_ccr() 1449 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_SRCBRSTLEN_SHFT); in _prepare_ccr() 1450 ccr |= (((rqc->brst_len - 1) & 0xf) << CC_DSTBRSTLEN_SHFT); in _prepare_ccr() 1452 ccr |= (rqc->brst_size << CC_SRCBRSTSIZE_SHFT); in _prepare_ccr() 1453 ccr |= (rqc->brst_size << CC_DSTBRSTSIZE_SHFT); in _prepare_ccr() [all …]
|
/linux-6.1.9/drivers/net/vmxnet3/ |
D | vmxnet3_drv.c | 2591 struct Vmxnet3_RxQueueConf *rqc; in vmxnet3_setup_driver_shared() local 2654 rqc = &adapter->rqd_start[i].conf; in vmxnet3_setup_driver_shared() 2655 rqc->rxRingBasePA[0] = cpu_to_le64(rq->rx_ring[0].basePA); in vmxnet3_setup_driver_shared() 2656 rqc->rxRingBasePA[1] = cpu_to_le64(rq->rx_ring[1].basePA); in vmxnet3_setup_driver_shared() 2657 rqc->compRingBasePA = cpu_to_le64(rq->comp_ring.basePA); in vmxnet3_setup_driver_shared() 2658 rqc->ddPA = cpu_to_le64(~0ULL); in vmxnet3_setup_driver_shared() 2659 rqc->rxRingSize[0] = cpu_to_le32(rq->rx_ring[0].size); in vmxnet3_setup_driver_shared() 2660 rqc->rxRingSize[1] = cpu_to_le32(rq->rx_ring[1].size); in vmxnet3_setup_driver_shared() 2661 rqc->compRingSize = cpu_to_le32(rq->comp_ring.size); in vmxnet3_setup_driver_shared() 2662 rqc->ddLen = cpu_to_le32(0); in vmxnet3_setup_driver_shared() [all …]
|
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 1012 int rqc = adapter->rx_queue_count; in atl1c_setup_ring_resources() local 1028 rfd_ring->count * rqc); in atl1c_setup_ring_resources() 1040 for (i = 0; i < rqc; i++) { in atl1c_setup_ring_resources() 1056 sizeof(struct atl1c_rx_free_desc) * rfd_ring->count * rqc + in atl1c_setup_ring_resources() 1057 sizeof(struct atl1c_recv_ret_status) * rfd_ring->count * rqc + in atl1c_setup_ring_resources() 1077 for (i = 0; i < rqc; i++) { in atl1c_setup_ring_resources()
|