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

#include <atmel-ac97c.h>

Data Fields

struct dw_dma_slave rx_dws
 
struct dw_dma_slave tx_dws
 
unsigned int flags
 
int reset_pin
 

Detailed Description

struct atmel_ac97c_pdata - board specific AC97C configuration : DMA slave interface to use for sound capture. : DMA slave interface to use for sound playback. : GPIO pin wired to the reset input on the external AC97 codec, optional to use, set to -ENODEV if not in use. AC97 layer will try to do a software reset of the external codec anyway. : Flags for which directions should be enabled.

If the user do not want to use a DMA channel for playback or capture, i.e. only one feature is required on the board. The slave for playback or capture can be set to NULL. The AC97C driver will take use of this when setting up the sound streams.

Definition at line 33 of file atmel-ac97c.h.

Field Documentation

unsigned int flags

Definition at line 36 of file atmel-ac97c.h.

int reset_pin

Definition at line 37 of file atmel-ac97c.h.

Definition at line 34 of file atmel-ac97c.h.

Definition at line 35 of file atmel-ac97c.h.


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