Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
tegra_usb_phy.h File Reference
#include <linux/clk.h>
#include <linux/usb/otg.h>

Go to the source code of this file.

Data Structures

struct  tegra_utmip_config
 
struct  tegra_ulpi_config
 
struct  tegra_usb_phy
 

Enumerations

enum  tegra_usb_phy_port_speed { TEGRA_USB_PHY_PORT_SPEED_FULL = 0, TEGRA_USB_PHY_PORT_SPEED_LOW, TEGRA_USB_PHY_PORT_SPEED_HIGH }
 
enum  tegra_usb_phy_mode { TEGRA_USB_PHY_MODE_DEVICE, TEGRA_USB_PHY_MODE_HOST }
 

Functions

struct tegra_usb_phytegra_usb_phy_open (struct device *dev, int instance, void __iomem *regs, void *config, enum tegra_usb_phy_mode phy_mode)
 
void tegra_usb_phy_clk_disable (struct tegra_usb_phy *phy)
 
void tegra_usb_phy_clk_enable (struct tegra_usb_phy *phy)
 
void tegra_usb_phy_preresume (struct tegra_usb_phy *phy)
 
void tegra_usb_phy_postresume (struct tegra_usb_phy *phy)
 
void tegra_ehci_phy_restore_start (struct tegra_usb_phy *phy, enum tegra_usb_phy_port_speed port_speed)
 
void tegra_ehci_phy_restore_end (struct tegra_usb_phy *phy)
 

Enumeration Type Documentation

Enumerator:
TEGRA_USB_PHY_MODE_DEVICE 
TEGRA_USB_PHY_MODE_HOST 

Definition at line 42 of file tegra_usb_phy.h.

Enumerator:
TEGRA_USB_PHY_PORT_SPEED_FULL 
TEGRA_USB_PHY_PORT_SPEED_LOW 
TEGRA_USB_PHY_PORT_SPEED_HIGH 

Definition at line 36 of file tegra_usb_phy.h.

Function Documentation

void tegra_ehci_phy_restore_end ( struct tegra_usb_phy phy)

Definition at line 819 of file tegra_usb_phy.c.

void tegra_ehci_phy_restore_start ( struct tegra_usb_phy phy,
enum tegra_usb_phy_port_speed  port_speed 
)

Definition at line 811 of file tegra_usb_phy.c.

void tegra_usb_phy_clk_disable ( struct tegra_usb_phy phy)

Definition at line 826 of file tegra_usb_phy.c.

void tegra_usb_phy_clk_enable ( struct tegra_usb_phy phy)

Definition at line 833 of file tegra_usb_phy.c.

struct tegra_usb_phy* tegra_usb_phy_open ( struct device dev,
int  instance,
void __iomem regs,
void config,
enum tegra_usb_phy_mode  phy_mode 
)
read

Definition at line 733 of file tegra_usb_phy.c.

void tegra_usb_phy_postresume ( struct tegra_usb_phy phy)

Definition at line 804 of file tegra_usb_phy.c.

void tegra_usb_phy_preresume ( struct tegra_usb_phy phy)

Definition at line 797 of file tegra_usb_phy.c.