/linux-4.4.14/sound/pcmcia/vx/ |
D | vxp_mixer.c | 45 struct vx_core *_chip = snd_kcontrol_chip(kcontrol); in vx_mic_level_get() local 46 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() local 54 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() local 91 struct snd_vxpocket *chip = (struct snd_vxpocket *)_chip; in vx_mic_boost_get() [all …]
|
D | vxp_ops.c | 51 static inline unsigned long vxp_reg_addr(struct vx_core *_chip, int reg) in vxp_reg_addr() argument 53 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() argument 113 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() argument 131 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() argument 150 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 …]
|
/linux-4.4.14/sound/pci/vx222/ |
D | vx222_ops.c | 87 static inline unsigned long vx2_reg_addr(struct vx_core *_chip, int reg) in vx2_reg_addr() argument 89 struct snd_vx222 *chip = (struct snd_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 = (struct snd_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 = (struct snd_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-4.4.14/drivers/regulator/ |
D | pfuze100-regulator.c | 162 #define PFUZE100_FIXED_REG(_chip, _name, base, voltage) \ argument 163 [_chip ## _ ## _name] = { \ 169 .id = _chip ## _ ## _name, \ 177 #define PFUZE100_SW_REG(_chip, _name, base, min, max, step) \ argument 178 [_chip ## _ ## _name] = { \ 184 .id = _chip ## _ ## _name, \ 195 #define PFUZE100_SWB_REG(_chip, _name, base, mask, voltages) \ argument 196 [_chip ## _ ## _name] = { \ 202 .id = _chip ## _ ## _name, \ 212 #define PFUZE100_VGEN_REG(_chip, _name, base, min, max, step) \ argument [all …]
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-lpc32xx.c | 31 #define to_lpc32xx_pwm_chip(_chip) \ argument 32 container_of(_chip, struct lpc32xx_pwm_chip, chip)
|
D | pwm-mxs.c | 48 #define to_mxs_pwm_chip(_chip) container_of(_chip, struct mxs_pwm_chip, chip) argument
|
D | pwm-lp3943.c | 31 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()
|
D | pwm-bcm-kona.c | 74 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-4.4.14/drivers/gpio/ |
D | gpio-lp3943.c | 48 static inline struct lp3943_gpio *to_lp3943_gpio(struct gpio_chip *_chip) in to_lp3943_gpio() argument 50 return container_of(_chip, struct lp3943_gpio, chip); in to_lp3943_gpio()
|
D | gpiolib.c | 193 struct gpio_chip *_chip; in gpiochip_add_to_list() local 198 _chip = list_entry(pos, struct gpio_chip, list); in gpiochip_add_to_list() 200 if (_chip->base >= chip->base + chip->ngpio) in gpiochip_add_to_list() 206 _chip = list_entry(pos->prev, struct gpio_chip, list); in gpiochip_add_to_list() 207 if (_chip->base + _chip->ngpio > chip->base) { in gpiochip_add_to_list()
|
/linux-4.4.14/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.h | 47 #define MTK_PIN(_pin, _pad, _chip, _eint, ...) \ argument
|