Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/usb/typec/fusb302/
Dfusb302.c113 bool vbus_present; member
475 chip->vbus_present = !!(data & FUSB_REG_STATUS0_VBUSOK); in tcpm_init()
491 ret = chip->vbus_present ? 1 : 0; in tcpm_get_vbus()
1527 bool vbus_present; in fusb302_irq_intn() local
1557 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_intn()
1559 vbus_present ? "On" : "Off"); in fusb302_irq_intn()
1560 if (vbus_present != chip->vbus_present) { in fusb302_irq_intn()
1561 chip->vbus_present = vbus_present; in fusb302_irq_intn()
/Linux-v4.19/drivers/usb/typec/
Dtcpm.c222 bool vbus_present; member
1703 if (port->vbus_present) { in tcpm_pd_ctrl_request()
2898 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3048 else if (port->vbus_present) in run_state_machine()
3091 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3120 if (port->vbus_present) { in run_state_machine()
3519 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()
3631 else if (port->vbus_present) in _tcpm_cc_change()
3676 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()
3680 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()
[all …]