#include <linux/delay.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include "xonar.h"
#define GPIO_CS53x1_M_MASK …
#define GPIO_CS53x1_M_SINGLE …
#define GPIO_CS53x1_M_DOUBLE …
#define GPIO_CS53x1_M_QUAD …
void xonar_enable_output(struct oxygen *chip)
{ … }
void xonar_disable_output(struct oxygen *chip)
{ … }
static void xonar_ext_power_gpio_changed(struct oxygen *chip)
{ … }
void xonar_init_ext_power(struct oxygen *chip)
{ … }
void xonar_init_cs53x1(struct oxygen *chip)
{ … }
void xonar_set_cs53x1_params(struct oxygen *chip,
struct snd_pcm_hw_params *params)
{ … }
int xonar_gpio_bit_switch_get(struct snd_kcontrol *ctl,
struct snd_ctl_elem_value *value)
{ … }
int xonar_gpio_bit_switch_put(struct snd_kcontrol *ctl,
struct snd_ctl_elem_value *value)
{ … }