Defined in 2 files as a function:
Referenced in 8 files:
- drivers/net/dsa/mt7530.c, line 2639
- drivers/net/ethernet/socionext/netsec.c, line 1876
- drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c, line 934
- drivers/net/mdio/mdio-bcm-unimac.c, line 180
- drivers/net/mdio/mdio-realtek-rtl9300.c, line 624
- drivers/net/mdio/of_mdio.c, line 159
- drivers/net/phy/mdio_bus_provider.c, line 380
- drivers/net/phy/nxp-tja11xx.c, line 566
Smatch caller information:
drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c sun8i_dwmac_set_syscon() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node->properties | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np->phandle | 1-u32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/mdio/of_mdio.c __of_mdiobus_parse_phys() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/mdio/mdio-bcm-unimac.c unimac_mdio_reset() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/mdio_bus_provider.c of_mdiobus_find_phy() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/socionext/netsec.c netsec_of_probe() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->phandle | 1-u32max |
| DATA_SOURCE | 1 | np | r of_parse_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/phy/nxp-tja11xx.c tja1102_p1_register() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| HALF_LOCKED2 | &pool->lock |
drivers/net/mdio/mdio-realtek-rtl9300.c otto_emdio_map_ports() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->parent->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->parent | 1-u64max |
| PARAM_VALUE | 1 | np->phandle | 1-u32max |
| BUF_SIZE | 0 | dev | 1616 |
| CAPPED_DATA | 0 | dev->of_node | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | np | r of_parse_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/dsa/mt7530.c mt7530_setup() -> of_mdio_parse_addr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | np->phandle | 1-u32max |
| CAPPED_DATA | 1 | np->parent | 1 |
| DATA_SOURCE | 1 | np | r of_parse_phandle |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &dsa2_mutex |