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.c584 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_get_pw_from_table() local
587 pw_table = pd692x0_class_pw_table; in pd692x0_pi_get_pw_from_table()
588 for (i = 0; i < PD692X0_CLASS_PW_TABLE_SIZE; i++, pw_table++) { in pd692x0_pi_get_pw_from_table()
589 if (pw_table->class_cfg_value == op_mode) in pd692x0_pi_get_pw_from_table()
590 return pw_table->class_pw + added_pw * 100; in pd692x0_pi_get_pw_from_table()
599 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_set_pw_from_table() local
602 pw_table = pd692x0_class_pw_table; in pd692x0_pi_set_pw_from_table()
603 if (pw < pw_table->class_pw) { in pd692x0_pi_set_pw_from_table()
607 pw_table->class_pw, in pd692x0_pi_set_pw_from_table()
608 pw_table->class_pw + pw_table->max_added_class_pw); in pd692x0_pi_set_pw_from_table()
[all …]