Searched refs:otg_enabled (Results 1 – 5 of 5) sorted by relevance
1330 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()1392 uint32_t otg_enabled; in optc1_get_otg_active_size() local1401 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()1403 if (otg_enabled == 0) in optc1_get_otg_active_size()1436 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local1438 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()1440 return (otg_enabled != 0); in optc1_is_tg_enabled()
436 if (s.otg_enabled & 1) { in dcn10_get_otg_states()500 if (s.otg_enabled & 1) in dcn10_clear_otpc_underflow()
614 uint32_t otg_enabled; member
373 if ((s.otg_enabled & 1) == 0) in dcn10_log_hw_state()
1589 bool otg_enabled; in bq24190_configure_usb_otg() local1592 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()1593 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()1596 otg_enabled, ret); in bq24190_configure_usb_otg()