Home
last modified time | relevance | path

Searched refs:mask_sft (Results 1 – 5 of 5) sorted by relevance

/linux-6.12.1/sound/soc/codecs/
Drt715-sdca.c516 unsigned int val, mask_sft; in rt715_sdca_mux_get() local
519 mask_sft = 12; in rt715_sdca_mux_get()
521 mask_sft = 8; in rt715_sdca_mux_get()
523 mask_sft = 4; in rt715_sdca_mux_get()
525 mask_sft = 0; in rt715_sdca_mux_get()
531 val = (val >> mask_sft) & 0xf; in rt715_sdca_mux_get()
556 unsigned int val, val2 = 0, change, mask_sft; in rt715_sdca_mux_put() local
562 mask_sft = 12; in rt715_sdca_mux_put()
564 mask_sft = 8; in rt715_sdca_mux_put()
566 mask_sft = 4; in rt715_sdca_mux_put()
[all …]
Drt712-sdca-dmic.c440 unsigned int val = 0, mask_sft; in rt712_sdca_dmic_mux_get() local
443 mask_sft = 8; in rt712_sdca_dmic_mux_get()
445 mask_sft = 4; in rt712_sdca_dmic_mux_get()
452 ucontrol->value.enumerated.item[0] = (val >> mask_sft) & 0x7; in rt712_sdca_dmic_mux_get()
467 unsigned int val, val2 = 0, change, mask_sft; in rt712_sdca_dmic_mux_put() local
473 mask_sft = 8; in rt712_sdca_dmic_mux_put()
475 mask_sft = 4; in rt712_sdca_dmic_mux_put()
483 val2 = (0x7 << mask_sft) & val2; in rt712_sdca_dmic_mux_put()
492 RT712_HDA_LEGACY_MUX_CTL0, 0x7 << mask_sft, in rt712_sdca_dmic_mux_put()
493 val << mask_sft); in rt712_sdca_dmic_mux_put()
Drt712-sdca.c721 unsigned int mask_sft; in rt712_sdca_mux_put() local
728 mask_sft = 12; in rt712_sdca_mux_put()
730 mask_sft = 8; in rt712_sdca_mux_put()
735 val = (val >> mask_sft) & 0x3; in rt712_sdca_mux_put()
742 RT712_MIXER_CTL1, 0x3 << mask_sft, 0); in rt712_sdca_mux_put()
1196 unsigned int val = 0, mask_sft; in rt712_sdca_dmic_mux_get() local
1199 mask_sft = 0; in rt712_sdca_dmic_mux_get()
1201 mask_sft = 4; in rt712_sdca_dmic_mux_get()
1208 ucontrol->value.enumerated.item[0] = (((val >> mask_sft) & 0xf) == 0x4) ? 0 : 1; in rt712_sdca_dmic_mux_get()
1223 unsigned int val, val2 = 0, change, mask_sft; in rt712_sdca_dmic_mux_put() local
[all …]
Drt722-sdca.c751 unsigned int val = 0, mask_sft; in rt722_sdca_adc_mux_get() local
754 mask_sft = 12; in rt722_sdca_adc_mux_get()
756 mask_sft = 4; in rt722_sdca_adc_mux_get()
758 mask_sft = 0; in rt722_sdca_adc_mux_get()
765 ucontrol->value.enumerated.item[0] = (val >> mask_sft) & 0x7; in rt722_sdca_adc_mux_get()
780 unsigned int val, val2 = 0, change, mask_sft; in rt722_sdca_adc_mux_put() local
786 mask_sft = 12; in rt722_sdca_adc_mux_put()
788 mask_sft = 4; in rt722_sdca_adc_mux_put()
790 mask_sft = 0; in rt722_sdca_adc_mux_put()
798 val2 = (0x7 << mask_sft) & val2; in rt722_sdca_adc_mux_put()
[all …]
Drt711-sdca.c907 unsigned int val = 0, mask_sft; in rt711_sdca_mux_get() local
910 mask_sft = 10; in rt711_sdca_mux_get()
912 mask_sft = 13; in rt711_sdca_mux_get()
919 ucontrol->value.enumerated.item[0] = (val >> mask_sft) & 0x7; in rt711_sdca_mux_get()
934 unsigned int val, val2 = 0, change, mask_sft; in rt711_sdca_mux_put() local
940 mask_sft = 10; in rt711_sdca_mux_put()
942 mask_sft = 13; in rt711_sdca_mux_put()
950 val2 = (val2 >> mask_sft) & 0x7; in rt711_sdca_mux_put()
959 RT711_HDA_LEGACY_MUX_CTL1, 0x7 << mask_sft, in rt711_sdca_mux_put()
960 val << mask_sft); in rt711_sdca_mux_put()