_chip 41 drivers/pinctrl/mediatek/pinctrl-mtk-common.h #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ _chip 74 drivers/pwm/pwm-bcm-kona.c static inline struct kona_pwmc *to_kona_pwmc(struct pwm_chip *_chip) _chip 76 drivers/pwm/pwm-bcm-kona.c return container_of(_chip, struct kona_pwmc, chip); _chip 28 drivers/pwm/pwm-lp3943.c static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *_chip) _chip 30 drivers/pwm/pwm-lp3943.c return container_of(_chip, struct lp3943_pwm, chip); _chip 26 drivers/pwm/pwm-lpc32xx.c #define to_lpc32xx_pwm_chip(_chip) \ _chip 27 drivers/pwm/pwm-lpc32xx.c container_of(_chip, struct lpc32xx_pwm_chip, chip) _chip 42 drivers/pwm/pwm-mxs.c #define to_mxs_pwm_chip(_chip) container_of(_chip, struct mxs_pwm_chip, chip) _chip 212 drivers/regulator/pfuze100-regulator.c #define PFUZE100_FIXED_REG(_chip, _name, base, voltage) \ _chip 213 drivers/regulator/pfuze100-regulator.c [_chip ## _ ## _name] = { \ _chip 219 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 227 drivers/regulator/pfuze100-regulator.c #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ _chip 228 drivers/regulator/pfuze100-regulator.c [_chip ## _ ## _name] = { \ _chip 234 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 248 drivers/regulator/pfuze100-regulator.c #define PFUZE100_SWB_REG(_chip, _name, base, mask, voltages) \ _chip 249 drivers/regulator/pfuze100-regulator.c [_chip ## _ ## _name] = { \ _chip 255 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 265 drivers/regulator/pfuze100-regulator.c #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ _chip 266 drivers/regulator/pfuze100-regulator.c [_chip ## _ ## _name] = { \ _chip 272 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 285 drivers/regulator/pfuze100-regulator.c #define PFUZE100_COIN_REG(_chip, _name, base, mask, voltages) \ _chip 286 drivers/regulator/pfuze100-regulator.c [_chip ## _ ## _name] = { \ _chip 292 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 302 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_VCC_REG(_chip, _name, base, min, max, step) { \ _chip 308 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 322 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW2_REG(_chip, _name, base, min, max, step) { \ _chip 328 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 339 drivers/regulator/pfuze100-regulator.c #define PFUZE3000_SW3_REG(_chip, _name, base, min, max, step) { \ _chip 345 drivers/regulator/pfuze100-regulator.c .id = _chip ## _ ## _name, \ _chip 74 sound/pci/vx222/vx222_ops.c static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) _chip 76 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 147 sound/pci/vx222/vx222_ops.c static void vx2_reset_dsp(struct vx_core *_chip) _chip 149 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 162 sound/pci/vx222/vx222_ops.c static int vx2_test_xilinx(struct vx_core *_chip) _chip 164 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 167 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "testing xilinx...\n"); _chip 177 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "bad!\n"); _chip 186 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "bad! #2\n"); _chip 190 sound/pci/vx222/vx222_ops.c if (_chip->type == VX_TYPE_BOARD) { _chip 197 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "bad! #3\n"); _chip 206 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "bad! #4\n"); _chip 210 sound/pci/vx222/vx222_ops.c dev_dbg(_chip->card->dev, "ok, xilinx fine.\n"); _chip 467 sound/pci/vx222/vx222_ops.c static void vx2_validate_irq(struct vx_core *_chip, int enable) _chip 469 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 718 sound/pci/vx222/vx222_ops.c static void vx2_reset_codec(struct vx_core *_chip) _chip 720 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 730 sound/pci/vx222/vx222_ops.c if (_chip->type == VX_TYPE_BOARD) { _chip 737 sound/pci/vx222/vx222_ops.c vx2_write_codec_reg(_chip, AKM_CODEC_POWER_CONTROL_CMD); /* DAC power up, ADC power up, Vref power down */ _chip 739 sound/pci/vx222/vx222_ops.c vx2_write_codec_reg(_chip, AKM_CODEC_CLOCK_FORMAT_CMD); /* default */ _chip 740 sound/pci/vx222/vx222_ops.c vx2_write_codec_reg(_chip, AKM_CODEC_MUTE_CMD); /* Mute = ON ,Deemphasis = OFF */ _chip 741 sound/pci/vx222/vx222_ops.c vx2_write_codec_reg(_chip, AKM_CODEC_RESET_OFF_CMD); /* DAC and ADC normal operation */ _chip 743 sound/pci/vx222/vx222_ops.c if (_chip->type == VX_TYPE_MIC) { _chip 752 sound/pci/vx222/vx222_ops.c vx_outl(_chip, SELMIC, chip->regSELMIC); _chip 760 sound/pci/vx222/vx222_ops.c static void vx2_change_audio_source(struct vx_core *_chip, int src) _chip 762 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 779 sound/pci/vx222/vx222_ops.c static void vx2_set_clock_source(struct vx_core *_chip, int source) _chip 781 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 793 sound/pci/vx222/vx222_ops.c static void vx2_reset_board(struct vx_core *_chip, int cold_reset) _chip 795 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 867 sound/pci/vx222/vx222_ops.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 868 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 869 sound/pci/vx222/vx222_ops.c mutex_lock(&_chip->mixer_mutex); _chip 872 sound/pci/vx222/vx222_ops.c mutex_unlock(&_chip->mixer_mutex); _chip 878 sound/pci/vx222/vx222_ops.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 879 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 886 sound/pci/vx222/vx222_ops.c mutex_lock(&_chip->mixer_mutex); _chip 892 sound/pci/vx222/vx222_ops.c mutex_unlock(&_chip->mixer_mutex); _chip 895 sound/pci/vx222/vx222_ops.c mutex_unlock(&_chip->mixer_mutex); _chip 911 sound/pci/vx222/vx222_ops.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 912 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 919 sound/pci/vx222/vx222_ops.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 920 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 924 sound/pci/vx222/vx222_ops.c mutex_lock(&_chip->mixer_mutex); _chip 928 sound/pci/vx222/vx222_ops.c mutex_unlock(&_chip->mixer_mutex); _chip 931 sound/pci/vx222/vx222_ops.c mutex_unlock(&_chip->mixer_mutex); _chip 961 sound/pci/vx222/vx222_ops.c static int vx2_add_mic_controls(struct vx_core *_chip) _chip 963 sound/pci/vx222/vx222_ops.c struct snd_vx222 *chip = to_vx222(_chip); _chip 966 sound/pci/vx222/vx222_ops.c if (_chip->type != VX_TYPE_MIC) _chip 975 sound/pci/vx222/vx222_ops.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_input_level, chip))) < 0) _chip 977 sound/pci/vx222/vx222_ops.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) _chip 32 sound/pcmcia/vx/vxp_mixer.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 33 sound/pcmcia/vx/vxp_mixer.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 40 sound/pcmcia/vx/vxp_mixer.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 41 sound/pcmcia/vx/vxp_mixer.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 46 sound/pcmcia/vx/vxp_mixer.c mutex_lock(&_chip->mixer_mutex); _chip 48 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); _chip 50 sound/pcmcia/vx/vxp_mixer.c mutex_unlock(&_chip->mixer_mutex); _chip 53 sound/pcmcia/vx/vxp_mixer.c mutex_unlock(&_chip->mixer_mutex); _chip 77 sound/pcmcia/vx/vxp_mixer.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 78 sound/pcmcia/vx/vxp_mixer.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 85 sound/pcmcia/vx/vxp_mixer.c struct vx_core *_chip = snd_kcontrol_chip(kcontrol); _chip 86 sound/pcmcia/vx/vxp_mixer.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 88 sound/pcmcia/vx/vxp_mixer.c mutex_lock(&_chip->mixer_mutex); _chip 90 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_boost(_chip, val); _chip 92 sound/pcmcia/vx/vxp_mixer.c mutex_unlock(&_chip->mixer_mutex); _chip 95 sound/pcmcia/vx/vxp_mixer.c mutex_unlock(&_chip->mixer_mutex); _chip 108 sound/pcmcia/vx/vxp_mixer.c int vxp_add_mic_controls(struct vx_core *_chip) _chip 110 sound/pcmcia/vx/vxp_mixer.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 115 sound/pcmcia/vx/vxp_mixer.c switch (_chip->type) { _chip 117 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_level(_chip, 0); _chip 120 sound/pcmcia/vx/vxp_mixer.c vx_set_mic_boost(_chip, 0); _chip 125 sound/pcmcia/vx/vxp_mixer.c switch (_chip->type) { _chip 127 sound/pcmcia/vx/vxp_mixer.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_level, chip))) < 0) _chip 131 sound/pcmcia/vx/vxp_mixer.c if ((err = snd_ctl_add(_chip->card, snd_ctl_new1(&vx_control_mic_boost, chip))) < 0) _chip 38 sound/pcmcia/vx/vxp_ops.c static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) _chip 40 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 98 sound/pcmcia/vx/vxp_ops.c static void vxp_reset_dsp(struct vx_core *_chip) _chip 100 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 116 sound/pcmcia/vx/vxp_ops.c static void vxp_reset_codec(struct vx_core *_chip) _chip 118 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 135 sound/pcmcia/vx/vxp_ops.c static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) _chip 137 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 157 sound/pcmcia/vx/vxp_ops.c if (vx_check_isr(_chip, ISR_HF2, ISR_HF2, 20) < 0) _chip 165 sound/pcmcia/vx/vxp_ops.c if (vx_wait_isr_bit(_chip, ISR_TX_EMPTY) < 0) _chip 169 sound/pcmcia/vx/vxp_ops.c if (vx_wait_for_rx_full(_chip) < 0) _chip 180 sound/pcmcia/vx/vxp_ops.c if (vx_check_isr(_chip, ISR_HF3, ISR_HF3, 20) < 0) _chip 184 sound/pcmcia/vx/vxp_ops.c if (vx_wait_for_rx_full(_chip) < 0) _chip 199 sound/pcmcia/vx/vxp_ops.c if (vx_check_magic(_chip) < 0) _chip 216 sound/pcmcia/vx/vxp_ops.c vxp_reset_codec(_chip); _chip 217 sound/pcmcia/vx/vxp_ops.c vx_reset_dsp(_chip); _chip 268 sound/pcmcia/vx/vxp_ops.c static int vxp_test_and_ack(struct vx_core *_chip) _chip 270 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 273 sound/pcmcia/vx/vxp_ops.c if (! (_chip->chip_status & VX_STAT_XILINX_LOADED)) _chip 295 sound/pcmcia/vx/vxp_ops.c static void vxp_validate_irq(struct vx_core *_chip, int enable) _chip 297 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 311 sound/pcmcia/vx/vxp_ops.c static void vx_setup_pseudo_dma(struct vx_core *_chip, int do_write) _chip 313 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 331 sound/pcmcia/vx/vxp_ops.c static void vx_release_pseudo_dma(struct vx_core *_chip) _chip 333 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 516 sound/pcmcia/vx/vxp_ops.c static void vxp_change_audio_source(struct vx_core *_chip, int src) _chip 518 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 527 sound/pcmcia/vx/vxp_ops.c if (_chip->type == VX_TYPE_VXP440) _chip 536 sound/pcmcia/vx/vxp_ops.c if (_chip->type == VX_TYPE_VXP440) { _chip 556 sound/pcmcia/vx/vxp_ops.c static void vxp_set_clock_source(struct vx_core *_chip, int source) _chip 558 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip); _chip 571 sound/pcmcia/vx/vxp_ops.c static void vxp_reset_board(struct vx_core *_chip, int cold_reset) _chip 573 sound/pcmcia/vx/vxp_ops.c struct snd_vxpocket *chip = to_vxpocket(_chip);