Lines Matching defs:_chip
38 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg)
40 struct snd_vxpocket *chip = to_vxpocket(_chip);
98 static void vxp_reset_dsp(struct vx_core *_chip)
100 struct snd_vxpocket *chip = to_vxpocket(_chip);
116 static void vxp_reset_codec(struct vx_core *_chip)
118 struct snd_vxpocket *chip = to_vxpocket(_chip);
135 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw)
137 struct snd_vxpocket *chip = to_vxpocket(_chip);
157 if (vx_check_isr(_chip, ISR_HF2, ISR_HF2, 20) < 0)
165 if (vx_wait_isr_bit(_chip, ISR_TX_EMPTY) < 0)
169 if (vx_wait_for_rx_full(_chip) < 0)
180 if (vx_check_isr(_chip, ISR_HF3, ISR_HF3, 20) < 0)
184 if (vx_wait_for_rx_full(_chip) < 0)
199 if (vx_check_magic(_chip) < 0)
216 vxp_reset_codec(_chip);
217 vx_reset_dsp(_chip);
268 static int vxp_test_and_ack(struct vx_core *_chip)
270 struct snd_vxpocket *chip = to_vxpocket(_chip);
273 if (! (_chip->chip_status & VX_STAT_XILINX_LOADED))
295 static void vxp_validate_irq(struct vx_core *_chip, int enable)
297 struct snd_vxpocket *chip = to_vxpocket(_chip);
311 static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write)
313 struct snd_vxpocket *chip = to_vxpocket(_chip);
331 static void vx_release_pseudo_dma(struct vx_core *_chip)
333 struct snd_vxpocket *chip = to_vxpocket(_chip);
516 static void vxp_change_audio_source(struct vx_core *_chip, int src)
518 struct snd_vxpocket *chip = to_vxpocket(_chip);
527 if (_chip->type == VX_TYPE_VXP440)
536 if (_chip->type == VX_TYPE_VXP440) {
556 static void vxp_set_clock_source(struct vx_core *_chip, int source)
558 struct snd_vxpocket *chip = to_vxpocket(_chip);
571 static void vxp_reset_board(struct vx_core *_chip, int cold_reset)
573 struct snd_vxpocket *chip = to_vxpocket(_chip);