Searched refs:vbus_present (Results 1 – 2 of 2) 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 …]