Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c27 static void guc_policies_init(struct guc_policies *policies) in guc_policies_init() argument
32 policies->dpc_promote_time = POLICY_DEFAULT_DPC_PROMOTE_TIME_US; in guc_policies_init()
33 policies->max_num_work_items = POLICY_MAX_NUM_WI; in guc_policies_init()
37 policy = &policies->policy[p][i]; in guc_policies_init()
43 policies->is_valid = 1; in guc_policies_init()
60 struct guc_policies policies; member
77 guc_policies_init(&blob->policies); in __guc_ads_init()
119 blob->ads.scheduler_policies = base + ptr_offset(blob, policies); in __guc_ads_init()
/drivers/net/dsa/mv88e6xxx/
Dchip.c1566 idr_for_each_entry(&chip->policies, policy, id) in mv88e6xxx_policy_apply()
1621 idr_for_each_entry(&chip->policies, policy, id) { in mv88e6xxx_policy_insert()
1633 err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff, in mv88e6xxx_policy_insert()
1649 idr_remove(&chip->policies, fs->location); in mv88e6xxx_policy_insert()
1673 idr_for_each_entry(&chip->policies, policy, id) in mv88e6xxx_get_rxnfc()
1680 policy = idr_find(&chip->policies, fs->location); in mv88e6xxx_get_rxnfc()
1689 idr_for_each_entry(&chip->policies, policy, id) in mv88e6xxx_get_rxnfc()
1720 policy = idr_remove(&chip->policies, fs->location); in mv88e6xxx_set_rxnfc()
4868 idr_init(&chip->policies); in mv88e6xxx_alloc_chip()
Dchip.h279 struct idr policies; member