Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/ethernet/amd/xgbe/xgbe-selftest.c
- drivers/net/ethernet/engleder/tsnep_main.c, line 238
- drivers/net/ethernet/hisilicon/hns/hns_ethtool.c
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c, line 261
- drivers/net/phy/phy.c, line 1835
- net/core/selftests.c
Smatch caller information:
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_disable_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
| DATA_SOURCE | 0 | phydev | $1 |
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c hclge_enable_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->aneg_done | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->features | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->flags | 0-2,4-5,8 |
| PARAM_VALUE | 0 | phydev->drv->get_sqi | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_sqi_max | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_strings | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->get_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->inband_caps | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->module_eeprom | 0 |
| PARAM_VALUE | 0 | phydev->drv->module_info | 0 |
| PARAM_VALUE | 0 | phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627 |
| PARAM_VALUE | 0 | phydev->drv->probe | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->read_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->remove | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->set_tunable | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->set_wol | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->soft_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->write_mmd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | enable | 1 |
| PARAM_VALUE | 2 | speed | 0 |
| DATA_SOURCE | 0 | phydev | $1 |
drivers/net/ethernet/engleder/tsnep_main.c tsnep_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | speed | 0,100,1000 |
| DATA_SOURCE | 1 | enable | $1 |
| FUZZY_MAX | 2 | speed | 1000 |
| BIT_INFO | 2 | speed | 0x0,0x3ec |
| HARD_MAX | 2 | speed | 1000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &netdev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/selftests.c net_test_phy_loopback_disable() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
net/core/selftests.c net_test_phy_loopback_enable() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 1 |
| PARAM_VALUE | 2 | speed | 0 |
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_nic_config_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->drv->phy_id_mask | 0,1048512,1048560,1048574,16777212,16777215,268435440,429496627 |
| PARAM_VALUE | 0 | phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phydev->suspended | 0 |
| PARAM_VALUE | 1 | enable | 1 |
| PARAM_VALUE | 2 | speed | 0 |
| DATA_SOURCE | 0 | phydev | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c hns_nic_config_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
| DATA_SOURCE | 0 | phydev | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mdio.c hclge_mac_start_phy() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &netdev->ethtool->rss_lock | ||
| HALF_LOCKED2 | &netdev->lock |
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c xgbe_selftest_run() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 1 |
| PARAM_VALUE | 2 | speed | 0 |
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c xgbe_selftest_run() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | *phydev->attached_dev->name | 0-255 |
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c xgbe_test_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 1-u64max |
| PARAM_VALUE | 1 | enable | 1 |
| PARAM_VALUE | 2 | speed | 0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/amd/xgbe/xgbe-selftest.c xgbe_test_phy_loopback() -> phy_loopback()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | phydev | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->asym_pause | 0 |
| PARAM_VALUE | 0 | phydev->drv | 4096-ptr_max |
| PARAM_VALUE | 0 | phydev->last_triggered->trigger.brightness | 255 |
| PARAM_VALUE | 0 | phydev->led_link_trigger->trigger.brightness | 0-4294967295 |
| PARAM_VALUE | 0 | phydev->link | 1 |
| PARAM_VALUE | 0 | phydev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | phydev->loopback_enabled | 1 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | phydev->mdio.bus->mdio_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | phydev->pause | 0 |
| PARAM_VALUE | 0 | phydev->phylink->link_failed | 1 |
| PARAM_VALUE | 0 | phydev->state | 5 |
| PARAM_VALUE | 0 | *phydev->attached_dev->name | 0-255 |
| PARAM_VALUE | 0 | *phydev->mdio.bus->mdio_lock.first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | enable | 0 |
| PARAM_VALUE | 2 | speed | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |