Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/net/ethernet/cadence/macb_main.c, line 1000
- drivers/net/ethernet/microchip/lan743x_main.c, line 3247
- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, line 1349
- drivers/net/ethernet/tehuti/tn40.c, line 1411
- drivers/net/ethernet/wangxun/ngbe/ngbe_main.c, line 505
- drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c, line 300
- drivers/net/phy/phylink.c, line 2254
- drivers/net/usb/asix_devices.c, line 714
- drivers/net/usb/lan78xx.c, line 2902
- net/dsa/user.c, line 2651
Smatch caller information:
drivers/net/ethernet/tehuti/tn40.c tn40_open() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c stmmac_init_phy() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pl | 4096-ptr_max |
| PARAM_VALUE | 0 | pl->cfg_link_an_mode | 0,2-255 |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| DATA_SOURCE | 1 | phy | r mdiobus_get_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/usb/lan78xx.c lan78xx_phy_init() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pl | 4096-ptr_max |
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| PARAM_VALUE | 1 | phy->irq | s32min-(-1),1-s32max |
| DATA_SOURCE | 1 | phy | r lan78xx_get_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/wangxun/ngbe/ngbe_main.c ngbe_open() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/cadence/macb_main.c macb_phylink_connect() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| DATA_SOURCE | 1 | phy | r phy_find_first |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/wangxun/txgbe/txgbe_phy.c txgbe_phylink_init() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pl | 4096-ptr_max |
| PARAM_VALUE | 0 | pl->cfg_link_an_mode | 1-2 |
| PARAM_VALUE | 0 | pl->config | 4096-ptr_max |
| PARAM_VALUE | 0 | pl->config->type | 0 |
| PARAM_VALUE | 0 | pl->link_config.duplex | 0-1,255 |
| PARAM_VALUE | 0 | pl->link_config.interface | 26-27 |
| PARAM_VALUE | 0 | pl->link_config.pause | 4 |
| PARAM_VALUE | 0 | pl->link_interface | 26-27 |
| PARAM_VALUE | 0 | pl->link_poll.entry.pprev | 0 |
| PARAM_VALUE | 0 | pl->link_poll.flags | 0-4194302 |
| PARAM_VALUE | 0 | pl->link_poll.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | pl->link_port | 2,4 |
| PARAM_VALUE | 0 | pl->mac_ops | 9035093365212368896 |
| PARAM_VALUE | 0 | pl->pcs_state | 0 |
| PARAM_VALUE | 0 | pl->phy_state.interface | 26-27 |
| PARAM_VALUE | 0 | pl->phydev_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pl->phydev_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pl->phydev_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pl->phydev_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | pl->req_link_an_mode | 1-2 |
| PARAM_VALUE | 0 | pl->state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | pl->state_mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | pl->state_mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | pl->state_mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | *pl->netdev->name | 0-255 |
| PARAM_VALUE | 1 | phy | 1-u64max |
| BUF_SIZE | 0 | pl | 816 |
| BUF_SIZE | 0 | pl | 816 |
| DATA_SOURCE | 0 | pl | r phylink_create |
| BIT_INFO | 0 | pl->link_config.interface | 0x1a,0x1b |
| BIT_INFO | 0 | pl->link_interface | 0x1a,0x1b |
| BIT_INFO | 0 | pl->phy_state.interface | 0x1a,0x1b |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/microchip/lan743x_main.c lan743x_phylink_connect() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| DATA_SOURCE | 1 | phy | r phy_find_first |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/usb/asix_devices.c ax88772_init_phy() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| DATA_SOURCE | 1 | phy | r mdiobus_get_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/dsa/user.c dsa_user_phy_connect() -> phylink_connect_phy()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | phy | 4096-ptr_max |
| DATA_SOURCE | 1 | phy | r mdiobus_get_phy |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &dsa2_mutex |