Home
last modified time | relevance | path

Searched refs:hardware (Results 1 – 25 of 37) sorted by relevance

12

/sound/isa/sb/
Dsb_common.c118 switch (chip->hardware) { in snd_sbdsp_probe()
122 chip->hardware = SB_HW_10; in snd_sbdsp_probe()
127 chip->hardware = SB_HW_201; in snd_sbdsp_probe()
130 chip->hardware = SB_HW_20; in snd_sbdsp_probe()
135 chip->hardware = SB_HW_PRO; in snd_sbdsp_probe()
139 chip->hardware = SB_HW_16; in snd_sbdsp_probe()
177 unsigned short hardware, in snd_sbdsp_create() argument
199 (hardware == SB_HW_ALS4000 || in snd_sbdsp_create()
200 hardware == SB_HW_CS5530) ? in snd_sbdsp_create()
209 if (hardware == SB_HW_ALS4000) in snd_sbdsp_create()
[all …]
Dsb8_midi.c57 valid_open_flags = chip->hardware >= SB_HW_20 in snd_sb8dsp_midi_input_open()
69 if (chip->hardware >= SB_HW_20) in snd_sb8dsp_midi_input_open()
84 valid_open_flags = chip->hardware >= SB_HW_20 in snd_sb8dsp_midi_output_open()
96 if (chip->hardware >= SB_HW_20) in snd_sb8dsp_midi_output_open()
150 if (chip->hardware < SB_HW_20) in snd_sb8dsp_midi_input_trigger()
156 if (chip->hardware < SB_HW_20) in snd_sb8dsp_midi_input_trigger()
181 if (chip->hardware >= SB_HW_20) { in snd_sb8dsp_midi_output_write()
261 if (chip->hardware >= SB_HW_20) in snd_sb8dsp_midi()
Dsb8.c124 if (chip->hardware >= SB_HW_16) { in snd_sb8_probe()
125 if (chip->hardware == SB_HW_ALS100) in snd_sb8_probe()
142 if (chip->hardware == SB_HW_10 || chip->hardware == SB_HW_20) { in snd_sb8_probe()
165 strcpy(card->driver, chip->hardware == SB_HW_PRO ? "SB Pro" : "SB8"); in snd_sb8_probe()
Dsb16_main.c43 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_playback_prepare()
91 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_capture_prepare()
129 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_update()
143 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_playback_open()
161 if ((chip->hardware == SB_HW_16CSP) && (chip->open == SNDRV_SB_CSP_MODE_DSP_WRITE)) { in snd_sb16_csp_playback_close()
174 if (chip->hardware == SB_HW_16CSP) { in snd_sb16_csp_capture_open()
192 if ((chip->hardware == SB_HW_16CSP) && (chip->open == SNDRV_SB_CSP_MODE_DSP_READ)) { in snd_sb16_csp_capture_close()
540 if (chip->hardware == SB_HW_ALS100) in snd_sb16_playback_open()
542 if (chip->hardware == SB_HW_CS5530) { in snd_sb16_playback_open()
615 if (chip->hardware == SB_HW_ALS100) in snd_sb16_capture_open()
[all …]
Dsb8_main.c101 switch (chip->hardware) { in snd_sb8_playback_prepare()
147 if (chip->hardware == SB_HW_JAZZ16) in snd_sb8_playback_prepare()
239 switch (chip->hardware) { in snd_sb8_capture_prepare()
286 if (chip->hardware == SB_HW_JAZZ16) in snd_sb8_capture_prepare()
362 if (chip->hardware != SB_HW_JAZZ16) in snd_sb8dsp_interrupt()
372 if (chip->hardware != SB_HW_JAZZ16) in snd_sb8dsp_interrupt()
483 switch (chip->hardware) { in snd_sb8_open()
Dsb16.c331 if (chip->hardware != SB_HW_16) { in snd_sb16_probe()
402 if ((chip->hardware == SB_HW_16) && csp[dev]) { in snd_sb16_probe()
406 chip->hardware = SB_HW_16CSP; in snd_sb16_probe()
/sound/isa/wss/
Dwss_lib.c409 if ((timeout & CS4231_MCE) == 0 || !(chip->hardware & hw_mask)) in snd_wss_mce_down()
589 if (!(chip->hardware & WSS_HW_AD1848_MASK)) { in snd_wss_calibrate_mute()
597 if (chip->hardware == WSS_HW_INTERWAVE) { in snd_wss_calibrate_mute()
619 if (chip->hardware == WSS_HW_CS4231A || in snd_wss_playback_format()
620 (chip->hardware & WSS_HW_CS4232_MASK)) { in snd_wss_playback_format()
634 } else if (chip->hardware == WSS_HW_AD1845) { in snd_wss_playback_format()
656 if (chip->hardware != WSS_HW_INTERWAVE && !chip->single_dma) { in snd_wss_playback_format()
665 if (chip->hardware == WSS_HW_OPL3SA2) in snd_wss_playback_format()
680 if (chip->hardware == WSS_HW_CS4231A || in snd_wss_capture_format()
681 (chip->hardware & WSS_HW_CS4232_MASK)) { in snd_wss_capture_format()
[all …]
/sound/isa/opti9xx/
Dopti92x-ad1848.c112 unsigned short hardware; member
168 unsigned short hardware) in snd_opti9xx_init() argument
172 chip->hardware = hardware; in snd_opti9xx_init()
173 strcpy(chip->name, snd_opti9xx_names[hardware]); in snd_opti9xx_init()
188 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
191 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_opti9xx_init()
194 switch (hardware) { in snd_opti9xx_init()
198 chip->password = (hardware == OPTi9XX_HW_82C928) ? 0xe2 : 0xe3; in snd_opti9xx_init()
212 chip->mc_base = (hardware == OPTi9XX_HW_82C930) ? 0xf8f : 0xf8d; in snd_opti9xx_init()
221 snd_printk(KERN_ERR "chip %d not supported\n", hardware); in snd_opti9xx_init()
[all …]
Dmiro.c92 unsigned short hardware; member
712 switch (miro->hardware) { in snd_miro_mixer()
770 unsigned short hardware) in snd_miro_init() argument
774 chip->hardware = hardware; in snd_miro_init()
775 strcpy(chip->name, snd_opti9xx_names[hardware]); in snd_miro_init()
777 chip->mc_base_size = opti9xx_mc_size[hardware]; in snd_miro_init()
798 switch (hardware) { in snd_miro_init()
808 snd_printk(KERN_ERR "sorry, no support for %d\n", hardware); in snd_miro_init()
824 switch (chip->hardware) { in snd_miro_read()
839 snd_printk(KERN_ERR "sorry, no support for %d\n", chip->hardware); in snd_miro_read()
[all …]
/sound/drivers/opl3/
Dopl3_lib.c117 if (opl3->hardware != OPL3_HW_AUTO) in snd_opl3_detect()
122 opl3->hardware = OPL3_HW_OPL2; in snd_opl3_detect()
130 opl3->hardware = OPL3_HW_OPL3; in snd_opl3_detect()
334 unsigned short hardware, in snd_opl3_new() argument
349 opl3->hardware = hardware; in snd_opl3_new()
376 switch (opl3->hardware & OPL3_HW_MASK) { in snd_opl3_init()
394 unsigned short hardware, in snd_opl3_create() argument
402 err = snd_opl3_new(card, hardware, &opl3); in snd_opl3_create()
424 switch (opl3->hardware) { in snd_opl3_create()
441 switch (opl3->hardware & OPL3_HW_MASK) { in snd_opl3_create()
[all …]
Dopl3_seq.c60 if (opl3->hardware >= OPL3_HW_OPL3) { in snd_opl3_synth_setup()
167 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_synth_create_port()
182 opl_ver = (opl3->hardware & OPL3_HW_MASK) >> 8; in snd_opl3_synth_create_port()
224 opl_ver = (opl3->hardware & OPL3_HW_MASK) >> 8; in snd_opl3_seq_probe()
Dopl3_oss.c53 voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_oss_create_port()
66 opl_ver = (opl3->hardware & OPL3_HW_MASK) >> 8; in snd_opl3_oss_create_port()
103 if (opl3->hardware < OPL3_HW_OPL3) { in snd_opl3_init_seq_oss()
Dopl3_synth.c357 max_voices = (opl3->hardware < OPL3_HW_OPL3) ? in snd_opl3_reset()
583 if ((mode == SNDRV_DM_FM_MODE_OPL3) && (opl3->hardware < OPL3_HW_OPL3)) in snd_opl3_set_mode()
587 if (opl3->hardware >= OPL3_HW_OPL3) in snd_opl3_set_mode()
/sound/pci/oxygen/
Dxonar_hdmi.c69 struct snd_pcm_hardware *hardware) in xonar_hdmi_pcm_hardware_filter() argument
72 hardware->rates = SNDRV_PCM_RATE_44100 | in xonar_hdmi_pcm_hardware_filter()
76 hardware->rate_min = 44100; in xonar_hdmi_pcm_hardware_filter()
Dxonar.h50 struct snd_pcm_hardware *hardware);
Dxonar_wm87x6.c349 struct snd_pcm_hardware *hardware) in wm8776_adc_hardware_filter() argument
352 hardware->rates = SNDRV_PCM_RATE_32000 | in wm8776_adc_hardware_filter()
358 hardware->rate_max = 96000; in wm8776_adc_hardware_filter()
363 struct snd_pcm_hardware *hardware) in xonar_hdav_slim_hardware_filter() argument
365 wm8776_adc_hardware_filter(channel, hardware); in xonar_hdav_slim_hardware_filter()
366 xonar_hdmi_pcm_hardware_filter(channel, hardware); in xonar_hdav_slim_hardware_filter()
/sound/drivers/mpu401/
Dmpu401_uart.c216 if (mpu->hardware != MPU401_HW_TRID4DWAVE) { in snd_mpu401_uart_cmd()
221 if (mpu->hardware != MPU401_HW_SB) { in snd_mpu401_uart_cmd()
516 unsigned short hardware, in snd_mpu401_uart_new() argument
547 mpu->hardware = hardware; in snd_mpu401_uart_new()
550 int res_size = hardware == MPU401_HW_PC98II ? 4 : 2; in snd_mpu401_uart_new()
568 if (hardware == MPU401_HW_PC98II) in snd_mpu401_uart_new()
/sound/drivers/opl4/
Dopl4_lib.c120 opl4->hardware = OPL3_HW_OPL4; in snd_opl4_detect()
123 opl4->hardware = OPL3_HW_OPL4_ML; in snd_opl4_detect()
227 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3); in snd_opl4_create()
241 if (opl4->hardware < OPL3_HW_OPL4_ML) in snd_opl4_create()
Dopl4_proc.c92 if (opl4->hardware < OPL3_HW_OPL4_ML) { in snd_opl4_create_proc()
Dopl4_local.h177 unsigned short hardware; member
/sound/isa/cs423x/
Dcs4236_lib.c263 unsigned short hardware, in snd_cs4236_create() argument
273 if (hardware == WSS_HW_DETECT) in snd_cs4236_create()
274 hardware = WSS_HW_DETECT3; in snd_cs4236_create()
277 irq, dma1, dma2, hardware, hwshare, &chip); in snd_cs4236_create()
281 if ((chip->hardware & WSS_HW_CS4236B_MASK) == 0) { in snd_cs4236_create()
283 chip->hardware); in snd_cs4236_create()
351 switch (chip->hardware) { in snd_cs4236_create()
1028 if (chip->hardware == WSS_HW_CS4235 || in snd_cs4236_mixer()
1029 chip->hardware == WSS_HW_CS4239) { in snd_cs4236_mixer()
1042 switch (chip->hardware) { in snd_cs4236_mixer()
[all …]
/sound/isa/es1688/
Des1688_lib.c189 if (enable && chip->mpu_port >= 0x300 && chip->mpu_irq > 0 && chip->hardware != ES1688_HW_688) { in snd_es1688_init()
581 if (chip->hardware != ES1688_HW_UNDEF) in snd_es1688_free()
602 sprintf(tmp, "ES%s688 rev %i", chip->hardware == ES1688_HW_688 ? "" : "1", chip->version & 0x0f); in snd_es1688_chip_id()
613 unsigned short hardware) in snd_es1688_create() argument
625 chip->hardware = ES1688_HW_UNDEF; in snd_es1688_create()
658 chip->hardware = hardware; in snd_es1688_create()
/sound/isa/ad1816a/
Dad1816a_lib.c528 chip->hardware = AD1816A_HW_AD1815; in snd_ad1816a_probe()
531 chip->hardware = AD1816A_HW_AD18MAX10; in snd_ad1816a_probe()
534 chip->hardware = AD1816A_HW_AD1816A; in snd_ad1816a_probe()
537 chip->hardware = AD1816A_HW_AUTO; in snd_ad1816a_probe()
546 switch (chip->hardware) { in snd_ad1816a_chip_id()
552 chip->version, chip->hardware); in snd_ad1816a_chip_id()
/sound/spi/
DKconfig34 Limited by hardware to be between 8000 Hz and 50000 Hz.
/sound/soc/img/
DKconfig5 Audio support for Imagination Technologies audio hardware

12