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: #11 $
00004  * $Date: 2009/04/03 $
00005  * $Change: 1225160 $
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_busconnected;
00051 extern struct device_attribute dev_attr_gotgctl;
00052 extern struct device_attribute dev_attr_gusbcfg;
00053 extern struct device_attribute dev_attr_grxfsiz;
00054 extern struct device_attribute dev_attr_gnptxfsiz;
00055 extern struct device_attribute dev_attr_gpvndctl;
00056 extern struct device_attribute dev_attr_ggpio;
00057 extern struct device_attribute dev_attr_guid;
00058 extern struct device_attribute dev_attr_gsnpsid;
00059 extern struct device_attribute dev_attr_devspeed;
00060 extern struct device_attribute dev_attr_enumspeed;
00061 extern struct device_attribute dev_attr_hptxfsiz;
00062 extern struct device_attribute dev_attr_hprt0;
00063 #ifdef CONFIG_USB_DWC_OTG_LPM
00064 extern struct device_attribute dev_attr_lpm_response;
00065 extern struct device_attribute dev_attr_sleep_local_dev;
00066 extern struct device_attribute devi_attr_sleep_status;
00067 #endif
00068 
00069 void dwc_otg_attr_create (
00070 #ifdef LM_INTERFACE
00071         struct lm_device *dev
00072 #elif  PCI_INTERFACE
00073         struct pci_dev *dev
00074 #endif
00075         );
00076 
00077 void dwc_otg_attr_remove (
00078 #ifdef LM_INTERFACE
00079         struct lm_device *dev
00080 #elif  PCI_INTERFACE
00081         struct pci_dev *dev
00082 #endif
00083         );
00084 #endif

Generated on Tue May 5 02:22:48 2009 for DesignWare USB 2.0 OTG Controller (DWC_otg) Device Driver by  doxygen 1.4.7