Linux Kernel
3.7.1
|
#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) |
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
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.