Home
last modified time | relevance | path

Searched refs:psize (Results 1 – 4 of 4) sorted by relevance

/sound/pci/trident/
Dtrident_memory.c128 int page, psize; in search_empty() local
131 psize = get_aligned_page(size + ALIGN_PAGE_SIZE -1); in search_empty()
135 if (page + psize <= firstpg(blk)) in search_empty()
139 if (page + psize > MAX_ALIGN_PAGES) in search_empty()
144 blk = __snd_util_memblk_new(hdr, psize * ALIGN_PAGE_SIZE, p->prev); in search_empty()
149 lastpg(blk) = page + psize - 1; in search_empty()
/sound/soc/qcom/qdsp6/
Dq6afe.c840 int param_id, int module_id, int psize) in q6afe_port_set_param() argument
850 pkt_size = APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata) + psize; in q6afe_port_set_param()
859 memcpy(pl, data, psize); in q6afe_port_set_param()
870 param->payload_size = sizeof(*pdata) + psize; in q6afe_port_set_param()
876 pdata->param_size = psize; in q6afe_port_set_param()
888 int param_id, int module_id, int psize) in q6afe_port_set_param_v2() argument
898 pkt_size = APR_HDR_SIZE + sizeof(*param) + sizeof(*pdata) + psize; in q6afe_port_set_param_v2()
907 memcpy(pl, data, psize); in q6afe_port_set_param_v2()
919 param->payload_size = sizeof(*pdata) + psize; in q6afe_port_set_param_v2()
925 pdata->param_size = psize; in q6afe_port_set_param_v2()
/sound/pci/au88x0/
Dau88x0_core.c1089 int psize, int count) in vortex_adbdma_setbuffers() argument
1093 dma->period_bytes = psize; in vortex_adbdma_setbuffers()
1102 dma->cfg1 |= 0x88000000 | 0x44000000 | 0x30000000 | (psize - 1); in vortex_adbdma_setbuffers()
1105 snd_pcm_sgbuf_get_addr(dma->substream, psize * 3)); in vortex_adbdma_setbuffers()
1110 dma->cfg1 |= 0x80000000 | 0x40000000 | ((psize - 1) << 0xc); in vortex_adbdma_setbuffers()
1113 snd_pcm_sgbuf_get_addr(dma->substream, psize * 2)); in vortex_adbdma_setbuffers()
1117 dma->cfg0 |= 0x88000000 | 0x44000000 | 0x10000000 | (psize - 1); in vortex_adbdma_setbuffers()
1120 snd_pcm_sgbuf_get_addr(dma->substream, psize)); in vortex_adbdma_setbuffers()
1124 dma->cfg0 |= 0x80000000 | 0x40000000 | ((psize - 1) << 0xc); in vortex_adbdma_setbuffers()
1368 int psize, int count) in vortex_wtdma_setbuffers() argument
[all …]
/sound/pci/emu10k1/
Dmemory.c206 int page, psize; in search_empty() local
208 psize = get_aligned_page(size + PAGE_SIZE -1); in search_empty()
212 if (page + psize <= blk->first_page) in search_empty()
216 if (page + psize > emu->max_cache_pages) in search_empty()
221 …blk = (struct snd_emu10k1_memblk *)__snd_util_memblk_new(emu->memhdr, psize << PAGE_SHIFT, p->prev… in search_empty()