Linux Kernel
3.7.1
|
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/jack.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.
Macros | |
#define | get_jack_plug_state(sense) !!(sense & AC_PINSENSE_PRESENCE) |
#define get_jack_plug_state | ( | sense | ) | !!(sense & AC_PINSENSE_PRESENCE) |
Definition at line 176 of file hda_jack.c.
EXPORT_SYMBOL_HDA | ( | is_jack_detectable | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_tbl_get | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_tbl_get_from_tag | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_tbl_new | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_set_dirty_all | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_pin_sense | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_detect | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_detect_enable_callback | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_detect_enable | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_report_sync | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_add_kctl | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_add_kctls | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_jack_unsol_event | ) |
Definition at line 23 of file hda_jack.c.
Definition at line 319 of file hda_jack.c.
snd_hda_jack_add_kctls - Add kctls for all pins included in the given pincfg
Definition at line 380 of file hda_jack.c.
Definition at line 215 of file hda_jack.c.
int snd_hda_jack_detect_enable_callback | ( | struct hda_codec * | codec, |
hda_nid_t | nid, | ||
unsigned char | action, | ||
hda_jack_callback | cb | ||
) |
snd_hda_jack_detect_enable - enable the jack-detection
Definition at line 195 of file hda_jack.c.
snd_hda_jack_report_sync - sync the states of all jacks and report if changed
Definition at line 225 of file hda_jack.c.
snd_hda_set_dirty_all - Mark all the cached as dirty
This function sets the dirty flag to all entries of jack table. It's called from the resume path in hda_codec.c.
Definition at line 146 of file hda_jack.c.
Definition at line 109 of file hda_jack.c.
|
read |
snd_hda_jack_tbl_get - query the jack-table entry for the given NID
Definition at line 57 of file hda_jack.c.
|
read |
snd_hda_jack_tbl_get_from_tag - query the jack-table entry for the given tag
Definition at line 75 of file hda_jack.c.
|
read |
snd_hda_jack_tbl_new - create a jack-table entry for the given NID
Definition at line 93 of file hda_jack.c.
Definition at line 425 of file hda_jack.c.
snd_hda_pin_sense - execute pin sense measurement : the CODEC to sense : the pin NID to sense
Execute necessary pin sense measurement and return its Presence Detect, Impedance, ELD Valid etc. status bits.
Definition at line 165 of file hda_jack.c.