Searched refs:reg_value (Results 1 – 3 of 3) sorted by relevance
/sound/pci/oxygen/ |
D | xonar_wm87x6.c | 528 u16 reg_value; in wm8776_bit_switch_put() local 534 reg_value = data->wm8776_regs[reg_index] & ~bit; in wm8776_bit_switch_put() 536 reg_value |= bit; in wm8776_bit_switch_put() 537 changed = reg_value != data->wm8776_regs[reg_index]; in wm8776_bit_switch_put() 539 wm8776_write(chip, reg_index, reg_value); in wm8776_bit_switch_put() 623 u16 mask, reg_value; in wm8776_field_set_from_ctl() local 644 reg_value = data->wm8776_regs[reg_index]; in wm8776_field_set_from_ctl() 645 reg_value &= ~(mask << shift); in wm8776_field_set_from_ctl() 646 reg_value |= value << shift; in wm8776_field_set_from_ctl() 647 wm8776_write_cached(chip, reg_index, reg_value); in wm8776_field_set_from_ctl()
|
D | oxygen_mixer.c | 166 unsigned int reg_value; in oxygen_update_dac_routing() local 171 reg_value = reg_values[chip->dac_routing]; in oxygen_update_dac_routing() 174 reg_value = (0 << OXYGEN_PLAY_DAC0_SOURCE_SHIFT) | in oxygen_update_dac_routing() 179 reg_value = (0 << OXYGEN_PLAY_DAC0_SOURCE_SHIFT) | in oxygen_update_dac_routing() 184 reg_value = chip->model.adjust_dac_routing(chip, reg_value); in oxygen_update_dac_routing() 185 oxygen_write16_masked(chip, OXYGEN_PLAY_ROUTING, reg_value, in oxygen_update_dac_routing()
|
/sound/soc/mediatek/ |
D | mtk-afe-pcm.c | 1085 unsigned int reg_value, hw_ptr; in mtk_afe_irq_handler() local 1088 ret = regmap_read(afe->regmap, AFE_IRQ_STATUS, ®_value); in mtk_afe_irq_handler() 1091 reg_value = AFE_IRQ_STATUS_BITS; in mtk_afe_irq_handler() 1098 if (!(reg_value & (1 << memif->data->irq_clr_shift))) in mtk_afe_irq_handler() 1113 regmap_write(afe->regmap, AFE_IRQ_CLR, reg_value & AFE_IRQ_STATUS_BITS); in mtk_afe_irq_handler()
|