Home
last modified time | relevance | path

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

12345678910>>...23

/drivers/platform/x86/intel/
Dturbo_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/amd/amdgpu/
Damdgpu_sched.c37 int32_t priority) in amdgpu_sched_process_priority_override() argument
58 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override()
68 int32_t priority) in amdgpu_sched_context_priority_override() argument
91 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override()
116 if (!amdgpu_ctx_priority_is_valid(args->in.priority)) { in amdgpu_sched_ioctl()
117 WARN(1, "Invalid context priority %d\n", args->in.priority); in amdgpu_sched_ioctl()
125 args->in.priority); in amdgpu_sched_ioctl()
131 args->in.priority); in amdgpu_sched_ioctl()
Damdgpu_ctx.c100 int32_t priority) in amdgpu_ctx_priority_permit() argument
103 if (priority <= AMDGPU_CTX_PRIORITY_NORMAL) in amdgpu_ctx_priority_permit()
319 static int amdgpu_ctx_init(struct amdgpu_ctx_mgr *mgr, int32_t priority, in amdgpu_ctx_init() argument
326 r = amdgpu_ctx_priority_permit(filp, priority); in amdgpu_ctx_init()
339 ctx->init_priority = priority; in amdgpu_ctx_init()
475 int32_t priority, in amdgpu_ctx_alloc() argument
495 r = amdgpu_ctx_init(mgr, priority, filp, ctx); in amdgpu_ctx_alloc()
669 int32_t priority; in amdgpu_ctx_ioctl() local
676 priority = args->in.priority; in amdgpu_ctx_ioctl()
682 if (!amdgpu_ctx_priority_is_valid(priority)) in amdgpu_ctx_ioctl()
[all …]
/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c41 if (rq && rq->sched.attr.priority >= I915_PRIORITY_BARRIER && in next_heartbeat()
111 rq->sched.attr.priority); in show_heartbeat()
137 struct i915_sched_attr attr = { .priority = I915_PRIORITY_MIN }; in heartbeat()
184 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat()
191 attr.priority = 0; in heartbeat()
192 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
193 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat()
194 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
195 attr.priority = I915_PRIORITY_BARRIER; in heartbeat()
276 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse()
[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/sfc/siena/
Defx.h104 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
107 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
122 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
129 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument
131 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
138 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument
141 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
Dfilter.h156 u32 priority:2; member
179 enum efx_filter_priority priority, in efx_filter_init_rx() argument
184 spec->priority = priority; in efx_filter_init_rx()
194 spec->priority = EFX_FILTER_PRI_REQUIRED; in efx_filter_init_tx()
Dnic.h153 enum efx_filter_priority priority,
156 enum efx_filter_priority priority, u32 filter_id,
159 enum efx_filter_priority priority);
161 enum efx_filter_priority priority);
164 enum efx_filter_priority priority, u32 *buf,
/drivers/net/ethernet/sfc/
Defx.h120 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
123 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
138 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
141 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
145 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument
147 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
154 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument
157 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
Dmcdi_filters.h126 enum efx_filter_priority priority,
129 enum efx_filter_priority priority,
133 enum efx_filter_priority priority);
135 enum efx_filter_priority priority);
138 enum efx_filter_priority priority,
Dmcdi_filters.c258 if (rc && spec->priority != EFX_FILTER_PRI_HINT) in efx_mcdi_filter_push()
410 if (spec->priority < saved_spec->priority && in efx_mcdi_filter_insert_locked()
411 spec->priority != EFX_FILTER_PRI_AUTO) { in efx_mcdi_filter_insert_locked()
417 if (spec->priority == in efx_mcdi_filter_insert_locked()
418 saved_spec->priority && in efx_mcdi_filter_insert_locked()
425 } else if (spec->priority > in efx_mcdi_filter_insert_locked()
426 saved_spec->priority || in efx_mcdi_filter_insert_locked()
427 (spec->priority == in efx_mcdi_filter_insert_locked()
428 saved_spec->priority && in efx_mcdi_filter_insert_locked()
449 if (spec->priority == EFX_FILTER_PRI_AUTO && in efx_mcdi_filter_insert_locked()
[all …]
/drivers/staging/rtl8192e/
Drtllib_tx.c293 skb->priority, TX_DIR, true)) { in rtllib_tx_query_agg_cap()
502 skb->priority, TX_DIR, true)) in rtllib_query_seqnum()
513 switch (skb->priority) { in wme_downgrade_ac()
516 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
520 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
524 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac()
634 skb->priority = rtllib_classify(skb, IsAmsdu); in rtllib_xmit_inter()
709 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { in rtllib_xmit_inter()
711 skb->priority); in rtllib_xmit_inter()
715 skb->priority); in rtllib_xmit_inter()
[all …]
/drivers/gpu/drm/i915/
Di915_scheduler.c54 GEM_BUG_ON(p->priority > last_prio); in assert_priolists()
55 last_prio = p->priority; in assert_priolists()
79 if (prio > p->priority) { in i915_sched_lookup_priolist()
81 } else if (prio < p->priority) { in i915_sched_lookup_priolist()
110 p->priority = prio; in i915_sched_lookup_priolist()
158 const int prio = max(attr->priority, node->attr.priority); in __i915_schedule()
212 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule()
223 if (node->attr.priority == I915_PRIORITY_INVALID) { in __i915_schedule()
250 if (prio <= node->attr.priority || node_signaled(node)) in __i915_schedule()
260 WRITE_ONCE(node->attr.priority, prio); in __i915_schedule()
[all …]
/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/net/ethernet/mellanox/mlxsw/
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_acl_tcam.c37 u32 *priority, bool fillup_priority) in mlxsw_sp_acl_tcam_priority_get() argument
42 *priority = 0; in mlxsw_sp_acl_tcam_priority_get()
51 if (rulei->priority >= max_priority) in mlxsw_sp_acl_tcam_priority_get()
55 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get()
180 unsigned int priority; /* Priority within the vregion and group */ member
202 .key_offset = offsetof(struct mlxsw_sp_acl_tcam_vchunk, priority),
352 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio()
364 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio()
386 unsigned int priority, in mlxsw_sp_acl_tcam_group_region_attach() argument
409 priority) in mlxsw_sp_acl_tcam_group_region_attach()
[all …]
Dspectrum_trap.c23 u8 priority; member
522 .priority = 0,
527 .priority = 0,
532 .priority = 2,
537 .priority = 0,
542 .priority = 0,
547 .priority = 5,
552 .priority = 5,
557 .priority = 5,
562 .priority = 3,
[all …]
/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/power/reset/
Dsyscon-reboot.c46 int priority; in syscon_reboot_probe() local
60 if (of_property_read_s32(pdev->dev.of_node, "priority", &priority)) in syscon_reboot_probe()
61 priority = 192; in syscon_reboot_probe()
83 ctx->restart_handler.priority = priority; in syscon_reboot_probe()
/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.c349 skb->priority = TC_PRIO_FILLER; in eql_slave_xmit()
436 s->priority = srq.priority; in eql_enslave()
437 s->priority_bps = srq.priority; in eql_enslave()
438 s->priority_Bps = srq.priority / 8; in eql_enslave()
503 sc.priority = slave->priority; in eql_g_slave_cfg()
537 slave->priority = sc.priority; in eql_s_slave_cfg()
538 slave->priority_bps = sc.priority; in eql_s_slave_cfg()
539 slave->priority_Bps = sc.priority / 8; in eql_s_slave_cfg()
/drivers/gpu/drm/ttm/
Dttm_resource.c81 return &bulk->pos[res->mem_type][res->bo->priority]; in ttm_lru_bulk_move_pos()
165 list_move_tail(&res->lru, &man->lru[bo->priority]); in ttm_resource_move_to_lru_tail()
198 list_add_tail(&res->lru, &man->lru[bo->priority]); in ttm_resource_init()
507 for (cursor->priority = 0; cursor->priority < TTM_MAX_BO_PRIORITY; in ttm_resource_manager_first()
508 ++cursor->priority) in ttm_resource_manager_first()
509 list_for_each_entry(res, &man->lru[cursor->priority], lru) in ttm_resource_manager_first()
531 list_for_each_entry_continue(res, &man->lru[cursor->priority], lru) in ttm_resource_manager_next()
534 for (++cursor->priority; cursor->priority < TTM_MAX_BO_PRIORITY; in ttm_resource_manager_next()
535 ++cursor->priority) in ttm_resource_manager_next()
536 list_for_each_entry(res, &man->lru[cursor->priority], lru) in ttm_resource_manager_next()
/drivers/net/ethernet/intel/i40e/
Di40e_dcb.c44 u8 priority; in i40e_parse_ieee_etscfg_tlv() local
74 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etscfg_tlv()
76 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv()
77 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etscfg_tlv()
79 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv()
114 u8 priority; in i40e_parse_ieee_etsrec_tlv() local
129 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etsrec_tlv()
131 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv()
132 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etsrec_tlv()
134 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv()
[all …]

12345678910>>...23