/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | transobj.c | 153 void *sqc; in mlx5_core_query_sq_state() local 166 sqc = MLX5_ADDR_OF(query_sq_out, out, sq_context); in mlx5_core_query_sq_state() 167 *state = MLX5_GET(sqc, sqc, state); in mlx5_core_query_sq_state() 297 void *sqc, *wq; in mlx5_hairpin_create_sq() local 299 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5_hairpin_create_sq() 300 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5_hairpin_create_sq() 302 MLX5_SET(sqc, sqc, hairpin, 1); in mlx5_hairpin_create_sq() 303 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in mlx5_hairpin_create_sq() 376 void *sqc; in mlx5_hairpin_modify_sq() local 378 sqc = MLX5_ADDR_OF(modify_sq_in, in, ctx); in mlx5_hairpin_modify_sq() [all …]
|
D | en_main.c | 985 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_xdpsq() 1069 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_icosq() 1165 void *sqc_wq = MLX5_ADDR_OF(sqc, param->sqc, wq); in mlx5e_alloc_txqsq() 1235 void *sqc; in mlx5e_create_sq() local 1246 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in mlx5e_create_sq() 1247 wq = MLX5_ADDR_OF(sqc, sqc, wq); in mlx5e_create_sq() 1249 memcpy(sqc, param->sqc, sizeof(param->sqc)); in mlx5e_create_sq() 1250 MLX5_SET(sqc, sqc, tis_lst_sz, csp->tis_lst_sz); in mlx5e_create_sq() 1251 MLX5_SET(sqc, sqc, tis_num_0, csp->tisn); in mlx5e_create_sq() 1252 MLX5_SET(sqc, sqc, cqn, csp->cqn); in mlx5e_create_sq() [all …]
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | qm.c | 59 #define QM_SQ_TAIL_IDX(sqc) ((le16_to_cpu((sqc)->w11) >> 6) & 0x1) argument 1143 struct qm_sqc *sqc, *sqc_curr; in qm_sqc_dump() local 1157 sqc = qm_ctx_alloc(qm, sizeof(*sqc), &sqc_dma); in qm_sqc_dump() 1158 if (IS_ERR(sqc)) in qm_sqc_dump() 1159 return PTR_ERR(sqc); in qm_sqc_dump() 1164 if (qm->sqc) { in qm_sqc_dump() 1165 sqc_curr = qm->sqc + qp_id; in qm_sqc_dump() 1167 ret = dump_show(qm, sqc_curr, sizeof(*sqc), in qm_sqc_dump() 1177 ret = dump_show(qm, sqc, sizeof(*sqc), "SQC"); in qm_sqc_dump() 1182 qm_ctx_free(qm, sizeof(*sqc), sqc, &sqc_dma); in qm_sqc_dump() [all …]
|
D | qm.h | 216 struct qm_sqc *sqc; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.h | 30 u32 sqc[MLX5_ST_SZ_DW(sqc)]; member
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | qp.c | 1207 void *sqc; in create_raw_packet_qp_sq() local 1231 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in create_raw_packet_qp_sq() 1232 MLX5_SET(sqc, sqc, flush_in_error_en, 1); in create_raw_packet_qp_sq() 1234 MLX5_SET(sqc, sqc, allow_multi_pkt_send_wqe, 1); in create_raw_packet_qp_sq() 1235 MLX5_SET(sqc, sqc, state, MLX5_SQC_STATE_RST); in create_raw_packet_qp_sq() 1236 MLX5_SET(sqc, sqc, user_index, MLX5_GET(qpc, qpc, user_index)); in create_raw_packet_qp_sq() 1237 MLX5_SET(sqc, sqc, cqn, MLX5_GET(qpc, qpc, cqn_snd)); in create_raw_packet_qp_sq() 1238 MLX5_SET(sqc, sqc, tis_lst_sz, 1); in create_raw_packet_qp_sq() 1239 MLX5_SET(sqc, sqc, tis_num_0, sq->tisn); in create_raw_packet_qp_sq() 1242 MLX5_SET(sqc, sqc, allow_swp, 1); in create_raw_packet_qp_sq() [all …]
|
D | devx.c | 645 void *sqc, *wq; in devx_set_umem_valid() local 647 sqc = MLX5_ADDR_OF(create_sq_in, in, ctx); in devx_set_umem_valid() 648 wq = MLX5_ADDR_OF(sqc, sqc, wq); in devx_set_umem_valid()
|