Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c5823 unsigned int target_mw; in tcpm_pps_set_op_curr() local
5844 target_mw = (req_op_curr * port->supply_voltage) / 1000; in tcpm_pps_set_op_curr()
5845 if (target_mw < port->operating_snk_mw) { in tcpm_pps_set_op_curr()
5884 unsigned int target_mw; in tcpm_pps_set_out_volt() local
5900 target_mw = (port->current_limit * req_out_volt) / 1000; in tcpm_pps_set_out_volt()
5901 if (target_mw < port->operating_snk_mw) { in tcpm_pps_set_out_volt()