Home
last modified time | relevance | path

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

/sound/xen/
Dxen_snd_front_alsa.c466 struct xen_front_pgdir_shbuf_cfg buf_cfg; in alsa_hw_params() local
478 memset(&buf_cfg, 0, sizeof(buf_cfg)); in alsa_hw_params()
479 buf_cfg.xb_dev = front_info->xb_dev; in alsa_hw_params()
480 buf_cfg.pgdir = &stream->shbuf; in alsa_hw_params()
481 buf_cfg.num_pages = stream->num_pages; in alsa_hw_params()
482 buf_cfg.pages = stream->pages; in alsa_hw_params()
484 ret = xen_front_pgdir_shbuf_alloc(&buf_cfg); in alsa_hw_params()
/sound/x86/
Dintel_hdmi_audio.c354 union aud_buf_config buf_cfg = {.regval = 0}; in had_init_audio_ctrl() local
359 buf_cfg.regx.audio_fifo_watermark = FIFO_THRESHOLD; in had_init_audio_ctrl()
360 buf_cfg.regx.dma_fifo_watermark = DMA_FIFO_THRESHOLD; in had_init_audio_ctrl()
361 buf_cfg.regx.aud_delay = 0; in had_init_audio_ctrl()
362 had_write_register(intelhaddata, AUD_BUF_CONFIG, buf_cfg.regval); in had_init_audio_ctrl()