Searched refs:otg_enabled (Results 1 – 5 of 5) sorted by relevance
1310 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()1360 uint32_t otg_enabled; in optc1_get_otg_active_size() local1369 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()1371 if (otg_enabled == 0) in optc1_get_otg_active_size()1404 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local1406 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()1408 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()
1517 bool otg_enabled; in bq24190_configure_usb_otg() local1520 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()1521 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()1524 otg_enabled, ret); in bq24190_configure_usb_otg()