Lines Matching refs:vx_core
74 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr()
85 static unsigned char vx2_inb(struct vx_core *chip, int offset) in vx2_inb()
96 static void vx2_outb(struct vx_core *chip, int offset, unsigned char val) in vx2_outb()
109 static unsigned int vx2_inl(struct vx_core *chip, int offset) in vx2_inl()
120 static void vx2_outl(struct vx_core *chip, int offset, unsigned int val) in vx2_outl()
132 #define vx_inb(chip,reg) vx2_inb((struct vx_core*)(chip), VX_##reg)
134 #define vx_outb(chip,reg,val) vx2_outb((struct vx_core*)(chip), VX_##reg, val)
136 #define vx_inl(chip,reg) vx2_inl((struct vx_core*)(chip), VX_##reg)
138 #define vx_outl(chip,reg,val) vx2_outl((struct vx_core*)(chip), VX_##reg, val)
147 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp()
162 static int vx2_test_xilinx(struct vx_core *_chip) in vx2_test_xilinx()
220 static void vx2_setup_pseudo_dma(struct vx_core *chip, int do_write) in vx2_setup_pseudo_dma()
236 static inline void vx2_release_pseudo_dma(struct vx_core *chip) in vx2_release_pseudo_dma()
245 static void vx2_dma_write(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx2_dma_write()
284 static void vx2_dma_read(struct vx_core *chip, struct snd_pcm_runtime *runtime, in vx2_dma_read()
324 static int put_xilinx_data(struct vx_core *chip, unsigned int port, unsigned int counts, unsigned c… in put_xilinx_data()
356 static int vx2_load_xilinx_binary(struct vx_core *chip, const struct firmware *xilinx) in vx2_load_xilinx_binary()
404 static int vx2_load_dsp(struct vx_core *vx, int index, const struct firmware *dsp) in vx2_load_dsp()
438 static int vx2_test_and_ack(struct vx_core *chip) in vx2_test_and_ack()
469 static void vx2_validate_irq(struct vx_core *_chip, int enable) in vx2_validate_irq()
490 static void vx2_write_codec_reg(struct vx_core *chip, unsigned int data) in vx2_write_codec_reg()
666 static void vx2_write_akm(struct vx_core *chip, int reg, unsigned int data) in vx2_write_akm()
702 static void vx2_old_write_codec_bit(struct vx_core *chip, int codec, unsigned int data) in vx2_old_write_codec_bit()
720 static void vx2_reset_codec(struct vx_core *_chip) in vx2_reset_codec()
762 static void vx2_change_audio_source(struct vx_core *_chip, int src) in vx2_change_audio_source()
781 static void vx2_set_clock_source(struct vx_core *_chip, int source) in vx2_set_clock_source()
795 static void vx2_reset_board(struct vx_core *_chip, int cold_reset) in vx2_reset_board()
869 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_input_level_get()
880 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_input_level_put()
913 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get()
921 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put()
963 static int vx2_add_mic_controls(struct vx_core *_chip) in vx2_add_mic_controls()