Searched refs:bufferinfo (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/sound/pci/mixart/
H A Dmixart.c289 struct mixart_bufferinfo *bufferinfo; snd_mixart_add_ref_pipe() local
303 flowinfo[j].bufferinfo_array_phy_address = (u32)chip->mgr->bufferinfo.addr + (j * sizeof(struct mixart_bufferinfo)); snd_mixart_add_ref_pipe()
306 bufferinfo = (struct mixart_bufferinfo *)chip->mgr->bufferinfo.area; snd_mixart_add_ref_pipe()
307 bufferinfo[j].buffer_address = 0; /* buffer is not yet allocated */ snd_mixart_add_ref_pipe()
308 bufferinfo[j].available_length = 0; /* buffer is not yet allocated */ snd_mixart_add_ref_pipe()
311 bufferinfo[j].buffer_id = (chip->chip_idx << MIXART_NOTIFY_CARD_OFFSET) + (pcm_number << MIXART_NOTIFY_PCM_OFFSET ) + i; snd_mixart_add_ref_pipe()
313 bufferinfo[j].buffer_id |= MIXART_NOTIFY_CAPT_MASK; snd_mixart_add_ref_pipe()
643 struct mixart_bufferinfo *bufferinfo; snd_mixart_hw_params() local
649 bufferinfo = (struct mixart_bufferinfo *)chip->mgr->bufferinfo.area; snd_mixart_hw_params()
650 bufferinfo[i].buffer_address = subs->runtime->dma_addr; snd_mixart_hw_params()
651 bufferinfo[i].available_length = subs->runtime->dma_bytes; snd_mixart_hw_params()
652 /* bufferinfo[i].buffer_id is already defined */ snd_mixart_hw_params()
656 i, bufferinfo[i].buffer_address, snd_mixart_hw_params()
657 bufferinfo[i].available_length, snd_mixart_hw_params()
1128 if(mgr->bufferinfo.area) { snd_mixart_free()
1129 snd_dma_free_pages(&mgr->bufferinfo); snd_mixart_free()
1130 mgr->bufferinfo.area = NULL; snd_mixart_free()
1387 /* create array of bufferinfo */ snd_mixart_probe()
1391 size, &mgr->bufferinfo) < 0) { snd_mixart_probe()
1396 memset(mgr->bufferinfo.area, 0, size); snd_mixart_probe()
H A Dmixart.h101 struct snd_dma_buffer bufferinfo; member in struct:mixart_mgr

Completed in 124 milliseconds