Home
last modified time | relevance | path

Searched refs:max_priority (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_submitqueue.c220 int default_prio, max_priority; in msm_submitqueue_init() local
225 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init()
232 default_prio = DIV_ROUND_UP(max_priority, 2); in msm_submitqueue_init()
/linux-6.6.21/net/sched/
Dsch_skbprio.c71 const unsigned int max_priority = SKBPRIO_MAX_PRIORITY - 1; in skbprio_enqueue() local
79 prio = min(skb->priority, max_priority); in skbprio_enqueue()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c37 u64 max_priority; in mlxsw_sp_acl_tcam_priority_get() local
48 max_priority = MLXSW_CORE_RES_GET(mlxsw_sp->core, KVD_SIZE) - 1; in mlxsw_sp_acl_tcam_priority_get()
49 if (rulei->priority >= max_priority) in mlxsw_sp_acl_tcam_priority_get()
53 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get()