Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/typec/tcpm/
Dfusb302.c107 bool vbus_present; member
414 chip->vbus_present = !!(data & FUSB_REG_STATUS0_VBUSOK); in tcpm_init()
430 ret = chip->vbus_present ? 1 : 0; in tcpm_get_vbus()
1493 bool vbus_present; in fusb302_irq_work() local
1523 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_work()
1525 vbus_present ? "On" : "Off"); in fusb302_irq_work()
1526 if (vbus_present != chip->vbus_present) { in fusb302_irq_work()
1527 chip->vbus_present = vbus_present; in fusb302_irq_work()
Dtcpm.c224 bool vbus_present; member
1724 if (port->vbus_present) { in tcpm_pd_ctrl_request()
2918 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3092 else if (port->vbus_present) in run_state_machine()
3135 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3164 if (port->vbus_present) { in run_state_machine()
3572 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()
3684 else if (port->vbus_present) in _tcpm_cc_change()
3729 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()
3733 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()
[all …]