ESP-IDF
TAG
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
TAG
TAG variable
Syntax
Show:
Summary
Declaration
from
esp_eth_phy_lan87xx.c:15
static
const
char
*
TAG
=
"lan87xx"
;
Examples
References
from
examples
Code
Location
Referrer
static
const
char
*
TAG
=
"lan87xx"
;
esp_eth_phy_lan87xx.c:15
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_ANLPAR_REG_ADDR
,
&
(
anlpar
.
val
)
)
,
err
,
TAG
,
"read ANLPAR failed"
)
;
esp_eth_phy_lan87xx.c:229
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_BMSR_REG_ADDR
,
&
(
bmsr
.
val
)
)
,
err
,
TAG
,
"read BMSR failed"
)
;
esp_eth_phy_lan87xx.c:230
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_BMCR_REG_ADDR
,
&
(
bmcr
.
val
)
)
,
err
,
TAG
,
"read BMCR failed"
)
;
esp_eth_phy_lan87xx.c:231
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
addr
,
ETH_PHY_PSCSR_REG_ADDR
,
&
(
pscsr
.
val
)
)
,
err
,
TAG
,
"read PSCSR failed"
)
;
esp_eth_phy_lan87xx.c:243
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_SPEED
,
(
void
*
)
speed
)
,
err
,
TAG
,
"change speed failed"
)
;
esp_eth_phy_lan87xx.c:264
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_DUPLEX
,
(
void
*
)
duplex
)
,
err
,
TAG
,
"change duplex failed"
)
;
esp_eth_phy_lan87xx.c:265
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_PAUSE
,
(
void
*
)
peer_pause_ability
)
,
err
,
TAG
,
"change pause ability failed"
)
;
esp_eth_phy_lan87xx.c:272
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
eth
->
on_state_changed
(
eth
,
ETH_STATE_LINK
,
(
void
*
)
link
)
,
err
,
TAG
,
"change link failed"
)
;
esp_eth_phy_lan87xx.c:274
lan87xx_update_link_duplex_speed()
ESP_GOTO_ON_ERROR
(
lan87xx_update_link_duplex_speed
(
lan87xx
)
,
err
,
TAG
,
"update link duplex speed failed"
)
;
esp_eth_phy_lan87xx.c:287
lan87xx_get_link()
ESP_GOTO_ON_ERROR
(
eth
->
phy_reg_read
(
eth
,
phy_802_3
->
addr
,
ETH_PHY_BMCR_REG_ADDR
,
&
(
bmcr
.
val
)
)
,
err
,
TAG
,
"read BMCR failed"
)
;
esp_eth_phy_lan87xx.c:300
lan87xx_autonego_ctrl()
ESP_GOTO_ON_FALSE
(
bmcr
.
en_loopback
==
0
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Autonegotiation can't be enabled while in loopback operation"
)
;
esp_eth_phy_lan87xx.c:301
lan87xx_autonego_ctrl()
ESP_GOTO_ON_ERROR
(
lan87xx_autonego_ctrl
(
phy
,
ESP_ETH_PHY_AUTONEGO_G_STAT
,
&
auto_nego_en
)
,
err
,
TAG
,
"get status of autonegotiation failed"
)
;
esp_eth_phy_lan87xx.c:313
lan87xx_loopback()
ESP_GOTO_ON_FALSE
(
!
(
auto_nego_en
&&
enable
)
,
ESP_ERR_INVALID_STATE
,
err
,
TAG
,
"Unable to set loopback while autonegotiation is enabled. Disable it to use loopback"
)
;
esp_eth_phy_lan87xx.c:314
lan87xx_loopback()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_set_speed
(
phy_802_3
,
speed
)
,
err
,
TAG
,
"set speed failed"
)
;
esp_eth_phy_lan87xx.c:327
lan87xx_set_speed()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_basic_phy_init
(
phy_802_3
)
,
err
,
TAG
,
"failed to init PHY"
)
;
esp_eth_phy_lan87xx.c:339
lan87xx_init()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_read_oui
(
phy_802_3
,
&
oui
)
,
err
,
TAG
,
"read OUI failed"
)
;
esp_eth_phy_lan87xx.c:344
lan87xx_init()
ESP_GOTO_ON_ERROR
(
esp_eth_phy_802_3_read_manufac_info
(
phy_802_3
,
&
model
,
NULL
)
,
err
,
TAG
,
"read manufacturer's info failed"
)
;
esp_eth_phy_lan87xx.c:345
lan87xx_init()
ESP_GOTO_ON_FALSE
(
oui
==
0x1F0
,
ESP_FAIL
,
err
,
TAG
,
"wrong chip OUI"
)
;
esp_eth_phy_lan87xx.c:346
lan87xx_init()
ESP_GOTO_ON_FALSE
(
supported_model
,
ESP_FAIL
,
err
,
TAG
,
"unsupported chip model"
)
;
esp_eth_phy_lan87xx.c:355
lan87xx_init()
ESP_GOTO_ON_FALSE
(
lan87xx
,
NULL
,
err
,
TAG
,
"calloc lan87xx failed"
)
;
esp_eth_phy_lan87xx.c:365
esp_eth_phy_new_lan87xx()
NULL
,
err
,
TAG
,
"configuration initialization of PHY 802.3 failed"
)
;
esp_eth_phy_lan87xx.c:375
esp_eth_phy_new_lan87xx()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
TAG
is read by 7 functions:
All items filtered out
TAG
lan87xx_update_link_duplex_speed()
lan87xx_get_link()
lan87xx_autonego_ctrl()
lan87xx_loopback()
lan87xx_set_speed()
lan87xx_init()
esp_eth_phy_new_lan87xx()
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