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_capture_copy() local
472 snd_rme96_write_SPI(struct rme96 *rme96, u16 val) in snd_rme96_write_SPI()
499 snd_rme96_apply_dac_volume(struct rme96 *rme96) in snd_rme96_apply_dac_volume()
511 snd_rme96_reset_dac(struct rme96 *rme96) in snd_rme96_reset_dac()
519 snd_rme96_getmontracks(struct rme96 *rme96) in snd_rme96_getmontracks()
526 snd_rme96_setmontracks(struct rme96 *rme96, in snd_rme96_setmontracks()
544 snd_rme96_getattenuation(struct rme96 *rme96) in snd_rme96_getattenuation()
551 snd_rme96_setattenuation(struct rme96 *rme96, in snd_rme96_setattenuation()
579 snd_rme96_capture_getrate(struct rme96 *rme96, in snd_rme96_capture_getrate()
642 snd_rme96_playback_getrate(struct rme96 *rme96) in snd_rme96_playback_getrate()
674 snd_rme96_playback_setrate(struct rme96 *rme96, in snd_rme96_playback_setrate()
727 snd_rme96_capture_analog_setrate(struct rme96 *rme96, in snd_rme96_capture_analog_setrate()
769 snd_rme96_setclockmode(struct rme96 *rme96, in snd_rme96_setclockmode()
797 snd_rme96_getclockmode(struct rme96 *rme96) in snd_rme96_getclockmode()
807 snd_rme96_setinputtype(struct rme96 *rme96, in snd_rme96_setinputtype()
868 snd_rme96_getinputtype(struct rme96 *rme96) in snd_rme96_getinputtype()
878 snd_rme96_setframelog(struct rme96 *rme96, in snd_rme96_setframelog()
900 snd_rme96_playback_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_playback_setformat()
917 snd_rme96_capture_setformat(struct rme96 *rme96, snd_pcm_format_t format) in snd_rme96_capture_setformat()
934 snd_rme96_set_period_properties(struct rme96 *rme96, in snd_rme96_set_period_properties()
956 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_hw_params() local
1020 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_hw_params() local
1073 snd_rme96_trigger(struct rme96 *rme96, in snd_rme96_trigger()
1107 struct rme96 *rme96 = (struct rme96 *)dev_id; in snd_rme96_interrupt() local
1139 rme96_set_buffer_size_constraint(struct rme96 *rme96, in rme96_set_buffer_size_constraint()
1163 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_spdif_open() local
1201 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_spdif_open() local
1233 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_adat_open() local
1267 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_adat_open() local
1302 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_close() local
1324 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_close() local
1339 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_prepare() local
1353 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_prepare() local
1368 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_trigger() local
1425 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_trigger() local
1481 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_playback_pointer() local
1488 struct rme96 *rme96 = snd_pcm_substream_chip(substream); in snd_rme96_capture_pointer() local
1539 snd_rme96_free(struct rme96 *rme96) in snd_rme96_free()
1555 struct rme96 *rme96 = pcm->private_data; in snd_rme96_free_spdif_pcm() local
1562 struct rme96 *rme96 = pcm->private_data; in snd_rme96_free_adat_pcm() local
1567 snd_rme96_create(struct rme96 *rme96) in snd_rme96_create()
1692 struct rme96 *rme96 = entry->private_data; in snd_rme96_proc_read() local
1817 static void snd_rme96_proc_init(struct rme96 *rme96) in snd_rme96_proc_init()
1831 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_loopback_control() local
1841 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_loopback_control() local
1861 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_info_inputtype_control() local
1894 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_inputtype_control() local
1933 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_inputtype_control() local
1982 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_clockmode_control() local
1992 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_clockmode_control() local
2016 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_attenuation_control() local
2026 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_attenuation_control() local
2049 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_get_montracks_control() local
2059 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_put_montracks_control() local
2102 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_get() local
2110 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_put() local
2131 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_stream_get() local
2139 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_control_spdif_stream_put() local
2170 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_info() local
2182 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_get() local
2195 struct rme96 *rme96 = snd_kcontrol_chip(kcontrol); in snd_rme96_dac_volume_put() local
2303 struct rme96 *rme96) in snd_rme96_create_switches()
2337 struct rme96 *rme96 = card->private_data; in rme96_suspend() local
2362 struct rme96 *rme96 = card->private_data; in rme96_resume() local
2411 struct rme96 *rme96; in __snd_rme96_probe() local