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

#include <ca_midi.h>

Data Fields

struct snd_rawmidirmidi
 
struct snd_rawmidi_substreamsubstream_input
 
struct snd_rawmidi_substreamsubstream_output
 
voiddev_id
 
spinlock_t input_lock
 
spinlock_t output_lock
 
spinlock_t open_lock
 
unsigned int channel
 
unsigned int midi_mode
 
int port
 
int tx_enable
 
int rx_enable
 
int ipr_tx
 
int ipr_rx
 
int input_avail
 
int output_ready
 
int ack
 
int reset
 
int enter_uart
 
void(* interrupt )(struct snd_ca_midi *midi, unsigned int status)
 
void(* interrupt_enable )(struct snd_ca_midi *midi, int intr)
 
void(* interrupt_disable )(struct snd_ca_midi *midi, int intr)
 
unsigned char(* read )(struct snd_ca_midi *midi, int idx)
 
void(* write )(struct snd_ca_midi *midi, int data, int idx)
 
struct snd_card *(* get_dev_id_card )(void *dev_id)
 
int(* get_dev_id_port )(void *dev_id)
 

Detailed Description

Definition at line 32 of file ca_midi.h.

Field Documentation

int ack

Definition at line 52 of file ca_midi.h.

unsigned int channel

Definition at line 44 of file ca_midi.h.

void* dev_id

Definition at line 38 of file ca_midi.h.

int enter_uart

Definition at line 52 of file ca_midi.h.

struct snd_card*(* get_dev_id_card)(void *dev_id)
read

Definition at line 62 of file ca_midi.h.

int(* get_dev_id_port)(void *dev_id)

Definition at line 63 of file ca_midi.h.

int input_avail

Definition at line 51 of file ca_midi.h.

spinlock_t input_lock

Definition at line 40 of file ca_midi.h.

void(* interrupt)(struct snd_ca_midi *midi, unsigned int status)

Definition at line 54 of file ca_midi.h.

void(* interrupt_disable)(struct snd_ca_midi *midi, int intr)

Definition at line 56 of file ca_midi.h.

void(* interrupt_enable)(struct snd_ca_midi *midi, int intr)

Definition at line 55 of file ca_midi.h.

int ipr_rx

Definition at line 49 of file ca_midi.h.

int ipr_tx

Definition at line 49 of file ca_midi.h.

unsigned int midi_mode

Definition at line 46 of file ca_midi.h.

spinlock_t open_lock

Definition at line 42 of file ca_midi.h.

spinlock_t output_lock

Definition at line 41 of file ca_midi.h.

int output_ready

Definition at line 51 of file ca_midi.h.

Definition at line 47 of file ca_midi.h.

unsigned char(* read)(struct snd_ca_midi *midi, int idx)

Definition at line 58 of file ca_midi.h.

int reset

Definition at line 52 of file ca_midi.h.

Definition at line 34 of file ca_midi.h.

int rx_enable

Definition at line 48 of file ca_midi.h.

struct snd_rawmidi_substream* substream_input

Definition at line 35 of file ca_midi.h.

struct snd_rawmidi_substream* substream_output

Definition at line 36 of file ca_midi.h.

int tx_enable

Definition at line 48 of file ca_midi.h.

void(* write)(struct snd_ca_midi *midi, int data, int idx)

Definition at line 59 of file ca_midi.h.


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