Main Page | Data Structures | File List | Data Fields | Globals | Related Pages

dwc_otg_attr.h

Go to the documentation of this file.
00001 /* ==========================================================================
00002  * $File: //dwh/usb_iip/dev/software/otg/linux/drivers/dwc_otg_attr.h $
00003  * $Revision: #13 $
00004  * $Date: 2010/06/21 $
00005  * $Change: 1532021 $
00006  *
00007  * Synopsys HS OTG Linux Software Driver and documentation (hereinafter,
00008  * "Software") is an Unsupported proprietary work of Synopsys, Inc. unless
00009  * otherwise expressly agreed to in writing between Synopsys and you.
00010  * 
00011  * The Software IS NOT an item of Licensed Software or Licensed Product under
00012  * any End User Software License Agreement or Agreement for Licensed Product
00013  * with Synopsys or any supplement thereto. You are permitted to use and
00014  * redistribute this Software in source and binary forms, with or without
00015  * modification, provided that redistributions of source code must retain this
00016  * notice. You may not view, use, disclose, copy or distribute this file or
00017  * any information contained herein except pursuant to this license grant from
00018  * Synopsys. If you do not agree with this notice, including the disclaimer
00019  * below, then you are not authorized to use the Software.
00020  * 
00021  * THIS SOFTWARE IS BEING DISTRIBUTED BY SYNOPSYS SOLELY ON AN "AS IS" BASIS
00022  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00023  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00024  * ARE HEREBY DISCLAIMED. IN NO EVENT SHALL SYNOPSYS BE LIABLE FOR ANY DIRECT,
00025  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
00026  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00027  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00028  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00029  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
00030  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
00031  * DAMAGE.
00032  * ========================================================================== */
00033 
00034 #if !defined(__DWC_OTG_ATTR_H__)
00035 #define __DWC_OTG_ATTR_H__
00036 
00040 extern struct device_attribute dev_attr_regoffset;
00041 extern struct device_attribute dev_attr_regvalue;
00042 
00043 extern struct device_attribute dev_attr_mode;
00044 extern struct device_attribute dev_attr_hnpcapable;
00045 extern struct device_attribute dev_attr_srpcapable;
00046 extern struct device_attribute dev_attr_hnp;
00047 extern struct device_attribute dev_attr_srp;
00048 extern struct device_attribute dev_attr_buspower;
00049 extern struct device_attribute dev_attr_bussuspend;
00050 extern struct device_attribute dev_attr_mode_ch_tim_en;
00051 extern struct device_attribute dev_attr_fr_interval;
00052 extern struct device_attribute dev_attr_busconnected;
00053 extern struct device_attribute dev_attr_gotgctl;
00054 extern struct device_attribute dev_attr_gusbcfg;
00055 extern struct device_attribute dev_attr_grxfsiz;
00056 extern struct device_attribute dev_attr_gnptxfsiz;
00057 extern struct device_attribute dev_attr_gpvndctl;
00058 extern struct device_attribute dev_attr_ggpio;
00059 extern struct device_attribute dev_attr_guid;
00060 extern struct device_attribute dev_attr_gsnpsid;
00061 extern struct device_attribute dev_attr_devspeed;
00062 extern struct device_attribute dev_attr_enumspeed;
00063 extern struct device_attribute dev_attr_hptxfsiz;
00064 extern struct device_attribute dev_attr_hprt0;
00065 #ifdef CONFIG_USB_DWC_OTG_LPM
00066 extern struct device_attribute dev_attr_lpm_response;
00067 extern struct device_attribute devi_attr_sleep_status;
00068 #endif
00069 
00070 void dwc_otg_attr_create(
00071 #ifdef LM_INTERFACE
00072                                 struct lm_device *dev
00073 #elif  PCI_INTERFACE
00074                                 struct pci_dev *dev
00075 #endif
00076     );
00077 
00078 void dwc_otg_attr_remove(
00079 #ifdef LM_INTERFACE
00080                                 struct lm_device *dev
00081 #elif  PCI_INTERFACE
00082                                 struct pci_dev *dev
00083 #endif
00084     );
00085 #endif

Generated on Thu Oct 27 03:56:37 2011 for DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver by  doxygen 1.3.9.1