Home
last modified time | relevance | path

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

/openbmc/linux/sound/pcmcia/vx/
H A Dvxp_mixer.c32 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get() local
33 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_level_get()
40 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_put() local
41 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_level_put()
46 mutex_lock(&_chip->mixer_mutex); in vx_mic_level_put()
48 vx_set_mic_level(_chip, ucontrol->value.integer.value[0]); in vx_mic_level_put()
50 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()
53 mutex_unlock(&_chip->mixer_mutex); in vx_mic_level_put()
77 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_boost_get() local
78 struct snd_vxpocket *chip = to_vxpocket(_chip); in vx_mic_boost_get()
[all …]
H A Dvxp_ops.c38 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr() argument
40 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reg_addr()
98 static void vxp_reset_dsp(struct vx_core *_chip) in vxp_reset_dsp() argument
100 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_dsp()
116 static void vxp_reset_codec(struct vx_core *_chip) in vxp_reset_codec() argument
118 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_reset_codec()
135 static int vxp_load_xilinx_binary(struct vx_core *_chip, const struct firmware *fw) in vxp_load_xilinx_binary() argument
137 struct snd_vxpocket *chip = to_vxpocket(_chip); in vxp_load_xilinx_binary()
157 if (vx_check_isr(_chip, ISR_HF2, ISR_HF2, 20) < 0) in vxp_load_xilinx_binary()
165 if (vx_wait_isr_bit(_chip, ISR_TX_EMPTY) < 0) in vxp_load_xilinx_binary()
[all …]
/openbmc/linux/sound/pci/vx222/
H A Dvx222_ops.c74 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr() argument
76 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reg_addr()
147 static void vx2_reset_dsp(struct vx_core *_chip) in vx2_reset_dsp() argument
149 struct snd_vx222 *chip = to_vx222(_chip); in vx2_reset_dsp()
162 static int vx2_test_xilinx(struct vx_core *_chip) in vx2_test_xilinx() argument
164 struct snd_vx222 *chip = to_vx222(_chip); in vx2_test_xilinx()
167 dev_dbg(_chip->card->dev, "testing xilinx...\n"); in vx2_test_xilinx()
177 dev_dbg(_chip->card->dev, "bad!\n"); in vx2_test_xilinx()
186 dev_dbg(_chip->card->dev, "bad! #2\n"); in vx2_test_xilinx()
190 if (_chip->type == VX_TYPE_BOARD) { in vx2_test_xilinx()
[all …]
/openbmc/linux/drivers/regulator/
H A Dpfuze100-regulator.c220 #define PFUZE100_FIXED_REG(_chip, _name, base, voltage) \ argument
221 [_chip ## _ ## _name] = { \
227 .id = _chip ## _ ## _name, \
235 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument
236 [_chip ## _ ## _name] = { \
242 .id = _chip ## _ ## _name, \
256 #define PFUZE100_SWB_REG(_chip, _name, base, mask, voltages) \ argument
257 [_chip ## _ ## _name] = { \
263 .id = _chip ## _ ## _name, \
273 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-clk.c36 #define to_pwm_clk_chip(_chip) container_of(_chip, struct pwm_clk_chip, chip) argument
H A Dpwm-mxs.c45 #define to_mxs_pwm_chip(_chip) container_of(_chip, struct mxs_pwm_chip, chip) argument
H A Dpwm-lpc32xx.c26 #define to_lpc32xx_pwm_chip(_chip) \ argument
27 container_of(_chip, struct lpc32xx_pwm_chip, chip)
/openbmc/linux/drivers/gpio/
H A Dgpio-msc313.c198 #define MSC313_GPIO_CHIPDATA(_chip) \ argument
199 static const struct msc313_gpio_data _chip##_data = { \
200 .names = _chip##_names, \
201 .offsets = _chip##_offsets, \
202 .num = ARRAY_SIZE(_chip##_offsets), \
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h41 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-dbg-g-register.rst136 .. _chip-match-types:
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dfw.c422 #define __CFG_FW_FEAT(_chip, _cond, _maj, _min, _sub, _idx, _feat) \ argument
424 .chip_id = _chip, \