#include "hpi_internal.h"
#include "hpi_version.h"
#include "hpimsginit.h"
#include "hpioctl.h"
#include "hpicmn.h"
#include <linux/pci.h>
#include <linux/init.h>
#include <linux/jiffies.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/info.h>
#include <sound/initval.h>
#include <sound/tlv.h>
#include <sound/hwdep.h>
Go to the source code of this file.
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("AudioScience inc. <support@audioscience.com>") |
|
| MODULE_DESCRIPTION ("AudioScience ALSA ASI5000 ASI6000 ASI87xx ASI89xx "HPI_VER_STRING) |
|
| module_param_array (index, int, NULL, S_IRUGO) |
|
| MODULE_PARM_DESC (index,"ALSA index value for AudioScience soundcard.") |
|
| module_param_array (id, charp, NULL, S_IRUGO) |
|
| MODULE_PARM_DESC (id,"ALSA ID string for AudioScience soundcard.") |
|
| module_param_array (enable, bool, NULL, S_IRUGO) |
|
| MODULE_PARM_DESC (enable,"ALSA enable AudioScience soundcard.") |
|
| module_param (enable_hpi_hwdep, bool, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (enable_hpi_hwdep,"ALSA enable HPI hwdep for AudioScience soundcard ") |
|
| module_param (build_info, charp, S_IRUGO) |
|
| MODULE_PARM_DESC (build_info,"built within ALSA source") |
|
| compile_time_assert ((ARRAY_SIZE(asihpi_tuner_band_names)==(HPI_TUNER_BAND_LAST+1)), assert_tuner_band_names_size) |
|
| compile_time_assert ((ARRAY_SIZE(asihpi_src_names)==(HPI_SOURCENODE_LAST_INDEX-HPI_SOURCENODE_NONE+1)), assert_src_names_size) |
|
| compile_time_assert ((ARRAY_SIZE(asihpi_dst_names)==(HPI_DESTNODE_LAST_INDEX-HPI_DESTNODE_NONE+1)), assert_dst_names_size) |
|
| MODULE_DEVICE_TABLE (pci, asihpi_pci_tbl) |
|
#define BUFFER_BYTES_MAX (512 * 1024) |
#define DEFAULT_SAMPLERATE 44100 |
#define hpi_handle_error |
( |
|
x | ) |
handle_error(x, __LINE__, __FILE__) |
#define PERIOD_BYTES_MIN 2048 |
#define snd_printddd |
( |
|
format, |
|
|
|
args... |
|
) |
| do { } while (0) |
MODULE_AUTHOR |
( |
"AudioScience inc. <support@audioscience.com>" |
| ) |
|
MODULE_DESCRIPTION |
( |
"AudioScience ALSA ASI5000 ASI6000 ASI87xx ASI89xx " |
HPI_VER_STRING | ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
asihpi_pci_tbl |
|
|
) |
| |
module_param |
( |
enable_hpi_hwdep |
, |
|
|
bool |
, |
|
|
S_IRUGO| |
S_IWUSR |
|
) |
| |
module_param |
( |
build_info |
, |
|
|
charp |
, |
|
|
S_IRUGO |
|
|
) |
| |
MODULE_PARM_DESC |
( |
id |
, |
|
|
"ALSA ID string for AudioScience soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable |
, |
|
|
"ALSA enable AudioScience soundcard." |
|
|
) |
| |
MODULE_PARM_DESC |
( |
enable_hpi_hwdep |
, |
|
|
"ALSA enable HPI hwdep for AudioScience soundcard " |
|
|
) |
| |
MODULE_PARM_DESC |
( |
build_info |
, |
|
|
"built within ALSA source" |
|
|
) |
| |