Searched refs:otg_enabled (Results 1 – 5 of 5) sorted by relevance
1315 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()1365 uint32_t otg_enabled; in optc1_get_otg_active_size() local1374 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()1376 if (otg_enabled == 0) in optc1_get_otg_active_size()1409 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local1411 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()1413 return (otg_enabled != 0); in optc1_is_tg_enabled()
435 if (s.otg_enabled & 1) { in dcn10_get_otg_states()499 if (s.otg_enabled & 1) in dcn10_clear_otpc_underflow()
603 uint32_t otg_enabled; member
361 if ((s.otg_enabled & 1) == 0) in dcn10_log_hw_state()
1532 bool otg_enabled; in bq24190_configure_usb_otg() local1535 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()1536 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()1539 otg_enabled, ret); in bq24190_configure_usb_otg()