Lines Matching refs:value
206 static inline void snd_bt87x_writel(struct snd_bt87x *chip, u32 reg, u32 value) in snd_bt87x_writel() argument
208 writel(value, chip->mmio + reg); in snd_bt87x_writel()
542 info->value.integer.min = 0; in snd_bt87x_capture_volume_info()
543 info->value.integer.max = 15; in snd_bt87x_capture_volume_info()
548 struct snd_ctl_elem_value *value) in snd_bt87x_capture_volume_get() argument
552 value->value.integer.value[0] = (chip->reg_control & CTL_A_GAIN_MASK) >> CTL_A_GAIN_SHIFT; in snd_bt87x_capture_volume_get()
557 struct snd_ctl_elem_value *value) in snd_bt87x_capture_volume_put() argument
566 | (value->value.integer.value[0] << CTL_A_GAIN_SHIFT); in snd_bt87x_capture_volume_put()
584 struct snd_ctl_elem_value *value) in snd_bt87x_capture_boost_get() argument
588 value->value.integer.value[0] = !! (chip->reg_control & CTL_A_G2X); in snd_bt87x_capture_boost_get()
593 struct snd_ctl_elem_value *value) in snd_bt87x_capture_boost_put() argument
602 | (value->value.integer.value[0] ? CTL_A_G2X : 0); in snd_bt87x_capture_boost_put()
626 struct snd_ctl_elem_value *value) in snd_bt87x_capture_source_get() argument
630 value->value.enumerated.item[0] = (chip->reg_control & CTL_A_SEL_MASK) >> CTL_A_SEL_SHIFT; in snd_bt87x_capture_source_get()
635 struct snd_ctl_elem_value *value) in snd_bt87x_capture_source_put() argument
644 | (value->value.enumerated.item[0] << CTL_A_SEL_SHIFT); in snd_bt87x_capture_source_put()