Searched refs:otg_enabled (Results 1 – 4 of 4) sorted by relevance
1336 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()1401 uint32_t otg_enabled; in optc1_get_otg_active_size() local1410 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()1412 if (otg_enabled == 0) in optc1_get_otg_active_size()1445 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local1447 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()1449 return (otg_enabled != 0); in optc1_is_tg_enabled()
91 uint32_t otg_enabled; member
1744 bool otg_enabled; in bq24190_configure_usb_otg() local1747 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()1748 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()1751 otg_enabled, ret); in bq24190_configure_usb_otg()
433 if ((s.otg_enabled & 1) == 0) in dcn10_log_hw_state()