Linux Kernel
3.7.1
|
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include <linux/completion.h>
#include <sound/pcm.h>
#include <asm/prom.h>
#include <asm/pmac_feature.h>
#include <asm/dbdma.h>
#include "interface.h"
#include "../soundbus.h"
Go to the source code of this file.
Data Structures | |
struct | i2sbus_control |
struct | dbdma_command_mem |
struct | pcm_info |
struct | i2sbus_dev |
Macros | |
#define | MAX_DBDMA_COMMANDS 32 |
#define | soundbus_dev_to_i2sbus_dev(sdev) container_of(sdev, struct i2sbus_dev, sound) |
Enumerations | |
enum | { aoa_resource_i2smmio = 0, aoa_resource_txdbdma, aoa_resource_rxdbdma } |
Functions | |
int | i2sbus_attach_codec (struct soundbus_dev *dev, struct snd_card *card, struct codec_info *ci, void *data) |
void | i2sbus_detach_codec (struct soundbus_dev *dev, void *data) |
irqreturn_t | i2sbus_tx_intr (int irq, void *devid) |
irqreturn_t | i2sbus_rx_intr (int irq, void *devid) |
void | i2sbus_wait_for_stop_both (struct i2sbus_dev *i2sdev) |
void | i2sbus_pcm_prepare_both (struct i2sbus_dev *i2sdev) |
int | i2sbus_control_init (struct macio_dev *dev, struct i2sbus_control **c) |
void | i2sbus_control_destroy (struct i2sbus_control *c) |
int | i2sbus_control_add_dev (struct i2sbus_control *c, struct i2sbus_dev *i2sdev) |
void | i2sbus_control_remove_dev (struct i2sbus_control *c, struct i2sbus_dev *i2sdev) |
int | i2sbus_control_enable (struct i2sbus_control *c, struct i2sbus_dev *i2sdev) |
int | i2sbus_control_cell (struct i2sbus_control *c, struct i2sbus_dev *i2sdev, int enable) |
int | i2sbus_control_clock (struct i2sbus_control *c, struct i2sbus_dev *i2sdev, int enable) |
#define soundbus_dev_to_i2sbus_dev | ( | sdev | ) | container_of(sdev, struct i2sbus_dev, sound) |
anonymous enum |
int i2sbus_attach_codec | ( | struct soundbus_dev * | dev, |
struct snd_card * | card, | ||
struct codec_info * | ci, | ||
void * | data | ||
) |
int i2sbus_control_add_dev | ( | struct i2sbus_control * | c, |
struct i2sbus_dev * | i2sdev | ||
) |
int i2sbus_control_cell | ( | struct i2sbus_control * | c, |
struct i2sbus_dev * | i2sdev, | ||
int | enable | ||
) |
int i2sbus_control_clock | ( | struct i2sbus_control * | c, |
struct i2sbus_dev * | i2sdev, | ||
int | enable | ||
) |
void i2sbus_control_destroy | ( | struct i2sbus_control * | c | ) |
int i2sbus_control_enable | ( | struct i2sbus_control * | c, |
struct i2sbus_dev * | i2sdev | ||
) |
int i2sbus_control_init | ( | struct macio_dev * | dev, |
struct i2sbus_control ** | c | ||
) |
void i2sbus_control_remove_dev | ( | struct i2sbus_control * | c, |
struct i2sbus_dev * | i2sdev | ||
) |
void i2sbus_detach_codec | ( | struct soundbus_dev * | dev, |
void * | data | ||
) |
void i2sbus_pcm_prepare_both | ( | struct i2sbus_dev * | i2sdev | ) |
irqreturn_t i2sbus_rx_intr | ( | int | irq, |
void * | devid | ||
) |
irqreturn_t i2sbus_tx_intr | ( | int | irq, |
void * | devid | ||
) |
void i2sbus_wait_for_stop_both | ( | struct i2sbus_dev * | i2sdev | ) |