![]() |
|
|||
0001 /* 0002 * This file defines the USB charger type and state that are needed for 0003 * USB device APIs. 0004 */ 0005 0006 #ifndef _UAPI__LINUX_USB_CHARGER_H 0007 #define _UAPI__LINUX_USB_CHARGER_H 0008 0009 /* 0010 * USB charger type: 0011 * SDP (Standard Downstream Port) 0012 * DCP (Dedicated Charging Port) 0013 * CDP (Charging Downstream Port) 0014 * ACA (Accessory Charger Adapters) 0015 */ 0016 enum usb_charger_type { 0017 UNKNOWN_TYPE = 0, 0018 SDP_TYPE = 1, 0019 DCP_TYPE = 2, 0020 CDP_TYPE = 3, 0021 ACA_TYPE = 4, 0022 }; 0023 0024 /* USB charger state */ 0025 enum usb_charger_state { 0026 USB_CHARGER_DEFAULT = 0, 0027 USB_CHARGER_PRESENT = 1, 0028 USB_CHARGER_ABSENT = 2, 0029 }; 0030 0031 #endif /* _UAPI__LINUX_USB_CHARGER_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |