H A D | hdspm.c | 966 struct hdspm *hdspm; member in struct:hdspm_midi 992 struct hdspm { struct 1132 static bool hdspm_is_raydat_or_aio(struct hdspm *hdspm) hdspm_is_raydat_or_aio() argument 1141 static inline void hdspm_write(struct hdspm * hdspm, unsigned int reg, hdspm_write() argument 1147 static inline unsigned int hdspm_read(struct hdspm * hdspm, unsigned int reg) hdspm_read() argument 1156 static inline int hdspm_read_in_gain(struct hdspm * hdspm, unsigned int chan, hdspm_read_in_gain() argument 1165 static inline int hdspm_read_pb_gain(struct hdspm * hdspm, unsigned int chan, hdspm_read_pb_gain() argument 1173 static int hdspm_write_in_gain(struct hdspm *hdspm, unsigned int chan, hdspm_write_in_gain() argument 1186 static int hdspm_write_pb_gain(struct hdspm *hdspm, unsigned int chan, hdspm_write_pb_gain() argument 1201 static inline void snd_hdspm_enable_in(struct hdspm * hdspm, int i, int v) snd_hdspm_enable_in() argument 1206 static inline void snd_hdspm_enable_out(struct hdspm * hdspm, int i, int v) snd_hdspm_enable_out() argument 1212 static int snd_hdspm_use_is_exclusive(struct hdspm *hdspm) snd_hdspm_use_is_exclusive() argument 1245 static int hdspm_rate_multiplier(struct hdspm *hdspm, int rate) hdspm_rate_multiplier() argument 1258 static int hdspm_external_sample_rate(struct hdspm *hdspm) hdspm_external_sample_rate() argument 1458 static int hdspm_get_latency(struct hdspm *hdspm) hdspm_get_latency() argument 1478 static inline void hdspm_compute_period_size(struct hdspm *hdspm) hdspm_compute_period_size() argument 1484 static snd_pcm_uframes_t hdspm_hw_pointer(struct hdspm *hdspm) hdspm_hw_pointer() argument 1518 static void hdspm_silence_playback(struct hdspm *hdspm) hdspm_silence_playback() argument 1572 static u64 hdspm_calc_dds_value(struct hdspm *hdspm, u64 period) hdspm_calc_dds_value() argument 1600 static void hdspm_set_dds_value(struct hdspm *hdspm, int rate) hdspm_set_dds_value() argument 1636 static int hdspm_set_rate(struct hdspm * hdspm, int rate, int called_internally) hdspm_set_rate() argument 1792 static void all_in_all_mixer(struct hdspm * hdspm, int sgain) all_in_all_mixer() argument 1815 static inline unsigned char snd_hdspm_midi_read_byte (struct hdspm *hdspm, snd_hdspm_midi_read_byte() argument 1822 static inline void snd_hdspm_midi_write_byte (struct hdspm *hdspm, int id, snd_hdspm_midi_write_byte() argument 1829 static inline int snd_hdspm_midi_input_available (struct hdspm *hdspm, int id) snd_hdspm_midi_input_available() argument 1834 static inline int snd_hdspm_midi_output_possible (struct hdspm *hdspm, int id) snd_hdspm_midi_output_possible() argument 1846 static void snd_hdspm_flush_midi_input(struct hdspm *hdspm, int id) snd_hdspm_flush_midi_input() argument 1928 struct hdspm *hdspm; snd_hdspm_midi_input_trigger() local 2174 struct hdspm *hdspm = (struct hdspm *)arg; hdspm_midi_tasklet() local 2193 static inline int hdspm_get_pll_freq(struct hdspm *hdspm) hdspm_get_pll_freq() argument 2207 static int hdspm_get_system_sample_rate(struct hdspm *hdspm) hdspm_get_system_sample_rate() argument 2257 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_system_sample_rate() local 2267 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_system_sample_rate() local 2280 static int hdspm_get_wc_sample_rate(struct hdspm *hdspm) hdspm_get_wc_sample_rate() argument 2305 static int hdspm_get_tco_sample_rate(struct hdspm *hdspm) hdspm_get_tco_sample_rate() argument 2331 static int hdspm_get_sync_in_sample_rate(struct hdspm *hdspm) hdspm_get_sync_in_sample_rate() argument 2353 static int hdspm_get_aes_sample_rate(struct hdspm *hdspm, int index) hdspm_get_aes_sample_rate() argument 2372 static int hdspm_get_s1_sample_rate(struct hdspm *hdspm, unsigned int idx) hdspm_get_s1_sample_rate() argument 2386 static int hdspm_external_rate_to_enum(struct hdspm *hdspm) hdspm_external_rate_to_enum() argument 2421 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_autosync_sample_rate() local 2523 static int hdspm_system_clock_mode(struct hdspm *hdspm) hdspm_system_clock_mode() argument 2545 static void hdspm_set_system_clock_mode(struct hdspm *hdspm, int mode) hdspm_set_system_clock_mode() argument 2565 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_system_clock_mode() local 2574 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_system_clock_mode() local 2602 static int hdspm_clock_source(struct hdspm * hdspm) hdspm_clock_source() argument 2619 static int hdspm_set_clock_source(struct hdspm * hdspm, int mode) hdspm_set_clock_source() argument 2657 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_clock_source() local 2666 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_clock_source() local 2704 static int hdspm_pref_sync_ref(struct hdspm * hdspm) hdspm_pref_sync_ref() argument 2807 static int hdspm_set_pref_sync_ref(struct hdspm * hdspm, int pref) hdspm_set_pref_sync_ref() argument 2968 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_info_pref_sync_ref() local 2978 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_pref_sync_ref() local 2992 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_pref_sync_ref() local 3023 static int hdspm_autosync_ref(struct hdspm *hdspm) hdspm_autosync_ref() argument 3062 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_info_autosync_ref() local 3081 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_autosync_ref() local 3112 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_video_input_format() local 3153 static int hdspm_tco_ltc_frames(struct hdspm *hdspm) hdspm_tco_ltc_frames() argument 3187 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_ltc_frames() local 3202 static int hdspm_toggle_setting(struct hdspm *hdspm, u32 regmask) hdspm_toggle_setting() argument 3214 static int hdspm_set_toggle_setting(struct hdspm *hdspm, u32 regmask, int out) hdspm_set_toggle_setting() argument 3242 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_toggle_setting() local 3254 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_toggle_setting() local 3278 static int hdspm_input_select(struct hdspm * hdspm) hdspm_input_select() argument 3283 static int hdspm_set_input_select(struct hdspm * hdspm, int out) hdspm_set_input_select() argument 3305 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_input_select() local 3316 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_input_select() local 3340 static int hdspm_ds_wire(struct hdspm * hdspm) hdspm_ds_wire() argument 3345 static int hdspm_set_ds_wire(struct hdspm * hdspm, int ds) hdspm_set_ds_wire() argument 3367 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_ds_wire() local 3378 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_ds_wire() local 3402 static int hdspm_qs_wire(struct hdspm * hdspm) hdspm_qs_wire() argument 3411 static int hdspm_set_qs_wire(struct hdspm * hdspm, int mode) hdspm_set_qs_wire() argument 3440 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_qs_wire() local 3451 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_qs_wire() local 3478 static int hdspm_tristate(struct hdspm *hdspm, u32 regmask) hdspm_tristate() argument 3484 static int hdspm_set_tristate(struct hdspm *hdspm, int mode, u32 regmask) hdspm_set_tristate() argument 3515 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tristate() local 3527 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tristate() local 3556 static int hdspm_madi_speedmode(struct hdspm *hdspm) hdspm_madi_speedmode() argument 3565 static int hdspm_set_madi_speedmode(struct hdspm *hdspm, int mode) hdspm_set_madi_speedmode() argument 3594 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_madi_speedmode() local 3605 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_madi_speedmode() local 3649 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_mixer() local 3682 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_mixer() local 3753 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_playback_mixer() local 3772 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_playback_mixer() local 3834 static int hdspm_wc_sync_check(struct hdspm *hdspm) hdspm_wc_sync_check() argument 3882 static int hdspm_madi_sync_check(struct hdspm *hdspm) hdspm_madi_sync_check() argument 3895 static int hdspm_s1_sync_check(struct hdspm *hdspm, int idx) hdspm_s1_sync_check() argument 3912 static int hdspm_sync_in_sync_check(struct hdspm *hdspm) hdspm_sync_in_sync_check() argument 3948 static int hdspm_aes_sync_check(struct hdspm *hdspm, int idx) hdspm_aes_sync_check() argument 3963 static int hdspm_tco_input_check(struct hdspm *hdspm, u32 mask) hdspm_tco_input_check() argument 3972 static int hdspm_tco_sync_check(struct hdspm *hdspm) hdspm_tco_sync_check() argument 4018 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_sync_check() local 4111 static void hdspm_tco_write(struct hdspm *hdspm) hdspm_tco_write() argument 4223 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_sample_rate() local 4233 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_sample_rate() local 4270 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_pull() local 4280 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_pull() local 4315 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_wck_conversion() local 4325 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_wck_conversion() local 4362 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_frame_rate() local 4372 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_frame_rate() local 4408 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_sync_source() local 4418 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_sync_source() local 4458 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_get_tco_word_term() local 4469 struct hdspm *hdspm = snd_kcontrol_chip(kcontrol); snd_hdspm_put_tco_word_term() local 4648 static int hdspm_update_simple_mixer_controls(struct hdspm * hdspm) hdspm_update_simple_mixer_controls() argument 4755 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_read_tco() local 4867 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_read_madi() local 5029 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_read_aes32() local 5182 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_read_raydat() local 5240 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_read_debug() local 5257 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_ports_in() local 5270 struct hdspm *hdspm = entry->private_data; snd_hdspm_proc_ports_out() local 5281 static void snd_hdspm_proc_init(struct hdspm *hdspm) snd_hdspm_proc_init() argument 5328 static int snd_hdspm_set_defaults(struct hdspm * hdspm) snd_hdspm_set_defaults() argument 5398 struct hdspm *hdspm = (struct hdspm *) dev_id; snd_hdspm_interrupt() local 5475 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_hw_pointer() local 5483 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_reset() local 5512 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_hw_params() local 5667 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_hw_free() local 5694 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_channel_info() local 5759 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_trigger() local 5878 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_in_channels_rate() local 5913 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_out_channels_rate() local 5948 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_rate_in_channels() local 5982 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_rate_out_channels() local 6018 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_in_channels() local 6032 struct hdspm *hdspm = rule->private; snd_hdspm_hw_rule_out_channels() local 6056 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_open() local 6133 struct hdspm *hdspm = snd_pcm_substream_chip(substream); snd_hdspm_release() local 6167 struct hdspm *hdspm = hw->private_data; snd_hdspm_hwdep_ioctl() local 6403 static int snd_hdspm_preallocate_memory(struct hdspm *hdspm) snd_hdspm_preallocate_memory() argument 6432 static void hdspm_set_sgbuf(struct hdspm *hdspm, hdspm_set_sgbuf() argument 6474 static inline void snd_hdspm_initialize_midi_flush(struct hdspm * hdspm) snd_hdspm_initialize_midi_flush() argument 6889 static int snd_hdspm_free(struct hdspm * hdspm) snd_hdspm_free() argument 6919 struct hdspm *hdspm = card->private_data; snd_hdspm_card_free() local 6930 struct hdspm *hdspm; snd_hdspm_probe() local 2060 snd_hdspm_create_midi(struct snd_card *card, struct hdspm *hdspm, int id) snd_hdspm_create_midi() argument 4672 snd_hdspm_create_controls(struct snd_card *card, struct hdspm *hdspm) snd_hdspm_create_controls() argument 6377 snd_hdspm_create_hwdep(struct snd_card *card, struct hdspm *hdspm) snd_hdspm_create_hwdep() argument 6446 snd_hdspm_create_pcm(struct snd_card *card, struct hdspm *hdspm) snd_hdspm_create_pcm() argument 6482 snd_hdspm_create_alsa_devices(struct snd_card *card, struct hdspm *hdspm) snd_hdspm_create_alsa_devices() argument 6541 snd_hdspm_create(struct snd_card *card, struct hdspm *hdspm) snd_hdspm_create() argument
|