Lines Matching refs:spi_switch
660 struct snd_kcontrol_new spi_switch = {0}; in snd_ca0106_volume_spi_dac_ctl() local
664 spi_switch.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_ca0106_volume_spi_dac_ctl()
665 spi_switch.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_ca0106_volume_spi_dac_ctl()
666 spi_switch.info = spi_mute_info; in snd_ca0106_volume_spi_dac_ctl()
667 spi_switch.get = spi_mute_get; in snd_ca0106_volume_spi_dac_ctl()
668 spi_switch.put = spi_mute_put; in snd_ca0106_volume_spi_dac_ctl()
672 spi_switch.name = "Analog Front Playback Switch"; in snd_ca0106_volume_spi_dac_ctl()
676 spi_switch.name = "Analog Rear Playback Switch"; in snd_ca0106_volume_spi_dac_ctl()
680 spi_switch.name = "Analog Center/LFE Playback Switch"; in snd_ca0106_volume_spi_dac_ctl()
684 spi_switch.name = "Analog Side Playback Switch"; in snd_ca0106_volume_spi_dac_ctl()
689 spi_switch.name = NULL; in snd_ca0106_volume_spi_dac_ctl()
695 spi_switch.private_value = (reg << SPI_REG_SHIFT) | bit; in snd_ca0106_volume_spi_dac_ctl()
697 return spi_switch; in snd_ca0106_volume_spi_dac_ctl()