Searched refs:otg_enabled (Results 1 – 5 of 5) sorted by relevance
1321 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()1383 uint32_t otg_enabled; in optc1_get_otg_active_size() local1392 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()1394 if (otg_enabled == 0) in optc1_get_otg_active_size()1427 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local1429 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()1431 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()
584 uint32_t otg_enabled; member
372 if ((s.otg_enabled & 1) == 0) in dcn10_log_hw_state()
1575 bool otg_enabled; in bq24190_configure_usb_otg() local1578 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()1579 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()1582 otg_enabled, ret); in bq24190_configure_usb_otg()