Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
usb
ohci_pdriver.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 Hauke Mehrtens <
[email protected]
>
3
*
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the
6
* Free Software Foundation; either version 2 of the License, or (at your
7
* option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful, but
10
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
11
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software Foundation,
16
* Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
*/
18
19
#ifndef __USB_CORE_OHCI_PDRIVER_H
20
#define __USB_CORE_OHCI_PDRIVER_H
21
32
struct
usb_ohci_pdata
{
33
unsigned
big_endian_desc
:1;
34
unsigned
big_endian_mmio
:1;
35
unsigned
no_big_frame_no
:1;
36
37
/* Turn on all power and clocks */
38
int
(*
power_on
)(
struct
platform_device
*
pdev
);
39
/* Turn off all power and clocks */
40
void
(*
power_off
)(
struct
platform_device
*
pdev
);
41
/* Turn on only VBUS suspend power and hotplug detection,
42
* turn off everything else */
43
void
(*
power_suspend
)(
struct
platform_device
*
pdev
);
44
};
45
46
#endif
/* __USB_CORE_OHCI_PDRIVER_H */
Generated on Thu Jan 10 2013 14:52:45 for Linux Kernel by
1.8.2