Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ac97c.c File Reference
#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/bitmap.h>
#include <linux/device.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/atmel_pdc.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/mutex.h>
#include <linux/gpio.h>
#include <linux/types.h>
#include <linux/io.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/ac97_codec.h>
#include <sound/atmel-ac97c.h>
#include <sound/memalloc.h>
#include <linux/dw_dmac.h>
#include <mach/cpu.h>
#include <mach/gpio.h>
#include "ac97c.h"

Go to the source code of this file.

Data Structures

struct  atmel_ac97c_dma
 
struct  atmel_ac97c
 

Macros

#define get_chip(card)   ((struct atmel_ac97c *)(card)->private_data)
 
#define ac97c_writel(chip, reg, val)   __raw_writel((val), (chip)->regs + AC97C_##reg)
 
#define ac97c_readl(chip, reg)   __raw_readl((chip)->regs + AC97C_##reg)
 
#define ATMEL_AC97C_PM_OPS   NULL
 

Enumerations

enum  { DMA_TX_READY = 0, DMA_RX_READY, DMA_TX_CHAN_PRESENT, DMA_RX_CHAN_PRESENT }
 

Functions

 module_init (atmel_ac97c_init)
 
 module_exit (atmel_ac97c_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Driver for Atmel AC97 controller")
 
 MODULE_AUTHOR ("Hans-Christian Egtvedt <egtvedt@samfundet.no>")
 

Macro Definition Documentation

#define ac97c_readl (   chip,
  reg 
)    __raw_readl((chip)->regs + AC97C_##reg)

Definition at line 88 of file ac97c.c.

#define ac97c_writel (   chip,
  reg,
  val 
)    __raw_writel((val), (chip)->regs + AC97C_##reg)

Definition at line 86 of file ac97c.c.

#define ATMEL_AC97C_PM_OPS   NULL

Definition at line 1168 of file ac97c.c.

#define get_chip (   card)    ((struct atmel_ac97c *)(card)->private_data)

Definition at line 84 of file ac97c.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
DMA_TX_READY 
DMA_RX_READY 
DMA_TX_CHAN_PRESENT 
DMA_RX_CHAN_PRESENT 

Definition at line 45 of file ac97c.c.

Function Documentation

MODULE_AUTHOR ( "Hans-Christian Egtvedt <egtvedt@samfundet.no>"  )
MODULE_DESCRIPTION ( "Driver for Atmel AC97 controller )
module_exit ( atmel_ac97c_exit  )
module_init ( atmel_ac97c_init  )
MODULE_LICENSE ( "GPL"  )