Searched refs:max_mW (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/pse-pd/ |
| H A D | realtek-pse-mcu-core.c | 625 static int rtpse_mcu_port_set_pw_limit(struct pse_controller_dev *pcdev, int id, int max_mW) in rtpse_mcu_port_set_pw_limit() argument 633 if (max_mW < 0 || max_mW > chip->max_mW_per_port) in rtpse_mcu_port_set_pw_limit() 646 prg_val = min_t(unsigned int, DIV_ROUND_UP(max_mW, chip->pw_set_lsb_mW), U8_MAX); in rtpse_mcu_port_set_pw_limit()
|
| H A D | tps23881.c | 495 int id, int max_mW) in tps23881_pi_set_pw_limit() argument 501 if (max_mW < TPS23881_MIN_PI_PW_LIMIT_MW || MAX_PI_PW < max_mW) { in tps23881_pi_set_pw_limit() 504 max_mW, TPS23881_MIN_PI_PW_LIMIT_MW, MAX_PI_PW); in tps23881_pi_set_pw_limit() 512 pw_pol = DIV_ROUND_CLOSEST_ULL(max_mW, TPS23881_MW_STEP); in tps23881_pi_set_pw_limit()
|
| H A D | pd692x0.c | 1351 int id, int max_mW) in pd692x0_pi_set_pw_limit() argument 1364 ret = pd692x0_pi_set_pw_from_table(dev, &msg, max_mW); in pd692x0_pi_set_pw_limit()
|
| /linux/include/linux/pse-pd/ |
| H A D | pse.h | 208 int id, int max_mW);
|