Home
last modified time | relevance | path

Searched refs:otg_enabled (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_optc.c1295 OTG_MASTER_EN, &s->otg_enabled); in optc1_read_otg_state()
1345 uint32_t otg_enabled; in optc1_get_otg_active_size() local
1354 OTG_MASTER_EN, &otg_enabled); in optc1_get_otg_active_size()
1356 if (otg_enabled == 0) in optc1_get_otg_active_size()
1388 uint32_t otg_enabled = 0; in optc1_is_tg_enabled() local
1390 REG_GET(OTG_CONTROL, OTG_MASTER_EN, &otg_enabled); in optc1_is_tg_enabled()
1392 return (otg_enabled != 0); in optc1_is_tg_enabled()
Ddcn10_hw_sequencer_debug.c435 if (s.otg_enabled & 1) { in dcn10_get_otg_states()
499 if (s.otg_enabled & 1) in dcn10_clear_otpc_underflow()
Ddcn10_optc.h544 uint32_t otg_enabled; member
Ddcn10_hw_sequencer.c321 if ((s.otg_enabled & 1) == 0) in dcn10_log_hw_state()
/Linux-v5.4/drivers/power/supply/
Dbq24190_charger.c1515 bool otg_enabled; in bq24190_configure_usb_otg() local
1518 otg_enabled = !!(ss_reg & BQ24190_REG_SS_VBUS_STAT_MASK); in bq24190_configure_usb_otg()
1519 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()
1522 otg_enabled, ret); in bq24190_configure_usb_otg()