Lines Matching defs:rme96

208 struct rme96 {  struct
209 spinlock_t lock;
210 int irq;
211 unsigned long port;
212 void __iomem *iobase;
214 u32 wcreg; /* cached write control register value */
215 u32 wcreg_spdif; /* S/PDIF setup */
216 u32 wcreg_spdif_stream; /* S/PDIF setup (temporary) */
217 u32 rcreg; /* cached read control register value */
218 u32 areg; /* cached additional register value */
219 u16 vol[2]; /* cached volume of analog output */
221 u8 rev; /* card revision number */
246 static const struct pci_device_id snd_rme96_ids[] = { argument
256 #define RME96_ISPLAYING(rme96) ((rme96)->wcreg & RME96_WCR_START) argument
257 #define RME96_ISRECORDING(rme96) ((rme96)->wcreg & RME96_WCR_START_2) argument
258 #define RME96_HAS_ANALOG_IN(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST) argument
259 #define RME96_HAS_ANALOG_OUT(rme96) ((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PRO || \ argument
261 #define RME96_DAC_IS_1852(rme96) (RME96_HAS_ANALOG_OUT(rme96) && (rme96)->rev >= 4) argument
262 #define RME96_DAC_IS_1855(rme96) (((rme96)->pci->device == PCI_DEVICE_ID_RME_DIGI96_8_PAD_OR_PST &&… argument
264 #define RME96_185X_MAX_OUT(rme96) ((1 << (RME96_DAC_IS_1852(rme96) ? RME96_AD1852_VOL_BITS : RME96_… argument
296 snd_rme96_playback_ptr(struct rme96 *rme96) in snd_rme96_playback_ptr()
303 snd_rme96_capture_ptr(struct rme96 *rme96) in snd_rme96_capture_ptr()
313 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_silence() local
325 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_copy() local
336 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_copy_kernel() local
347 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_copy() local
359 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_copy_kernel() local
494 snd_rme96_write_SPI(struct rme96 *rme96, u16 val) in snd_rme96_write_SPI()
521 snd_rme96_apply_dac_volume(struct rme96 *rme96) in snd_rme96_apply_dac_volume()
533 snd_rme96_reset_dac(struct rme96 *rme96) in snd_rme96_reset_dac()
541 snd_rme96_getmontracks(struct rme96 *rme96) in snd_rme96_getmontracks()
548 snd_rme96_setmontracks(struct rme96 *rme96, in snd_rme96_setmontracks()
566 snd_rme96_getattenuation(struct rme96 *rme96) in snd_rme96_getattenuation()
573 snd_rme96_setattenuation(struct rme96 *rme96, in snd_rme96_setattenuation()
601 snd_rme96_capture_getrate(struct rme96 *rme96, in snd_rme96_capture_getrate()
664 snd_rme96_playback_getrate(struct rme96 *rme96) in snd_rme96_playback_getrate()
696 snd_rme96_playback_setrate(struct rme96 *rme96, in snd_rme96_playback_setrate()
749 snd_rme96_capture_analog_setrate(struct rme96 *rme96, in snd_rme96_capture_analog_setrate()
791 snd_rme96_setclockmode(struct rme96 *rme96, in snd_rme96_setclockmode()
819 snd_rme96_getclockmode(struct rme96 *rme96) in snd_rme96_getclockmode()
829 snd_rme96_setinputtype(struct rme96 *rme96, in snd_rme96_setinputtype()
890 snd_rme96_getinputtype(struct rme96 *rme96) in snd_rme96_getinputtype()
900 snd_rme96_setframelog(struct rme96 *rme96, in snd_rme96_setframelog()
922 snd_rme96_playback_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_playback_setformat()
939 snd_rme96_capture_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_capture_setformat()
956 snd_rme96_set_period_properties(struct rme96 *rme96, in snd_rme96_set_period_properties()
978 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_hw_params() local
1042 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_hw_params() local
1095 snd_rme96_trigger(struct rme96 *rme96, in snd_rme96_trigger()
1129 struct rme96 *rme96 = (struct rme96 *)dev_id; in snd_rme96_interrupt() local
1161 rme96_set_buffer_size_constraint(struct rme96 *rme96, in rme96_set_buffer_size_constraint()
1185 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_spdif_open() local
1223 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_spdif_open() local
1255 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_adat_open() local
1289 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_adat_open() local
1324 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_close() local
1346 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_close() local
1361 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_prepare() local
1375 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_prepare() local
1390 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_trigger() local
1447 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_trigger() local
1503 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_pointer() local
1510 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_pointer() local
1565 snd_rme96_free(struct rme96 *rme96) in snd_rme96_free()
1581 struct rme96 *rme96 = pcm->private_data; in snd_rme96_free_spdif_pcm() local
1588 struct rme96 *rme96 = pcm->private_data; in snd_rme96_free_adat_pcm() local
1593 snd_rme96_create(struct rme96 *rme96) in snd_rme96_create()
1718 struct rme96 *rme96 = entry->private_data; in snd_rme96_proc_read() local
1843 static void snd_rme96_proc_init(struct rme96 *rme96) in snd_rme96_proc_init()
1857 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_loopback_control() local
1867 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_loopback_control() local
1887 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_info_inputtype_control() local
1920 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_inputtype_control() local
1959 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_inputtype_control() local
2008 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_clockmode_control() local
2018 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_clockmode_control() local
2042 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_attenuation_control() local
2052 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_attenuation_control() local
2075 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_montracks_control() local
2085 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_montracks_control() local
2128 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_get() local
2136 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_put() local
2157 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_stream_get() local
2165 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_stream_put() local
2196 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_info() local
2208 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_get() local
2221 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_put() local
2329 struct rme96 *rme96) in snd_rme96_create_switches()
2363 struct rme96 *rme96 = card->private_data; in rme96_suspend() local
2388 struct rme96 *rme96 = card->private_data; in rme96_resume() local
2437 struct rme96 *rme96; in snd_rme96_probe() local