| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/ |
| D | transobj.c | 163 void *sqc; in mlx5_core_query_sq_state() local 176 sqc = MLX5_ADDR_OF(query_sq_out, out, sq_context); in mlx5_core_query_sq_state() 177 *state = MLX5_GET(sqc, sqc, state); in mlx5_core_query_sq_state() 328 void *sqc, *wq; in mlx5_hairpin_create_sq() local 330 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5_hairpin_create_sq() 331 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5_hairpin_create_sq() 333 MLX5_SET(sqc, sqc, hairpin, 1); in mlx5_hairpin_create_sq() 334 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in mlx5_hairpin_create_sq() 408 void *sqc; in mlx5_hairpin_modify_sq() local 410 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5_hairpin_modify_sq() [all …]
|
| D | en_main.c | 975 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_xdpsq() 1048 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_icosq() 1117 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_txqsq() 1189 void *sqc; in mlx5e_create_sq() local 1200 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5e_create_sq() 1201 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5e_create_sq() 1203 memcpy(sqc, param->sqc, sizeof(param->sqc)); in mlx5e_create_sq() 1204 MLX5_SET(sqc, sqc, tis_lst_sz, csp->tis_lst_sz); in mlx5e_create_sq() 1205 MLX5_SET(sqc, sqc, tis_num_0, csp->tisn); in mlx5e_create_sq() 1206 MLX5_SET(sqc, sqc, cqn, csp->cqn); in mlx5e_create_sq() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| D | setup.c | 41 void *sqc = param->sqc; in mlx5e_build_xskicosq_param() local 42 void *wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5e_build_xskicosq_param()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| D | params.h | 21 u32 sqc[MLX5_ST_SZ_DW(sqc)]; member
|
| /Linux-v5.4/drivers/crypto/hisilicon/ |
| D | qm.c | 1201 struct qm_sqc *sqc; in qm_qp_ctx_cfg() local 1209 sqc = kzalloc(sizeof(struct qm_sqc), GFP_KERNEL); in qm_qp_ctx_cfg() 1210 if (!sqc) in qm_qp_ctx_cfg() 1212 sqc_dma = dma_map_single(dev, sqc, sizeof(struct qm_sqc), in qm_qp_ctx_cfg() 1215 kfree(sqc); in qm_qp_ctx_cfg() 1219 INIT_QC_COMMON(sqc, qp->sqe_dma, pasid); in qm_qp_ctx_cfg() 1221 sqc->dw3 = QM_MK_SQC_DW3_V1(0, 0, 0, qm->sqe_size); in qm_qp_ctx_cfg() 1222 sqc->w8 = QM_Q_DEPTH - 1; in qm_qp_ctx_cfg() 1224 sqc->dw3 = QM_MK_SQC_DW3_V2(qm->sqe_size); in qm_qp_ctx_cfg() 1225 sqc->w8 = 0; /* rand_qc */ in qm_qp_ctx_cfg() [all …]
|
| D | qm.h | 138 struct qm_sqc *sqc; member
|
| /Linux-v5.4/drivers/infiniband/hw/mlx5/ |
| D | qp.c | 1227 void *sqc; in create_raw_packet_qp_sq() local 1251 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in create_raw_packet_qp_sq() 1252 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_raw_packet_qp_sq() 1254 MLX5_SET(sqc, sqc, allow_multi_pkt_send_wqe, 1); in create_raw_packet_qp_sq() 1255 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in create_raw_packet_qp_sq() 1256 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq() 1257 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq() 1258 MLX5_SET(sqc, sqc, tis_lst_sz, 1); in create_raw_packet_qp_sq() 1259 MLX5_SET(sqc, sqc, tis_num_0, sq->tisn); in create_raw_packet_qp_sq() 1262 MLX5_SET(sqc, sqc, allow_swp, 1); in create_raw_packet_qp_sq() [all …]
|
| D | devx.c | 694 void *sqc, *wq; in devx_set_umem_valid() local 696 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in devx_set_umem_valid() 697 wq = MLX5_ADDR_OF(sqc, sqc, wq); in devx_set_umem_valid()
|