#include <linux/pci.h>
#include <linux/delay.h>
#include <sound/control.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/pcm.h>
#include <sound/tlv.h>
#include "oxygen.h"
#include "xonar_dg.h"
#include "cs4245.h"
Go to the source code of this file.
#define GPIO_HP_DETECT 0x0010 |
#define GPIO_HP_REAR 0x0080 |
#define GPIO_INPUT_ROUTE 0x0060 |
#define GPIO_MAGIC 0x0008 |
#define GPIO_OUTPUT_ENABLE 0x0100 |
#define INPUT_VOLUME |
( |
|
xname, |
|
|
|
index |
|
) |
| |
Value:{ \
.name = xname, \
.info = input_vol_info, \
.get = input_vol_get, \
.put = input_vol_put, \
.tlv = { .p = cs4245_pga_db_scale }, \
.private_value =
index, \
}
Definition at line 506 of file xonar_dg.c.
Initial value:= {
.longname = "C-Media Oxygen HD Audio",
.chip = "CMI8786",
.init = dg_init,
.control_filter = dg_control_filter,
.mixer_init = dg_mixer_init,
.cleanup = dg_cleanup,
.suspend = dg_suspend,
.resume = dg_resume,
.set_dac_params = set_cs4245_dac_params,
.set_adc_params = set_cs4245_adc_params,
.adjust_dac_routing = adjust_dg_dac_routing,
.dump_registers = dump_cs4245_registers,
.model_data_size =
sizeof(
struct dg),
.dac_channels_pcm = 6,
.dac_channels_mixer = 0,
}
Definition at line 583 of file xonar_dg.c.