/kernel/linux/linux-5.10/sound/mips/ |
H A D | ad1843.c | 17 #include <sound/ad1843.h> 172 static int ad1843_read_bits(struct snd_ad1843 *ad1843, in ad1843_read_bits() argument 177 w = ad1843->read(ad1843->chip, field->reg); in ad1843_read_bits() 185 static int ad1843_write_bits(struct snd_ad1843 *ad1843, in ad1843_write_bits() argument 191 w = ad1843->read(ad1843->chip, field->reg); in ad1843_write_bits() 196 ad1843->write(ad1843->chip, field->reg, w); in ad1843_write_bits() 204 * ad1843 require 214 ad1843_read_multi(struct snd_ad1843 *ad1843, int argcount, ...) ad1843_read_multi() argument 246 ad1843_write_multi(struct snd_ad1843 *ad1843, int argcount, ...) ad1843_write_multi() argument 280 ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id) ad1843_get_gain_max() argument 296 ad1843_get_gain(struct snd_ad1843 *ad1843, int id) ad1843_get_gain() argument 323 ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval) ad1843_set_gain() argument 345 ad1843_get_recsrc(struct snd_ad1843 *ad1843) ad1843_get_recsrc() argument 363 ad1843_set_recsrc(struct snd_ad1843 *ad1843, int newsrc) ad1843_set_recsrc() argument 374 ad1843_setup_dac(struct snd_ad1843 *ad1843, unsigned int id, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels) ad1843_setup_dac() argument 426 ad1843_shutdown_dac(struct snd_ad1843 *ad1843, unsigned int id) ad1843_shutdown_dac() argument 434 ad1843_setup_adc(struct snd_ad1843 *ad1843, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels) ad1843_setup_adc() argument 455 ad1843_shutdown_adc(struct snd_ad1843 *ad1843) ad1843_shutdown_adc() argument 468 ad1843_init(struct snd_ad1843 *ad1843) ad1843_init() argument [all...] |
H A D | sgio2audio.c | 29 #include <sound/ad1843.h> 84 struct snd_ad1843 ad1843; member 152 uinfo->value.integer.max = ad1843_get_gain_max(&chip->ad1843, in sgio2audio_gain_info() 163 vol = ad1843_get_gain(&chip->ad1843, (int)kcontrol->private_value); in sgio2audio_gain_get() 177 oldvol = ad1843_get_gain(&chip->ad1843, kcontrol->private_value); in sgio2audio_gain_put() 181 newvol = ad1843_set_gain(&chip->ad1843, kcontrol->private_value, in sgio2audio_gain_put() 201 ucontrol->value.enumerated.item[0] = ad1843_get_recsrc(&chip->ad1843); in sgio2audio_source_get() 211 oldsrc = ad1843_get_recsrc(&chip->ad1843); in sgio2audio_source_put() 212 newsrc = ad1843_set_recsrc(&chip->ad1843, in sgio2audio_source_put() 600 ad1843_setup_dac(&chip->ad1843, in snd_sgio2audio_pcm_prepare() [all...] |
H A D | Makefile | 6 snd-sgi-o2-objs := sgio2audio.o ad1843.o
|
/kernel/linux/linux-6.6/sound/mips/ |
H A D | ad1843.c | 17 #include <sound/ad1843.h> 172 static int ad1843_read_bits(struct snd_ad1843 *ad1843, in ad1843_read_bits() argument 177 w = ad1843->read(ad1843->chip, field->reg); in ad1843_read_bits() 185 static int ad1843_write_bits(struct snd_ad1843 *ad1843, in ad1843_write_bits() argument 191 w = ad1843->read(ad1843->chip, field->reg); in ad1843_write_bits() 196 ad1843->write(ad1843->chip, field->reg, w); in ad1843_write_bits() 204 * ad1843 require 214 ad1843_read_multi(struct snd_ad1843 *ad1843, int argcount, ...) ad1843_read_multi() argument 246 ad1843_write_multi(struct snd_ad1843 *ad1843, int argcount, ...) ad1843_write_multi() argument 280 ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id) ad1843_get_gain_max() argument 296 ad1843_get_gain(struct snd_ad1843 *ad1843, int id) ad1843_get_gain() argument 323 ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval) ad1843_set_gain() argument 345 ad1843_get_recsrc(struct snd_ad1843 *ad1843) ad1843_get_recsrc() argument 363 ad1843_set_recsrc(struct snd_ad1843 *ad1843, int newsrc) ad1843_set_recsrc() argument 374 ad1843_setup_dac(struct snd_ad1843 *ad1843, unsigned int id, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels) ad1843_setup_dac() argument 426 ad1843_shutdown_dac(struct snd_ad1843 *ad1843, unsigned int id) ad1843_shutdown_dac() argument 434 ad1843_setup_adc(struct snd_ad1843 *ad1843, unsigned int framerate, snd_pcm_format_t fmt, unsigned int channels) ad1843_setup_adc() argument 455 ad1843_shutdown_adc(struct snd_ad1843 *ad1843) ad1843_shutdown_adc() argument 468 ad1843_init(struct snd_ad1843 *ad1843) ad1843_init() argument [all...] |
H A D | sgio2audio.c | 29 #include <sound/ad1843.h> 83 struct snd_ad1843 ad1843; member 151 uinfo->value.integer.max = ad1843_get_gain_max(&chip->ad1843, in sgio2audio_gain_info() 162 vol = ad1843_get_gain(&chip->ad1843, (int)kcontrol->private_value); in sgio2audio_gain_get() 176 oldvol = ad1843_get_gain(&chip->ad1843, kcontrol->private_value); in sgio2audio_gain_put() 180 newvol = ad1843_set_gain(&chip->ad1843, kcontrol->private_value, in sgio2audio_gain_put() 200 ucontrol->value.enumerated.item[0] = ad1843_get_recsrc(&chip->ad1843); in sgio2audio_source_get() 210 oldsrc = ad1843_get_recsrc(&chip->ad1843); in sgio2audio_source_put() 211 newsrc = ad1843_set_recsrc(&chip->ad1843, in sgio2audio_source_put() 599 ad1843_setup_dac(&chip->ad1843, in snd_sgio2audio_pcm_prepare() [all...] |
H A D | Makefile | 6 snd-sgi-o2-objs := sgio2audio.o ad1843.o
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | ad1843.h | 27 int ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id); 28 int ad1843_get_gain(struct snd_ad1843 *ad1843, int id); 29 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval); 30 int ad1843_get_recsrc(struct snd_ad1843 *ad1843); 31 int ad1843_set_recsrc(struct snd_ad1843 *ad1843, int newsrc); 32 void ad1843_setup_dac(struct snd_ad1843 *ad1843, 37 void ad1843_shutdown_dac(struct snd_ad1843 *ad1843, 39 void ad1843_setup_adc(struct snd_ad1843 *ad1843, 43 void ad1843_shutdown_adc(struct snd_ad1843 *ad1843); 44 int ad1843_init(struct snd_ad1843 *ad1843); [all...] |
/kernel/linux/linux-6.6/include/sound/ |
H A D | ad1843.h | 27 int ad1843_get_gain_max(struct snd_ad1843 *ad1843, int id); 28 int ad1843_get_gain(struct snd_ad1843 *ad1843, int id); 29 int ad1843_set_gain(struct snd_ad1843 *ad1843, int id, int newval); 30 int ad1843_get_recsrc(struct snd_ad1843 *ad1843); 31 int ad1843_set_recsrc(struct snd_ad1843 *ad1843, int newsrc); 32 void ad1843_setup_dac(struct snd_ad1843 *ad1843, 37 void ad1843_shutdown_dac(struct snd_ad1843 *ad1843, 39 void ad1843_setup_adc(struct snd_ad1843 *ad1843, 43 void ad1843_shutdown_adc(struct snd_ad1843 *ad1843); 44 int ad1843_init(struct snd_ad1843 *ad1843); [all...] |