????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.188.99.196 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/modules/3.13.0-35-generic/build/include/linux/platform_data/ |
Upload File : |
/* * USB related definitions * * Copyright (C) 2009 MontaVista Software, Inc. <source@mvista.com> * * This file is licensed under the terms of the GNU General Public License * version 2. This program is licensed "as is" without any warranty of any * kind, whether express or implied. */ #ifndef __ASM_ARCH_USB_H #define __ASM_ARCH_USB_H /* DA8xx CFGCHIP2 (USB 2.0 PHY Control) register bits */ #define CFGCHIP2_PHYCLKGD (1 << 17) #define CFGCHIP2_VBUSSENSE (1 << 16) #define CFGCHIP2_RESET (1 << 15) #define CFGCHIP2_OTGMODE (3 << 13) #define CFGCHIP2_NO_OVERRIDE (0 << 13) #define CFGCHIP2_FORCE_HOST (1 << 13) #define CFGCHIP2_FORCE_DEVICE (2 << 13) #define CFGCHIP2_FORCE_HOST_VBUS_LOW (3 << 13) #define CFGCHIP2_USB1PHYCLKMUX (1 << 12) #define CFGCHIP2_USB2PHYCLKMUX (1 << 11) #define CFGCHIP2_PHYPWRDN (1 << 10) #define CFGCHIP2_OTGPWRDN (1 << 9) #define CFGCHIP2_DATPOL (1 << 8) #define CFGCHIP2_USB1SUSPENDM (1 << 7) #define CFGCHIP2_PHY_PLLON (1 << 6) /* override PLL suspend */ #define CFGCHIP2_SESENDEN (1 << 5) /* Vsess_end comparator */ #define CFGCHIP2_VBDTCTEN (1 << 4) /* Vbus comparator */ #define CFGCHIP2_REFFREQ (0xf << 0) #define CFGCHIP2_REFFREQ_12MHZ (1 << 0) #define CFGCHIP2_REFFREQ_24MHZ (2 << 0) #define CFGCHIP2_REFFREQ_48MHZ (3 << 0) struct da8xx_ohci_root_hub; typedef void (*da8xx_ocic_handler_t)(struct da8xx_ohci_root_hub *hub, unsigned port); /* Passed as the platform data to the OHCI driver */ struct da8xx_ohci_root_hub { /* Switch the port power on/off */ int (*set_power)(unsigned port, int on); /* Read the port power status */ int (*get_power)(unsigned port); /* Read the port over-current indicator */ int (*get_oci)(unsigned port); /* Over-current indicator change notification (pass NULL to disable) */ int (*ocic_notify)(da8xx_ocic_handler_t handler); /* Time from power on to power good (in 2 ms units) */ u8 potpgt; }; void davinci_setup_usb(unsigned mA, unsigned potpgt_ms); #endif /* ifndef __ASM_ARCH_USB_H */