H A D | hdsp.c | 447 struct hdsp *hdsp; member in struct:hdsp_midi 458 struct hdsp { struct 623 static int hdsp_playback_to_output_key (struct hdsp *hdsp, int in, int out) hdsp_playback_to_output_key() argument 641 static int hdsp_input_to_output_key (struct hdsp *hdsp, int in, int out) hdsp_input_to_output_key() argument 659 static void hdsp_write(struct hdsp *hdsp, int reg, int val) hdsp_write() argument 664 static unsigned int hdsp_read(struct hdsp *hdsp, int reg) hdsp_read() argument 669 static int hdsp_check_for_iobox (struct hdsp *hdsp) hdsp_check_for_iobox() argument 691 static int hdsp_wait_for_iobox(struct hdsp *hdsp, unsigned int loops, hdsp_wait_for_iobox() argument 714 static int snd_hdsp_load_firmware_from_cache(struct hdsp *hdsp) { snd_hdsp_load_firmware_from_cache() argument 782 static int hdsp_get_iobox_version (struct hdsp *hdsp) hdsp_get_iobox_version() argument 846 static int hdsp_check_for_firmware (struct hdsp *hdsp, int load_on_demand) hdsp_check_for_firmware() argument 873 static int hdsp_fifo_wait(struct hdsp *hdsp, int count, int timeout) hdsp_fifo_wait() argument 899 static int hdsp_read_gain (struct hdsp *hdsp, unsigned int addr) hdsp_read_gain() argument 907 static int hdsp_write_gain(struct hdsp *hdsp, unsigned int addr, unsigned short data) hdsp_write_gain() argument 967 static int snd_hdsp_use_is_exclusive(struct hdsp *hdsp) snd_hdsp_use_is_exclusive() argument 980 static int hdsp_spdif_sample_rate(struct hdsp *hdsp) hdsp_spdif_sample_rate() argument 1017 static int hdsp_external_sample_rate(struct hdsp *hdsp) hdsp_external_sample_rate() argument 1042 static void hdsp_compute_period_size(struct hdsp *hdsp) hdsp_compute_period_size() argument 1047 static snd_pcm_uframes_t hdsp_hw_pointer(struct hdsp *hdsp) hdsp_hw_pointer() argument 1062 static void hdsp_reset_hw_pointer(struct hdsp *hdsp) hdsp_reset_hw_pointer() argument 1084 static void hdsp_silence_playback(struct hdsp *hdsp) hdsp_silence_playback() argument 1114 static void hdsp_set_dds_value(struct hdsp *hdsp, int rate) hdsp_set_dds_value() argument 1133 static int hdsp_set_rate(struct hdsp *hdsp, int rate, int called_internally) hdsp_set_rate() argument 1285 static unsigned char snd_hdsp_midi_read_byte (struct hdsp *hdsp, int id) snd_hdsp_midi_read_byte() argument 1294 static void snd_hdsp_midi_write_byte (struct hdsp *hdsp, int id, int val) snd_hdsp_midi_write_byte() argument 1303 static int snd_hdsp_midi_input_available (struct hdsp *hdsp, int id) snd_hdsp_midi_input_available() argument 1311 static int snd_hdsp_midi_output_possible (struct hdsp *hdsp, int id) snd_hdsp_midi_output_possible() argument 1326 static void snd_hdsp_flush_midi_input (struct hdsp *hdsp, int id) snd_hdsp_flush_midi_input() argument 1394 struct hdsp *hdsp; snd_hdsp_midi_input_trigger() local 1527 static int snd_hdsp_create_midi (struct snd_card *card, struct hdsp *hdsp, int id) snd_hdsp_create_midi() argument 1592 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_control_spdif_get() local 1600 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_control_spdif_put() local 1621 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_control_spdif_stream_get() local 1629 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_control_spdif_stream_put() local 1664 static unsigned int hdsp_spdif_in(struct hdsp *hdsp) hdsp_spdif_in() argument 1669 static int hdsp_set_spdif_input(struct hdsp *hdsp, int in) hdsp_set_spdif_input() argument 1682 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_info_spdif_in() local 1690 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_spdif_in() local 1698 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_spdif_in() local 1722 static int hdsp_toggle_setting(struct hdsp *hdsp, u32 regmask) hdsp_toggle_setting() argument 1727 static int hdsp_set_toggle_setting(struct hdsp *hdsp, u32 regmask, int out) hdsp_set_toggle_setting() argument 1743 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_toggle_setting() local 1755 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_toggle_setting() local 1786 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_info_spdif_sample_rate() local 1794 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_spdif_sample_rate() local 1848 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_system_sample_rate() local 1865 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_info_autosync_sample_rate() local 1877 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_autosync_sample_rate() local 1922 static int hdsp_system_clock_mode(struct hdsp *hdsp) hdsp_system_clock_mode() argument 1940 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_system_clock_mode() local 1955 static int hdsp_clock_source(struct hdsp *hdsp) hdsp_clock_source() argument 1985 static int hdsp_set_clock_source(struct hdsp *hdsp, int mode) hdsp_set_clock_source() argument 2042 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_info_clock_source() local 2050 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_clock_source() local 2058 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_clock_source() local 2086 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_clock_source_lock() local 2094 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_clock_source_lock() local 2112 static int hdsp_da_gain(struct hdsp *hdsp) hdsp_da_gain() argument 2126 static int hdsp_set_da_gain(struct hdsp *hdsp, int mode) hdsp_set_da_gain() argument 2156 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_da_gain() local 2164 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_da_gain() local 2191 static int hdsp_ad_gain(struct hdsp *hdsp) hdsp_ad_gain() argument 2205 static int hdsp_set_ad_gain(struct hdsp *hdsp, int mode) hdsp_set_ad_gain() argument 2235 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_ad_gain() local 2243 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_ad_gain() local 2270 static int hdsp_phone_gain(struct hdsp *hdsp) hdsp_phone_gain() argument 2284 static int hdsp_set_phone_gain(struct hdsp *hdsp, int mode) hdsp_set_phone_gain() argument 2314 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_phone_gain() local 2322 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_phone_gain() local 2349 static int hdsp_pref_sync_ref(struct hdsp *hdsp) hdsp_pref_sync_ref() argument 2374 static int hdsp_set_pref_sync_ref(struct hdsp *hdsp, int pref) hdsp_set_pref_sync_ref() argument 2408 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_info_pref_sync_ref() local 2431 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_pref_sync_ref() local 2439 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_pref_sync_ref() local 2478 static int hdsp_autosync_ref(struct hdsp *hdsp) hdsp_autosync_ref() argument 2515 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_autosync_ref() local 2530 static int hdsp_set_precise_pointer(struct hdsp *hdsp, int precise) hdsp_set_precise_pointer() argument 2543 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_precise_pointer() local 2553 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_precise_pointer() local 2576 static int hdsp_set_use_midi_tasklet(struct hdsp *hdsp, int use_tasklet) hdsp_set_use_midi_tasklet() argument 2589 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_use_midi_tasklet() local 2599 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_use_midi_tasklet() local 2637 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_mixer() local 2658 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_mixer() local 2702 static int hdsp_wc_sync_check(struct hdsp *hdsp) hdsp_wc_sync_check() argument 2717 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_wc_sync_check() local 2732 static int hdsp_spdif_sync_check(struct hdsp *hdsp) hdsp_spdif_sync_check() argument 2748 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_spdif_sync_check() local 2763 static int hdsp_adatsync_sync_check(struct hdsp *hdsp) hdsp_adatsync_sync_check() argument 2777 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_adatsync_sync_check() local 2790 static int hdsp_adat_sync_check(struct hdsp *hdsp, int idx) hdsp_adat_sync_check() argument 2806 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_adat_sync_check() local 2840 static int hdsp_dds_offset(struct hdsp *hdsp) hdsp_dds_offset() argument 2862 static int hdsp_set_dds_offset(struct hdsp *hdsp, int offset_hz) hdsp_set_dds_offset() argument 2880 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_dds_offset() local 2888 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_dds_offset() local 2979 static int hdsp_rpm_input12(struct hdsp *hdsp) hdsp_rpm_input12() argument 2997 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_rpm_input12() local 3004 static int hdsp_set_rpm_input12(struct hdsp *hdsp, int mode) hdsp_set_rpm_input12() argument 3033 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_rpm_input12() local 3064 static int hdsp_rpm_input34(struct hdsp *hdsp) hdsp_rpm_input34() argument 3082 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_rpm_input34() local 3089 static int hdsp_set_rpm_input34(struct hdsp *hdsp, int mode) hdsp_set_rpm_input34() argument 3118 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_rpm_input34() local 3140 static int hdsp_rpm_bypass(struct hdsp *hdsp) hdsp_rpm_bypass() argument 3148 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_rpm_bypass() local 3155 static int hdsp_set_rpm_bypass(struct hdsp *hdsp, int on) hdsp_set_rpm_bypass() argument 3168 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_rpm_bypass() local 3192 static int hdsp_rpm_disconnect(struct hdsp *hdsp) hdsp_rpm_disconnect() argument 3200 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_get_rpm_disconnect() local 3207 static int hdsp_set_rpm_disconnect(struct hdsp *hdsp, int on) hdsp_set_rpm_disconnect() argument 3220 struct hdsp *hdsp = snd_kcontrol_chip(kcontrol); snd_hdsp_put_rpm_disconnect() local 3279 static int snd_hdsp_create_controls(struct snd_card *card, struct hdsp *hdsp) snd_hdsp_create_controls() argument 3339 struct hdsp *hdsp = entry->private_data; snd_hdsp_proc_read() local 3712 static void snd_hdsp_proc_init(struct hdsp *hdsp) snd_hdsp_proc_init() argument 3720 static void snd_hdsp_free_buffers(struct hdsp *hdsp) snd_hdsp_free_buffers() argument 3726 static int snd_hdsp_initialize_memory(struct hdsp *hdsp) snd_hdsp_initialize_memory() argument 3755 static int snd_hdsp_set_defaults(struct hdsp *hdsp) snd_hdsp_set_defaults() argument 3820 struct hdsp *hdsp = (struct hdsp *)arg; hdsp_midi_tasklet() local 3830 struct hdsp *hdsp = (struct hdsp *) dev_id; snd_hdsp_interrupt() local 3893 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_hw_pointer() local 3897 static char *hdsp_channel_buffer_location(struct hdsp *hdsp, hdsp_channel_buffer_location() argument 3919 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_playback_copy() local 3936 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_capture_copy() local 3953 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_hw_silence() local 3966 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_reset() local 3992 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_hw_params() local 4067 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_channel_info() local 4099 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_trigger() local 4167 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_prepare() local 4261 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_in_channels() local 4281 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_out_channels() local 4298 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_in_channels_rate() local 4329 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_out_channels_rate() local 4360 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_rate_out_channels() local 4391 struct hdsp *hdsp = rule->private; snd_hdsp_hw_rule_rate_in_channels() local 4421 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_playback_open() local 4478 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_playback_release() local 4498 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_capture_open() local 4543 struct hdsp *hdsp = snd_pcm_substream_chip(substream); snd_hdsp_capture_release() local 4581 static int hdsp_9652_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms) hdsp_9652_get_peak() argument 4618 static int hdsp_9632_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms) hdsp_9632_get_peak() argument 4648 static int hdsp_get_peak(struct hdsp *hdsp, struct hdsp_peak_rms __user *peak_rms) hdsp_get_peak() argument 4680 struct hdsp *hdsp = hw->private_data; snd_hdsp_hwdep_ioctl() local 4887 static int snd_hdsp_create_hwdep(struct snd_card *card, struct hdsp *hdsp) snd_hdsp_create_hwdep() argument 4905 static int snd_hdsp_create_pcm(struct snd_card *card, struct hdsp *hdsp) snd_hdsp_create_pcm() argument 4925 static void snd_hdsp_9652_enable_mixer (struct hdsp *hdsp) snd_hdsp_9652_enable_mixer() argument 4931 static int snd_hdsp_enable_io (struct hdsp *hdsp) snd_hdsp_enable_io() argument 4949 static void snd_hdsp_initialize_channels(struct hdsp *hdsp) snd_hdsp_initialize_channels() argument 5000 static void snd_hdsp_initialize_midi_flush (struct hdsp *hdsp) snd_hdsp_initialize_midi_flush() argument 5006 static int snd_hdsp_create_alsa_devices(struct snd_card *card, struct hdsp *hdsp) snd_hdsp_create_alsa_devices() argument 5068 static int hdsp_request_fw_loader(struct hdsp *hdsp) hdsp_request_fw_loader() argument 5294 static int snd_hdsp_free(struct hdsp *hdsp) snd_hdsp_free() argument 5321 struct hdsp *hdsp = card->private_data; snd_hdsp_card_free() local 5331 struct hdsp *hdsp; snd_hdsp_probe() local 5146 snd_hdsp_create(struct snd_card *card, struct hdsp *hdsp) snd_hdsp_create() argument
|