• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/sound/pci/vx222/

Lines Matching refs:_chip

88 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg)
90 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
153 static void vx2_reset_dsp(struct vx_core *_chip)
155 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
168 static int vx2_test_xilinx(struct vx_core *_chip)
170 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
196 if (_chip->type == VX_TYPE_BOARD) {
469 static void vx2_validate_irq(struct vx_core *_chip, int enable)
471 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
719 static void vx2_reset_codec(struct vx_core *_chip)
721 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
731 if (_chip->type == VX_TYPE_BOARD) {
738 vx2_write_codec_reg(_chip, AKM_CODEC_POWER_CONTROL_CMD); /* DAC power up, ADC power up, Vref power down */
740 vx2_write_codec_reg(_chip, AKM_CODEC_CLOCK_FORMAT_CMD); /* default */
741 vx2_write_codec_reg(_chip, AKM_CODEC_MUTE_CMD); /* Mute = ON ,Deemphasis = OFF */
742 vx2_write_codec_reg(_chip, AKM_CODEC_RESET_OFF_CMD); /* DAC and ADC normal operation */
744 if (_chip->type == VX_TYPE_MIC) {
753 vx_outl(_chip, SELMIC, chip->regSELMIC);
761 static void vx2_change_audio_source(struct vx_core *_chip, int src)
763 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
780 static void vx2_set_clock_source(struct vx_core *_chip, int source)
782 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
794 static void vx2_reset_board(struct vx_core *_chip, int cold_reset)
796 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
867 struct vx_core *_chip = snd_kcontrol_chip(kcontrol);
868 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
869 mutex_lock(&_chip->mixer_mutex);
872 mutex_unlock(&_chip->mixer_mutex);
878 struct vx_core *_chip = snd_kcontrol_chip(kcontrol);
879 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
880 mutex_lock(&_chip->mixer_mutex);
886 mutex_unlock(&_chip->mixer_mutex);
889 mutex_unlock(&_chip->mixer_mutex);
905 struct vx_core *_chip = snd_kcontrol_chip(kcontrol);
906 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
913 struct vx_core *_chip = snd_kcontrol_chip(kcontrol);
914 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
915 mutex_lock(&_chip->mixer_mutex);
919 mutex_unlock(&_chip->mixer_mutex);
922 mutex_unlock(&_chip->mixer_mutex);
949 static int vx2_add_mic_controls(struct vx_core *_chip)
951 struct snd_vx222 *chip = (struct snd_vx222 *)_chip;
954 if (_chip->type != VX_TYPE_MIC)
963 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_input_level, chip))) < 0)
965 if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0)