ESP-IDF
tPORT_DATA::queue
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
tPORT_DATA::queue
tPORT_DATA::queue field
Syntax
Show:
Summary
Declaration
from
port_int.h:56
fixed_queue_t
*
queue
;
Examples
References
from
examples
Code
Location
Referrer
fixed_queue_t
*
queue
;
/* Queue of buffers waiting to be sent */
port_int.h:56
count
=
fixed_queue_length
(
p_port
->
rx
.
queue
)
;
port_api.c:1170
PORT_Purge()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
rx
.
queue
,
0
)
)
!=
NULL
)
{
port_api.c:1172
PORT_Purge()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_api.c:1189
PORT_Purge()
if
(
fixed_queue_is_empty
(
p_port
->
rx
.
queue
)
)
{
port_api.c:1251
PORT_ReadData()
p_buf
=
(
BT_HDR
*
)
fixed_queue_try_peek_first
(
p_port
->
rx
.
queue
)
;
port_api.c:1259
PORT_ReadData()
osi_free
(
fixed_queue_dequeue
(
p_port
->
rx
.
queue
,
0
)
)
;
port_api.c:1292
PORT_ReadData()
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
rx
.
queue
,
0
)
;
port_api.c:1348
PORT_Read()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_CRITICAL_WM
)
)
{
port_api.c:1395
port_write()
fixed_queue_enqueue
(
p_port
->
tx
.
queue
,
p_buf
,
FIXED_QUEUE_MAX_TIMEOUT
)
;
port_api.c:1414
port_write()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
)
{
port_api.c:1538
PORT_WriteDataCO()
p_port
->
tx
.
queue_size
,
fixed_queue_length
(
p_port
->
tx
.
queue
)
,
available
)
;
port_api.c:1542
PORT_WriteDataCO()
if
(
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_try_peek_last
(
p_port
->
tx
.
queue
)
)
!=
NULL
)
port_api.c:1656
PORT_WriteData()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
)
{
port_api.c:1675
PORT_WriteData()
||
(
fixed_queue_length
(
p_port
->
rx
.
queue
)
+
1
>
p_port
->
rx_buf_critical
)
)
{
port_rfc.c:884
PORT_DataInd()
fixed_queue_enqueue
(
p_port
->
rx
.
queue
,
p_buf
,
FIXED_QUEUE_MAX_TIMEOUT
)
;
port_rfc.c:906
PORT_DataInd()
if
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_rfc.c:1013
port_rfc_send_tx_data()
p_port
->
tx
.
queue
=
fixed_queue_new
(
QUEUE_SIZE_MAX
)
;
port_utils.c:131
port_set_defaults()
p_port
->
rx
.
queue
=
fixed_queue_new
(
QUEUE_SIZE_MAX
)
;
port_utils.c:132
port_set_defaults()
if
(
p_port
->
rx
.
queue
!=
NULL
)
{
port_utils.c:213
port_release_port()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
rx
.
queue
,
0
)
)
!=
NULL
)
{
port_utils.c:214
port_release_port()
if
(
p_port
->
tx
.
queue
!=
NULL
)
{
port_utils.c:220
port_release_port()
while
(
(
p_buf
=
(
BT_HDR
*
)
fixed_queue_dequeue
(
p_port
->
tx
.
queue
,
0
)
)
!=
NULL
)
{
port_utils.c:221
port_release_port()
fixed_queue_free
(
p_port
->
tx
.
queue
,
NULL
)
;
port_utils.c:240
port_release_port()
p_port
->
tx
.
queue
=
NULL
;
port_utils.c:241
port_release_port()
fixed_queue_free
(
p_port
->
rx
.
queue
,
NULL
)
;
port_utils.c:242
port_release_port()
p_port
->
rx
.
queue
=
NULL
;
port_utils.c:243
port_release_port()
||
(
fixed_queue_length
(
p_port
->
tx
.
queue
)
>
PORT_TX_BUF_HIGH_WM
)
;
port_utils.c:418
port_flow_control_user()
else
if
(
fixed_queue_length
(
p_port
->
rx
.
queue
)
>=
p_port
->
credit_rx_max
)
{
port_utils.c:532
port_flow_control_peer()
&&
(
fixed_queue_length
(
p_port
->
rx
.
queue
)
<
PORT_RX_BUF_LOW_WM
)
)
{
port_utils.c:545
port_flow_control_peer()
||
(
fixed_queue_length
(
p_port
->
rx
.
queue
)
>
PORT_RX_BUF_HIGH_WM
)
)
port_utils.c:564
port_flow_control_peer()
if
(
!
fixed_queue_is_empty
(
p_port
->
rx
.
queue
)
)
{
rfc_port_fsm.c:426
rfc_port_sm_opened()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
tPORT_DATA::queue
is written by 2 functions and is read by 12 functions:
port_set_defaults()
port_release_port()
All items filtered out
tPORT_DATA::queue
PORT_Purge()
PORT_ReadData()
PORT_Read()
port_write()
PORT_WriteDataCO()
PORT_WriteData()
PORT_DataInd()
port_rfc_send_tx_data()
port_release_port()
port_flow_control_user()
port_flow_control_peer()
rfc_port_sm_opened()
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