Home
last modified time | relevance | path

Searched refs:cont (Results 1 – 6 of 6) sorted by relevance

/sound/pci/ice1712/
Dwm8766.c292 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local
295 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control()
296 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control()
297 cont.private_value = num; in snd_wm8766_add_control()
298 cont.name = wm->ctl[num].name; in snd_wm8766_add_control()
299 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control()
302 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control()
303 cont.tlv.p = NULL; in snd_wm8766_add_control()
304 cont.get = snd_wm8766_ctl_get; in snd_wm8766_add_control()
305 cont.put = snd_wm8766_ctl_put; in snd_wm8766_add_control()
[all …]
Dse.c598 struct snd_kcontrol_new cont; in se200pci_add_controls() local
601 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls()
602 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls()
604 cont.private_value = i; in se200pci_add_controls()
605 cont.name = se200pci_cont[i].name; in se200pci_add_controls()
606 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls()
607 cont.tlv.p = NULL; in se200pci_add_controls()
611 cont.info = se200pci_cont_volume_info; in se200pci_add_controls()
612 cont.get = se200pci_cont_volume_get; in se200pci_add_controls()
613 cont.put = se200pci_cont_volume_put; in se200pci_add_controls()
[all …]
Dwm8776.c566 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local
569 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control()
570 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control()
571 cont.private_value = num; in snd_wm8776_add_control()
572 cont.name = wm->ctl[num].name; in snd_wm8776_add_control()
573 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control()
576 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control()
577 cont.tlv.p = NULL; in snd_wm8776_add_control()
578 cont.get = snd_wm8776_ctl_get; in snd_wm8776_add_control()
579 cont.put = snd_wm8776_ctl_put; in snd_wm8776_add_control()
[all …]
Dpsc724.c321 struct snd_kcontrol_new cont; in psc724_add_controls() local
355 memset(&cont, 0, sizeof(cont)); in psc724_add_controls()
356 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_add_controls()
358 cont.private_value = i; in psc724_add_controls()
359 cont.name = psc724_cont[i].name; in psc724_add_controls()
360 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in psc724_add_controls()
361 cont.info = snd_ctl_boolean_mono_info; in psc724_add_controls()
362 cont.get = psc724_ctl_get; in psc724_add_controls()
363 cont.put = psc724_ctl_put; in psc724_add_controls()
364 ctl = snd_ctl_new1(&cont, ice); in psc724_add_controls()
/sound/pcmcia/pdaudiocf/
Dpdaudiocf_irq.c263 int size, off, cont, rdp, wdp; in pdacf_threaded_irq() local
306 cont = chip->pcm_size - off; in pdacf_threaded_irq()
307 if (cont > size) in pdacf_threaded_irq()
308 cont = size; in pdacf_threaded_irq()
309 pdacf_transfer(chip, cont, off); in pdacf_threaded_irq()
310 off += cont; in pdacf_threaded_irq()
312 size -= cont; in pdacf_threaded_irq()
/sound/core/
Dpcm_lib.c2049 snd_pcm_uframes_t cont; in snd_pcm_lib_write1() local
2062 cont = runtime->buffer_size - runtime->control->appl_ptr % runtime->buffer_size; in snd_pcm_lib_write1()
2063 if (frames > cont) in snd_pcm_lib_write1()
2064 frames = cont; in snd_pcm_lib_write1()
2274 snd_pcm_uframes_t cont; in snd_pcm_lib_read1() local
2294 cont = runtime->buffer_size - runtime->control->appl_ptr % runtime->buffer_size; in snd_pcm_lib_read1()
2295 if (frames > cont) in snd_pcm_lib_read1()
2296 frames = cont; in snd_pcm_lib_read1()