Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
ctdaio.c File Reference
#include "ctdaio.h"
#include "cthardware.h"
#include "ctimap.h"
#include <linux/slab.h>
#include <linux/kernel.h>

Go to the source code of this file.

Data Structures

struct  daio_usage
 
struct  daio_rsc_idx
 

Macros

#define DAIO_OUT_MAX   SPDIFOO
 

Functions

int daio_mgr_create (void *hw, struct daio_mgr **rdaio_mgr)
 
int daio_mgr_destroy (struct daio_mgr *daio_mgr)
 

Variables

struct daio_rsc_idx idx_20k1 [NUM_DAIOTYP]
 
struct daio_rsc_idx idx_20k2 [NUM_DAIOTYP]
 

Macro Definition Documentation

#define DAIO_OUT_MAX   SPDIFOO

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.

ctdaio.c

This file contains the implementation of Digital Audio Input Output resource management object.

Liu Chun May 23 2008

Definition at line 25 of file ctdaio.c.

Function Documentation

int daio_mgr_create ( void hw,
struct daio_mgr **  rdaio_mgr 
)

Definition at line 695 of file ctdaio.c.

int daio_mgr_destroy ( struct daio_mgr daio_mgr)

Definition at line 748 of file ctdaio.c.

Variable Documentation

Initial value:
= {
[LINEO1] = {.left = 0x00, .right = 0x01},
[LINEO2] = {.left = 0x18, .right = 0x19},
[LINEO3] = {.left = 0x08, .right = 0x09},
[LINEO4] = {.left = 0x10, .right = 0x11},
[LINEIM] = {.left = 0x1b5, .right = 0x1bd},
[SPDIFOO] = {.left = 0x20, .right = 0x21},
[SPDIFIO] = {.left = 0x15, .right = 0x1d},
[SPDIFI1] = {.left = 0x95, .right = 0x9d},
}

Definition at line 36 of file ctdaio.c.

Initial value:
= {
[LINEO1] = {.left = 0x40, .right = 0x41},
[LINEO2] = {.left = 0x60, .right = 0x61},
[LINEO3] = {.left = 0x50, .right = 0x51},
[LINEO4] = {.left = 0x70, .right = 0x71},
[LINEIM] = {.left = 0x45, .right = 0xc5},
[MIC] = {.left = 0x55, .right = 0xd5},
[SPDIFOO] = {.left = 0x00, .right = 0x01},
[SPDIFIO] = {.left = 0x05, .right = 0x85},
}

Definition at line 47 of file ctdaio.c.