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.c558 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_get_pw_from_table() local
561 pw_table = pd692x0_class_pw_table; in pd692x0_pi_get_pw_from_table()
562 for (i = 0; i < PD692X0_CLASS_PW_TABLE_SIZE; i++, pw_table++) { in pd692x0_pi_get_pw_from_table()
563 if (pw_table->class_cfg_value == op_mode) in pd692x0_pi_get_pw_from_table()
564 return pw_table->class_pw + added_pw * 100; in pd692x0_pi_get_pw_from_table()
573 const struct pd692x0_class_pw *pw_table; in pd692x0_pi_set_pw_from_table() local
576 pw_table = pd692x0_class_pw_table; in pd692x0_pi_set_pw_from_table()
577 if (pw < pw_table->class_pw) { in pd692x0_pi_set_pw_from_table()
581 pw_table->class_pw, in pd692x0_pi_set_pw_from_table()
582 pw_table->class_pw + pw_table->max_added_class_pw); in pd692x0_pi_set_pw_from_table()
[all …]