Lines Matching refs:vx_core
93 struct vx_core;
97 unsigned char (*in8)(struct vx_core *chip, int reg);
98 unsigned int (*in32)(struct vx_core *chip, int reg);
99 void (*out8)(struct vx_core *chip, int reg, unsigned char val);
100 void (*out32)(struct vx_core *chip, int reg, unsigned int val);
102 int (*test_and_ack)(struct vx_core *chip);
103 void (*validate_irq)(struct vx_core *chip, int enable);
105 void (*write_codec)(struct vx_core *chip, int codec, unsigned int data);
106 void (*akm_write)(struct vx_core *chip, int reg, unsigned int data);
107 void (*reset_codec)(struct vx_core *chip);
108 void (*change_audio_source)(struct vx_core *chip, int src);
109 void (*set_clock_source)(struct vx_core *chp, int src);
111 int (*load_dsp)(struct vx_core *chip, int idx, const struct firmware *fw);
112 void (*reset_dsp)(struct vx_core *chip);
113 void (*reset_board)(struct vx_core *chip, int cold_reset);
114 int (*add_controls)(struct vx_core *chip);
116 void (*dma_write)(struct vx_core *chip, struct snd_pcm_runtime *runtime,
118 void (*dma_read)(struct vx_core *chip, struct snd_pcm_runtime *runtime,
161 struct vx_core { struct
219 struct vx_core *snd_vx_create(struct snd_card *card, struct snd_vx_hardware *hw, argument
221 int snd_vx_setup_firmware(struct vx_core *chip);
222 int snd_vx_load_boot_image(struct vx_core *chip, const struct firmware *dsp);
223 int snd_vx_dsp_boot(struct vx_core *chip, const struct firmware *dsp);
224 int snd_vx_dsp_load(struct vx_core *chip, const struct firmware *dsp);
226 void snd_vx_free_firmware(struct vx_core *chip);
236 static inline int vx_test_and_ack(struct vx_core *chip) in vx_test_and_ack()
241 static inline void vx_validate_irq(struct vx_core *chip, int enable) in vx_validate_irq()
246 static inline unsigned char snd_vx_inb(struct vx_core *chip, int reg) in snd_vx_inb()
251 static inline unsigned int snd_vx_inl(struct vx_core *chip, int reg) in snd_vx_inl()
256 static inline void snd_vx_outb(struct vx_core *chip, int reg, unsigned char val) in snd_vx_outb()
261 static inline void snd_vx_outl(struct vx_core *chip, int reg, unsigned int val) in snd_vx_outl()
271 static inline void vx_reset_dsp(struct vx_core *chip) in vx_reset_dsp()
276 int vx_send_msg(struct vx_core *chip, struct vx_rmh *rmh);
277 int vx_send_msg_nolock(struct vx_core *chip, struct vx_rmh *rmh);
278 int vx_send_rih(struct vx_core *chip, int cmd);
279 int vx_send_rih_nolock(struct vx_core *chip, int cmd);
281 void vx_reset_codec(struct vx_core *chip, int cold_reset);
288 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time);
297 static inline void vx_pseudo_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_write()
303 static inline void vx_pseudo_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx_pseudo_dma_read()
321 int snd_vx_pcm_new(struct vx_core *chip);
322 void vx_pcm_update_intr(struct vx_core *chip, unsigned int events);
327 int snd_vx_mixer_new(struct vx_core *chip);
328 void vx_toggle_dac_mute(struct vx_core *chip, int mute);
329 int vx_sync_audio_source(struct vx_core *chip);
330 int vx_set_monitor_level(struct vx_core *chip, int audio, int level, int active);
335 void vx_set_iec958_status(struct vx_core *chip, unsigned int bits);
336 int vx_set_clock(struct vx_core *chip, unsigned int freq);
337 void vx_set_internal_clock(struct vx_core *chip, unsigned int freq);
338 int vx_change_frequency(struct vx_core *chip);
344 int snd_vx_suspend(struct vx_core *card, pm_message_t state);
345 int snd_vx_resume(struct vx_core *card);