Home
last modified time | relevance | path

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

/sound/pci/ice1712/
Dse.c605 struct snd_kcontrol_new cont; in se200pci_add_controls() local
608 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls()
609 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls()
611 cont.private_value = i; in se200pci_add_controls()
612 cont.name = se200pci_cont[i].name; in se200pci_add_controls()
613 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls()
614 cont.tlv.p = NULL; in se200pci_add_controls()
618 cont.info = se200pci_cont_volume_info; in se200pci_add_controls()
619 cont.get = se200pci_cont_volume_get; in se200pci_add_controls()
620 cont.put = se200pci_cont_volume_put; in se200pci_add_controls()
[all …]
Dwm8766.c307 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local
310 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control()
311 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control()
312 cont.private_value = num; in snd_wm8766_add_control()
313 cont.name = wm->ctl[num].name; in snd_wm8766_add_control()
314 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control()
317 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control()
318 cont.tlv.p = NULL; in snd_wm8766_add_control()
319 cont.get = snd_wm8766_ctl_get; in snd_wm8766_add_control()
320 cont.put = snd_wm8766_ctl_put; in snd_wm8766_add_control()
[all …]
Dwm8776.c580 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local
583 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control()
584 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control()
585 cont.private_value = num; in snd_wm8776_add_control()
586 cont.name = wm->ctl[num].name; in snd_wm8776_add_control()
587 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control()
590 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control()
591 cont.tlv.p = NULL; in snd_wm8776_add_control()
592 cont.get = snd_wm8776_ctl_get; in snd_wm8776_add_control()
593 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.c262 int size, off, cont, rdp, wdp; in pdacf_tasklet() local
305 cont = chip->pcm_size - off; in pdacf_tasklet()
306 if (cont > size) in pdacf_tasklet()
307 cont = size; in pdacf_tasklet()
308 pdacf_transfer(chip, cont, off); in pdacf_tasklet()
309 off += cont; in pdacf_tasklet()
311 size -= cont; in pdacf_tasklet()
/sound/core/
Dpcm_lib.c2015 snd_pcm_uframes_t cont; in snd_pcm_lib_write1() local
2028 cont = runtime->buffer_size - runtime->control->appl_ptr % runtime->buffer_size; in snd_pcm_lib_write1()
2029 if (frames > cont) in snd_pcm_lib_write1()
2030 frames = cont; in snd_pcm_lib_write1()
2240 snd_pcm_uframes_t cont; in snd_pcm_lib_read1() local
2260 cont = runtime->buffer_size - runtime->control->appl_ptr % runtime->buffer_size; in snd_pcm_lib_read1()
2261 if (frames > cont) in snd_pcm_lib_read1()
2262 frames = cont; in snd_pcm_lib_read1()