Home
last modified time | relevance | path

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

/linux/drivers/net/pse-pd/
H A Dpd692x0.c583 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_get_pw_from_table() local
586 pw_table = pd692x0_class_pw_table; in pd692x0_pi_get_pw_from_table()
587 for (i = 0; i < PD692X0_CLASS_PW_TABLE_SIZE; i++, pw_table++) { in pd692x0_pi_get_pw_from_table()
588 if (pw_table->class_cfg_value == op_mode) in pd692x0_pi_get_pw_from_table()
589 return pw_table->class_pw + added_pw * 100; in pd692x0_pi_get_pw_from_table()
598 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_set_pw_from_table() local
601 pw_table = pd692x0_class_pw_table; in pd692x0_pi_set_pw_from_table()
602 if (pw < pw_table->class_pw) { in pd692x0_pi_set_pw_from_table()
606 pw_table->class_pw, in pd692x0_pi_set_pw_from_table()
607 pw_table->class_pw + pw_table->max_added_class_pw); in pd692x0_pi_set_pw_from_table()
[all …]