root/arch/arm/mach-imx/ulpi.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. imx_otg_ulpi_create
  2. imx_otg_ulpi_create

   1 /* SPDX-License-Identifier: GPL-2.0 */
   2 #ifndef __MACH_ULPI_H
   3 #define __MACH_ULPI_H
   4 
   5 #include <linux/usb/ulpi.h>
   6 
   7 #ifdef CONFIG_USB_ULPI_VIEWPORT
   8 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
   9 {
  10         return otg_ulpi_create(&ulpi_viewport_access_ops, flags);
  11 }
  12 #else
  13 static inline struct usb_phy *imx_otg_ulpi_create(unsigned int flags)
  14 {
  15         return NULL;
  16 }
  17 #endif
  18 
  19 #endif /* __MACH_ULPI_H */
  20 

/* [<][>][^][v][top][bottom][index][help] */