Home
last modified time | relevance | path

Searched refs:bytescount (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/sound/soc/amd/yc/
Dacp6x-pdm-dma.c238 return byte_count.bytescount; in acp6x_pdm_get_byte_count()
246 u64 bytescount; in acp6x_pdm_dma_pointer() local
251 bytescount = acp6x_pdm_get_byte_count(rtd, stream->stream); in acp6x_pdm_dma_pointer()
252 if (bytescount > rtd->bytescount) in acp6x_pdm_dma_pointer()
253 bytescount -= rtd->bytescount; in acp6x_pdm_dma_pointer()
254 pos = do_div(bytescount, buffersize); in acp6x_pdm_dma_pointer()
302 rtd->bytescount = acp6x_pdm_get_byte_count(rtd, substream->stream); in acp6x_pdm_dai_trigger()
Dacp6x.h87 u64 bytescount; member
96 u64 bytescount; member
/linux-6.1.9/sound/soc/amd/acp/
Dacp-platform.c231 u64 bytescount; in acp_dma_pointer() local
236 bytescount = acp_get_byte_count(adata, stream->dai_id, substream->stream); in acp_dma_pointer()
238 if (bytescount > stream->bytescount) in acp_dma_pointer()
239 bytescount -= stream->bytescount; in acp_dma_pointer()
241 pos = do_div(bytescount, buffersize); in acp_dma_pointer()
Damd.h108 u64 bytescount; member
Dacp-i2s.c259 stream->bytescount = acp_get_byte_count(adata, stream->dai_id, substream->stream); in acp_i2s_trigger()
/linux-6.1.9/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c264 return byte_count.bytescount; in acp_pdm_get_byte_count()
272 u64 bytescount; in acp_pdm_dma_pointer() local
277 bytescount = acp_pdm_get_byte_count(rtd, stream->stream); in acp_pdm_dma_pointer()
278 if (bytescount > rtd->bytescount) in acp_pdm_dma_pointer()
279 bytescount -= rtd->bytescount; in acp_pdm_dma_pointer()
280 pos = do_div(bytescount, buffersize); in acp_pdm_dma_pointer()
328 rtd->bytescount = acp_pdm_get_byte_count(rtd, in acp_pdm_dai_trigger()
Drn_acp3x.h70 u64 bytescount; member
79 u64 bytescount; member
/linux-6.1.9/sound/soc/amd/ps/
Dps-pdm-dma.c247 u64 bytescount; in acp62_pdm_dma_pointer() local
252 bytescount = acp62_pdm_get_byte_count(rtd, stream->stream); in acp62_pdm_dma_pointer()
253 if (bytescount > rtd->bytescount) in acp62_pdm_dma_pointer()
254 bytescount -= rtd->bytescount; in acp62_pdm_dma_pointer()
255 pos = do_div(bytescount, buffersize); in acp62_pdm_dma_pointer()
305 rtd->bytescount = acp62_pdm_get_byte_count(rtd, substream->stream); in acp62_pdm_dai_trigger()
Dacp62.h80 u64 bytescount; member
/linux-6.1.9/sound/soc/amd/
Dacp-pcm-dma.c1027 return byte_count.bytescount; in acp_get_byte_count()
1035 u64 bytescount = 0; in acp_dma_pointer() local
1048 bytescount = acp_get_byte_count(rtd); in acp_dma_pointer()
1049 if (bytescount >= rtd->bytescount) in acp_dma_pointer()
1050 bytescount -= rtd->bytescount; in acp_dma_pointer()
1051 if (bytescount < period_bytes) { in acp_dma_pointer()
1060 if (bytescount > 0) { in acp_dma_pointer()
1061 delay = do_div(bytescount, period_bytes); in acp_dma_pointer()
1066 bytescount = acp_get_byte_count(rtd); in acp_dma_pointer()
1067 if (bytescount > rtd->bytescount) in acp_dma_pointer()
[all …]
Dacp.h155 u64 bytescount; member
185 u64 bytescount; member
/linux-6.1.9/sound/soc/amd/raven/
Dacp3x-pcm-dma.c301 u64 bytescount; in acp3x_dma_pointer() local
307 bytescount = acp_get_byte_count(rtd, substream->stream); in acp3x_dma_pointer()
308 if (bytescount > rtd->bytescount) in acp3x_dma_pointer()
309 bytescount -= rtd->bytescount; in acp3x_dma_pointer()
310 pos = do_div(bytescount, buffersize); in acp3x_dma_pointer()
Dacp3x.h110 u64 bytescount; member
Dacp3x-i2s.c164 rtd->bytescount = acp_get_byte_count(rtd, in acp3x_i2s_trigger()
/linux-6.1.9/sound/soc/amd/vangogh/
Dacp5x.h106 u64 bytescount; member
117 u64 bytescount; member
194 return byte_count.bytescount; in acp_get_byte_count()
Dacp5x-pcm-dma.c296 u64 bytescount; in acp5x_dma_pointer() local
301 bytescount = acp_get_byte_count(rtd, substream->stream); in acp5x_dma_pointer()
302 if (bytescount > rtd->bytescount) in acp5x_dma_pointer()
303 bytescount -= rtd->bytescount; in acp5x_dma_pointer()
304 pos = do_div(bytescount, buffersize); in acp5x_dma_pointer()
Dacp5x-i2s.c250 rtd->bytescount = acp_get_byte_count(rtd, in acp5x_i2s_trigger()