Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 508) sorted by relevance

12345678910>>...21

/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sched.c65 enum drm_sched_priority priority) in amdgpu_sched_process_priority_override() argument
86 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override()
96 enum drm_sched_priority priority) in amdgpu_sched_context_priority_override() argument
119 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override()
131 enum drm_sched_priority priority; in amdgpu_sched_ioctl() local
145 r = amdgpu_to_sched_priority(args->in.priority, &priority); in amdgpu_sched_ioctl()
153 priority); in amdgpu_sched_ioctl()
159 priority); in amdgpu_sched_ioctl()
Damdgpu_ctx.c47 enum drm_sched_priority priority) in amdgpu_ctx_priority_permit() argument
49 if (priority < 0 || priority >= DRM_SCHED_PRIORITY_COUNT) in amdgpu_ctx_priority_permit()
53 if (priority <= DRM_SCHED_PRIORITY_NORMAL) in amdgpu_ctx_priority_permit()
100 enum drm_sched_priority priority; in amdgpu_ctx_init_entity() local
109 priority = (ctx->override_priority == DRM_SCHED_PRIORITY_UNSET) ? in amdgpu_ctx_init_entity()
111 hw_prio = amdgpu_ctx_prio_sched_to_hw(adev, priority, hw_ip); in amdgpu_ctx_init_entity()
127 r = drm_sched_entity_init(&entity->entity, priority, scheds, num_scheds, in amdgpu_ctx_init_entity()
142 enum drm_sched_priority priority, in amdgpu_ctx_init() argument
148 r = amdgpu_ctx_priority_permit(filp, priority); in amdgpu_ctx_init()
163 ctx->init_priority = priority; in amdgpu_ctx_init()
[all …]
/drivers/platform/x86/
Dintel_turbo_max_3.c93 int priority; in itmt_legacy_cpu_online() local
95 priority = get_oc_core_priority(cpu); in itmt_legacy_cpu_online()
96 if (priority < 0) in itmt_legacy_cpu_online()
99 sched_set_itmt_core_prio(priority, cpu); in itmt_legacy_cpu_online()
103 if (priority > max_highest_perf) in itmt_legacy_cpu_online()
104 max_highest_perf = priority; in itmt_legacy_cpu_online()
106 if (priority < min_highest_perf) in itmt_legacy_cpu_online()
107 min_highest_perf = priority; in itmt_legacy_cpu_online()
/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c56 rq->sched.attr.priority); in show_heartbeat()
62 .priority = I915_USER_PRIORITY(I915_PRIORITY_MIN), in heartbeat()
98 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat()
105 attr.priority = I915_PRIORITY_MASK; in heartbeat()
106 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
107 attr.priority |= I915_USER_PRIORITY(I915_PRIORITY_HEARTBEAT); in heartbeat()
108 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
109 attr.priority = I915_PRIORITY_BARRIER; in heartbeat()
182 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse()
201 GEM_BUG_ON(rq->sched.attr.priority < I915_PRIORITY_BARRIER); in __intel_engine_pulse()
/drivers/gpu/drm/i915/
Di915_scheduler.c58 GEM_BUG_ON(p->priority > last_prio); in assert_priolists()
59 last_prio = p->priority; in assert_priolists()
96 if (prio > p->priority) { in i915_sched_lookup_priolist()
98 } else if (prio < p->priority) { in i915_sched_lookup_priolist()
127 p->priority = prio; in i915_sched_lookup_priolist()
177 return rq->sched.attr.priority; in rq_prio()
224 inflight->sched.attr.priority); in kick_submission()
237 const int prio = max(attr->priority, node->attr.priority); in __i915_schedule()
291 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule()
302 if (node->attr.priority == I915_PRIORITY_INVALID) { in __i915_schedule()
[all …]
/drivers/dma/fsl-dpaa2-qdma/
Ddpdmai.c20 u8 priority; member
294 u8 priority, const struct dpdmai_rx_queue_cfg *cfg) in dpdmai_set_rx_queue() argument
305 cmd_params->priority = cfg->dest_cfg.priority; in dpdmai_set_rx_queue()
306 cmd_params->queue = priority; in dpdmai_set_rx_queue()
328 u8 priority, struct dpdmai_rx_queue_attr *attr) in dpdmai_get_rx_queue() argument
339 cmd_params->queue = priority; in dpdmai_get_rx_queue()
348 attr->dest_cfg.priority = cmd_params->priority; in dpdmai_get_rx_queue()
369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() argument
381 cmd_params->queue = priority; in dpdmai_get_tx_queue()
/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c42 u8 priority; in i40e_parse_ieee_etscfg_tlv() local
72 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etscfg_tlv()
74 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv()
75 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etscfg_tlv()
77 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv()
112 u8 priority; in i40e_parse_ieee_etsrec_tlv() local
127 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etsrec_tlv()
129 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv()
130 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etsrec_tlv()
132 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv()
[all …]
Di40e_dcb_nl.c167 prio = dcbxcfg->app[i].priority; in i40e_dcbnl_set_all()
174 sapp.priority = prio; in i40e_dcbnl_set_all()
202 sapp.priority = app->priority; in i40e_dcbnl_vsi_del_app()
223 app->protocolid, app->priority); in i40e_dcbnl_del_app()
243 app->priority == cfg->app[i].priority) in i40e_dcbnl_find_app()
/drivers/net/ethernet/sfc/
Defx.h122 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
125 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
140 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
143 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
147 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument
149 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
156 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument
159 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
Dfilter.h156 u32 priority:2; member
180 enum efx_filter_priority priority, in efx_filter_init_rx() argument
185 spec->priority = priority; in efx_filter_init_rx()
195 spec->priority = EFX_FILTER_PRI_REQUIRED; in efx_filter_init_tx()
Dmcdi_filters.h125 enum efx_filter_priority priority,
128 enum efx_filter_priority priority,
132 enum efx_filter_priority priority);
134 enum efx_filter_priority priority);
137 enum efx_filter_priority priority,
Dmcdi_filters.c255 if (rc && spec->priority != EFX_FILTER_PRI_HINT) in efx_mcdi_filter_push()
407 if (spec->priority < saved_spec->priority && in efx_mcdi_filter_insert_locked()
408 spec->priority != EFX_FILTER_PRI_AUTO) { in efx_mcdi_filter_insert_locked()
414 if (spec->priority == in efx_mcdi_filter_insert_locked()
415 saved_spec->priority && in efx_mcdi_filter_insert_locked()
422 } else if (spec->priority > in efx_mcdi_filter_insert_locked()
423 saved_spec->priority || in efx_mcdi_filter_insert_locked()
424 (spec->priority == in efx_mcdi_filter_insert_locked()
425 saved_spec->priority && in efx_mcdi_filter_insert_locked()
446 if (spec->priority == EFX_FILTER_PRI_AUTO && in efx_mcdi_filter_insert_locked()
[all …]
/drivers/staging/rtl8192e/
Drtllib_tx.c296 skb->priority, TX_DIR, true)) { in rtllib_tx_query_agg_cap()
508 skb->priority, TX_DIR, true)) in rtllib_query_seqnum()
519 switch (skb->priority) { in wme_downgrade_ac()
522 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
526 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
530 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac()
642 skb->priority = rtllib_classify(skb, IsAmsdu); in rtllib_xmit_inter()
718 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { in rtllib_xmit_inter()
720 skb->priority); in rtllib_xmit_inter()
724 skb->priority); in rtllib_xmit_inter()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_tcam.c34 u32 *priority, bool fillup_priority) in mlxsw_sp_acl_tcam_priority_get() argument
39 *priority = 0; in mlxsw_sp_acl_tcam_priority_get()
48 if (rulei->priority >= max_priority) in mlxsw_sp_acl_tcam_priority_get()
52 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get()
175 unsigned int priority; /* Priority within the vregion and group */ member
197 .key_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, priority),
347 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()
359 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()
381 unsigned int priority, in mlxsw_sp_acl_tcam_group_region_attach() argument
404 priority) in mlxsw_sp_acl_tcam_group_region_attach()
[all …]
Dspectrum_acl_ctcam.c50 u32 priority; in mlxsw_sp_acl_ctcam_region_entry_insert() local
55 err = mlxsw_sp_acl_tcam_priority_get(mlxsw_sp, rulei, &priority, in mlxsw_sp_acl_ctcam_region_entry_insert()
62 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_insert()
105 unsigned int priority) in mlxsw_sp_acl_ctcam_region_entry_action_replace() argument
112 centry->parman_item.index, priority); in mlxsw_sp_acl_ctcam_region_entry_action_replace()
178 unsigned int priority) in mlxsw_sp_acl_ctcam_chunk_init() argument
180 parman_prio_init(cregion->parman, &cchunk->parman_prio, priority); in mlxsw_sp_acl_ctcam_chunk_init()
232 rulei->priority); in mlxsw_sp_acl_ctcam_entry_action_replace()
Dspectrum_trap.c23 u8 priority; member
359 .priority = 0,
364 .priority = 0,
369 .priority = 2,
374 .priority = 0,
379 .priority = 0,
384 .priority = 5,
389 .priority = 5,
394 .priority = 5,
399 .priority = 3,
[all …]
Dspectrum_matchall.c167 if (mall_entry->priority < block->mall.min_prio) in mlxsw_sp_mall_prio_update()
168 block->mall.min_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
169 if (mall_entry->priority > block->mall.max_prio) in mlxsw_sp_mall_prio_update()
170 block->mall.max_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
219 mall_entry->priority = f->common.prio; in mlxsw_sp_mall_replace()
226 mall_entry->priority >= flower_min_prio) { in mlxsw_sp_mall_replace()
232 mall_entry->priority <= flower_max_prio) { in mlxsw_sp_mall_replace()
247 mall_entry->priority >= flower_min_prio) { in mlxsw_sp_mall_replace()
/drivers/net/ethernet/sfc/falcon/
Defx.h124 enum ef4_filter_priority priority, in ef4_filter_remove_id_safe() argument
127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe()
142 enum ef4_filter_priority priority, in ef4_filter_get_filter_safe() argument
145 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in ef4_filter_get_filter_safe()
149 enum ef4_filter_priority priority) in ef4_filter_count_rx_used() argument
151 return efx->type->filter_count_rx_used(efx, priority); in ef4_filter_count_rx_used()
158 enum ef4_filter_priority priority, in ef4_filter_get_rx_ids() argument
161 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in ef4_filter_get_rx_ids()
Dfilter.h130 u32 priority:2; member
153 enum ef4_filter_priority priority, in ef4_filter_init_rx() argument
158 spec->priority = priority; in ef4_filter_init_rx()
168 spec->priority = EF4_FILTER_PRI_REQUIRED; in ef4_filter_init_tx()
/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h19 u8 priority; member
25 u8 priority; member
34 u8 priority; member
48 u8 priority; member
60 u8 priority; member
Dieee80211_tx.c308 if (!GetTs(ieee, (struct ts_common_info **)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) { in ieee80211_tx_query_agg_cap()
522 if (!GetTs(ieee, (struct ts_common_info **)(&pTS), dst, skb->priority, TX_DIR, true)) { in ieee80211_query_seqnum()
649 skb->priority = ieee80211_classify(skb, &ieee->current_network); in ieee80211_xmit()
650 qos_ctl |= skb->priority; //set in the ieee80211_classify in ieee80211_xmit()
694 txb->queue_index = UP2AC(skb->priority); in ieee80211_xmit()
704 skb_frag->priority = skb->priority;//UP2AC(skb->priority); in ieee80211_xmit()
705 tcb_desc->queue_index = UP2AC(skb->priority); in ieee80211_xmit()
707 skb_frag->priority = WME_AC_BK; in ieee80211_xmit()
738 frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority) + 1] << 4 | i); in ieee80211_xmit()
767 if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF) in ieee80211_xmit()
[all …]
/drivers/crypto/caam/
Ddpseci.c208 cmd_params->priority = cfg->dest_cfg.priority; in dpseci_set_rx_queue()
248 attr->dest_cfg.priority = cmd_params->priority; in dpseci_get_rx_queue()
290 attr->priority = rsp_params->priority; in dpseci_get_tx_queue()
394 cmd_params->priority = cfg->dest_cfg.priority; in dpseci_set_congestion_notification()
434 cfg->dest_cfg.priority = rsp_params->priority; in dpseci_get_congestion_notification()
/drivers/net/
Deql.c343 skb->priority = TC_PRIO_FILLER; in eql_slave_xmit()
431 s->priority = srq.priority; in eql_enslave()
432 s->priority_bps = srq.priority; in eql_enslave()
433 s->priority_Bps = srq.priority / 8; in eql_enslave()
498 sc.priority = slave->priority; in eql_g_slave_cfg()
532 slave->priority = sc.priority; in eql_s_slave_cfg()
533 slave->priority_bps = sc.priority; in eql_s_slave_cfg()
534 slave->priority_Bps = sc.priority / 8; in eql_s_slave_cfg()
/drivers/gpu/drm/scheduler/
Dsched_entity.c54 enum drm_sched_priority priority, in drm_sched_entity_init() argument
67 entity->priority = priority; in drm_sched_entity_init()
72 entity->rq = &sched_list[0]->sched_rq[entity->priority]; in drm_sched_entity_init()
350 enum drm_sched_priority priority) in drm_sched_entity_set_priority() argument
353 entity->priority = priority; in drm_sched_entity_set_priority()
468 rq = sched ? &sched->sched_rq[entity->priority] : NULL; in drm_sched_entity_select_rq()
/drivers/staging/rtl8188eu/core/
Drtw_xmit.c340 u8 qos_acm(u8 acm_mask, u8 priority) in qos_acm() argument
342 u8 change_priority = priority; in qos_acm()
344 switch (priority) { in qos_acm()
365 __func__, priority); in qos_acm()
378 pattrib->priority = ip_hdr.tos >> 5; in set_qos()
384 pattrib->priority = 7; in set_qos()
386 pattrib->priority = 0; in set_qos()
494 pattrib->priority = 0; in update_attrib()
505 pattrib->priority = qos_acm(pmlmepriv->acm_mask, pattrib->priority); in update_attrib()
597 u8 priority[4] = {}; in xmitframe_addmic() local
[all …]

12345678910>>...21