Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c, line 61
- drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
Smatch caller information:
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c ixgbe_set_pcie_completion_timeout() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->adapter_stopped | 0 |
| PARAM_VALUE | 0 | hw->fc.current_mode | 0-3 |
| PARAM_VALUE | 0 | hw->fc.disable_fc_autoneg | 1 |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 0-3,5-u32max |
| PARAM_VALUE | 0 | hw->hw_addr | 1-u64max |
| PARAM_VALUE | 0 | hw->link.get_link_info | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.an_info | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.eee_status | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.ext_info | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.fec_info | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.link_cfg_err | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.link_info | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.link_speed | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.lse_ena | 0-1 |
| PARAM_VALUE | 0 | hw->link.link_info.max_frame_size | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.pacing | 0 |
| PARAM_VALUE | 0 | hw->link.link_info.phy_type_high | 0-1,3-u64max |
| PARAM_VALUE | 0 | hw->link.link_info.phy_type_low | 0,2-3,5-7,9-15,17-31,33-127,129-255,257-511,513-1023,1025-2047 |
| PARAM_VALUE | 0 | hw->link.link_info.topo_media_conflict | 0 |
| PARAM_VALUE | 0 | hw->mac.ops.clear_hw_cntrs | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.ops.clear_vfta | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.ops.get_media_type | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.media_type | 0-6 |
| PARAM_VALUE | 0 | hw->phy.ops.identify | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.type | 26 |
| PARAM_VALUE | 0 | *hw->link.link_info->module_type | 0-255 |
| PARAM_VALUE | 0 | *hw->link.link_info.module_type | 0-255 |
| PARAM_VALUE | 1 | reg | 200 |
| CAPPED_DATA | 0 | hw->mac.vft_size | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->bus.func | 0-255[c] |
| HOST_DATA | 0 | hw->bus.instance_id | 0-255[c] |
| HOST_DATA | 0 | hw->bus.lan_id | 0-255[c] |
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HOST_DATA | 0 | hw->mac.orig_autoc | 0-u32max |
| HOST_DATA | 0 | hw->mac.orig_autoc2 | 0-u32max |
| HOST_DATA | 0 | hw->phy.id | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.mmds | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.prtad | 0-u16max[c] |
| HOST_DATA | 0 | hw->phy.nw_mng_if_sel | 0-u32max |
| HOST_DATA | 0 | hw->phy.revision | 0-15 |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_clear_tx_pending() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->aci.last_status | 0-u16max |
| PARAM_VALUE | 0 | hw->aci.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | hw->aci.lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | hw->aci.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | hw->aci.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | hw->aci.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | hw->adapter_stopped | 1 |
| PARAM_VALUE | 0 | hw->mac.flags | 1-255 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 0-u16max |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 0-u16max |
| PARAM_VALUE | 1 | reg | 170 |
| CAPPED_DATA | 0 | hw->mac.max_rx_queues | 1 |
| CAPPED_DATA | 0 | hw->mac.max_tx_queues | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| BIT_INFO | 0 | hw->mac.flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->bus.func | 0-255[c] |
| HOST_DATA | 0 | hw->bus.instance_id | 0-255[c] |
| HOST_DATA | 0 | hw->bus.lan_id | 0-255[c] |
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HOST_DATA | 0 | hw->mac.orig_autoc | 0-u32max |
| HOST_DATA | 0 | hw->mac.orig_autoc2 | 0-u32max |
| HOST_DATA | 0 | hw->phy.id | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.mmds | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.prtad | 0-u16max[c] |
| HOST_DATA | 0 | hw->phy.nw_mng_if_sel | 0-u32max |
| HOST_DATA | 0 | hw->phy.revision | 0-15 |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_disable_pcie_primary() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->adapter_stopped | 1 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 0-u16max |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 0-u16max |
| PARAM_VALUE | 0 | hw->mac.type | 0-3 |
| PARAM_VALUE | 1 | reg | 170 |
| BUF_SIZE | 0 | hw->eeprom.ops.read | (-1),8 |
| CAPPED_DATA | 0 | hw->mac.max_rx_queues | 1 |
| CAPPED_DATA | 0 | hw->mac.max_tx_queues | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| BIT_INFO | 0 | hw->mac.flags | 0x1,0xffffffffffffffff |
| HARD_MAX | 0 | hw->mac.type | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->bus.func | 0-255[c] |
| HOST_DATA | 0 | hw->bus.instance_id | 0-255[c] |
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HOST_DATA | 0 | hw->mac.orig_autoc | 0-u32max |
| HOST_DATA | 0 | hw->mac.orig_autoc2 | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.mmds | 0-u32max |
| HOST_DATA | 0 | hw->phy.nw_mng_if_sel | 0-u32max |
| HOST_DATA | 0 | hw->phy.revision | 0-15 |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_get_bus_info_generic() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->back | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->bus.type | 1 |
| PARAM_VALUE | 0 | hw->eeprom.type | 1-u32max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 3 |
| PARAM_VALUE | 0 | hw->fc.pause_time | u16max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 3 |
| PARAM_VALUE | 0 | hw->fc.send_xon | 1 |
| PARAM_VALUE | 0 | hw->link.addr | 190 |
| PARAM_VALUE | 0 | hw->mac.max_link_up_time | 90 |
| PARAM_VALUE | 0 | hw->mac.max_msix_vectors | 0-64 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 64,128 |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 32,128 |
| PARAM_VALUE | 0 | hw->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | hw->mac.num_rar_entries | 16,128 |
| PARAM_VALUE | 0 | hw->mac.ops.disable_tx_laser | 0,5375808227130847232 |
| PARAM_VALUE | 0 | hw->mac.ops.enable_tx_laser | 0,4588649029311967232 |
| PARAM_VALUE | 0 | hw->mac.ops.flap_tx_laser | 0,7596075709393600512 |
| PARAM_VALUE | 0 | hw->mac.ops.get_bus_info | 1-u64max |
| PARAM_VALUE | 0 | hw->mac.ops.set_rate_select_speed | 9100582494355271680 |
| PARAM_VALUE | 0 | hw->mac.ops.setup_link | 1274275851526209536,7267039218427494400,8726614970346614784 |
| PARAM_VALUE | 0 | hw->mac.ops.setup_mac_link | 8726614970346614784 |
| PARAM_VALUE | 0 | hw->mac.rx_pb_size | 384,512 |
| PARAM_VALUE | 0 | hw->mac.type | 7 |
| PARAM_VALUE | 0 | hw->mac.vft_size | 128 |
| PARAM_VALUE | 0 | hw->mvals | 2509461031778697216,3154892953297440768,3933293767870631936,5132833459208437760,6946477842052083712 |
| PARAM_VALUE | 0 | hw->phy.mdio.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_read | 1292988960090271744 |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_write | 2910702566497570816 |
| PARAM_VALUE | 0 | hw->phy.mdio.mode_support | 6 |
| PARAM_VALUE | 0 | hw->phy.mdio.prtad | (-1)-u16max |
| PARAM_VALUE | 0 | hw->phy.media_type | 0 |
| PARAM_VALUE | 0 | hw->phy.ops.set_phy_power | 0,8807190740143325184 |
| PARAM_VALUE | 0 | hw->phy.phy_semaphore_mask | 1-u32max |
| PARAM_VALUE | 0 | hw->phy.revision | 0-15 |
| PARAM_VALUE | 0 | hw->phy.sfp_type | u16max |
| PARAM_VALUE | 1 | reg | 130 |
| BUF_SIZE | 0 | hw | 2816 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_get_bus_info_generic() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->back | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->bus.type | 1 |
| PARAM_VALUE | 0 | hw->eeprom.type | 1-u32max |
| PARAM_VALUE | 0 | hw->fc.current_mode | 3 |
| PARAM_VALUE | 0 | hw->fc.pause_time | u16max |
| PARAM_VALUE | 0 | hw->fc.requested_mode | 3 |
| PARAM_VALUE | 0 | hw->fc.send_xon | 1 |
| PARAM_VALUE | 0 | hw->link.addr | 190 |
| PARAM_VALUE | 0 | hw->mac.max_link_up_time | 90 |
| PARAM_VALUE | 0 | hw->mac.max_msix_vectors | 0-64 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 64,128 |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 32,128 |
| PARAM_VALUE | 0 | hw->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | hw->mac.num_rar_entries | 16,128 |
| PARAM_VALUE | 0 | hw->mac.ops.disable_tx_laser | 0,5375808227130847232 |
| PARAM_VALUE | 0 | hw->mac.ops.enable_tx_laser | 0,4588649029311967232 |
| PARAM_VALUE | 0 | hw->mac.ops.flap_tx_laser | 0,7596075709393600512 |
| PARAM_VALUE | 0 | hw->mac.ops.get_bus_info | 1-u64max |
| PARAM_VALUE | 0 | hw->mac.ops.set_rate_select_speed | 9100582494355271680 |
| PARAM_VALUE | 0 | hw->mac.ops.setup_link | 1274275851526209536,7267039218427494400,8726614970346614784 |
| PARAM_VALUE | 0 | hw->mac.ops.setup_mac_link | 8726614970346614784 |
| PARAM_VALUE | 0 | hw->mac.rx_pb_size | 384,512 |
| PARAM_VALUE | 0 | hw->mac.vft_size | 128 |
| PARAM_VALUE | 0 | hw->mvals | 2509461031778697216,3154892953297440768,3933293767870631936,5132833459208437760,6946477842052083712 |
| PARAM_VALUE | 0 | hw->phy.mdio.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_read | 1292988960090271744 |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_write | 2910702566497570816 |
| PARAM_VALUE | 0 | hw->phy.mdio.mode_support | 6 |
| PARAM_VALUE | 0 | hw->phy.mdio.prtad | (-1)-u16max |
| PARAM_VALUE | 0 | hw->phy.media_type | 0 |
| PARAM_VALUE | 0 | hw->phy.ops.set_phy_power | 0,8807190740143325184 |
| PARAM_VALUE | 0 | hw->phy.phy_semaphore_mask | 1-u32max |
| PARAM_VALUE | 0 | hw->phy.revision | 0-15 |
| PARAM_VALUE | 0 | hw->phy.sfp_type | u16max |
| PARAM_VALUE | 1 | reg | 178 |
| BUF_SIZE | 0 | hw | 2816 |
| DATA_SOURCE | 0 | hw | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_get_pcie_msix_count_generic() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->back | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->mac.max_link_up_time | 90 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 64,128 |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 32,128 |
| PARAM_VALUE | 0 | hw->mac.mcft_size | 128 |
| PARAM_VALUE | 0 | hw->mac.num_rar_entries | 16,128 |
| PARAM_VALUE | 0 | hw->mac.rx_pb_size | 384,512 |
| PARAM_VALUE | 0 | hw->mac.type | 1-7 |
| PARAM_VALUE | 0 | hw->mac.vft_size | 128 |
| PARAM_VALUE | 0 | hw->mvals | 2509461031778697216,3154892953297440768,3933293767870631936,5132833459208437760,6946477842052083712 |
| PARAM_VALUE | 0 | hw->phy.mdio.dev | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_read | 1292988960090271744 |
| PARAM_VALUE | 0 | hw->phy.mdio.mdio_write | 2910702566497570816 |
| PARAM_VALUE | 0 | hw->phy.mdio.mode_support | 6 |
| PARAM_VALUE | 0 | hw->phy.mdio.prtad | (-1)-u16max |
| PARAM_VALUE | 0 | hw->phy.sfp_type | u16max |
| PARAM_VALUE | 0 | *hw->link.link_info.module_type | 0-255 |
| PARAM_VALUE | 1 | reg | 98,114,178 |
| BUF_SIZE | 0 | hw | (-1),2816 |
| BUF_SIZE | 0 | hw | (-1),2816 |
| DATA_SOURCE | 0 | hw | $0 |
| FUZZY_MAX | 1 | reg | 178 |
| BIT_INFO | 1 | reg | 0x22,0xf2 |
| HARD_MAX | 0 | hw->mac.max_rx_queues | 128 |
| HARD_MAX | 0 | hw->mac.max_tx_queues | 128 |
| HARD_MAX | 0 | hw->mac.num_rar_entries | 128 |
| HARD_MAX | 0 | hw->mac.rx_pb_size | 512 |
| HARD_MAX | 1 | reg | 178 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->bus.func | 0-255[c] |
| HOST_DATA | 0 | hw->bus.instance_id | 0-255[c] |
| HOST_DATA | 0 | hw->bus.lan_id | 0-255[c] |
| HOST_DATA | 0 | hw->device_id | 0-u16max |
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HOST_DATA | 0 | hw->mac.orig_autoc | 0-u32max |
| HOST_DATA | 0 | hw->mac.orig_autoc2 | 0-u32max |
| HOST_DATA | 0 | hw->phy.id | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.mmds | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.prtad | 0-u16max[c] |
| HOST_DATA | 0 | hw->phy.nw_mng_if_sel | 0-u32max |
| HOST_DATA | 0 | hw->phy.revision | 0-15 |
| HOST_DATA | 0 | hw->revision_id | 0-255 |
| HOST_DATA | 0 | hw->subsystem_device_id | 0-u16max |
| HOST_DATA | 0 | hw->subsystem_vendor_id | 0-u16max |
| HOST_DATA | 0 | hw->vendor_id | 0-u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c ixgbe_pcie_timeout_poll() -> ixgbe_read_pci_cfg_word()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hw | 4096-ptr_max |
| PARAM_VALUE | 0 | hw->adapter_stopped | 1 |
| PARAM_VALUE | 0 | hw->mac.max_rx_queues | 0-u16max |
| PARAM_VALUE | 0 | hw->mac.max_tx_queues | 0-u16max |
| PARAM_VALUE | 1 | reg | 200 |
| BUF_SIZE | 0 | hw->eeprom.ops.read | (-1),8 |
| CAPPED_DATA | 0 | hw->mac.max_rx_queues | 1 |
| CAPPED_DATA | 0 | hw->mac.max_tx_queues | 1 |
| DATA_SOURCE | 0 | hw | $0 |
| BIT_INFO | 0 | hw->mac.flags | 0x1,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | hw->bus.func | 0-255[c] |
| HOST_DATA | 0 | hw->bus.instance_id | 0-255[c] |
| HOST_DATA | 0 | hw->bus.lan_id | 0-255[c] |
| HOST_DATA | 0 | hw->eeprom.ctrl_word_3 | 0-u16max |
| HOST_DATA | 0 | hw->mac.orig_autoc | 0-u32max |
| HOST_DATA | 0 | hw->mac.orig_autoc2 | 0-u32max |
| HOST_DATA | 0 | hw->phy.id | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.mmds | 0-u32max |
| HOST_DATA | 0 | hw->phy.mdio.prtad | 0-u16max[c] |
| HOST_DATA | 0 | hw->phy.nw_mng_if_sel | 0-u32max |
| HOST_DATA | 0 | hw->phy.revision | 0-15 |