Home
last modified time | relevance | path

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

/drivers/phy/ti/
Dphy-tusb1210.c256 bool vbus_present = tusb1210_get_online(tusb); in tusb1210_chg_det_work() local
261 tusb1210_chg_det_states[tusb->chg_det_state], vbus_present); in tusb1210_chg_det_work()
343 if (!vbus_present) in tusb1210_chg_det_work()
365 if (vbus_present) in tusb1210_chg_det_work()
/drivers/usb/typec/tcpm/
Dfusb302.c106 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()
1502 bool vbus_present; in fusb302_irq_work() local
1532 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_work()
1534 vbus_present ? "On" : "Off"); in fusb302_irq_work()
1535 if (vbus_present != chip->vbus_present) { in fusb302_irq_work()
1536 chip->vbus_present = vbus_present; in fusb302_irq_work()
Dtcpm.c346 bool vbus_present; member
2693 if (port->vbus_present) { in tcpm_pd_ctrl_request()
4012 if (port->vbus_present && tcpm_port_is_sink(port)) in run_state_machine()
4230 else if (port->vbus_present) in run_state_machine()
4269 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
4304 if (port->vbus_present) { in run_state_machine()
4911 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()
5049 else if (port->vbus_present) in _tcpm_cc_change()
5110 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()
5114 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()
[all …]