Home
last modified time | relevance | path

Searched refs:vbus_present (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/drivers/phy/ti/
H A Dphy-tusb1210.c252 bool vbus_present = tusb1210_get_online(tusb); in tusb1210_chg_det_work() local
256 dev_dbg(&tusb->ulpi->dev, "chg_det state %s vbus_present %d\n", in tusb1210_chg_det_work()
257 tusb1210_chg_det_states[tusb->chg_det_state], vbus_present); in tusb1210_chg_det_work()
339 if (!vbus_present) in tusb1210_chg_det_work()
345 * chip (which is used to get vbus_present) to determine Vbus in tusb1210_chg_det_work()
361 if (vbus_present) in tusb1210_chg_det_work()
452 * which is used to determine vbus_present, to load. in tusb1210_probe_charger_detect()
/kernel/linux/linux-5.10/drivers/usb/typec/tcpm/
H A 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()
1495 bool vbus_present; in fusb302_irq_work() local
1525 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_work()
1527 vbus_present ? "On" : "Off"); in fusb302_irq_work()
1528 if (vbus_present != chip->vbus_present) { in fusb302_irq_work()
1529 chip->vbus_present = vbus_present; in fusb302_irq_work()
[all...]
H A Dtcpm.c276 bool vbus_present; member
1907 if (port->vbus_present) { in tcpm_pd_ctrl_request()
3132 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3306 else if (port->vbus_present) in run_state_machine()
3345 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
3374 if (port->vbus_present) { in run_state_machine()
3851 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()
3967 else if (port->vbus_present) in _tcpm_cc_change()
4012 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()
4016 if (port->vbus_present || !tcpm_port_is_sourc in _tcpm_cc_change()
[all...]
/kernel/linux/linux-6.6/drivers/usb/typec/tcpm/
H A 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()
[all...]
H A Dtcpm.c337 bool vbus_present; member
2667 if (port->vbus_present) { in tcpm_pd_ctrl_request()
3974 if (port->vbus_present && tcpm_port_is_sink(port)) in run_state_machine()
4192 else if (port->vbus_present) in run_state_machine()
4231 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()
4266 if (port->vbus_present) { in run_state_machine()
4870 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()
5008 else if (port->vbus_present) in _tcpm_cc_change()
5069 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()
5073 if (port->vbus_present || !tcpm_port_is_sourc in _tcpm_cc_change()
[all...]

Completed in 16 milliseconds