Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/asoundef.h>
#include "hda_codec.h"
#include "hda_local.h"
#include "hda_auto_parser.h"
#include "hda_jack.h"
Go to the source code of this file.
Data Structures | |
struct | nid_path |
struct | via_input |
struct | via_spec |
Macros | |
#define | VT1708_HP_PIN_NID 0x20 |
#define | VT1708_CD_PIN_NID 0x24 |
#define | VT2002P_COMPATIBLE(spec) |
#define | MAX_NID_PATH_DEPTH 5 |
#define | VIA_MAX_ADCS 3 |
#define | VIA_JACK_EVENT 0x20 |
#define | VIA_HP_EVENT 0x01 |
#define | VIA_LINE_EVENT 0x03 |
#define | hp_detect_with_aa(codec) |
#define | ANALOG_INPUT_MUTE |
#define | via_add_control(spec, type, name, val) __via_add_control(spec, type, name, 0, val) |
#define | via_clone_control(spec, tmpl) __via_clone_ctl(spec, tmpl, NULL) |
#define | get_connection_index(codec, mux, nid) snd_hda_get_conn_index(codec, mux, nid, 0) |
#define | have_mute(codec, nid, dir) check_amp_caps(codec, nid, dir, AC_AMPCAP_MUTE) |
#define | via_aamix_ctl_info via_pin_power_ctl_info |
Enumerations | |
enum | VIA_HDA_CODEC { UNKNOWN = -1, VT1708, VT1709_10CH, VT1709_6CH, VT1708B_8CH, VT1708B_4CH, VT1708S, VT1708BCE, VT1702, VT1718S, VT1716S, VT2002P, VT1812, VT1802, CODEC_TYPES } |
enum | { STREAM_MULTI_OUT = (1 << 0), STREAM_INDEP_HP = (1 << 1) } |
enum | { VIA_CTL_WIDGET_VOL, VIA_CTL_WIDGET_MUTE, VIA_CTL_WIDGET_ANALOG_MUTE } |
enum | { VIA_FIXUP_INTMIC_BOOST, VIA_FIXUP_ASUS_G75 } |
Functions | |
MODULE_ALIAS ("snd-hda-codec-id:1106*") | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("VIA HD-audio codec") | |
#define ANALOG_INPUT_MUTE |
Definition at line 367 of file patch_via.c.
#define get_connection_index | ( | codec, | |
mux, | |||
nid | |||
) | snd_hda_get_conn_index(codec, mux, nid, 0) |
Definition at line 458 of file patch_via.c.
#define have_mute | ( | codec, | |
nid, | |||
dir | |||
) | check_amp_caps(codec, nid, dir, AC_AMPCAP_MUTE) |
Definition at line 479 of file patch_via.c.
#define hp_detect_with_aa | ( | codec | ) |
Definition at line 316 of file patch_via.c.
#define MAX_NID_PATH_DEPTH 5 |
Definition at line 87 of file patch_via.c.
#define via_aamix_ctl_info via_pin_power_ctl_info |
Definition at line 2110 of file patch_via.c.
Definition at line 420 of file patch_via.c.
#define via_clone_control | ( | spec, | |
tmpl | |||
) | __via_clone_ctl(spec, tmpl, NULL) |
Definition at line 423 of file patch_via.c.
#define VIA_HP_EVENT 0x01 |
Definition at line 304 of file patch_via.c.
#define VIA_JACK_EVENT 0x20 |
Definition at line 303 of file patch_via.c.
#define VIA_LINE_EVENT 0x03 |
Definition at line 305 of file patch_via.c.
#define VIA_MAX_ADCS 3 |
Definition at line 113 of file patch_via.c.
#define VT1708_CD_PIN_NID 0x24 |
Definition at line 62 of file patch_via.c.
#define VT1708_HP_PIN_NID 0x20 |
Definition at line 61 of file patch_via.c.
#define VT2002P_COMPATIBLE | ( | spec | ) |
Definition at line 82 of file patch_via.c.
anonymous enum |
Definition at line 115 of file patch_via.c.
anonymous enum |
Definition at line 307 of file patch_via.c.
anonymous enum |
Definition at line 3626 of file patch_via.c.
enum VIA_HDA_CODEC |
UNKNOWN | |
VT1708 | |
VT1709_10CH | |
VT1709_6CH | |
VT1708B_8CH | |
VT1708B_4CH | |
VT1708S | |
VT1708BCE | |
VT1702 | |
VT1718S | |
VT1716S | |
VT2002P | |
VT1812 | |
VT1802 | |
CODEC_TYPES |
Definition at line 64 of file patch_via.c.
MODULE_ALIAS | ( | "snd-hda-codec-id:1106*" | ) |
MODULE_LICENSE | ( | "GPL" | ) |