Lines Matching refs:_chip

51 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg)  in vxp_reg_addr()  argument
53 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_reg_addr()
111 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp() argument
113 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_reset_dsp()
129 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec() argument
131 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_reset_codec()
148 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) in vxp_load_xilinx_binary() argument
150 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_load_xilinx_binary()
170 if (vx_check_isr(_chip, ISR_HF2, ISR_HF2, 20) < 0) in vxp_load_xilinx_binary()
178 if (vx_wait_isr_bit(_chip, ISR_TX_EMPTY) < 0) in vxp_load_xilinx_binary()
182 if (vx_wait_for_rx_full(_chip) < 0) in vxp_load_xilinx_binary()
193 if (vx_check_isr(_chip, ISR_HF3, ISR_HF3, 20) < 0) in vxp_load_xilinx_binary()
197 if (vx_wait_for_rx_full(_chip) < 0) in vxp_load_xilinx_binary()
212 if (vx_check_magic(_chip) < 0) in vxp_load_xilinx_binary()
229 vxp_reset_codec(_chip); in vxp_load_xilinx_binary()
230 vx_reset_dsp(_chip); in vxp_load_xilinx_binary()
281 static int vxp_test_and_ack(struct vx_core *_chip) in vxp_test_and_ack() argument
283 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_test_and_ack()
286 if (! (_chip->chip_status & VX_STAT_XILINX_LOADED)) in vxp_test_and_ack()
308 static void vxp_validate_irq(struct vx_core *_chip, int enable) in vxp_validate_irq() argument
310 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_validate_irq()
324 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) in vx_setup_pseudo_dma() argument
326 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_setup_pseudo_dma()
344 static void vx_release_pseudo_dma(struct vx_core *_chip) in vx_release_pseudo_dma() argument
346 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_release_pseudo_dma()
531 static void vxp_change_audio_source(struct vx_core *_chip, int src) in vxp_change_audio_source() argument
533 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_change_audio_source()
542 if (_chip->type == VX_TYPE_VXP440) in vxp_change_audio_source()
551 if (_chip->type == VX_TYPE_VXP440) { in vxp_change_audio_source()
571 static void vxp_set_clock_source(struct vx_core *_chip, int source) in vxp_set_clock_source() argument
573 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_set_clock_source()
586 static void vxp_reset_board(struct vx_core *_chip, int cold_reset) in vxp_reset_board() argument
588 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vxp_reset_board()