Lines Matching refs:_chip

38 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg)  in vxp_reg_addr()  argument
40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr()
98 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp() argument
100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp()
116 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec() argument
118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec()
135 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) in vxp_load_xilinx_binary() argument
137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary()
157 if (vx_check_isr(_chip, ISR_HF2, ISR_HF2, 20) < 0) in vxp_load_xilinx_binary()
165 if (vx_wait_isr_bit(_chip, ISR_TX_EMPTY) < 0) in vxp_load_xilinx_binary()
169 if (vx_wait_for_rx_full(_chip) < 0) in vxp_load_xilinx_binary()
180 if (vx_check_isr(_chip, ISR_HF3, ISR_HF3, 20) < 0) in vxp_load_xilinx_binary()
184 if (vx_wait_for_rx_full(_chip) < 0) in vxp_load_xilinx_binary()
199 if (vx_check_magic(_chip) < 0) in vxp_load_xilinx_binary()
216 vxp_reset_codec(_chip); in vxp_load_xilinx_binary()
217 vx_reset_dsp(_chip); in vxp_load_xilinx_binary()
270 static int vxp_test_and_ack(struct vx_core *_chip) in vxp_test_and_ack() argument
272 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_test_and_ack()
275 if (! (_chip->chip_status & VX_STAT_XILINX_LOADED)) in vxp_test_and_ack()
297 static void vxp_validate_irq(struct vx_core *_chip, int enable) in vxp_validate_irq() argument
299 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_validate_irq()
313 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) in vx_setup_pseudo_dma() argument
315 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_setup_pseudo_dma()
333 static void vx_release_pseudo_dma(struct vx_core *_chip) in vx_release_pseudo_dma() argument
335 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_release_pseudo_dma()
518 static void vxp_change_audio_source(struct vx_core *_chip, int src) in vxp_change_audio_source() argument
520 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_change_audio_source()
529 if (_chip->type == VX_TYPE_VXP440) in vxp_change_audio_source()
538 if (_chip->type == VX_TYPE_VXP440) { in vxp_change_audio_source()
558 static void vxp_set_clock_source(struct vx_core *_chip, int source) in vxp_set_clock_source() argument
560 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_set_clock_source()
573 static void vxp_reset_board(struct vx_core *_chip, int cold_reset) in vxp_reset_board() argument
575 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_board()