Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/amd/yc/
Dacp6x-pdm-dma.c244 return byte_count.bytescount; in acp6x_pdm_get_byte_count()
252 u64 bytescount; in acp6x_pdm_dma_pointer() local
257 bytescount = acp6x_pdm_get_byte_count(rtd, stream->stream); in acp6x_pdm_dma_pointer()
258 if (bytescount > rtd->bytescount) in acp6x_pdm_dma_pointer()
259 bytescount -= rtd->bytescount; in acp6x_pdm_dma_pointer()
260 pos = do_div(bytescount, buffersize); in acp6x_pdm_dma_pointer()
308 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.12.1/sound/soc/amd/renoir/
Dacp3x-pdm-dma.c270 return byte_count.bytescount; in acp_pdm_get_byte_count()
278 u64 bytescount; in acp_pdm_dma_pointer() local
283 bytescount = acp_pdm_get_byte_count(rtd, stream->stream); in acp_pdm_dma_pointer()
284 if (bytescount > rtd->bytescount) in acp_pdm_dma_pointer()
285 bytescount -= rtd->bytescount; in acp_pdm_dma_pointer()
286 pos = do_div(bytescount, buffersize); in acp_pdm_dma_pointer()
334 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.12.1/sound/soc/amd/ps/
Dps-pdm-dma.c255 u64 bytescount; in acp63_pdm_dma_pointer() local
260 bytescount = acp63_pdm_get_byte_count(rtd, stream->stream); in acp63_pdm_dma_pointer()
261 if (bytescount > rtd->bytescount) in acp63_pdm_dma_pointer()
262 bytescount -= rtd->bytescount; in acp63_pdm_dma_pointer()
263 pos = do_div(bytescount, buffersize); in acp63_pdm_dma_pointer()
312 rtd->bytescount = acp63_pdm_get_byte_count(rtd, substream->stream); in acp63_pdm_dai_trigger()
Dps-sdw-dma.c310 byte_count.bytescount = 0; in acp63_sdw_get_byte_count()
328 return byte_count.bytescount; in acp63_sdw_get_byte_count()
337 u64 bytescount; in acp63_sdw_dma_pointer() local
343 bytescount = acp63_sdw_get_byte_count(stream, sdw_data->acp_base); in acp63_sdw_dma_pointer()
344 if (bytescount > stream->bytescount) in acp63_sdw_dma_pointer()
345 bytescount -= stream->bytescount; in acp63_sdw_dma_pointer()
346 pos = do_div(bytescount, buffersize); in acp63_sdw_dma_pointer()
Dacp63.h169 u64 bytescount; member
193 u64 bytescount; member
201 u64 bytescount; member
/linux-6.12.1/sound/soc/amd/acp/
Dacp-platform.c342 u64 bytescount; in acp_dma_pointer() local
347 bytescount = acp_get_byte_count(adata, stream->dai_id, substream->stream); in acp_dma_pointer()
349 if (bytescount > stream->bytescount) in acp_dma_pointer()
350 bytescount -= stream->bytescount; in acp_dma_pointer()
352 pos = do_div(bytescount, buffersize); in acp_dma_pointer()
Damd.h164 u64 bytescount; member
Dacp-i2s.c400 stream->bytescount = acp_get_byte_count(adata, stream->dai_id, substream->stream); in acp_i2s_trigger()
/linux-6.12.1/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.12.1/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.12.1/sound/soc/amd/vangogh/
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.h106 u64 bytescount; member
117 u64 bytescount; member
196 return byte_count.bytescount; in acp_get_byte_count()
Dacp5x-i2s.c250 rtd->bytescount = acp_get_byte_count(rtd, in acp5x_i2s_trigger()