Searched refs:sched_ctx (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | qos.c | 29 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_leaf_node() local 37 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_leaf_node() 39 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_leaf_node() 43 sched_ctx, id); in mlx5_qos_create_leaf_node() 49 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_create_inner_node() local 61 MLX5_SET(scheduling_context, sched_ctx, element_type, in mlx5_qos_create_inner_node() 63 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_create_inner_node() 70 sched_ctx, id); in mlx5_qos_create_inner_node() 81 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {0}; in mlx5_qos_update_node() local 84 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in mlx5_qos_update_node() [all …]
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | qos.c | 190 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_sched_elem_config() local 206 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, max_rate); in esw_qos_sched_elem_config() 210 MLX5_SET(scheduling_context, sched_ctx, bw_share, bw_share); in esw_qos_sched_elem_config() 216 sched_ctx, in esw_qos_sched_elem_config() 356 u32 sched_ctx[MLX5_ST_SZ_DW(scheduling_context)] = {}; in esw_qos_vport_create_sched_element() local 365 MLX5_SET(scheduling_context, sched_ctx, element_type, in esw_qos_vport_create_sched_element() 367 attr = MLX5_ADDR_OF(scheduling_context, sched_ctx, element_attributes); in esw_qos_vport_create_sched_element() 369 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, vport_node->parent->ix); in esw_qos_vport_create_sched_element() 370 MLX5_SET(scheduling_context, sched_ctx, max_average_bw, vport_node->max_rate); in esw_qos_vport_create_sched_element() 372 return esw_qos_node_create_sched_element(vport_node, sched_ctx, extack); in esw_qos_vport_create_sched_element()
|
| /linux-6.15/drivers/gpu/drm/lima/ |
| H A D | lima_sched.c | 276 struct lima_sched_context *sched_ctx = in lima_sched_build_error_task_list() local 280 container_of(sched_ctx, struct lima_ctx, context[pipe_id]); in lima_sched_build_error_task_list()
|