Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpci.c340 bool pps_active, u32 requested_vbus_voltage_mv) in tcpci_set_auto_vbus_discharge_threshold() argument
350 if (requested_vbus_voltage_mv == 0) in tcpci_set_auto_vbus_discharge_threshold()
362 threshold = ((VPPS_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - in tcpci_set_auto_vbus_discharge_threshold()
366 threshold = ((VSRC_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - in tcpci_set_auto_vbus_discharge_threshold()