Searched refs:_chip (Results 1 – 4 of 4) sorted by relevance
45 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get() local46 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_mic_level_get()53 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put() local54 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_mic_level_put()59 mutex_lock(&_chip->mixer_mutex); in vx_mic_level_put()61 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); in vx_mic_level_put()63 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()66 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()90 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_get() local91 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_mic_boost_get()[all …]
51 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr() argument53 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() argument113 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() argument131 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() argument150 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()[all …]
87 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr() argument89 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; in vx2_reg_addr()156 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp() argument158 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; in vx2_reset_dsp()171 static int vx2_test_xilinx(struct vx_core *_chip) in vx2_test_xilinx() argument173 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; in vx2_test_xilinx()199 if (_chip->type == VX_TYPE_BOARD) { in vx2_test_xilinx()474 static void vx2_validate_irq(struct vx_core *_chip, int enable) in vx2_validate_irq() argument476 struct snd_vx222 *chip = (struct snd_vx222 *)_chip; in vx2_validate_irq()725 static void vx2_reset_codec(struct vx_core *_chip) in vx2_reset_codec() argument[all …]
188 enum chip_type _chip; member228 #define chip (HOSTDATA(shpnt)->_chip)