Lines Matching defs:rme32
179 struct rme32 { struct
180 spinlock_t lock;
181 int irq;
182 unsigned long port;
183 void __iomem *iobase;
185 u32 wcreg; /* cached write control register value */
186 u32 wcreg_spdif; /* S/PDIF setup */
187 u32 wcreg_spdif_stream; /* S/PDIF setup (temporary) */
188 u32 rcreg; /* cached read control register value */
190 u8 rev; /* card revision number */
214 static const struct pci_device_id snd_rme32_ids[] = { argument
223 #define RME32_ISWORKING(rme32) ((rme32)->wcreg & RME32_WCR_START) argument
224 #define RME32_PRO_WITH_8414(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)… argument
236 static inline unsigned int snd_rme32_pcm_byteptr(struct rme32 * rme32) in snd_rme32_pcm_byteptr()
247 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_silence() local
258 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_copy() local
270 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_copy_kernel() local
281 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_copy() local
294 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_copy_kernel() local
406 static void snd_rme32_reset_dac(struct rme32 *rme32) in snd_rme32_reset_dac()
413 static int snd_rme32_playback_getrate(struct rme32 * rme32) in snd_rme32_playback_getrate()
435 static int snd_rme32_capture_getrate(struct rme32 * rme32, int *is_adat) in snd_rme32_capture_getrate()
497 static int snd_rme32_playback_setrate(struct rme32 * rme32, int rate) in snd_rme32_playback_setrate()
553 static int snd_rme32_setclockmode(struct rme32 * rme32, int mode) in snd_rme32_setclockmode()
583 static int snd_rme32_getclockmode(struct rme32 * rme32) in snd_rme32_getclockmode()
589 static int snd_rme32_setinputtype(struct rme32 * rme32, int type) in snd_rme32_setinputtype()
615 static int snd_rme32_getinputtype(struct rme32 * rme32) in snd_rme32_getinputtype()
622 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog()
641 static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) in snd_rme32_setformat()
662 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_hw_params() local
717 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_hw_params() local
776 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pcm_hw_free() local
782 static void snd_rme32_pcm_start(struct rme32 * rme32, int from_pause) in snd_rme32_pcm_start()
792 static void snd_rme32_pcm_stop(struct rme32 * rme32, int to_pause) in snd_rme32_pcm_stop()
812 struct rme32 *rme32 = (struct rme32 *) dev_id; in snd_rme32_interrupt() local
837 static void snd_rme32_set_buffer_constraint(struct rme32 *rme32, struct snd_pcm_runtime *runtime) in snd_rme32_set_buffer_constraint()
852 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_spdif_open() local
895 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_spdif_open() local
934 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_adat_open() local
969 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_adat_open() local
1001 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_close() local
1020 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_close() local
1031 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_prepare() local
1050 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_prepare() local
1068 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pcm_trigger() local
1123 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_pointer() local
1130 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_pointer() local
1139 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pb_trans_copy() local
1146 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_ack() local
1163 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_cp_trans_copy() local
1171 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_ack() local
1179 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_pointer() local
1187 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_pointer() local
1298 struct rme32 *rme32 = (struct rme32 *) private_data; in snd_rme32_free() local
1321 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_spdif_pcm() local
1328 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_adat_pcm() local
1332 static int snd_rme32_create(struct rme32 *rme32) in snd_rme32_create()
1464 struct rme32 *rme32 = (struct rme32 *) entry->private_data; in snd_rme32_proc_read() local
1555 static void snd_rme32_proc_init(struct rme32 *rme32) in snd_rme32_proc_init()
1570 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_loopback_control() local
1582 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_loopback_control() local
1604 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_info_inputtype_control() local
1628 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_inputtype_control() local
1657 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_inputtype_control() local
1697 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_clockmode_control() local
1708 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_clockmode_control() local
1751 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_get() local
1761 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_put() local
1785 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_get() local
1796 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_put() local
1882 static int snd_rme32_create_switches(struct snd_card *card, struct rme32 * rme32) in snd_rme32_create_switches()
1910 struct rme32 *rme32; in snd_rme32_probe() local