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
270 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_copy() local
384 static void snd_rme32_reset_dac(struct rme32 *rme32) in snd_rme32_reset_dac()
391 static int snd_rme32_playback_getrate(struct rme32 * rme32) in snd_rme32_playback_getrate()
413 static int snd_rme32_capture_getrate(struct rme32 * rme32, int *is_adat) in snd_rme32_capture_getrate()
474 static int snd_rme32_playback_setrate(struct rme32 * rme32, int rate) in snd_rme32_playback_setrate()
530 static int snd_rme32_setclockmode(struct rme32 * rme32, int mode) in snd_rme32_setclockmode()
560 static int snd_rme32_getclockmode(struct rme32 * rme32) in snd_rme32_getclockmode()
566 static int snd_rme32_setinputtype(struct rme32 * rme32, int type) in snd_rme32_setinputtype()
592 static int snd_rme32_getinputtype(struct rme32 * rme32) in snd_rme32_getinputtype()
599 snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) in snd_rme32_setframelog()
618 static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) in snd_rme32_setformat()
639 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_hw_params() local
696 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_hw_params() local
752 static void snd_rme32_pcm_start(struct rme32 * rme32, int from_pause) in snd_rme32_pcm_start()
762 static void snd_rme32_pcm_stop(struct rme32 * rme32, int to_pause) in snd_rme32_pcm_stop()
782 struct rme32 *rme32 = (struct rme32 *) dev_id; in snd_rme32_interrupt() local
807 static void snd_rme32_set_buffer_constraint(struct rme32 *rme32, struct snd_pcm_runtime *runtime) in snd_rme32_set_buffer_constraint()
822 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_spdif_open() local
867 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_spdif_open() local
907 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_adat_open() local
944 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_adat_open() local
977 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_close() local
996 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_close() local
1007 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_prepare() local
1026 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_prepare() local
1044 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pcm_trigger() local
1099 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_pointer() local
1106 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_pointer() local
1115 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_pb_trans_copy() local
1122 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_ack() local
1139 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_cp_trans_copy() local
1147 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_ack() local
1155 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_playback_fd_pointer() local
1163 struct rme32 *rme32 = snd_pcm_substream_chip(substream); in snd_rme32_capture_fd_pointer() local
1256 static void snd_rme32_free(struct rme32 *rme32) in snd_rme32_free()
1264 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_spdif_pcm() local
1271 struct rme32 *rme32 = (struct rme32 *) pcm->private_data; in snd_rme32_free_adat_pcm() local
1275 static int snd_rme32_create(struct rme32 *rme32) in snd_rme32_create()
1408 struct rme32 *rme32 = (struct rme32 *) entry->private_data; in snd_rme32_proc_read() local
1499 static void snd_rme32_proc_init(struct rme32 *rme32) in snd_rme32_proc_init()
1514 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_loopback_control() local
1526 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_loopback_control() local
1548 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_info_inputtype_control() local
1572 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_inputtype_control() local
1601 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_inputtype_control() local
1641 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_get_clockmode_control() local
1652 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_put_clockmode_control() local
1695 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_get() local
1705 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_put() local
1729 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_get() local
1740 struct rme32 *rme32 = snd_kcontrol_chip(kcontrol); in snd_rme32_control_spdif_stream_put() local
1826 static int snd_rme32_create_switches(struct snd_card *card, struct rme32 * rme32) in snd_rme32_create_switches()
1856 struct rme32 *rme32; in __snd_rme32_probe() local