linux/include/sound/ak4xxx-adda.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUND_AK4XXX_ADDA_H
#define __SOUND_AK4XXX_ADDA_H

/*
 *   ALSA driver for AK4524 / AK4528 / AK4529 / AK4355 / AK4381
 *   AD and DA converters
 *
 *	Copyright (c) 2000 Jaroslav Kysela <[email protected]>
 */      

#ifndef AK4XXX_MAX_CHIPS
#define AK4XXX_MAX_CHIPS
#endif

struct snd_akm4xxx;

struct snd_ak4xxx_ops {};

#define AK4XXX_IMAGE_SIZE

/* DAC label and channels */
struct snd_akm4xxx_dac_channel {};

/* ADC labels and channels */
struct snd_akm4xxx_adc_channel {};

struct snd_akm4xxx {};

void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg,
		       unsigned char val);
void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state);
void snd_akm4xxx_init(struct snd_akm4xxx *ak);
int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak);

#define snd_akm4xxx_get(ak,chip,reg)
#define snd_akm4xxx_set(ak,chip,reg,val)
#define snd_akm4xxx_get_vol(ak,chip,reg)
#define snd_akm4xxx_set_vol(ak,chip,reg,val)

#endif /* __SOUND_AK4XXX_ADDA_H */