Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/typec/tcpm/
H A Dtcpm.c346 bool vbus_source; member
3379 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_request()
3475 port->cc_req, port->cc1, port->cc2, port->vbus_source, in tcpm_pd_build_pps_request()
3527 port->vbus_source = enable; in tcpm_set_vbus()
3535 if (charge && port->vbus_source) in tcpm_set_charge()
3539 tcpm_log(port, "vbus=%d charge:=%d", port->vbus_source, charge); in tcpm_set_charge()
3540 ret = port->tcpc->set_vbus(port->tcpc, port->vbus_source, in tcpm_set_charge()
3567 port->vbus_source = false; in tcpm_init_vbus()
4671 if (port->vbus_source) in run_state_machine()
5500 port->vbus_source = true; in tcpm_pd_event_handler()