Searched refs:cont (Results 1 – 7 of 7) sorted by relevance
/sound/pci/ice1712/ |
D | wm8766.c | 278 struct snd_kcontrol_new cont; in snd_wm8766_add_control() local 281 memset(&cont, 0, sizeof(cont)); in snd_wm8766_add_control() 282 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8766_add_control() 283 cont.private_value = num; in snd_wm8766_add_control() 284 cont.name = wm->ctl[num].name; in snd_wm8766_add_control() 285 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8766_add_control() 288 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8766_add_control() 289 cont.tlv.p = NULL; in snd_wm8766_add_control() 290 cont.get = snd_wm8766_ctl_get; in snd_wm8766_add_control() 291 cont.put = snd_wm8766_ctl_put; in snd_wm8766_add_control() [all …]
|
D | se.c | 584 struct snd_kcontrol_new cont; in se200pci_add_controls() local 587 memset(&cont, 0, sizeof(cont)); in se200pci_add_controls() 588 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in se200pci_add_controls() 590 cont.private_value = i; in se200pci_add_controls() 591 cont.name = se200pci_cont[i].name; in se200pci_add_controls() 592 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in se200pci_add_controls() 593 cont.tlv.p = NULL; in se200pci_add_controls() 597 cont.info = se200pci_cont_volume_info; in se200pci_add_controls() 598 cont.get = se200pci_cont_volume_get; in se200pci_add_controls() 599 cont.put = se200pci_cont_volume_put; in se200pci_add_controls() [all …]
|
D | wm8776.c | 552 struct snd_kcontrol_new cont; in snd_wm8776_add_control() local 555 memset(&cont, 0, sizeof(cont)); in snd_wm8776_add_control() 556 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_wm8776_add_control() 557 cont.private_value = num; in snd_wm8776_add_control() 558 cont.name = wm->ctl[num].name; in snd_wm8776_add_control() 559 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in snd_wm8776_add_control() 562 cont.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in snd_wm8776_add_control() 563 cont.tlv.p = NULL; in snd_wm8776_add_control() 564 cont.get = snd_wm8776_ctl_get; in snd_wm8776_add_control() 565 cont.put = snd_wm8776_ctl_put; in snd_wm8776_add_control() [all …]
|
D | psc724.c | 307 struct snd_kcontrol_new cont; in psc724_add_controls() local 341 memset(&cont, 0, sizeof(cont)); in psc724_add_controls() 342 cont.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in psc724_add_controls() 344 cont.private_value = i; in psc724_add_controls() 345 cont.name = psc724_cont[i].name; in psc724_add_controls() 346 cont.access = SNDRV_CTL_ELEM_ACCESS_READWRITE; in psc724_add_controls() 347 cont.info = snd_ctl_boolean_mono_info; in psc724_add_controls() 348 cont.get = psc724_ctl_get; in psc724_add_controls() 349 cont.put = psc724_ctl_put; in psc724_add_controls() 350 ctl = snd_ctl_new1(&cont, ice); in psc724_add_controls()
|
/sound/pcmcia/pdaudiocf/ |
D | pdaudiocf_irq.c | 250 int size, off, cont, rdp, wdp; in pdacf_threaded_irq() local 293 cont = chip->pcm_size - off; in pdacf_threaded_irq() 294 if (cont > size) in pdacf_threaded_irq() 295 cont = size; in pdacf_threaded_irq() 296 pdacf_transfer(chip, cont, off); in pdacf_threaded_irq() 297 off += cont; in pdacf_threaded_irq() 299 size -= cont; in pdacf_threaded_irq()
|
/sound/soc/mediatek/common/ |
D | mtk-btcvsd.c | 702 ssize_t read_size = 0, read_count = 0, cur_read_idx, cont; in mtk_btcvsd_snd_read() local 742 cont = bt->rx->buf_size - cur_read_idx; in mtk_btcvsd_snd_read() 743 if (read_size > cont) in mtk_btcvsd_snd_read() 744 read_size = cont; in mtk_btcvsd_snd_read() 783 int written_size = count, avail = 0, cur_write_idx, write_size, cont; in mtk_btcvsd_snd_write() local 834 cont = bt->tx->buf_size - cur_write_idx; in mtk_btcvsd_snd_write() 835 if (write_size > cont) in mtk_btcvsd_snd_write() 836 write_size = cont; in mtk_btcvsd_snd_write()
|
/sound/core/ |
D | pcm_lib.c | 2186 snd_pcm_uframes_t cont; in __snd_pcm_lib_xfer() local 2208 cont = runtime->buffer_size - appl_ofs; in __snd_pcm_lib_xfer() 2209 if (frames > cont) in __snd_pcm_lib_xfer() 2210 frames = cont; in __snd_pcm_lib_xfer()
|