Home
last modified time | relevance | path

Searched refs:_chip (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/sound/pcmcia/vx/
Dvxp_mixer.c45 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get() local
46 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_level_get()
53 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put() local
54 struct snd_vxpocket *chip = to_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() local
91 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_boost_get()
[all …]
Dvxp_ops.c51 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr() argument
53 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr()
111 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp() argument
113 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp()
129 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec() argument
131 struct snd_vxpocket *chip = to_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() argument
150 struct snd_vxpocket *chip = to_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 …]
/Linux-v4.19/sound/pci/vx222/
Dvx222_ops.c87 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr() argument
89 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reg_addr()
160 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp() argument
162 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reset_dsp()
175 static int vx2_test_xilinx(struct vx_core *_chip) in vx2_test_xilinx() argument
177 struct snd_vx222 *chip = to_vx222(_chip); in vx2_test_xilinx()
180 dev_dbg(_chip->card->dev, "testing xilinx...\n"); in vx2_test_xilinx()
190 dev_dbg(_chip->card->dev, "bad!\n"); in vx2_test_xilinx()
199 dev_dbg(_chip->card->dev, "bad! #2\n"); in vx2_test_xilinx()
203 if (_chip->type == VX_TYPE_BOARD) { in vx2_test_xilinx()
[all …]
/Linux-v4.19/drivers/regulator/
Dpfuze100-regulator.c199 #define PFUZE100_FIXED_REG(_chip, _name, base, voltage) \ argument
200 [_chip ## _ ## _name] = { \
206 .id = _chip ## _ ## _name, \
214 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument
215 [_chip ## _ ## _name] = { \
221 .id = _chip ## _ ## _name, \
235 #define PFUZE100_SWB_REG(_chip, _name, base, mask, voltages) \ argument
236 [_chip ## _ ## _name] = { \
242 .id = _chip ## _ ## _name, \
252 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument
[all …]
/Linux-v4.19/drivers/pwm/
Dpwm-lpc32xx.c30 #define to_lpc32xx_pwm_chip(_chip) \ argument
31 container_of(_chip, struct lpc32xx_pwm_chip, chip)
Dpwm-mxs.c42 #define to_mxs_pwm_chip(_chip) container_of(_chip, struct mxs_pwm_chip, chip) argument
Dpwm-lp3943.c31 static inline struct lp3943_pwm *to_lp3943_pwm(struct pwm_chip *_chip) in to_lp3943_pwm() argument
33 return container_of(_chip, struct lp3943_pwm, chip); in to_lp3943_pwm()
Dpwm-bcm-kona.c74 static inline struct kona_pwmc *to_kona_pwmc(struct pwm_chip *_chip) in to_kona_pwmc() argument
76 return container_of(_chip, struct kona_pwmc, chip); in to_kona_pwmc()
/Linux-v4.19/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.h49 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument
/Linux-v4.19/Documentation/media/uapi/v4l/
Dvidioc-dbg-g-register.rst139 .. _chip-match-types: