Lines Matching defs:rme32
178 struct rme32 { struct
179 spinlock_t lock;
180 int irq;
181 unsigned long port;
182 void __iomem *iobase;
184 u32 wcreg; /* cached write control register value */
185 u32 wcreg_spdif; /* S/PDIF setup */
186 u32 wcreg_spdif_stream; /* S/PDIF setup (temporary) */
187 u32 rcreg; /* cached read control register value */
189 u8 rev; /* card revision number */
213 static const struct pci_device_id snd_rme32_ids[] = { argument
222 #define RME32_ISWORKING(rme32) ((rme32)->wcreg & RME32_WCR_START) argument
223 #define RME32_PRO_WITH_8414(rme32) ((rme32)->pci->device == PCI_DEVICE_ID_RME_DIGI32_PRO && (rme32)… argument
235 static inline unsigned int snd_rme32_pcm_byteptr(struct rme32 * rme32) in snd_rme32_pcm_byteptr()
246 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_silence() local
257 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_copy() local
268 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_copy() local
381 static void snd_rme32_reset_dac(struct rme32 *rme32) in snd_rme32_reset_dac()
388 static int snd_rme32_playback_getrate(struct rme32 * rme32) in snd_rme32_playback_getrate()
410 static int snd_rme32_capture_getrate(struct rme32 * rme32, int *is_adat) in snd_rme32_capture_getrate()
471 static int snd_rme32_playback_setrate(struct rme32 * rme32, int rate) in snd_rme32_playback_setrate()
527 static int snd_rme32_setclockmode(struct rme32 * rme32, int mode) in snd_rme32_setclockmode()
557 static int snd_rme32_getclockmode(struct rme32 * rme32) in snd_rme32_getclockmode()
563 static int snd_rme32_setinputtype(struct rme32 * rme32, int type) in snd_rme32_setinputtype()
589 static int snd_rme32_getinputtype(struct rme32 * rme32) in snd_rme32_getinputtype()
596 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog()
615 static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) in snd_rme32_setformat()
636 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_hw_params() local
693 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_hw_params() local
749 static void snd_rme32_pcm_start(struct rme32 * rme32, int from_pause) in snd_rme32_pcm_start()
759 static void snd_rme32_pcm_stop(struct rme32 * rme32, int to_pause) in snd_rme32_pcm_stop()
779 struct rme32 *rme32 = (struct rme32 *) dev_id; in snd_rme32_interrupt() local
804 static void snd_rme32_set_buffer_constraint(struct rme32 *rme32, struct snd_pcm_runtime *runtime) in snd_rme32_set_buffer_constraint()
819 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_spdif_open() local
864 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_spdif_open() local
904 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_adat_open() local
941 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_adat_open() local
974 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_close() local
993 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_close() local
1004 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_prepare() local
1023 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_prepare() local
1041 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pcm_trigger() local
1096 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_pointer() local
1103 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_pointer() local
1112 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pb_trans_copy() local
1119 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_ack() local
1136 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_cp_trans_copy() local
1144 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_ack() local
1152 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_pointer() local
1160 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_pointer() local
1253 static void snd_rme32_free(struct rme32 *rme32) in snd_rme32_free()
1261 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_spdif_pcm() local
1268 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_adat_pcm() local
1272 static int snd_rme32_create(struct rme32 *rme32) in snd_rme32_create()
1405 struct rme32 *rme32 = (struct rme32 *) entry->private_data; in snd_rme32_proc_read() local
1496 static void snd_rme32_proc_init(struct rme32 *rme32) in snd_rme32_proc_init()
1511 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_loopback_control() local
1523 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_loopback_control() local
1545 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_info_inputtype_control() local
1569 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_inputtype_control() local
1598 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_inputtype_control() local
1638 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_clockmode_control() local
1649 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_clockmode_control() local
1692 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_get() local
1702 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_put() local
1726 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_get() local
1737 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_put() local
1823 static int snd_rme32_create_switches(struct snd_card *card, struct rme32 * rme32) in snd_rme32_create_switches()
1853 struct rme32 *rme32; in __snd_rme32_probe() local