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

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

Completed in 198 milliseconds