Linux Kernel
3.7.1
|
#include <linux/slab.h>
#include <linux/export.h>
#include <sound/core.h>
#include "hda_codec.h"
#include "hda_local.h"
#include "hda_auto_parser.h"
Go to the source code of this file.
Macros | |
#define | SFX "hda_codec: " |
#define SFX "hda_codec: " |
Definition at line 19 of file hda_auto_parser.c.
EXPORT_SYMBOL_HDA | ( | snd_hda_parse_pin_defcfg | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_get_input_pin_attr | ) |
EXPORT_SYMBOL_HDA | ( | hda_get_autocfg_input_label | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_get_pin_label | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_gen_add_verbs | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_gen_apply_verbs | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_apply_pincfgs | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_apply_fixup | ) |
EXPORT_SYMBOL_HDA | ( | snd_hda_pick_fixup | ) |
const char* hda_get_autocfg_input_label | ( | struct hda_codec * | codec, |
const struct auto_pin_cfg * | cfg, | ||
int | input | ||
) |
hda_get_autocfg_input_label - Get a label for the given input
Get a label for the given input pin defined by the autocfg item. Unlike hda_get_input_pin_label(), this function checks all inputs defined in autocfg and avoids the redundant mic/line prefix as much as possible.
Definition at line 452 of file hda_auto_parser.c.
Definition at line 668 of file hda_auto_parser.c.
Definition at line 660 of file hda_auto_parser.c.
Definition at line 637 of file hda_auto_parser.c.
Definition at line 649 of file hda_auto_parser.c.
Definition at line 344 of file hda_auto_parser.c.
int snd_hda_get_pin_label | ( | struct hda_codec * | codec, |
hda_nid_t | nid, | ||
const struct auto_pin_cfg * | cfg, | ||
char * | label, | ||
int | maxlen, | ||
int * | indexp | ||
) |
snd_hda_get_pin_label - Get a label for the given I/O pin
Get a label for the given pin. This function works for both input and output pins. When is given as non-NULL, the function tries to get an optimized label using hda_get_autocfg_input_label().
This function tries to give a unique label string for the pin as much as possible. For example, when the multiple line-outs are present, it adds the channel suffix like "Front", "Surround", etc (only when is given). If no unique name with a suffix is available and is non-NULL, the index number is stored in the pointer.
Definition at line 580 of file hda_auto_parser.c.
int snd_hda_parse_pin_defcfg | ( | struct hda_codec * | codec, |
struct auto_pin_cfg * | cfg, | ||
const hda_nid_t * | ignore_nids, | ||
unsigned int | cond_flags | ||
) |
Definition at line 125 of file hda_auto_parser.c.