Searched refs:vbus_present (Results 1 – 3 of 3) sorted by relevance
261 bool vbus_present = tusb1210_get_online(tusb); in tusb1210_chg_det_work() local266 tusb1210_chg_det_states[tusb->chg_det_state], vbus_present); in tusb1210_chg_det_work()348 if (!vbus_present) in tusb1210_chg_det_work()370 if (vbus_present) in tusb1210_chg_det_work()
108 bool vbus_present; member416 chip->vbus_present = !!(data & FUSB_REG_STATUS0_VBUSOK); in tcpm_init()432 ret = chip->vbus_present ? 1 : 0; in tcpm_get_vbus()1510 bool vbus_present; in fusb302_irq_work() local1540 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_work()1542 str_on_off(vbus_present)); in fusb302_irq_work()1543 if (vbus_present != chip->vbus_present) { in fusb302_irq_work()1544 chip->vbus_present = vbus_present; in fusb302_irq_work()
384 bool vbus_present; member3410 if (port->vbus_present) { in tcpm_pd_ctrl_request()4854 if (port->vbus_present && tcpm_port_is_sink(port)) in run_state_machine()5099 else if (port->vbus_present) in run_state_machine()5138 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()5184 if (port->vbus_present) { in run_state_machine()5871 port->vbus_present ? port->timings.ps_src_off_time : 0); in run_state_machine()6019 else if (port->vbus_present) in _tcpm_cc_change()6085 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()6089 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()[all …]