Home
last modified time | relevance | path

Searched refs:kctl_new (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/sound/virtio/
Dvirtio_kctl.c412 struct snd_kcontrol_new kctl_new; in virtsnd_kctl_build_devs() local
416 memset(&kctl_new, 0, sizeof(kctl_new)); in virtsnd_kctl_build_devs()
418 kctl_new.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in virtsnd_kctl_build_devs()
419 kctl_new.name = kinfo->name; in virtsnd_kctl_build_devs()
420 kctl_new.index = le32_to_cpu(kinfo->index); in virtsnd_kctl_build_devs()
424 kctl_new.access |= g_v2a_access_map[i]; in virtsnd_kctl_build_devs()
426 if (kctl_new.access & (SNDRV_CTL_ELEM_ACCESS_TLV_READ | in virtsnd_kctl_build_devs()
429 kctl_new.access |= SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK; in virtsnd_kctl_build_devs()
430 kctl_new.tlv.c = virtsnd_kctl_tlv_op; in virtsnd_kctl_build_devs()
433 kctl_new.info = virtsnd_kctl_info; in virtsnd_kctl_build_devs()
[all …]
/linux-6.12.1/sound/soc/codecs/
Dak4118.c265 struct snd_kcontrol_new *kctl_new; in ak4118_irq_handler() local
272 kctl_new = &ak4118_iec958_controls[i]; in ak4118_irq_handler()
274 snd_soc_component_notify_control(component, kctl_new->name); in ak4118_irq_handler()