Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
musb_platform_ops Struct Reference

#include <musb_core.h>

Data Fields

int(* init )(struct musb *musb)
 
int(* exit )(struct musb *musb)
 
void(* enable )(struct musb *musb)
 
void(* disable )(struct musb *musb)
 
int(* set_mode )(struct musb *musb, u8 mode)
 
void(* try_idle )(struct musb *musb, unsigned long timeout)
 
int(* vbus_status )(struct musb *musb)
 
void(* set_vbus )(struct musb *musb, int on)
 
int(* adjust_channel_params )(struct dma_channel *channel, u16 packet_sz, u8 *mode, dma_addr_t *dma_addr, u32 *len)
 

Detailed Description

struct musb_platform_ops - Operations passed to musb_core by HW glue layer : turns on clocks, sets up platform-specific registers, etc : undoes : forcefully changes operating mode : tries to idle the IP : returns vbus status if possible : forces vbus status : pre check for standard dma channel_program func

Definition at line 200 of file musb_core.h.

Field Documentation

int(* adjust_channel_params)(struct dma_channel *channel, u16 packet_sz, u8 *mode, dma_addr_t *dma_addr, u32 *len)

Definition at line 213 of file musb_core.h.

void(* disable)(struct musb *musb)

Definition at line 205 of file musb_core.h.

void(* enable)(struct musb *musb)

Definition at line 204 of file musb_core.h.

int(* exit)(struct musb *musb)

Definition at line 202 of file musb_core.h.

int(* init)(struct musb *musb)

Definition at line 201 of file musb_core.h.

int(* set_mode)(struct musb *musb, u8 mode)

Definition at line 207 of file musb_core.h.

void(* set_vbus)(struct musb *musb, int on)

Definition at line 211 of file musb_core.h.

void(* try_idle)(struct musb *musb, unsigned long timeout)

Definition at line 208 of file musb_core.h.

int(* vbus_status)(struct musb *musb)

Definition at line 210 of file musb_core.h.


The documentation for this struct was generated from the following file: