/kernel/linux/linux-5.10/sound/pci/rme9652/ |
H A D | rme9652.c | 304 static inline void rme9652_write(struct snd_rme9652 *rme9652, int reg, int val) in rme9652_write() argument 306 writel(val, rme9652->iobase + reg); in rme9652_write() 309 static inline unsigned int rme9652_read(struct snd_rme9652 *rme9652, int reg) in rme9652_read() argument 311 return readl(rme9652->iobase + reg); in rme9652_read() 314 static inline int snd_rme9652_use_is_exclusive(struct snd_rme9652 *rme9652) in snd_rme9652_use_is_exclusive() argument 319 spin_lock_irqsave(&rme9652->lock, flags); in snd_rme9652_use_is_exclusive() 320 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive() 321 (rme9652->playback_pid >= 0) && (rme9652 in snd_rme9652_use_is_exclusive() 328 rme9652_adat_sample_rate(struct snd_rme9652 *rme9652) rme9652_adat_sample_rate() argument 339 rme9652_compute_period_size(struct snd_rme9652 *rme9652) rme9652_compute_period_size() argument 350 rme9652_hw_pointer(struct snd_rme9652 *rme9652) rme9652_hw_pointer() argument 401 rme9652_reset_hw_pointer(struct snd_rme9652 *rme9652) rme9652_reset_hw_pointer() argument 464 rme9652_set_rate(struct snd_rme9652 *rme9652, int rate) rme9652_set_rate() argument 552 rme9652_set_thru(struct snd_rme9652 *rme9652, int channel, int enable) rme9652_set_thru() argument 591 rme9652_set_passthru(struct snd_rme9652 *rme9652, int onoff) rme9652_set_passthru() argument 619 rme9652_spdif_set_bit(struct snd_rme9652 *rme9652, int mask, int onoff) rme9652_spdif_set_bit() argument 629 rme9652_spdif_write_byte(struct snd_rme9652 *rme9652, const int val) rme9652_spdif_write_byte() argument 645 rme9652_spdif_read_byte(struct snd_rme9652 *rme9652) rme9652_spdif_read_byte() argument 663 rme9652_write_spdif_codec(struct snd_rme9652 *rme9652, const int address, const int data) rme9652_write_spdif_codec() argument 673 rme9652_spdif_read_codec(struct snd_rme9652 *rme9652, const int address) rme9652_spdif_read_codec() argument 690 rme9652_initialize_spdif_receiver(struct snd_rme9652 *rme9652) rme9652_initialize_spdif_receiver() argument 801 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_get() local 809 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_put() local 830 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_stream_get() local 838 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_stream_put() local 871 rme9652_adat1_in(struct snd_rme9652 *rme9652) rme9652_adat1_in() argument 878 rme9652_set_adat1_input(struct snd_rme9652 *rme9652, int internal) rme9652_set_adat1_input() argument 912 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_adat1_in() local 922 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_adat1_in() local 942 rme9652_spdif_in(struct snd_rme9652 *rme9652) rme9652_spdif_in() argument 948 rme9652_set_spdif_input(struct snd_rme9652 *rme9652, int in) rme9652_set_spdif_input() argument 977 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_in() local 987 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_spdif_in() local 1007 rme9652_spdif_out(struct snd_rme9652 *rme9652) rme9652_spdif_out() argument 1012 rme9652_set_spdif_output(struct snd_rme9652 *rme9652, int out) rme9652_set_spdif_output() argument 1039 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_out() local 1049 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_spdif_out() local 1068 rme9652_sync_mode(struct snd_rme9652 *rme9652) rme9652_sync_mode() argument 1079 rme9652_set_sync_mode(struct snd_rme9652 *rme9652, int mode) rme9652_set_sync_mode() argument 1122 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_sync_mode() local 1132 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_sync_mode() local 1149 rme9652_sync_pref(struct snd_rme9652 *rme9652) rme9652_sync_pref() argument 1165 rme9652_set_sync_pref(struct snd_rme9652 *rme9652, int pref) rme9652_set_sync_pref() argument 1203 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_info_sync_pref() local 1212 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_sync_pref() local 1222 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_sync_pref() local 1239 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_info_thru() local 1249 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_thru() local 1261 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_thru() local 1297 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_passthru() local 1307 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_passthru() local 1343 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_rate() local 1368 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_adat_sync() local 1393 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_tc_valid() local 1518 snd_rme9652_create_controls(struct snd_card *card, struct snd_rme9652 *rme9652) snd_rme9652_create_controls() argument 1549 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) entry->private_data; snd_rme9652_proc_read() local 1719 snd_rme9652_proc_init(struct snd_rme9652 *rme9652) snd_rme9652_proc_init() argument 1725 snd_rme9652_free_buffers(struct snd_rme9652 *rme9652) snd_rme9652_free_buffers() argument 1731 snd_rme9652_free(struct snd_rme9652 *rme9652) snd_rme9652_free() argument 1748 snd_rme9652_initialize_memory(struct snd_rme9652 *rme9652) snd_rme9652_initialize_memory() argument 1777 snd_rme9652_set_defaults(struct snd_rme9652 *rme9652) snd_rme9652_set_defaults() argument 1820 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) dev_id; snd_rme9652_interrupt() local 1840 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_pointer() local 1844 rme9652_channel_buffer_location(struct snd_rme9652 *rme9652, int stream, int channel) rme9652_channel_buffer_location() argument 1871 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_copy() local 1891 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_copy_kernel() local 1907 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_copy() local 1927 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_copy_kernel() local 1943 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_silence() local 1958 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_reset() local 1984 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_params() local 2049 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_channel_info() local 2086 rme9652_silence_playback(struct snd_rme9652 *rme9652) rme9652_silence_playback() argument 2094 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_trigger() local 2155 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_prepare() local 2223 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_channels() local 2232 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_channels_rate() local 2256 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_rate_channels() local 2279 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_open() local 2321 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_release() local 2339 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_open() local 2376 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_release() local 2412 snd_rme9652_create_pcm(struct snd_card *card, struct snd_rme9652 *rme9652) snd_rme9652_create_pcm() argument 2436 snd_rme9652_create(struct snd_card *card, struct snd_rme9652 *rme9652, int precise_ptr) snd_rme9652_create() argument 2572 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) card->private_data; snd_rme9652_card_free() local 2582 struct snd_rme9652 *rme9652; snd_rme9652_probe() local [all...] |
H A D | Makefile | 7 snd-rme9652-objs := rme9652.o 12 obj-$(CONFIG_SND_RME9652) += snd-rme9652.o
|
/kernel/linux/linux-6.6/sound/pci/rme9652/ |
H A D | rme9652.c | 299 static inline void rme9652_write(struct snd_rme9652 *rme9652, int reg, int val) in rme9652_write() argument 301 writel(val, rme9652->iobase + reg); in rme9652_write() 304 static inline unsigned int rme9652_read(struct snd_rme9652 *rme9652, int reg) in rme9652_read() argument 306 return readl(rme9652->iobase + reg); in rme9652_read() 309 static inline int snd_rme9652_use_is_exclusive(struct snd_rme9652 *rme9652) in snd_rme9652_use_is_exclusive() argument 314 spin_lock_irqsave(&rme9652->lock, flags); in snd_rme9652_use_is_exclusive() 315 if ((rme9652->playback_pid != rme9652->capture_pid) && in snd_rme9652_use_is_exclusive() 316 (rme9652->playback_pid >= 0) && (rme9652 in snd_rme9652_use_is_exclusive() 323 rme9652_adat_sample_rate(struct snd_rme9652 *rme9652) rme9652_adat_sample_rate() argument 334 rme9652_compute_period_size(struct snd_rme9652 *rme9652) rme9652_compute_period_size() argument 345 rme9652_hw_pointer(struct snd_rme9652 *rme9652) rme9652_hw_pointer() argument 396 rme9652_reset_hw_pointer(struct snd_rme9652 *rme9652) rme9652_reset_hw_pointer() argument 459 rme9652_set_rate(struct snd_rme9652 *rme9652, int rate) rme9652_set_rate() argument 546 rme9652_set_thru(struct snd_rme9652 *rme9652, int channel, int enable) rme9652_set_thru() argument 585 rme9652_set_passthru(struct snd_rme9652 *rme9652, int onoff) rme9652_set_passthru() argument 613 rme9652_spdif_set_bit(struct snd_rme9652 *rme9652, int mask, int onoff) rme9652_spdif_set_bit() argument 623 rme9652_spdif_write_byte(struct snd_rme9652 *rme9652, const int val) rme9652_spdif_write_byte() argument 639 rme9652_spdif_read_byte(struct snd_rme9652 *rme9652) rme9652_spdif_read_byte() argument 657 rme9652_write_spdif_codec(struct snd_rme9652 *rme9652, const int address, const int data) rme9652_write_spdif_codec() argument 667 rme9652_spdif_read_codec(struct snd_rme9652 *rme9652, const int address) rme9652_spdif_read_codec() argument 684 rme9652_initialize_spdif_receiver(struct snd_rme9652 *rme9652) rme9652_initialize_spdif_receiver() argument 788 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_get() local 796 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_put() local 817 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_stream_get() local 825 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_control_spdif_stream_put() local 858 rme9652_adat1_in(struct snd_rme9652 *rme9652) rme9652_adat1_in() argument 865 rme9652_set_adat1_input(struct snd_rme9652 *rme9652, int internal) rme9652_set_adat1_input() argument 898 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_adat1_in() local 908 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_adat1_in() local 928 rme9652_spdif_in(struct snd_rme9652 *rme9652) rme9652_spdif_in() argument 934 rme9652_set_spdif_input(struct snd_rme9652 *rme9652, int in) rme9652_set_spdif_input() argument 962 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_in() local 972 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_spdif_in() local 992 rme9652_spdif_out(struct snd_rme9652 *rme9652) rme9652_spdif_out() argument 997 rme9652_set_spdif_output(struct snd_rme9652 *rme9652, int out) rme9652_set_spdif_output() argument 1023 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_out() local 1033 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_spdif_out() local 1052 rme9652_sync_mode(struct snd_rme9652 *rme9652) rme9652_sync_mode() argument 1063 rme9652_set_sync_mode(struct snd_rme9652 *rme9652, int mode) rme9652_set_sync_mode() argument 1105 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_sync_mode() local 1115 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_sync_mode() local 1132 rme9652_sync_pref(struct snd_rme9652 *rme9652) rme9652_sync_pref() argument 1148 rme9652_set_sync_pref(struct snd_rme9652 *rme9652, int pref) rme9652_set_sync_pref() argument 1185 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_info_sync_pref() local 1194 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_sync_pref() local 1204 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_sync_pref() local 1221 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_info_thru() local 1231 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_thru() local 1243 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_thru() local 1279 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_passthru() local 1289 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_put_passthru() local 1325 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_spdif_rate() local 1350 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_adat_sync() local 1375 struct snd_rme9652 *rme9652 = snd_kcontrol_chip(kcontrol); snd_rme9652_get_tc_valid() local 1500 snd_rme9652_create_controls(struct snd_card *card, struct snd_rme9652 *rme9652) snd_rme9652_create_controls() argument 1539 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) entry->private_data; snd_rme9652_proc_read() local 1709 snd_rme9652_proc_init(struct snd_rme9652 *rme9652) snd_rme9652_proc_init() argument 1717 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) card->private_data; snd_rme9652_card_free() local 1723 snd_rme9652_initialize_memory(struct snd_rme9652 *rme9652) snd_rme9652_initialize_memory() argument 1755 snd_rme9652_set_defaults(struct snd_rme9652 *rme9652) snd_rme9652_set_defaults() argument 1798 struct snd_rme9652 *rme9652 = (struct snd_rme9652 *) dev_id; snd_rme9652_interrupt() local 1818 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_pointer() local 1822 rme9652_channel_buffer_location(struct snd_rme9652 *rme9652, int stream, int channel) rme9652_channel_buffer_location() argument 1849 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_copy() local 1869 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_copy() local 1889 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_silence() local 1904 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_reset() local 1930 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_hw_params() local 1997 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_channel_info() local 2034 rme9652_silence_playback(struct snd_rme9652 *rme9652) rme9652_silence_playback() argument 2042 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_trigger() local 2103 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_prepare() local 2171 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_channels() local 2180 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_channels_rate() local 2204 struct snd_rme9652 *rme9652 = rule->private; snd_rme9652_hw_rule_rate_channels() local 2227 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_open() local 2268 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_playback_release() local 2286 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_open() local 2322 struct snd_rme9652 *rme9652 = snd_pcm_substream_chip(substream); snd_rme9652_capture_release() local 2356 snd_rme9652_create_pcm(struct snd_card *card, struct snd_rme9652 *rme9652) snd_rme9652_create_pcm() argument 2378 snd_rme9652_create(struct snd_card *card, struct snd_rme9652 *rme9652, int precise_ptr) snd_rme9652_create() argument 2518 struct snd_rme9652 *rme9652; snd_rme9652_probe() local [all...] |
H A D | Makefile | 7 snd-rme9652-objs := rme9652.o 12 obj-$(CONFIG_SND_RME9652) += snd-rme9652.o
|
/kernel/linux/linux-5.10/sound/pci/ |
H A D | Makefile | 80 rme9652/ \
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | Makefile | 80 rme9652/ \
|