Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
pmac.h File Reference
#include <sound/control.h>
#include <sound/pcm.h>
#include "awacs.h"
#include <linux/adb.h>
#include <linux/nvram.h>
#include <linux/tty.h>
#include <linux/vt_kern.h>
#include <asm/dbdma.h>
#include <asm/prom.h>
#include <asm/machdep.h>

Go to the source code of this file.

Data Structures

struct  pmac_dbdma
 
struct  pmac_stream
 
struct  snd_pmac
 
struct  pmac_keywest
 

Macros

#define PMAC_MAX_FRAGS   32
 
#define PMAC_SUPPORT_AUTOMUTE
 
#define snd_pmac_boolean_stereo_info   snd_ctl_boolean_stereo_info
 
#define snd_pmac_boolean_mono_info   snd_ctl_boolean_mono_info
 

Enumerations

enum  snd_pmac_model {
  PMAC_AWACS, PMAC_SCREAMER, PMAC_BURGUNDY, PMAC_DACA,
  PMAC_TUMBLER, PMAC_SNAPPER
}
 

Functions

int snd_pmac_new (struct snd_card *card, struct snd_pmac **chip_return)
 
int snd_pmac_pcm_new (struct snd_pmac *chip)
 
int snd_pmac_attach_beep (struct snd_pmac *chip)
 
void snd_pmac_detach_beep (struct snd_pmac *chip)
 
void snd_pmac_beep_stop (struct snd_pmac *chip)
 
unsigned int snd_pmac_rate_index (struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate)
 
void snd_pmac_beep_dma_start (struct snd_pmac *chip, int bytes, unsigned long addr, int speed)
 
void snd_pmac_beep_dma_stop (struct snd_pmac *chip)
 
int snd_pmac_awacs_init (struct snd_pmac *chip)
 
int snd_pmac_burgundy_init (struct snd_pmac *chip)
 
int snd_pmac_daca_init (struct snd_pmac *chip)
 
int snd_pmac_tumbler_init (struct snd_pmac *chip)
 
int snd_pmac_tumbler_post_init (void)
 
int snd_pmac_keywest_init (struct pmac_keywest *i2c)
 
void snd_pmac_keywest_cleanup (struct pmac_keywest *i2c)
 
int snd_pmac_add_automute (struct snd_pmac *chip)
 

Macro Definition Documentation

#define PMAC_MAX_FRAGS   32

Definition at line 44 of file pmac.h.

#define PMAC_SUPPORT_AUTOMUTE

Definition at line 47 of file pmac.h.

#define snd_pmac_boolean_mono_info   snd_ctl_boolean_mono_info

Definition at line 206 of file pmac.h.

#define snd_pmac_boolean_stereo_info   snd_ctl_boolean_stereo_info

Definition at line 205 of file pmac.h.

Enumeration Type Documentation

Enumerator:
PMAC_AWACS 
PMAC_SCREAMER 
PMAC_BURGUNDY 
PMAC_DACA 
PMAC_TUMBLER 
PMAC_SNAPPER 

Definition at line 86 of file pmac.h.

Function Documentation

int snd_pmac_add_automute ( struct snd_pmac chip)

Definition at line 1164 of file pmac.c.

int snd_pmac_attach_beep ( struct snd_pmac chip)

Definition at line 218 of file beep.c.

int snd_pmac_awacs_init ( struct snd_pmac chip)

Definition at line 876 of file awacs.c.

void snd_pmac_beep_dma_start ( struct snd_pmac chip,
int  bytes,
unsigned long  addr,
int  speed 
)

Definition at line 756 of file pmac.c.

void snd_pmac_beep_dma_stop ( struct snd_pmac chip)

Definition at line 774 of file pmac.c.

void snd_pmac_beep_stop ( struct snd_pmac chip)

Definition at line 46 of file beep.c.

int snd_pmac_burgundy_init ( struct snd_pmac chip)

Definition at line 620 of file burgundy.c.

int snd_pmac_daca_init ( struct snd_pmac chip)

Definition at line 247 of file daca.c.

void snd_pmac_detach_beep ( struct snd_pmac chip)

Definition at line 276 of file beep.c.

void snd_pmac_keywest_cleanup ( struct pmac_keywest i2c)

Definition at line 110 of file keywest.c.

int snd_pmac_keywest_init ( struct pmac_keywest i2c)

Definition at line 133 of file keywest.c.

int snd_pmac_new ( struct snd_card card,
struct snd_pmac **  chip_return 
)

Definition at line 1181 of file pmac.c.

int snd_pmac_pcm_new ( struct snd_pmac chip)

Definition at line 705 of file pmac.c.

unsigned int snd_pmac_rate_index ( struct snd_pmac chip,
struct pmac_stream rec,
unsigned int  rate 
)

Definition at line 96 of file pmac.c.

int snd_pmac_tumbler_init ( struct snd_pmac chip)

Definition at line 1352 of file tumbler.c.

int snd_pmac_tumbler_post_init ( void  )

Definition at line 118 of file keywest.c.