Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
ctatc.h File Reference
#include <linux/types.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/timer.h>
#include <sound/core.h>
#include "ctvmem.h"
#include "cthardware.h"
#include "ctresource.h"

Go to the source code of this file.

Data Structures

struct  ct_atc_chip_sub_details
 
struct  ct_atc_chip_details
 
struct  ct_atc_pcm
 
struct  ct_atc
 

Enumerations

enum  CTALSADEVS {
  FRONT, SURROUND, CLFE, SIDE,
  IEC958, MIXER, NUM_CTALSADEVS
}
 

Functions

int __devinit ct_atc_create (struct snd_card *card, struct pci_dev *pci, unsigned int rsr, unsigned int msr, int chip_type, unsigned int subsysid, struct ct_atc **ratc)
 
int __devinit ct_atc_create_alsa_devs (struct ct_atc *atc)
 

Enumeration Type Documentation

enum CTALSADEVS

Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved.

This source file is released under GPL v2 license (no other versions). See the COPYING file included in the main directory of this source distribution for the license terms and conditions.

ctatc.h

This file contains the definition of the device resource management object.

Liu Chun Mar 28 2008

Enumerator:
FRONT 
SURROUND 
CLFE 
SIDE 
IEC958 
MIXER 
NUM_CTALSADEVS 

Definition at line 31 of file ctatc.h.

Function Documentation

int __devinit ct_atc_create ( struct snd_card card,
struct pci_dev pci,
unsigned int  rsr,
unsigned int  msr,
int  chip_type,
unsigned int  ssid,
struct ct_atc **  ratc 
)

ct_atc_create - create and initialize a hardware manager : corresponding alsa card object : corresponding kernel pci device object : return created object address in it

Creates and initializes a hardware manager.

Creates kmallocated ct_atc structure. Initializes hardware. Returns 0 if succeeds, or negative error code if fails.

Definition at line 1668 of file ctatc.c.

int __devinit ct_atc_create_alsa_devs ( struct ct_atc atc)

Definition at line 1299 of file ctatc.c.