1 /* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef USB_LITEOS_DDK_USB_H 17 #define USB_LITEOS_DDK_USB_H 18 19 #include "linux_usb.h" 20 #include "usbdi.h" 21 #include "usbdi_util.h" 22 #include "usb_core.h" 23 #include "usb_busdma.h" 24 #include "usb_process.h" 25 #include "usb_raw_api_library.h" 26 #include "usb_transfer.h" 27 #include "usb_device.h" 28 #include "usb_util.h" 29 #include "usb_debug.h" 30 #include "usb_request.h" 31 #include "usb_dynamic.h" 32 #include "usb_hub.h" 33 #include "usb_ioctl.h" 34 #include "usb_controller.h" 35 #include "usb_bus.h" 36 37 #define UsbAdapterDeviceRequest usb_device_request 38 #define UsbAdapterDeviceDescriptor usb_device_descriptor 39 #define UsbAdapterHostEndpoint usb_host_endpoint 40 #define UsbAdapterDevice usb_device 41 #define UsbAdapterIsoPacketDescriptor usb_iso_packet_descriptor 42 #define UsbAdapterUrb urb 43 #define UsbAdapterSpinLock SPIN_LOCK_S 44 45 #endif /* USB_LITEOS_DDK_USB_H */ 46