Home
last modified time | relevance | path

Searched refs:usb_host (Results 1 – 4 of 4) sorted by relevance

/drivers/extcon/
Dextcon-intel-mrfld.c137 bool usb_host; in mrfld_extcon_role_detect() local
146 usb_host = (id == INTEL_USB_ID_GND) || (id == INTEL_USB_RID_A); in mrfld_extcon_role_detect()
147 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, usb_host); in mrfld_extcon_role_detect()
Dextcon-intel-cht-wc.c113 bool usb_host; member
282 bool ignore_get_charger_errors = ext->usb_host; in cht_wc_extcon_pwrsrc_event()
327 ext->usb_host = ((id == INTEL_USB_ID_GND) || (id == INTEL_USB_RID_A)); in cht_wc_extcon_pwrsrc_event()
328 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
330 if (ext->usb_host) in cht_wc_extcon_pwrsrc_event()
/drivers/net/usb/
Daqc111.c804 u16 link_speed = 0, usb_host = 0; in aqc111_configure_rx() local
843 usb_host = 3; in aqc111_configure_rx()
846 usb_host = 2; in aqc111_configure_rx()
850 usb_host = 1; in aqc111_configure_rx()
854 usb_host = 0; in aqc111_configure_rx()
877 netdev_info(dev->net, "Link Speed %d, USB %d", link_speed, usb_host); in aqc111_configure_rx()
/drivers/power/supply/
Daxp288_charger.c689 int ret, usb_host = extcon_get_state(edev, EXTCON_USB_HOST); in axp288_charger_otg_evt_worker() local
692 usb_host ? "attached" : "detached"); in axp288_charger_otg_evt_worker()
698 info->otg.id_short = usb_host; in axp288_charger_otg_evt_worker()