Home
last modified time | relevance | path

Searched refs:nr_states (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/s390/net/
Dfsm.c17 init_fsm(char *name, const char **state_names, const char **event_names, int nr_states, in init_fsm() argument
42 f->nr_states = nr_states; in init_fsm()
47 m = kcalloc(nr_states*nr_events, sizeof(fsm_function_t), order); in init_fsm()
57 if ((tmpl[i].cond_state >= nr_states) || in init_fsm()
61 name, i, (long)tmpl[i].cond_state, (long)f->nr_states, in init_fsm()
66 m[nr_states * tmpl[i].cond_event + tmpl[i].cond_state] = in init_fsm()
127 if (st >= fi->f->nr_states) in fsm_getstate_str()
Dfsm.h46 int nr_states; member
112 int nr_states, int nr_events, const fsm_node *tmpl,
149 if ((state >= fi->f->nr_states) || in fsm_event()
152 fi->name, (long)state,(long)fi->f->nr_states, event, in fsm_event()
159 r = fi->f->jumpmatrix[fi->f->nr_states * event + state]; in fsm_event()
/linux-6.12.1/kernel/power/
Denergy_model.c218 struct em_perf_state *table, int nr_states) in em_init_performance() argument
234 fmax = (u64) table[nr_states - 1].frequency; in em_init_performance()
236 for (i = 0; i < nr_states; i++) in em_init_performance()
242 struct em_data_callback *cb, int nr_states, in em_compute_costs() argument
249 for (i = nr_states - 1; i >= 0; i--) { in em_compute_costs()
293 int nr_states) in em_dev_compute_costs() argument
295 return em_compute_costs(dev, table, NULL, nr_states, 0); in em_dev_compute_costs()
348 int nr_states = pd->nr_perf_states; in em_create_perf_table() local
352 for (i = 0, freq = 0; i < nr_states; i++, freq++) { in em_create_perf_table()
389 em_init_performance(dev, pd, table, nr_states); in em_create_perf_table()
[all …]
/linux-6.12.1/drivers/regulator/
Dgpio-regulator.c40 int nr_states; member
50 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_get_value()
64 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_set_voltage()
91 if (selector >= data->nr_states) in gpio_regulator_list_voltage()
103 for (ptr = 0; ptr < data->nr_states; ptr++) in gpio_regulator_set_current_limit()
209 config->nr_states = i; in of_get_gpio_regulator_config()
293 config->nr_states * in gpio_regulator_probe()
300 drvdata->nr_states = config->nr_states; in gpio_regulator_probe()
310 drvdata->desc.n_voltages = config->nr_states; in gpio_regulator_probe()
/linux-6.12.1/include/linux/
Denergy_model.h167 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states,
174 int nr_states);
340 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states, in em_dev_register_perf_domain() argument
386 int nr_states) in em_dev_compute_costs() argument
/linux-6.12.1/include/linux/regulator/
Dgpio-regulator.h75 int nr_states; member
/linux-6.12.1/tools/verification/dot2/
Ddot2c.py160 nr_states = self.states.__len__()
166 for x in range(nr_states):
/linux-6.12.1/Documentation/translations/zh_CN/power/
Denergy-model.rst91 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states,
/linux-6.12.1/include/uapi/drm/
Dradeon_drm.h647 int nr_states; member
/linux-6.12.1/Documentation/power/
Denergy-model.rst125 int em_dev_register_perf_domain(struct device *dev, unsigned int nr_states,
263 int nr_states);