Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
Dsja1105_tas.c20 struct sja1105_gating_config *gating_cfg = &tas_data->gating_cfg; in sja1105_tas_set_runtime_params() local
49 if (!list_empty(&gating_cfg->entries)) { in sja1105_tas_set_runtime_params()
52 if (max_cycle_time < gating_cfg->cycle_time) in sja1105_tas_set_runtime_params()
53 max_cycle_time = gating_cfg->cycle_time; in sja1105_tas_set_runtime_params()
54 if (latest_base_time < gating_cfg->base_time) in sja1105_tas_set_runtime_params()
55 latest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
56 if (earliest_base_time > gating_cfg->base_time) { in sja1105_tas_set_runtime_params()
57 earliest_base_time = gating_cfg->base_time; in sja1105_tas_set_runtime_params()
58 its_cycle_time = gating_cfg->cycle_time; in sja1105_tas_set_runtime_params()
165 struct sja1105_gating_config *gating_cfg = &tas_data->gating_cfg; in sja1105_init_scheduling() local
[all …]
Dsja1105_vl.c11 static int sja1105_insert_gate_entry(struct sja1105_gating_config *gating_cfg, in sja1105_insert_gate_entry() argument
27 if (list_empty(&gating_cfg->entries)) { in sja1105_insert_gate_entry()
28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry()
32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry()
46 gating_cfg->num_entries++; in sja1105_insert_gate_entry()
58 sja1105_gating_cfg_time_to_interval(struct sja1105_gating_config *gating_cfg, in sja1105_gating_cfg_time_to_interval() argument
65 list_for_each_entry(e, &gating_cfg->entries, list) { in sja1105_gating_cfg_time_to_interval()
70 if (prev == &gating_cfg->entries) in sja1105_gating_cfg_time_to_interval()
76 last_e = list_last_entry(&gating_cfg->entries, in sja1105_gating_cfg_time_to_interval()
81 static void sja1105_free_gating_config(struct sja1105_gating_config *gating_cfg) in sja1105_free_gating_config() argument
[all …]
Dsja1105_tas.h43 struct sja1105_gating_config gating_cfg; member