Defined in 2 files as a function:
- drivers/net/ethernet/intel/e1000/e1000_ethtool.c, line 1108 (as a function)
- drivers/net/ethernet/intel/e1000e/ethtool.c, line 1304 (as a function)
Referenced in 2 files:
- drivers/net/ethernet/intel/e1000/e1000_ethtool.c
- drivers/net/ethernet/intel/e1000e/ethtool.c, line 1433
Smatch caller information:
drivers/net/ethernet/intel/e1000e/ethtool.c e1000_integrated_phy_loopback() -> e1000_phy_disable_receiver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.fc.high_water | 0,8-65528 |
| PARAM_VALUE | 0 | adapter->hw.fc.low_water | 0-65520,4294967288 |
| PARAM_VALUE | 0 | adapter->hw.fc.pause_time | 1664,u16max |
| PARAM_VALUE | 0 | adapter->hw.fc.refresh_time | 4096,u16max |
| PARAM_VALUE | 0 | adapter->hw.fc.send_xon | 1 |
| PARAM_VALUE | 0 | adapter->hw.mac.autoneg | 0 |
| PARAM_VALUE | 0 | adapter->hw.mac.ops.init_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.mac.ops.reset_hw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.nvm.ops.read | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.phy.media_type | 1 |
| PARAM_VALUE | 0 | adapter->hw.phy.ops.read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.phy.ops.write_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.phy.type | 0-6,8-u32max |
| PARAM_VALUE | 0 | adapter->msix_entries | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->netdev->mctp_ptr->binding | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->num_vectors | 1,3 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | adapter->pdev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->rx_ring->adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->test_icr | 0 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.size | 0,4096-u32max |
| PARAM_VALUE | 0 | adapter->tx_fifo_limit | 928-24576 |
| PARAM_VALUE | 0 | adapter->tx_ring->adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | *adapter->hw->adapter->netdev->name | 0-255 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| CAPPED_DATA | 0 | adapter->netdev | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| FUZZY_MAX | 0 | adapter->hw.phy.type | 2 |
| BIT_INFO | 0 | adapter->flags | 0x0,0xffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->hw.bus.func | 0-u16max[c] |
| HOST_DATA | 0 | adapter->hw.dev_spec.ich8lan.eee_lp_ability | 0-u16max |
| HOST_DATA | 0 | adapter->hw.fc.high_water | 0,8-65528[c] |
| HOST_DATA | 0 | adapter->hw.fc.low_water | 0-65520,4294967288[c] |
| HOST_DATA | 0 | adapter->hw.mac.collision_delta | 0-u32max |
| HOST_DATA | 0 | adapter->hw.mac.ledctl_default | 0-u32max |
| HOST_DATA | 0 | adapter->hw.mac.ledctl_mode1 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.mac.ledctl_mode2 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.mac.tx_packet_delta | 0-u32max |
| HOST_DATA | 0 | adapter->hw.nvm.flash_bank_size | 0,1024-8388608,1065355264-1073740800[c] |
| HOST_DATA | 0 | adapter->hw.nvm.flash_base_addr | 0,4096-33550336[c] |
| HOST_DATA | 0 | adapter->hw.phy.addr | 0-31[c] |
| HOST_DATA | 0 | adapter->hw.phy.cable_length | 0-254,256-u16max[c] |
| HOST_DATA | 0 | adapter->hw.phy.id | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy.is_mdix | 0-1 |
| HOST_DATA | 0 | adapter->hw.phy.polarity_correction | 0-1 |
| HOST_DATA | 0 | adapter->hw.phy.revision | 0-15 |
| HOST_DATA | 0 | adapter->hw.phy.speed_downgraded | 0-1 |
| HOST_DATA | 0 | adapter->tc.cycle_last | 0-u64max |
| HOST_DATA | 0 | adapter->tx_fifo_limit | 928-24575[c] |
| NO_OVERFLOW_SIMPLE | 0 | adapter->num_vectors | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/intel/e1000/e1000_ethtool.c e1000_integrated_phy_loopback() -> e1000_phy_disable_receiver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.autoneg | 0 |
| PARAM_VALUE | 0 | adapter->hw.autoneg_failed | 0 |
| PARAM_VALUE | 0 | adapter->hw.current_ifs_val | 0 |
| PARAM_VALUE | 0 | adapter->hw.fc_high_water | 0,8-65528 |
| PARAM_VALUE | 0 | adapter->hw.fc_low_water | 0-65520,65528 |
| PARAM_VALUE | 0 | adapter->hw.fc_pause_time | u16max |
| PARAM_VALUE | 0 | adapter->hw.fc_send_xon | 1 |
| PARAM_VALUE | 0 | adapter->hw.ifs_max_val | 80 |
| PARAM_VALUE | 0 | adapter->hw.ifs_min_val | 40 |
| PARAM_VALUE | 0 | adapter->hw.ifs_ratio | 4 |
| PARAM_VALUE | 0 | adapter->hw.ifs_step_size | 10 |
| PARAM_VALUE | 0 | adapter->hw.in_ifs_mode | 0 |
| PARAM_VALUE | 0 | adapter->hw.mac_type | 1-14 |
| PARAM_VALUE | 0 | adapter->hw.media_type | 0-2 |
| PARAM_VALUE | 0 | adapter->hw.phy_type | 0 |
| PARAM_VALUE | 0 | adapter->hw.tbi_compatibility_en | 0 |
| PARAM_VALUE | 0 | adapter->hw.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adapter->phy_info.cable_polarity | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.downshift | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.extended_10bt_distance | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.mdix_mode | 0-s32max |
| PARAM_VALUE | 0 | adapter->phy_info.polarity_correction | 0-1,255 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.size | 0,4096-u32max |
| PARAM_VALUE | 0 | adapter->tx_fifo_head | 0 |
| PARAM_VALUE | 0 | adapter->tx_fifo_size | 0,10240,18432 |
| PARAM_VALUE | 0 | adapter->tx_fifo_stall.counter | 0 |
| PARAM_VALUE | 0 | adapter->tx_head_addr | 2816,3840,5120 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| DATA_SOURCE | 0 | adapter | $0 |
| FUZZY_MAX | 0 | adapter->hw.mac_type | 3 |
| BIT_INFO | 0 | adapter->msg_enable | 0x0,0xffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->hw.eeprom.word_size | 64[c] |
| HOST_DATA | 0 | adapter->hw.ledctl_default | 0-u32max |
| HOST_DATA | 0 | adapter->hw.ledctl_mode1 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.ledctl_mode2 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_addr | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_id | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_revision | 0-15 |
| HOST_DATA | 0 | adapter->phy_info.cable_length | 0-s32max[c] |
| HOST_DATA | 0 | adapter->phy_info.mdix_mode | 0-s32max[c] |
drivers/net/ethernet/intel/e1000/e1000_ethtool.c e1000_nonintegrated_phy_loopback() -> e1000_phy_disable_receiver()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->hw.autoneg_failed | 0 |
| PARAM_VALUE | 0 | adapter->hw.current_ifs_val | 0 |
| PARAM_VALUE | 0 | adapter->hw.fc_high_water | 0,8-65528 |
| PARAM_VALUE | 0 | adapter->hw.fc_low_water | 0-65520,65528 |
| PARAM_VALUE | 0 | adapter->hw.fc_pause_time | u16max |
| PARAM_VALUE | 0 | adapter->hw.fc_send_xon | 1 |
| PARAM_VALUE | 0 | adapter->hw.ifs_max_val | 80 |
| PARAM_VALUE | 0 | adapter->hw.ifs_min_val | 40 |
| PARAM_VALUE | 0 | adapter->hw.ifs_ratio | 4 |
| PARAM_VALUE | 0 | adapter->hw.ifs_step_size | 10 |
| PARAM_VALUE | 0 | adapter->hw.in_ifs_mode | 0 |
| PARAM_VALUE | 0 | adapter->hw.mac_type | 1-14 |
| PARAM_VALUE | 0 | adapter->hw.media_type | 0 |
| PARAM_VALUE | 0 | adapter->hw.tbi_compatibility_en | 0 |
| PARAM_VALUE | 0 | adapter->hw.txcw | 2147483680,2147483936,2147484064 |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_io_tlb_pools.next->prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | adapter->pdev->dev.iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | adapter->phy_info.cable_polarity | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.downshift | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.extended_10bt_distance | 0-1,255 |
| PARAM_VALUE | 0 | adapter->phy_info.mdix_mode | 0-s32max |
| PARAM_VALUE | 0 | adapter->phy_info.polarity_correction | 0-1,255 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_rx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.buffer_info | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.count | 1-u32max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.desc | 0-ptr_max |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_clean | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.next_to_use | 0 |
| PARAM_VALUE | 0 | adapter->test_tx_ring.size | 0,4096-u32max |
| PARAM_VALUE | 0 | adapter->tx_fifo_head | 0 |
| PARAM_VALUE | 0 | adapter->tx_fifo_size | 0,10240,18432 |
| PARAM_VALUE | 0 | adapter->tx_fifo_stall.counter | 0 |
| PARAM_VALUE | 0 | adapter->tx_head_addr | 2816,3840,5120 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0-255 |
| DATA_SOURCE | 0 | adapter | $0 |
| BIT_INFO | 0 | adapter->msg_enable | 0x0,0xffffffff |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | adapter->hw.eeprom.word_size | 64[c] |
| HOST_DATA | 0 | adapter->hw.ledctl_default | 0-u32max |
| HOST_DATA | 0 | adapter->hw.ledctl_mode1 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.ledctl_mode2 | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_addr | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_id | 0-u32max |
| HOST_DATA | 0 | adapter->hw.phy_revision | 0-15 |
| HOST_DATA | 0 | adapter->phy_info.cable_length | 0-s32max[c] |
| HOST_DATA | 0 | adapter->phy_info.mdix_mode | 0-s32max[c] |