Searched refs:vbus_present (Results 1 – 5 of 5) sorted by relevance
74 bool vbus_present; member267 chip->vbus_present = !!(data & FUSB_REG_STATUS0_VBUSOK); in tcpm_init()280 return chip->vbus_present ? 1 : 0; in tcpm_get_vbus()1327 bool vbus_present; in fusb302_interrupt_handle() local1359 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_interrupt_handle()1360 debug("IRQ: VBUS_OK, vbus=%s\n", vbus_present ? "On" : "Off"); in fusb302_interrupt_handle()1361 if (vbus_present != chip->vbus_present) { in fusb302_interrupt_handle()1362 chip->vbus_present = vbus_present; in fusb302_interrupt_handle()
313 bool vbus_present; member1195 if (port->vbus_present) { in tcpm_pd_ctrl_request()2369 } else if (port->vbus_present) in run_state_machine()2391 if (port->vbus_present) { in run_state_machine()2777 port->vbus_present ? PD_T_PS_SOURCE_OFF : 0); in run_state_machine()2885 else if (port->vbus_present) in _tcpm_cc_change()2930 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()2934 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()2993 port->vbus_present = true; in _tcpm_pd_vbus_on()3064 port->vbus_present = false; in _tcpm_pd_vbus_off()[all …]
107 bool vbus_present; member422 chip->vbus_present = !!(data & FUSB_REG_STATUS0_VBUSOK); in tcpm_init()438 ret = chip->vbus_present ? 1 : 0; in tcpm_get_vbus()1511 bool vbus_present; in fusb302_irq_work() local1541 vbus_present = !!(status0 & FUSB_REG_STATUS0_VBUSOK); in fusb302_irq_work()1543 vbus_present ? "On" : "Off"); in fusb302_irq_work()1544 if (vbus_present != chip->vbus_present) { in fusb302_irq_work()1545 chip->vbus_present = vbus_present; in fusb302_irq_work()
333 bool vbus_present; member2637 if (port->vbus_present) { in tcpm_pd_ctrl_request()3973 if (port->vbus_present && tcpm_port_is_sink(port)) in run_state_machine()4197 } else if (port->vbus_present) { in run_state_machine()4243 if (port->vbus_present && tcpm_port_is_sink(port)) { in run_state_machine()4281 if (port->vbus_present) { in run_state_machine()4903 port->vbus_present ? timer_val_msecs : 0); in run_state_machine()5038 else if (port->vbus_present) in _tcpm_cc_change()5099 if (!port->vbus_present && tcpm_port_is_source(port)) in _tcpm_cc_change()5103 if (port->vbus_present || !tcpm_port_is_source(port)) in _tcpm_cc_change()[all …]
740 bool vbus_present; member1477 sc->vbus_present = !!(stat & VBUS_INSERT); in sc8551_check_alarm_status()