ESP-IDF
i2s_dma_t::bufs
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
i2s_dma_t::bufs
i2s_dma_t::bufs field
dma buffer array
Syntax
Show:
Summary
Declaration
from
i2s_private.h:126
uint8_t
*
*
bufs
;
Examples
References
from
examples
Code
Location
Referrer
uint8_t
*
*
bufs
;
/*!< dma buffer array */
i2s_private.h:126
if
(
handle
->
dma
.
bufs
[
i
]
)
{
i2s_common.c:463
i2s_free_dma_desc()
free
(
handle
->
dma
.
bufs
[
i
]
)
;
i2s_common.c:464
i2s_free_dma_desc()
handle
->
dma
.
bufs
[
i
]
=
NULL
;
i2s_common.c:465
i2s_free_dma_desc()
if
(
handle
->
dma
.
bufs
)
{
i2s_common.c:472
i2s_free_dma_desc()
free
(
handle
->
dma
.
bufs
)
;
i2s_common.c:473
i2s_free_dma_desc()
handle
->
dma
.
bufs
=
NULL
;
i2s_common.c:474
i2s_free_dma_desc()
handle
->
dma
.
bufs
=
(
uint8_t
*
*
)
heap_caps_calloc
(
num
,
sizeof
(
uint8_t
*
)
,
I2S_MEM_ALLOC_CAPS
)
;
i2s_common.c:495
i2s_alloc_dma_desc()
handle
->
dma
.
bufs
[
i
]
=
(
uint8_t
*
)
i2s_dma_calloc
(
handle
,
1
,
bufsize
*
sizeof
(
uint8_t
)
)
;
i2s_common.c:506
i2s_alloc_dma_desc()
ESP_GOTO_ON_FALSE
(
handle
->
dma
.
bufs
[
i
]
,
ESP_ERR_NO_MEM
,
err
,
TAG
,
"allocate DMA buffer failed"
)
;
i2s_common.c:507
i2s_alloc_dma_desc()
handle
->
dma
.
desc
[
i
]
->
buf
=
handle
->
dma
.
bufs
[
i
]
;
i2s_common.c:511
i2s_alloc_dma_desc()
ESP_LOGV
(
TAG
,
"desc addr: %8p\tbuffer addr:%8p"
,
handle
->
dma
.
desc
[
i
]
,
handle
->
dma
.
bufs
[
i
]
)
;
i2s_common.c:512
i2s_alloc_dma_desc()
return
(
size_t
)
&
(
(
(
i2s_chan_handle_t
)
0
)
->
dma
.
bufs
)
;
i2s_platform.c:122
i2s_platform_get_dma_buffer_offset()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
i2s_dma_t::bufs
is written by 2 functions and is read by 3 functions:
i2s_free_dma_desc()
i2s_alloc_dma_desc()
All items filtered out
i2s_dma_t::bufs
i2s_free_dma_desc()
i2s_alloc_dma_desc()
i2s_platform_get_dma_buffer_offset()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out