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/jack.h>
#include <sound/asoundef.h>
#include <sound/tlv.h>
#include "hda_codec.h"
#include "hda_local.h"
#include "hda_jack.h"
Go to the source code of this file.
Data Structures | |
struct | hdmi_spec_per_cvt |
struct | hdmi_spec_per_pin |
struct | hdmi_spec |
struct | hdmi_audio_infoframe |
struct | dp_audio_infoframe |
union | audio_infoframe |
struct | cea_channel_speaker_allocation |
struct | channel_map_table |
Macros | |
#define | MAX_HDMI_CVTS 8 |
#define | MAX_HDMI_PINS 8 |
#define | is_hbr_format(format) ((format & AC_FMT_TYPE_NON_PCM) && (format & AC_FMT_CHAN_MASK) == 7) |
#define | simple_hdmi_build_jack generic_hdmi_build_jack |
#define | Nv_VERB_SET_Channel_Allocation 0xF79 |
#define | Nv_VERB_SET_Info_Frame_Checksum 0xF7A |
#define | Nv_VERB_SET_Audio_Protection_On 0xF98 |
#define | Nv_VERB_SET_Audio_Protection_Off 0xF99 |
#define | nvhdmi_master_con_nid_7x 0x04 |
#define | nvhdmi_master_pin_nid_7x 0x05 |
#define | SUPPORTED_RATES |
#define | SUPPORTED_MAXBPS 24 |
#define | SUPPORTED_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) |
#define | ATIHDMI_CVT_NID 0x02 /* audio converter */ |
#define | ATIHDMI_PIN_NID 0x03 /* HDMI output pin */ |
#define | VIAHDMI_CVT_NID 0x02 /* audio converter1 */ |
#define | VIAHDMI_PIN_NID 0x03 /* HDMI output pin1 */ |
Enumerations | |
enum | cea_speaker_placement { FL = (1 << 0), FC = (1 << 1), FR = (1 << 2), FLC = (1 << 3), FRC = (1 << 4), RL = (1 << 5), RC = (1 << 6), RR = (1 << 7), RLC = (1 << 8), RRC = (1 << 9), LFE = (1 << 10), FLW = (1 << 11), FRW = (1 << 12), FLH = (1 << 13), FCH = (1 << 14), FRH = (1 << 15), TC = (1 << 16) } |
Functions | |
module_param (static_hdmi_pcm, bool, 0644) | |
MODULE_PARM_DESC (static_hdmi_pcm,"Don't restrict PCM parameters per ELD info") | |
MODULE_ALIAS ("snd-hda-codec-id:1002793c") | |
MODULE_ALIAS ("snd-hda-codec-id:10027919") | |
MODULE_ALIAS ("snd-hda-codec-id:1002791a") | |
MODULE_ALIAS ("snd-hda-codec-id:1002aa01") | |
MODULE_ALIAS ("snd-hda-codec-id:10951390") | |
MODULE_ALIAS ("snd-hda-codec-id:10951392") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0002") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0003") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0005") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0006") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0007") | |
MODULE_ALIAS ("snd-hda-codec-id:10de000a") | |
MODULE_ALIAS ("snd-hda-codec-id:10de000b") | |
MODULE_ALIAS ("snd-hda-codec-id:10de000c") | |
MODULE_ALIAS ("snd-hda-codec-id:10de000d") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0010") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0011") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0012") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0013") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0014") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0015") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0016") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0018") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0019") | |
MODULE_ALIAS ("snd-hda-codec-id:10de001a") | |
MODULE_ALIAS ("snd-hda-codec-id:10de001b") | |
MODULE_ALIAS ("snd-hda-codec-id:10de001c") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0040") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0041") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0042") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0043") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0044") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0051") | |
MODULE_ALIAS ("snd-hda-codec-id:10de0067") | |
MODULE_ALIAS ("snd-hda-codec-id:10de8001") | |
MODULE_ALIAS ("snd-hda-codec-id:11069f80") | |
MODULE_ALIAS ("snd-hda-codec-id:11069f81") | |
MODULE_ALIAS ("snd-hda-codec-id:11069f84") | |
MODULE_ALIAS ("snd-hda-codec-id:11069f85") | |
MODULE_ALIAS ("snd-hda-codec-id:17e80047") | |
MODULE_ALIAS ("snd-hda-codec-id:80860054") | |
MODULE_ALIAS ("snd-hda-codec-id:80862801") | |
MODULE_ALIAS ("snd-hda-codec-id:80862802") | |
MODULE_ALIAS ("snd-hda-codec-id:80862803") | |
MODULE_ALIAS ("snd-hda-codec-id:80862804") | |
MODULE_ALIAS ("snd-hda-codec-id:80862805") | |
MODULE_ALIAS ("snd-hda-codec-id:80862806") | |
MODULE_ALIAS ("snd-hda-codec-id:80862807") | |
MODULE_ALIAS ("snd-hda-codec-id:80862880") | |
MODULE_ALIAS ("snd-hda-codec-id:808629fb") | |
MODULE_LICENSE ("GPL") | |
MODULE_DESCRIPTION ("HDMI HD-audio codec") | |
MODULE_ALIAS ("snd-hda-codec-intelhdmi") | |
MODULE_ALIAS ("snd-hda-codec-nvhdmi") | |
MODULE_ALIAS ("snd-hda-codec-atihdmi") | |
#define ATIHDMI_CVT_NID 0x02 /* audio converter */ |
Definition at line 2222 of file patch_hdmi.c.
#define ATIHDMI_PIN_NID 0x03 /* HDMI output pin */ |
Definition at line 2223 of file patch_hdmi.c.
#define is_hbr_format | ( | format | ) | ((format & AC_FMT_TYPE_NON_PCM) && (format & AC_FMT_CHAN_MASK) == 7) |
Definition at line 1000 of file patch_hdmi.c.
#define MAX_HDMI_CVTS 8 |
Definition at line 54 of file patch_hdmi.c.
#define MAX_HDMI_PINS 8 |
Definition at line 55 of file patch_hdmi.c.
#define Nv_VERB_SET_Audio_Protection_Off 0xF99 |
Definition at line 1795 of file patch_hdmi.c.
#define Nv_VERB_SET_Audio_Protection_On 0xF98 |
Definition at line 1794 of file patch_hdmi.c.
#define Nv_VERB_SET_Channel_Allocation 0xF79 |
Definition at line 1792 of file patch_hdmi.c.
#define Nv_VERB_SET_Info_Frame_Checksum 0xF7A |
Definition at line 1793 of file patch_hdmi.c.
#define nvhdmi_master_con_nid_7x 0x04 |
Definition at line 1797 of file patch_hdmi.c.
#define nvhdmi_master_pin_nid_7x 0x05 |
Definition at line 1798 of file patch_hdmi.c.
#define simple_hdmi_build_jack generic_hdmi_build_jack |
Definition at line 1751 of file patch_hdmi.c.
#define SUPPORTED_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S32_LE) |
Definition at line 1837 of file patch_hdmi.c.
#define SUPPORTED_MAXBPS 24 |
Definition at line 1836 of file patch_hdmi.c.
#define SUPPORTED_RATES |
Definition at line 1832 of file patch_hdmi.c.
#define VIAHDMI_CVT_NID 0x02 /* audio converter1 */ |
Definition at line 2262 of file patch_hdmi.c.
#define VIAHDMI_PIN_NID 0x03 /* HDMI output pin1 */ |
Definition at line 2263 of file patch_hdmi.c.
Definition at line 144 of file patch_hdmi.c.
MODULE_ALIAS | ( | "snd-hda-codec-id:1002793c" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10027919" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:1002791a" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:1002aa01" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10951390" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10951392" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0002" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0003" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0005" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0006" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0007" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de000a" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de000b" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de000c" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de000d" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0010" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0011" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0012" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0013" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0014" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0015" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0016" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0018" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0019" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de001a" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de001b" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de001c" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0040" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0041" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0042" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0043" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0044" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0051" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de0067" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:10de8001" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:11069f80" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:11069f81" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:11069f84" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:11069f85" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:17e80047" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80860054" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862801" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862802" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862803" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862804" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862805" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862806" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862807" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:80862880" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-id:808629fb" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-intelhdmi" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-nvhdmi" | ) |
MODULE_ALIAS | ( | "snd-hda-codec-atihdmi" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | static_hdmi_pcm | , |
bool | , | ||
0644 | |||
) |
MODULE_PARM_DESC | ( | static_hdmi_pcm | , |
"Don't restrict PCM parameters per ELD info" | |||
) |