Searched refs:sb_dsp_command (Results 1 – 5 of 5) sorted by relevance
/linux-3.4.99/sound/oss/ |
D | sb_audio.c | 188 if (sb_dsp_command(devc, 0x14)) /* 8 bit DAC using DMA */ in sb1_audio_output_block() 190 sb_dsp_command(devc, (unsigned char) (count & 0xff)); in sb1_audio_output_block() 191 sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); in sb1_audio_output_block() 218 if (sb_dsp_command(devc, 0x24)) /* 8 bit ADC using DMA */ in sb1_audio_start_input() 220 sb_dsp_command(devc, (unsigned char) (count & 0xff)); in sb1_audio_start_input() 221 sb_dsp_command(devc, (unsigned char) ((count >> 8) & 0xff)); in sb1_audio_start_input() 237 sb_dsp_command(devc, 0xd0); /* Halt DMA */ in sb1_audio_trigger() 262 if (sb_dsp_command(devc, 0x40)) in sb1_audio_prepare_for_input() 263 sb_dsp_command(devc, devc->tconst); in sb1_audio_prepare_for_input() 264 sb_dsp_command(devc, DSP_CMD_SPKOFF); in sb1_audio_prepare_for_input() [all …]
|
D | sb_common.c | 86 int sb_dsp_command(sb_devc * devc, unsigned char val) in sb_dsp_command() function 263 sb_dsp_command(devc, 0xe1); /* Get version */ in dsp_get_vers() 392 if (!sb_dsp_command(devc, 0xfa)) in init_Jazz16() 423 if (!sb_dsp_command(devc, 0xfb)) in init_Jazz16() 426 if (!sb_dsp_command(devc, jazz_dma_bits[hw_config->dma] | in init_Jazz16() 430 if (!sb_dsp_command(devc, jazz_irq_bits[hw_config->irq])) in init_Jazz16() 601 if (sb_dsp_command(devc, 0x09)) in sb_dsp_detect() 602 if (sb_dsp_command(devc, 0x00)) /* Enter WSS mode */ in sb_dsp_detect() 719 if (sb_dsp_command(devc, 0xf2)) /* Cause interrupt immediately */ in sb_dsp_init() 1174 if (!sb_dsp_command(devc, 0xfb)) in init_Jazz16_midi() [all …]
|
D | sb_midi.c | 56 if (!sb_dsp_command(devc, 0x35)) /* Start MIDI UART mode */ in sb_midi_open() 97 if (!sb_dsp_command(devc, midi_byte)) in sb_midi_out()
|
D | sb_ess.c | 444 sb_dsp_command(devc, DSP_CMD_SPKOFF); in ess_audio_prepare_for_input() 474 sb_dsp_command(devc, DSP_CMD_SPKON); /* There be sound! */ in ess_audio_prepare_for_output_audio1() 635 sb_dsp_command(devc, 0xd0); /* Halt DMA */ in ess_audio_trigger() 831 sb_dsp_command(devc, 0xc6); in ess_extended() 841 if (!sb_dsp_command(devc, reg)) in ess_write() 844 return sb_dsp_command(devc, data); in ess_write() 852 if (!sb_dsp_command(devc, 0xc0)) return -1; in ess_read() 854 if (!sb_dsp_command(devc, reg )) return -1; in ess_read() 1028 sb_dsp_command(devc, 0xe7); /* Return identification */
|
D | sb.h | 158 int sb_dsp_command (sb_devc *devc, unsigned char val);
|