Searched refs:pw_pol (Results 1 – 1 of 1) sorted by relevance
| /linux/drivers/net/pse-pd/ |
| H A D | tps23881.c | 70 int pw_pol; member 136 tps23881_pi_set_pw_pol_limit(struct tps23881_priv *priv, int id, u8 pw_pol, in tps23881_pi_set_pw_pol_limit() argument 159 val = tps23881_set_val(ret, chan, 0, 0xff, pw_pol); in tps23881_pi_set_pw_pol_limit() 284 if (priv->port[id].pw_pol < 0) in tps23881_pi_disable() 292 return tps23881_pi_set_pw_pol_limit(priv, id, priv->port[id].pw_pol, in tps23881_pi_disable() 498 u8 pw_pol; in tps23881_pi_set_pw_limit() local 512 pw_pol = DIV_ROUND_CLOSEST_ULL(max_mW, TPS23881_MW_STEP); in tps23881_pi_set_pw_limit() 515 priv->port[id].pw_pol = pw_pol; in tps23881_pi_set_pw_limit() 516 return tps23881_pi_set_pw_pol_limit(priv, id, pw_pol, in tps23881_pi_set_pw_limit() 835 priv->port[pi_id].pw_pol = -1; in tps23881_write_port_matrix() [all …]
|