#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/jack.h>
#include "hda_codec.h"
#include "hda_local.h"
#include "hda_auto_parser.h"
#include "hda_beep.h"
#include "hda_jack.h"
Go to the source code of this file.
|
#define | CXT_PIN_DIR_IN 0x00 |
|
#define | CXT_PIN_DIR_OUT 0x01 |
|
#define | CXT_PIN_DIR_INOUT 0x02 |
|
#define | CXT_PIN_DIR_IN_NOMICBIAS 0x03 |
|
#define | CXT_PIN_DIR_INOUT_NOMICBIAS 0x04 |
|
#define | CONEXANT_HP_EVENT 0x37 |
|
#define | CONEXANT_MIC_EVENT 0x38 |
|
#define | CONEXANT_LINE_EVENT 0x39 |
|
#define | CXT5051_SPDIF_OUT 0x12 |
|
#define | CXT5051_PORTB_EVENT 0x38 |
|
#define | CXT5051_PORTC_EVENT 0x39 |
|
#define | AUTO_MIC_PORTB (1 << 1) |
|
#define | AUTO_MIC_PORTC (1 << 2) |
|
#define | set_beep_amp(spec, nid, idx, dir) /* NOP */ |
|
#define | cxt_eapd_info snd_ctl_boolean_mono_info |
|
#define | CXT5045_SPDIF_OUT 0x18 |
|
#define | CXT5047_SPDIF_OUT 0x11 |
|
#define | CXT5066_OLPC_EXT_MIC_BIAS PIN_VREF50 |
|
#define | HP_PRESENT_PORT_A (1 << 0) |
|
#define | HP_PRESENT_PORT_D (1 << 1) |
|
#define | hp_port_a_present(spec) ((spec)->hp_present & HP_PRESENT_PORT_A) |
|
#define | hp_port_d_present(spec) ((spec)->hp_present & HP_PRESENT_PORT_D) |
|
#define | get_connection_index(codec, mux, nid) snd_hda_get_conn_index(codec, mux, nid, 0) |
|
#define | MAX_AUTO_DACS 5 |
|
#define | DAC_SLAVE_FLAG 0x8000 /* filled dac is a slave */ |
|
#define | cx_auto_parse_beep(codec) |
|
#define | cx_auto_add_volume(codec, str, dir, cidx, nid, hda_dir) cx_auto_add_volume_idx(codec, str, dir, cidx, nid, hda_dir, 0, 3) |
|
#define | cx_auto_add_pb_volume(codec, nid, str, idx) cx_auto_add_volume(codec, str, " Playback", idx, nid, HDA_OUTPUT) |
|
|
enum | {
CXT5045_LAPTOP_HPSENSE,
CXT5045_LAPTOP_MICSENSE,
CXT5045_LAPTOP_HPMICSENSE,
CXT5045_BENQ,
CXT5045_LAPTOP_HP530,
CXT5045_AUTO,
CXT5045_MODELS
} |
|
enum | {
CXT5047_LAPTOP,
CXT5047_LAPTOP_HP,
CXT5047_LAPTOP_EAPD,
CXT5047_AUTO,
CXT5047_MODELS
} |
|
enum | {
CXT5051_LAPTOP,
CXT5051_HP,
CXT5051_HP_DV6736,
CXT5051_F700,
CXT5051_TOSHIBA,
CXT5051_IDEAPAD,
CXT5051_AUTO,
CXT5051_MODELS
} |
|
enum | {
CXT5066_LAPTOP,
CXT5066_DELL_LAPTOP,
CXT5066_OLPC_XO_1_5,
CXT5066_DELL_VOSTRO,
CXT5066_IDEAPAD,
CXT5066_THINKPAD,
CXT5066_ASUS,
CXT5066_HP_LAPTOP,
CXT5066_AUTO,
CXT5066_MODELS
} |
|
enum | { CXT_PINCFG_LENOVO_X200,
CXT_PINCFG_LENOVO_TP410,
CXT_FIXUP_STEREO_DMIC
} |
|
#define AUTO_MIC_PORTB (1 << 1) |
#define AUTO_MIC_PORTC (1 << 2) |
#define CONEXANT_HP_EVENT 0x37 |
#define CONEXANT_LINE_EVENT 0x39 |
#define CONEXANT_MIC_EVENT 0x38 |
#define cx_auto_add_volume |
( |
|
codec, |
|
|
|
str, |
|
|
|
dir, |
|
|
|
cidx, |
|
|
|
nid, |
|
|
|
hda_dir |
|
) |
| cx_auto_add_volume_idx(codec, str, dir, cidx, nid, hda_dir, 0, 3) |
#define cx_auto_parse_beep |
( |
|
codec | ) |
|
#define CXT5045_SPDIF_OUT 0x18 |
#define CXT5047_SPDIF_OUT 0x11 |
#define CXT5051_PORTB_EVENT 0x38 |
#define CXT5051_PORTC_EVENT 0x39 |
#define CXT5051_SPDIF_OUT 0x12 |
#define CXT_PIN_DIR_IN 0x00 |
#define CXT_PIN_DIR_IN_NOMICBIAS 0x03 |
#define CXT_PIN_DIR_INOUT 0x02 |
#define CXT_PIN_DIR_INOUT_NOMICBIAS 0x04 |
#define CXT_PIN_DIR_OUT 0x01 |
#define DAC_SLAVE_FLAG 0x8000 /* filled dac is a slave */ |
#define HP_PRESENT_PORT_A (1 << 0) |
#define HP_PRESENT_PORT_D (1 << 1) |
#define set_beep_amp |
( |
|
spec, |
|
|
|
nid, |
|
|
|
idx, |
|
|
|
dir |
|
) |
| /* NOP */ |
- Enumerator:
CXT5045_LAPTOP_HPSENSE |
|
CXT5045_LAPTOP_MICSENSE |
|
CXT5045_LAPTOP_HPMICSENSE |
|
CXT5045_BENQ |
|
CXT5045_LAPTOP_HP530 |
|
CXT5045_AUTO |
|
CXT5045_MODELS |
|
Definition at line 1031 of file patch_conexant.c.
- Enumerator:
CXT5047_LAPTOP |
|
CXT5047_LAPTOP_HP |
|
CXT5047_LAPTOP_EAPD |
|
CXT5047_AUTO |
|
CXT5047_MODELS |
|
Definition at line 1483 of file patch_conexant.c.
- Enumerator:
CXT5051_LAPTOP |
|
CXT5051_HP |
|
CXT5051_HP_DV6736 |
|
CXT5051_F700 |
|
CXT5051_TOSHIBA |
|
CXT5051_IDEAPAD |
|
CXT5051_AUTO |
|
CXT5051_MODELS |
|
Definition at line 1861 of file patch_conexant.c.
- Enumerator:
CXT5066_LAPTOP |
|
CXT5066_DELL_LAPTOP |
|
CXT5066_OLPC_XO_1_5 |
|
CXT5066_DELL_VOSTRO |
|
CXT5066_IDEAPAD |
|
CXT5066_THINKPAD |
|
CXT5066_ASUS |
|
CXT5066_HP_LAPTOP |
|
CXT5066_AUTO |
|
CXT5066_MODELS |
|
Definition at line 2944 of file patch_conexant.c.
- Enumerator:
CXT_PINCFG_LENOVO_X200 |
|
CXT_PINCFG_LENOVO_TP410 |
|
CXT_FIXUP_STEREO_DMIC |
|
Definition at line 4405 of file patch_conexant.c.
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15045" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15047" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15051" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15066" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15067" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15068" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15069" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f1506c" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f1506e" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15097" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15098" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150a1" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150a2" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150ab" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150ac" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150b8" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f150b9" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f1510f" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15110" |
| ) |
|
MODULE_ALIAS |
( |
"snd-hda-codec-id:14f15111" |
| ) |
|