Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.70.126.120
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
src /
linux-headers-5.15.0-25 /
include /
sound /
[ HOME SHELL ]
Name
Size
Permission
Action
ac97
[ DIR ]
drwxr-xr-x
sof
[ DIR ]
drwxr-xr-x
ac97_codec.h
15.67
KB
-rw-r--r--
aci.h
2.4
KB
-rw-r--r--
ad1816a.h
4.73
KB
-rw-r--r--
ad1843.h
1.48
KB
-rw-r--r--
adau1373.h
706
B
-rw-r--r--
ak4113.h
10.22
KB
-rw-r--r--
ak4114.h
9.54
KB
-rw-r--r--
ak4117.h
8.34
KB
-rw-r--r--
ak4531_codec.h
2.42
KB
-rw-r--r--
ak4641.h
476
B
-rw-r--r--
ak4xxx-adda.h
2.66
KB
-rw-r--r--
alc5623.h
536
B
-rw-r--r--
asequencer.h
2.91
KB
-rw-r--r--
asound.h
590
B
-rw-r--r--
asoundef.h
16.02
KB
-rw-r--r--
compress_driver.h
7.8
KB
-rw-r--r--
control.h
9.73
KB
-rw-r--r--
core.h
15.21
KB
-rw-r--r--
cs35l33.h
888
B
-rw-r--r--
cs35l34.h
741
B
-rw-r--r--
cs35l35.h
2.21
KB
-rw-r--r--
cs35l36.h
772
B
-rw-r--r--
cs4231-regs.h
7.6
KB
-rw-r--r--
cs4271.h
961
B
-rw-r--r--
cs42l52.h
592
B
-rw-r--r--
cs42l56.h
1.02
KB
-rw-r--r--
cs42l73.h
361
B
-rw-r--r--
cs8403.h
7.95
KB
-rw-r--r--
cs8427.h
9.72
KB
-rw-r--r--
da7213.h
1.01
KB
-rw-r--r--
da7218.h
2.41
KB
-rw-r--r--
da7219-aad.h
2.21
KB
-rw-r--r--
da7219.h
998
B
-rw-r--r--
da9055.h
707
B
-rw-r--r--
designware_i2s.h
1.59
KB
-rw-r--r--
dmaengine_pcm.h
6.68
KB
-rw-r--r--
emu10k1.h
88.6
KB
-rw-r--r--
emu10k1_synth.h
693
B
-rw-r--r--
emu8000.h
3.25
KB
-rw-r--r--
emu8000_reg.h
9.54
KB
-rw-r--r--
emux_legacy.h
4.7
KB
-rw-r--r--
emux_synth.h
6.79
KB
-rw-r--r--
es1688.h
2.85
KB
-rw-r--r--
graph_card.h
271
B
-rw-r--r--
gus.h
19.65
KB
-rw-r--r--
hda_chmap.h
2.6
KB
-rw-r--r--
hda_codec.h
17.25
KB
-rw-r--r--
hda_component.h
2.04
KB
-rw-r--r--
hda_hwdep.h
736
B
-rw-r--r--
hda_i915.h
589
B
-rw-r--r--
hda_register.h
10.41
KB
-rw-r--r--
hda_regmap.h
6.77
KB
-rw-r--r--
hda_verbs.h
16.89
KB
-rw-r--r--
hdaudio.h
20.93
KB
-rw-r--r--
hdaudio_ext.h
5.6
KB
-rw-r--r--
hdmi-codec.h
2.94
KB
-rw-r--r--
hwdep.h
1.88
KB
-rw-r--r--
i2c.h
2.79
KB
-rw-r--r--
info.h
7.86
KB
-rw-r--r--
initval.h
2.43
KB
-rw-r--r--
intel-dsp-config.h
869
B
-rw-r--r--
intel-nhlt.h
2.78
KB
-rw-r--r--
jack.h
3.07
KB
-rw-r--r--
l3.h
524
B
-rw-r--r--
madera-pdata.h
1.95
KB
-rw-r--r--
max9768.h
729
B
-rw-r--r--
max98088.h
1.05
KB
-rw-r--r--
max98090.h
534
B
-rw-r--r--
max98095.h
1.33
KB
-rw-r--r--
memalloc.h
2.58
KB
-rw-r--r--
minors.h
3.65
KB
-rw-r--r--
mixer_oss.h
1.73
KB
-rw-r--r--
mpu401.h
3.81
KB
-rw-r--r--
omap-hdmi-audio.h
971
B
-rw-r--r--
opl3.h
11.63
KB
-rw-r--r--
opl4.h
459
B
-rw-r--r--
pcm-indirect.h
5.04
KB
-rw-r--r--
pcm.h
51.27
KB
-rw-r--r--
pcm_drm_eld.h
183
B
-rw-r--r--
pcm_iec958.h
597
B
-rw-r--r--
pcm_oss.h
2.01
KB
-rw-r--r--
pcm_params.h
8.66
KB
-rw-r--r--
pt2258.h
513
B
-rw-r--r--
pxa2xx-lib.h
2.14
KB
-rw-r--r--
rawmidi.h
5.74
KB
-rw-r--r--
rt1015.h
283
B
-rw-r--r--
rt286.h
314
B
-rw-r--r--
rt298.h
373
B
-rw-r--r--
rt5514.h
399
B
-rw-r--r--
rt5659.h
880
B
-rw-r--r--
rt5660.h
578
B
-rw-r--r--
rt5663.h
476
B
-rw-r--r--
rt5665.h
761
B
-rw-r--r--
rt5668.h
646
B
-rw-r--r--
rt5682.h
901
B
-rw-r--r--
s3c24xx_uda134x.h
229
B
-rw-r--r--
sb.h
10.3
KB
-rw-r--r--
sb16_csp.h
2.05
KB
-rw-r--r--
seq_device.h
2.11
KB
-rw-r--r--
seq_kernel.h
3.3
KB
-rw-r--r--
seq_midi_emul.h
6.6
KB
-rw-r--r--
seq_midi_event.h
1.32
KB
-rw-r--r--
seq_oss.h
2.21
KB
-rw-r--r--
seq_oss_legacy.h
360
B
-rw-r--r--
seq_virmidi.h
2.07
KB
-rw-r--r--
sh_dac_audio.h
441
B
-rw-r--r--
sh_fsi.h
693
B
-rw-r--r--
simple_card.h
529
B
-rw-r--r--
simple_card_utils.h
8.16
KB
-rw-r--r--
snd_wavefront.h
5.57
KB
-rw-r--r--
soc-acpi-intel-match.h
2.03
KB
-rw-r--r--
soc-acpi.h
5.5
KB
-rw-r--r--
soc-card.h
2
KB
-rw-r--r--
soc-component.h
18.93
KB
-rw-r--r--
soc-dai.h
19.07
KB
-rw-r--r--
soc-dapm.h
32.16
KB
-rw-r--r--
soc-dpcm.h
5.19
KB
-rw-r--r--
soc-jack.h
3.73
KB
-rw-r--r--
soc-link.h
1.14
KB
-rw-r--r--
soc-topology.h
5.7
KB
-rw-r--r--
soc.h
46.39
KB
-rw-r--r--
sof.h
2.54
KB
-rw-r--r--
soundfont.h
3.81
KB
-rw-r--r--
spear_dma.h
350
B
-rw-r--r--
spear_spdif.h
345
B
-rw-r--r--
sta32x.h
1015
B
-rw-r--r--
sta350.h
1.44
KB
-rw-r--r--
tas2552-plat.h
283
B
-rw-r--r--
tas5086.h
210
B
-rw-r--r--
tea6330t.h
468
B
-rw-r--r--
timer.h
4.99
KB
-rw-r--r--
tlv.h
1.59
KB
-rw-r--r--
tlv320aic32x4.h
1.29
KB
-rw-r--r--
tlv320aic3x.h
1.74
KB
-rw-r--r--
tlv320dac33-plat.h
574
B
-rw-r--r--
tpa6130a2-plat.h
291
B
-rw-r--r--
uda134x.h
451
B
-rw-r--r--
uda1380.h
335
B
-rw-r--r--
util_mem.h
1.58
KB
-rw-r--r--
vx_core.h
14.7
KB
-rw-r--r--
wavefront.h
18.08
KB
-rw-r--r--
wm0010.h
466
B
-rw-r--r--
wm1250-ev1.h
510
B
-rw-r--r--
wm2000.h
479
B
-rw-r--r--
wm2200.h
1.32
KB
-rw-r--r--
wm5100.h
1.1
KB
-rw-r--r--
wm8903.h
15.02
KB
-rw-r--r--
wm8904.h
7.22
KB
-rw-r--r--
wm8955.h
442
B
-rw-r--r--
wm8960.h
888
B
-rw-r--r--
wm8962.h
1.65
KB
-rw-r--r--
wm8993.h
1.05
KB
-rw-r--r--
wm8996.h
1.26
KB
-rw-r--r--
wm9081.h
515
B
-rw-r--r--
wm9090.h
634
B
-rw-r--r--
wss.h
7.76
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : wss.h
/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __SOUND_WSS_H #define __SOUND_WSS_H /* * Copyright (c) by Jaroslav Kysela <perex@perex.cz> * Definitions for CS4231 & InterWave chips & compatible chips */ #include <sound/control.h> #include <sound/pcm.h> #include <sound/timer.h> #include <sound/cs4231-regs.h> /* defines for codec.mode */ #define WSS_MODE_NONE 0x0000 #define WSS_MODE_PLAY 0x0001 #define WSS_MODE_RECORD 0x0002 #define WSS_MODE_TIMER 0x0004 #define WSS_MODE_OPEN (WSS_MODE_PLAY|WSS_MODE_RECORD|WSS_MODE_TIMER) /* defines for codec.hardware */ #define WSS_HW_DETECT 0x0000 /* let CS4231 driver detect chip */ #define WSS_HW_DETECT3 0x0001 /* allow mode 3 */ #define WSS_HW_TYPE_MASK 0xff00 /* type mask */ #define WSS_HW_CS4231_MASK 0x0100 /* CS4231 serie */ #define WSS_HW_CS4231 0x0100 /* CS4231 chip */ #define WSS_HW_CS4231A 0x0101 /* CS4231A chip */ #define WSS_HW_AD1845 0x0102 /* AD1845 chip */ #define WSS_HW_CS4232_MASK 0x0200 /* CS4232 serie (has control ports) */ #define WSS_HW_CS4232 0x0200 /* CS4232 */ #define WSS_HW_CS4232A 0x0201 /* CS4232A */ #define WSS_HW_CS4236 0x0202 /* CS4236 */ #define WSS_HW_CS4236B_MASK 0x0400 /* CS4236B serie (has extended control regs) */ #define WSS_HW_CS4235 0x0400 /* CS4235 - Crystal Clear (tm) stereo enhancement */ #define WSS_HW_CS4236B 0x0401 /* CS4236B */ #define WSS_HW_CS4237B 0x0402 /* CS4237B - SRS 3D */ #define WSS_HW_CS4238B 0x0403 /* CS4238B - QSOUND 3D */ #define WSS_HW_CS4239 0x0404 /* CS4239 - Crystal Clear (tm) stereo enhancement */ #define WSS_HW_AD1848_MASK 0x0800 /* AD1848 serie (half duplex) */ #define WSS_HW_AD1847 0x0801 /* AD1847 chip */ #define WSS_HW_AD1848 0x0802 /* AD1848 chip */ #define WSS_HW_CS4248 0x0803 /* CS4248 chip */ #define WSS_HW_CMI8330 0x0804 /* CMI8330 chip */ #define WSS_HW_THINKPAD 0x0805 /* Thinkpad 360/750/755 */ /* compatible, but clones */ #define WSS_HW_INTERWAVE 0x1000 /* InterWave chip */ #define WSS_HW_OPL3SA2 0x1101 /* OPL3-SA2 chip, similar to cs4231 */ #define WSS_HW_OPTI93X 0x1102 /* Opti 930/931/933 */ /* defines for codec.hwshare */ #define WSS_HWSHARE_IRQ (1<<0) #define WSS_HWSHARE_DMA1 (1<<1) #define WSS_HWSHARE_DMA2 (1<<2) /* IBM Thinkpad specific stuff */ #define AD1848_THINKPAD_CTL_PORT1 0x15e8 #define AD1848_THINKPAD_CTL_PORT2 0x15e9 #define AD1848_THINKPAD_CS4248_ENABLE_BIT 0x02 struct snd_wss { unsigned long port; /* base i/o port */ struct resource *res_port; unsigned long cport; /* control base i/o port (CS4236) */ struct resource *res_cport; int irq; /* IRQ line */ int dma1; /* playback DMA */ int dma2; /* record DMA */ unsigned short version; /* version of CODEC chip */ unsigned short mode; /* see to WSS_MODE_XXXX */ unsigned short hardware; /* see to WSS_HW_XXXX */ unsigned short hwshare; /* shared resources */ unsigned short single_dma:1, /* forced single DMA mode (GUS 16-bit */ /* daughter board) or dma1 == dma2 */ ebus_flag:1, /* SPARC: EBUS present */ thinkpad_flag:1; /* Thinkpad CS4248 needs extra help */ struct snd_card *card; struct snd_pcm *pcm; struct snd_pcm_substream *playback_substream; struct snd_pcm_substream *capture_substream; struct snd_timer *timer; unsigned char image[32]; /* registers image */ unsigned char eimage[32]; /* extended registers image */ unsigned char cimage[16]; /* control registers image */ int mce_bit; int calibrate_mute; int sw_3d_bit; unsigned int p_dma_size; unsigned int c_dma_size; spinlock_t reg_lock; struct mutex mce_mutex; struct mutex open_mutex; int (*rate_constraint) (struct snd_pcm_runtime *runtime); void (*set_playback_format) (struct snd_wss *chip, struct snd_pcm_hw_params *hw_params, unsigned char pdfr); void (*set_capture_format) (struct snd_wss *chip, struct snd_pcm_hw_params *hw_params, unsigned char cdfr); void (*trigger) (struct snd_wss *chip, unsigned int what, int start); #ifdef CONFIG_PM void (*suspend) (struct snd_wss *chip); void (*resume) (struct snd_wss *chip); #endif void *dma_private_data; int (*claim_dma) (struct snd_wss *chip, void *dma_private_data, int dma); int (*release_dma) (struct snd_wss *chip, void *dma_private_data, int dma); }; /* exported functions */ void snd_wss_out(struct snd_wss *chip, unsigned char reg, unsigned char val); unsigned char snd_wss_in(struct snd_wss *chip, unsigned char reg); void snd_cs4236_ext_out(struct snd_wss *chip, unsigned char reg, unsigned char val); unsigned char snd_cs4236_ext_in(struct snd_wss *chip, unsigned char reg); void snd_wss_mce_up(struct snd_wss *chip); void snd_wss_mce_down(struct snd_wss *chip); void snd_wss_overrange(struct snd_wss *chip); irqreturn_t snd_wss_interrupt(int irq, void *dev_id); const char *snd_wss_chip_id(struct snd_wss *chip); int snd_wss_create(struct snd_card *card, unsigned long port, unsigned long cport, int irq, int dma1, int dma2, unsigned short hardware, unsigned short hwshare, struct snd_wss **rchip); int snd_wss_pcm(struct snd_wss *chip, int device); int snd_wss_timer(struct snd_wss *chip, int device); int snd_wss_mixer(struct snd_wss *chip); const struct snd_pcm_ops *snd_wss_get_pcm_ops(int direction); int snd_cs4236_create(struct snd_card *card, unsigned long port, unsigned long cport, int irq, int dma1, int dma2, unsigned short hardware, unsigned short hwshare, struct snd_wss **rchip); int snd_cs4236_pcm(struct snd_wss *chip, int device); int snd_cs4236_mixer(struct snd_wss *chip); /* * mixer library */ #define WSS_SINGLE(xname, xindex, reg, shift, mask, invert) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ .name = xname, \ .index = xindex, \ .info = snd_wss_info_single, \ .get = snd_wss_get_single, \ .put = snd_wss_put_single, \ .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } int snd_wss_info_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_wss_get_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int snd_wss_put_single(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ .name = xname, \ .index = xindex, \ .info = snd_wss_info_double, \ .get = snd_wss_get_double, \ .put = snd_wss_put_double, \ .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \ (shift_right << 19) | (mask << 24) | (invert << 22) } #define WSS_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | SNDRV_CTL_ELEM_ACCESS_TLV_READ, \ .name = xname, \ .index = xindex, \ .info = snd_wss_info_single, \ .get = snd_wss_get_single, \ .put = snd_wss_put_single, \ .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ .tlv = { .p = (xtlv) } } #define WSS_DOUBLE_TLV(xname, xindex, left_reg, right_reg, \ shift_left, shift_right, mask, invert, xtlv) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, \ .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | SNDRV_CTL_ELEM_ACCESS_TLV_READ, \ .name = xname, \ .index = xindex, \ .info = snd_wss_info_double, \ .get = snd_wss_get_double, \ .put = snd_wss_put_double, \ .private_value = left_reg | (right_reg << 8) | (shift_left << 16) | \ (shift_right << 19) | (mask << 24) | (invert << 22), \ .tlv = { .p = (xtlv) } } int snd_wss_info_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_info *uinfo); int snd_wss_get_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int snd_wss_put_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); #endif /* __SOUND_WSS_H */
Close