Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hda_generic.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <sound/core.h>
#include "hda_codec.h"
#include "hda_local.h"

Go to the source code of this file.

Data Structures

struct  hda_gnode
 
struct  pcm_vol
 
struct  hda_gspec
 

Macros

#define MAX_PCM_VOLS   2
 
#define defcfg_type(node)
 
#define defcfg_location(node)
 
#define defcfg_port_conn(node)
 
#define add_input_loopback(codec, nid, dir, idx)
 

Functions

int snd_hda_parse_generic_codec (struct hda_codec *codec)
 
 EXPORT_SYMBOL (snd_hda_parse_generic_codec)
 

Macro Definition Documentation

#define add_input_loopback (   codec,
  nid,
  dir,
  idx 
)

Definition at line 675 of file hda_generic.c.

#define defcfg_location (   node)
Value:
(((node)->def_cfg & AC_DEFCFG_LOCATION) >> \
AC_DEFCFG_LOCATION_SHIFT)

Definition at line 86 of file hda_generic.c.

#define defcfg_port_conn (   node)
Value:
(((node)->def_cfg & AC_DEFCFG_PORT_CONN) >> \
AC_DEFCFG_PORT_CONN_SHIFT)

Definition at line 88 of file hda_generic.c.

#define defcfg_type (   node)
Value:
(((node)->def_cfg & AC_DEFCFG_DEVICE) >> \
AC_DEFCFG_DEVICE_SHIFT)

Definition at line 84 of file hda_generic.c.

#define MAX_PCM_VOLS   2

Definition at line 49 of file hda_generic.c.

Function Documentation

EXPORT_SYMBOL ( snd_hda_parse_generic_codec  )
int snd_hda_parse_generic_codec ( struct hda_codec codec)

Definition at line 1054 of file hda_generic.c.