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

Go to the source code of this file.

Macros

#define AMIXER_RESOURCE_NUM   256
 
#define SUM_RESOURCE_NUM   256
 
#define AMIXER_Y_IMMEDIATE   1
 
#define BLANK_SLOT   4094
 

Functions

int amixer_mgr_create (void *hw, struct amixer_mgr **ramixer_mgr)
 
int amixer_mgr_destroy (struct amixer_mgr *amixer_mgr)
 
int sum_mgr_create (void *hw, struct sum_mgr **rsum_mgr)
 
int sum_mgr_destroy (struct sum_mgr *sum_mgr)
 

Macro Definition Documentation

#define AMIXER_RESOURCE_NUM   256

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.

ctamixer.c

This file contains the implementation of the Audio Mixer resource management object.

Liu Chun May 21 2008

Definition at line 23 of file ctamixer.c.

#define AMIXER_Y_IMMEDIATE   1

Definition at line 26 of file ctamixer.c.

#define BLANK_SLOT   4094

Definition at line 28 of file ctamixer.c.

#define SUM_RESOURCE_NUM   256

Definition at line 24 of file ctamixer.c.

Function Documentation

int amixer_mgr_create ( void hw,
struct amixer_mgr **  ramixer_mgr 
)

Definition at line 299 of file ctamixer.c.

int amixer_mgr_destroy ( struct amixer_mgr amixer_mgr)

Definition at line 327 of file ctamixer.c.

int sum_mgr_create ( void hw,
struct sum_mgr **  rsum_mgr 
)

Definition at line 452 of file ctamixer.c.

int sum_mgr_destroy ( struct sum_mgr sum_mgr)

Definition at line 480 of file ctamixer.c.