hda_regmap.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) | hda_regmap.h (3194ed497939c6448005542e3ca4fa2386968fa0) |
---|---|
1/* 2 * HD-audio regmap helpers 3 */ 4 5#ifndef __SOUND_HDA_REGMAP_H 6#define __SOUND_HDA_REGMAP_H 7 8#include <linux/regmap.h> 9#include <sound/core.h> 10#include <sound/hdaudio.h> 11 12#define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */ 13 14int snd_hdac_regmap_init(struct hdac_device *codec); 15void snd_hdac_regmap_exit(struct hdac_device *codec); 16int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 17 unsigned int verb); 18int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 19 unsigned int *val); | 1/* 2 * HD-audio regmap helpers 3 */ 4 5#ifndef __SOUND_HDA_REGMAP_H 6#define __SOUND_HDA_REGMAP_H 7 8#include <linux/regmap.h> 9#include <sound/core.h> 10#include <sound/hdaudio.h> 11 12#define AC_AMP_FAKE_MUTE 0x10 /* fake mute bit set to amp verbs */ 13 14int snd_hdac_regmap_init(struct hdac_device *codec); 15void snd_hdac_regmap_exit(struct hdac_device *codec); 16int snd_hdac_regmap_add_vendor_verb(struct hdac_device *codec, 17 unsigned int verb); 18int snd_hdac_regmap_read_raw(struct hdac_device *codec, unsigned int reg, 19 unsigned int *val); |
20int snd_hdac_regmap_read_raw_uncached(struct hdac_device *codec, 21 unsigned int reg, unsigned int *val); |
|
20int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 21 unsigned int val); 22int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 23 unsigned int mask, unsigned int val); 24 25/** 26 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register 27 * @nid: widget NID --- 192 unchanged lines hidden --- | 22int snd_hdac_regmap_write_raw(struct hdac_device *codec, unsigned int reg, 23 unsigned int val); 24int snd_hdac_regmap_update_raw(struct hdac_device *codec, unsigned int reg, 25 unsigned int mask, unsigned int val); 26 27/** 28 * snd_hdac_regmap_encode_verb - encode the verb to a pseudo register 29 * @nid: widget NID --- 192 unchanged lines hidden --- |