Lines Matching refs:hdsp_write
636 static void hdsp_write(struct hdsp *hdsp, int reg, int val) in hdsp_write() function
711 hdsp_write (hdsp, HDSP_control2Reg, HDSP_S_PROGRAM); in snd_hdsp_load_firmware_from_cache()
712 hdsp_write (hdsp, HDSP_fifoData, 0); in snd_hdsp_load_firmware_from_cache()
717 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S200); in snd_hdsp_load_firmware_from_cache()
721 hdsp_write (hdsp, HDSP_control2Reg, HDSP_S_LOAD); in snd_hdsp_load_firmware_from_cache()
724 hdsp_write(hdsp, HDSP_fifoData, cache[i]); in snd_hdsp_load_firmware_from_cache()
728 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S200); in snd_hdsp_load_firmware_from_cache()
734 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S200); in snd_hdsp_load_firmware_from_cache()
742 hdsp_write (hdsp, HDSP_control2Reg, hdsp->control2_register); in snd_hdsp_load_firmware_from_cache()
763 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S_LOAD); in hdsp_get_iobox_version()
764 hdsp_write(hdsp, HDSP_fifoData, 0); in hdsp_get_iobox_version()
767 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S300); in hdsp_get_iobox_version()
768 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S_LOAD); in hdsp_get_iobox_version()
771 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S200 | HDSP_PROGRAM); in hdsp_get_iobox_version()
772 hdsp_write (hdsp, HDSP_fifoData, 0); in hdsp_get_iobox_version()
776 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S_LOAD); in hdsp_get_iobox_version()
777 hdsp_write(hdsp, HDSP_fifoData, 0); in hdsp_get_iobox_version()
784 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S300); in hdsp_get_iobox_version()
785 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S_LOAD); in hdsp_get_iobox_version()
786 hdsp_write(hdsp, HDSP_fifoData, 0); in hdsp_get_iobox_version()
790 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S300); in hdsp_get_iobox_version()
791 hdsp_write(hdsp, HDSP_control2Reg, HDSP_S_LOAD); in hdsp_get_iobox_version()
792 hdsp_write(hdsp, HDSP_fifoData, 0); in hdsp_get_iobox_version()
919 hdsp_write (hdsp, 4096 + (ad*4), in hdsp_write_gain()
932 hdsp_write (hdsp, HDSP_fifoData, ad); in hdsp_write_gain()
1037 hdsp_write (hdsp, HDSP_resetPointer, 0); in hdsp_reset_hw_pointer()
1042 hdsp_write (hdsp, HDSP_freqReg, hdsp->dds_value); in hdsp_reset_hw_pointer()
1048 hdsp_write(s, HDSP_controlRegister, s->control_register); in hdsp_start_audio()
1054 hdsp_write(s, HDSP_controlRegister, s->control_register); in hdsp_stop_audio()
1078 hdsp_write(s, HDSP_controlRegister, s->control_register); in hdsp_set_interrupt_interval()
1103 hdsp_write(hdsp, HDSP_freqReg, hdsp->dds_value); in hdsp_set_dds_value()
1217 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_rate()
1271 hdsp_write(hdsp, HDSP_midiDataOut1, val); in snd_hdsp_midi_write_byte()
1273 hdsp_write(hdsp, HDSP_midiDataOut0, val); in snd_hdsp_midi_write_byte()
1365 hdsp_write(hmidi->hdsp, HDSP_controlRegister, hmidi->hdsp->control_register); in snd_hdsp_midi_input_read()
1390 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_midi_input_trigger()
1615 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register |= val); in snd_hdsp_control_spdif_stream_put()
1650 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_spdif_input()
1710 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_toggle_setting()
1970 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_clock_source()
2006 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_clock_source()
2120 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_da_gain()
2199 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_ad_gain()
2278 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_phone_gain()
2376 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_pref_sync_ref()
3003 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_rpm_input12()
3088 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_rpm_input34()
3138 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_rpm_bypass()
3190 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in hdsp_set_rpm_disconnect()
3269 hdsp_write(hdsp, HDSP_inputEnable + (4 * (hdsp->max_channels + channel)), enable); in hdsp_loopback_set()
3791 hdsp_write(hdsp, HDSP_inputBufferAddress, hdsp->capture_dma_buf.addr); in snd_hdsp_initialize_memory()
3792 hdsp_write(hdsp, HDSP_outputBufferAddress, hdsp->playback_dma_buf.addr); in snd_hdsp_initialize_memory()
3826 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_set_defaults()
3836 hdsp_write (hdsp, HDSP_control2Reg, hdsp->control2_register); in snd_hdsp_set_defaults()
3854 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_set_defaults()
3895 hdsp_write(hdsp, HDSP_interruptConfirmation, 0); in snd_hdsp_interrupt()
3915 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_interrupt()
3926 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_interrupt()
4058 hdsp_write(hdsp, HDSP_controlRegister, hdsp->control_register |= hdsp->creg_spdif_stream); in snd_hdsp_hw_params()
4979 hdsp_write (hdsp, HDSP_control2Reg, hdsp->control2_register); in snd_hdsp_9652_enable_mixer()
4993 hdsp_write (hdsp, HDSP_inputEnable + (4 * i), 1); in snd_hdsp_enable_io()
4994 hdsp_write (hdsp, HDSP_outputEnable + (4 * i), 1); in snd_hdsp_enable_io()
5380 hdsp_write (hdsp, HDSP_controlRegister, hdsp->control_register); in snd_hdsp_card_free()