Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/intel/igb/igb_main.c igb_mii_ioctl() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.media_type | 1 |
| PARAM_VALUE | 1 | offset | 0-31 |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.id | 0-21040127,21040129-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 16 |
| PARAM_VALUE | 2 | data | 2056 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.id | 0-21040127,21040129-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 37184 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.id | 0-21040127,21040129-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 33088 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.id | 21040128 |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 22 |
| PARAM_VALUE | 2 | data | 0 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.id | 21040128 |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 16704 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 8 |
| PARAM_VALUE | 1 | offset | 19 |
| PARAM_VALUE | 2 | data | 32833 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_integrated_phy_loopback() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 16704 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_loopback_cleanup() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 1 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 1 | offset | 0 |
| PARAM_VALUE | 2 | data | 0-49151 |
| BUF_SIZE | 0 | hw | 1200 |
| BIT_INFO | 2 | data | 0x0,0xbfff |
| NOCHECK_CALL | |||
| HOST_DATA | 2 | data | 0-49151[c] |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_phy_disable_receiver() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev_spec._82575.mas_capable | 0 |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->hw_addr | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.ops.check_for_link | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 29 |
| PARAM_VALUE | 2 | data | 31 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_phy_disable_receiver() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev_spec._82575.mas_capable | 0 |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.ops.check_for_link | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 30 |
| PARAM_VALUE | 2 | data | 36860 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_phy_disable_receiver() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev_spec._82575.mas_capable | 0 |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.ops.check_for_link | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 29 |
| PARAM_VALUE | 2 | data | 26 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/igb/igb_ethtool.c igb_phy_disable_receiver() -> igb_write_phy_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->dev_spec._82575.mas_capable | 0 |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-254,256-u32max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0,2-3 |
| PARAM_VALUE | 0 | hw->mac.autoneg | 0 |
| PARAM_VALUE | 0 | hw->mac.get_link_status | 1 |
| PARAM_VALUE | 0 | hw->mac.ops.check_for_link | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | hw->mac.type | 0-4,6-u32max |
| PARAM_VALUE | 0 | hw->phy.original_ms_type | 1-3 |
| PARAM_VALUE | 0 | hw->phy.type | 2 |
| PARAM_VALUE | 1 | offset | 30 |
| PARAM_VALUE | 2 | data | 36848 |
| BUF_SIZE | 0 | hw | 1200 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |