Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/tg3.c tg3_ape_otp_read() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->coalesce_mode | 0,4,256,260,1536,1540,1792,1796 |
| PARAM_VALUE | 0 | tp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->fw_ver | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088,16814104,16832536 |
| PARAM_VALUE | 0 | tp->indirect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tp->irq_max | 1,5 |
| PARAM_VALUE | 0 | tp->led_ctrl | 0,2048,4096,8192,16384,22528,32768,38912,4294459392,4294465536 |
| PARAM_VALUE | 0 | tp->link_config.flowctrl | 3 |
| PARAM_VALUE | 0 | tp->mac_mode | 0,402653184 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.iommu_group->owner_cnt | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.p->dead | 0-1 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.p->deferred_probe_reason | 0-s64max |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mi_mode | 32768,786432 |
| PARAM_VALUE | 0 | tp->pci_cacheline_sz | 0 |
| PARAM_VALUE | 0 | tp->pci_chip_rev_id | 0,24576,91357184 |
| PARAM_VALUE | 0 | tp->pci_fn | 0-3 |
| PARAM_VALUE | 0 | tp->pci_lat_timer | 0,64 |
| PARAM_VALUE | 0 | tp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->dev.power.can_wakeup | 0 |
| PARAM_VALUE | 0 | tp->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | tp->pdev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->list.next | 5159360019465732096 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->magic | 5159360019465732096 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | tp->pdev->vpd.lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | tp->phy_addr | 1-4,8-11 |
| PARAM_VALUE | 0 | tp->phy_ape_lock | 0,2-3,5 |
| PARAM_VALUE | 0 | tp->read32 | 1216937620103520256,2489982986019102720 |
| PARAM_VALUE | 0 | tp->read32_mbox | 2489982986019102720,7021099766523826176,8518814924201345024 |
| PARAM_VALUE | 0 | tp->rxq_max | 1,4 |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->txq_max | 1,4 |
| PARAM_VALUE | 0 | tp->write32 | 3795986232817577984,5570900786065760256,5800413500114239488 |
| PARAM_VALUE | 0 | tp->write32_mbox | 5247979688867033088,5800413500114239488,5954758288140963840 |
| PARAM_VALUE | 0 | tp->write32_rx_mbox | 3795986232817577984,5247979688867033088,5800413500114239488,5954758288140963840 |
| PARAM_VALUE | 0 | tp->write32_tx_mbox | 3795986232817577984,5247979688867033088,5800413500114239488,5954758288140963840,6007303207976484864 |
| PARAM_VALUE | 0 | *tp->board_part_number | 0-255 |
| PARAM_VALUE | 0 | *tp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *tp->rss_ind_tbl | 0-255 |
| BUF_SIZE | 0 | tp->fw_needed | (-1)-0,14,18-19 |
| CAPPED_DATA | 0 | tp->pdev | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| FUZZY_MAX | 0 | tp->coalesce_mode | 0 |
| FUZZY_MAX | 0 | tp->grc_local_ctrl | 16777224 |
| FUZZY_MAX | 0 | tp->irq_max | 5 |
| FUZZY_MAX | 0 | tp->mac_mode | 402653184 |
| FUZZY_MAX | 0 | tp->pci_chip_rev_id | 91357184 |
| FUZZY_MAX | 0 | tp->pci_lat_timer | 64 |
| FUZZY_MAX | 0 | tp->rxq_max | 4 |
| FUZZY_MAX | 0 | tp->txq_max | 4 |
| STR_LEN | 0 | tp->fw_needed | (-1),13,17-18 |
| BIT_INFO | 0 | tp->coalesce_mode | 0x0,0x704 |
| BIT_INFO | 0 | tp->grc_local_ctrl | 0x1000008,0xffffffffffffffff |
| BIT_INFO | 0 | tp->grc_mode | 0x34,0xffffffffffffffff |
| BIT_INFO | 0 | tp->irq_max | 0x1,0xffffffffffffffff |
| BIT_INFO | 0 | tp->mac_mode | 0x0,0x18000000 |
| BIT_INFO | 0 | tp->pci_chip_rev_id | 0x0,0x57ffffff |
| BIT_INFO | 0 | tp->pci_lat_timer | 0x0,0x40 |
| BIT_INFO | 0 | tp->read32 | 0x82225140046000,0xffffffffffffffff |
| BIT_INFO | 0 | tp->read32_mbox | 0x2008200140010000,0xffffffffffffffff |
| BIT_INFO | 0 | tp->rxq_max | 0x0,0x5 |
| BIT_INFO | 0 | tp->txq_max | 0x0,0x5 |
| BIT_INFO | 0 | tp->write32 | 0xe001880000000,0xffffffffffffffff |
| BIT_INFO | 0 | tp->write32_mbox | 0x4000011800200000,0xffffffffffffffff |
| BIT_INFO | 0 | tp->write32_rx_mbox | 0x11800000000,0xffffffffffffffff |
| BIT_INFO | 0 | tp->write32_tx_mbox | 0x1000000000,0xffffffffffffffff |
| HARD_MAX | 0 | tp->irq_max | 5 |
| HARD_MAX | 0 | tp->mac_mode | 402653184 |
| HARD_MAX | 0 | tp->rxq_max | 4 |
| HARD_MAX | 0 | tp->txq_max | 4 |
| HOST_DATA | 0 | tp->eee.tx_lpi_timer | 2047 |
| HOST_DATA | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088 |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max |
| HOST_DATA | 0 | tp->nic_sram_data_cfg | 0-u32max |
| HOST_DATA | 0 | tp->nvram_size | 0-u32max |
| HOST_DATA | 0 | tp->pci_cacheline_sz | 0 |
| HOST_DATA | 0 | tp->pci_chip_rev_id | 0[c] |
| HOST_DATA | 0 | tp->pci_clock_ctrl | 0-6291487,2147483648-u32max[c] |
| HOST_DATA | 0 | tp->pci_cmd | 0 |
| HOST_DATA | 0 | tp->pci_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0,64 |
| HOST_DATA | 0 | tp->pdev_peer->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->phy_addr | 1-4,8-11[c] |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| HOST_DATA | 0 | tp->phy_otp | 1-u32max[c] |
| HOST_DATA | 0 | tp->rxq_cnt | 2-2147483645[c] |
| HOST_DATA | 0 | tp->tx_mode | 0-12583186[c] |
| HOST_DATA | 0 | tp->txq_cnt | 2-2147483645[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |
drivers/net/ethernet/broadcom/tg3.c tg3_chip_reset() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563,595,597,1553,1587,1681,132625,135697,657041,677393,2029107,2097665,2300433,2300595,3653155,12583935,12584499,13239859,117440512,536872499,s32max |
| PARAM_VALUE | 0 | tp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3544,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | tp->irq_max | 0-s32max |
| PARAM_VALUE | 0 | tp->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->dev.msi.data->__iter_idx | 0-s64max |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | *tp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *tp->pdev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | tp->irq_max | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| NOSPEC | 0 | tp->rxq_cnt | |
| NOSPEC | 0 | tp->txq_cnt | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | tp->eee.tx_lpi_timer | 0-u16max |
| HOST_DATA | 0 | tp->grc_local_ctrl | 0-u32max |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max |
| HOST_DATA | 0 | tp->nic_sram_data_cfg | 0-u32max |
| HOST_DATA | 0 | tp->pci_cacheline_sz | 0 |
| HOST_DATA | 0 | tp->pci_chip_rev_id | 0[c] |
| HOST_DATA | 0 | tp->pci_clock_ctrl | 0-6291487,2147483648-u32max[c] |
| HOST_DATA | 0 | tp->pci_cmd | 0 |
| HOST_DATA | 0 | tp->pci_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0,64 |
| HOST_DATA | 0 | tp->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | tp->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | tp->pdev->class | 0-16777215 |
| HOST_DATA | 0 | tp->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | tp->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | tp->pdev->device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | tp->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | tp->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->physfn->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->physfn->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->pin | 0 |
| HOST_DATA | 0 | tp->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | tp->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->revision | 0-255 |
| HOST_DATA | 0 | tp->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | tp->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | tp->pdev->transparent | 0[c] |
| HOST_DATA | 0 | tp->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | tp->phy_otp | 1-u32max[c] |
| HOST_DATA | 0 | tp->rxq_cnt | 2-2147483645[c] |
| HOST_DATA | 0 | tp->tx_mode | 0-12583170[c] |
| HOST_DATA | 0 | tp->txq_cnt | 2-2147483645[c] |
| USER_DATA | 0 | tp->rx_jumbo_pending | 0 |
| USER_DATA | 0 | tp->rx_pending | 0 |
| USER_DATA | 0 | tp->rxq_cnt | 2-2147483645[c] |
| USER_DATA | 0 | tp->txq_cnt | 2-2147483645[c] |
| USER_DATA | 0 | tp->txq_req | 0 |
| LOCK2 | bh | ||
| LOCK2 | 0 | &tp->lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &tp->dev->lock | |
| TYPE_LOCK | (struct tg3)->lock |
drivers/net/ethernet/broadcom/tg3.c tg3_get_device_address() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->dev.of_node | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
drivers/net/ethernet/broadcom/tg3.c tg3_load_firmware_cpu() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | tp->fw | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |
drivers/net/ethernet/broadcom/tg3.c tg3_nvram_init() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->indirect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
drivers/net/ethernet/broadcom/tg3.c tg3_nvram_read() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,744,1056,1128,1336,1616,2176,2240,2272,2560,3296,3552,3720,9688-u64max |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.kobj.parent->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | tp->mdio_bus->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | *tp->pdev->saved_config_space | 0-4294967295 |
| BUF_SIZE | 0 | tp->fw_needed | (-1)-0,14,18-19 |
| BUF_SIZE | 0 | tp->pdev | (-1),1-s32max |
| DATA_SOURCE | 0 | tp | $0 |
| STR_LEN | 0 | tp->fw_needed | (-1),13,17-18 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tp->eee.tx_lpi_timer | 2047 |
| HOST_DATA | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088 |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max |
| HOST_DATA | 0 | tp->nic_sram_data_cfg | 0-u32max |
| HOST_DATA | 0 | tp->nvram_size | 0-u32max |
| HOST_DATA | 0 | tp->pci_cacheline_sz | 0 |
| HOST_DATA | 0 | tp->pci_chip_rev_id | 0[c] |
| HOST_DATA | 0 | tp->pci_clock_ctrl | 0-6291487,2147483648-u32max[c] |
| HOST_DATA | 0 | tp->pci_cmd | 0 |
| HOST_DATA | 0 | tp->pci_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0,64 |
| HOST_DATA | 0 | tp->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->pdev_peer->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->phy_addr | 1-4,8-11[c] |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| HOST_DATA | 0 | tp->phy_otp | 1-u32max[c] |
| HOST_DATA | 0 | tp->rxq_cnt | 2-2147483645[c] |
| HOST_DATA | 0 | tp->tx_mode | 0-12583186[c] |
| HOST_DATA | 0 | tp->txq_cnt | 2-2147483645[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |
drivers/net/ethernet/broadcom/tg3.c tg3_nvram_write_block() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| DATA_SOURCE | 0 | tp | $0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/tg3.c tg3_power_down_prepare() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | tp->indirect_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | tp->pdev->dev.power.can_wakeup | 1 |
| PARAM_VALUE | 0 | tp->pdev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | *tp->pdev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | tp->pdev | 1 |
| DATA_SOURCE | 0 | tp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | tp->grc_local_ctrl | 0-u32max |
| HOST_DATA | 0 | tp->pci_chip_rev_id | 0[c] |
| HOST_DATA | 0 | tp->pci_clock_ctrl | 0-6291487,2147483648-u32max[c] |
| HOST_DATA | 0 | tp->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | tp->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | tp->pdev->class | 0-16777215 |
| HOST_DATA | 0 | tp->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | tp->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | tp->pdev->device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | tp->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | tp->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->physfn->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->physfn->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->pin | 0 |
| HOST_DATA | 0 | tp->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | tp->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->revision | 0-255 |
| HOST_DATA | 0 | tp->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | tp->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | tp->pdev->transparent | 0[c] |
| HOST_DATA | 0 | tp->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| HOST_DATA | 0 | tp->phy_otp | 1-u32max[c] |
| HOST_DATA | 0 | tp->rxq_cnt | 2-2147483645[c] |
| HOST_DATA | 0 | tp->tx_mode | 0-12583186[c] |
| HOST_DATA | 0 | tp->txq_cnt | 2-2147483645[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req | |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/broadcom/tg3.c tg3_self_test() -> tg3_nvram_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->dev_addr | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 0 | tp->hw_stats | 0,4096-ptr_max |
| PARAM_VALUE | 0 | tp->hw_stats->COS_rx_filter_dropped.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->__reserved1 | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->__reserved2 | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->__reserved3 | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_read_prioq_full.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_read_prioq_full.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_readq_full.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_readq_full.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_write_prioq_full.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_write_prioq_full.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_writeq_full.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->dma_writeq_full.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->mbuf_lwm_thresh_hit.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->mbuf_lwm_thresh_hit.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_avoided_irqs.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_avoided_irqs.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_irqs.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_irqs.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_tx_threshold_hit.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->nic_tx_threshold_hit.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->ring_status_update.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->ring_status_update.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_align_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_align_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_bcast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_bcast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_discards.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_discards.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_fcs_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_fcs_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_fragments.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_fragments.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_in_length_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_in_length_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_jabbers.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_jabbers.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_mac_ctrl_rcvd.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_mac_ctrl_rcvd.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_mcast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_mcast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_octets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_octets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_out_length_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_out_length_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_threshold_hit.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_threshold_hit.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_ucast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_ucast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_undersize_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_undersize_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xoff_entered.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xoff_entered.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xoff_pause_rcvd.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xoff_pause_rcvd.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xon_pause_rcvd.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rx_xon_pause_rcvd.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rxbds_empty.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->rxbds_empty.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_bcast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_bcast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_10times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_10times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_11times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_11times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_12times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_12times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_13times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_13times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_14times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_14times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_15times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_15times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_2times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_2times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_3times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_3times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_4times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_4times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_5times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_5times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_6times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_6times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_7times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_7times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_8times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_8times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_9times.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collide_9times.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collisions.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_collisions.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_comp_queue_full.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_comp_queue_full.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_deferred.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_deferred.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_discards.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_discards.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_flow_control.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_flow_control.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_late_collisions.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_late_collisions.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mac_errors.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mac_errors.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mcast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mcast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mult_collisions.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_mult_collisions.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_octets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_octets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_single_collisions.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_single_collisions.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_ucast_packets.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_ucast_packets.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_xoff_sent.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_xoff_sent.low | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_xon_sent.high | 0 |
| PARAM_VALUE | 0 | tp->hw_stats->tx_xon_sent.low | 0 |
| PARAM_VALUE | 0 | tp->irq_cnt | 0-s32max |
| PARAM_VALUE | 0 | tp->irq_max | 0-s32max |
| PARAM_VALUE | 0 | tp->irq_sync | 1 |
| PARAM_VALUE | 0 | tp->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | tp->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->pdev->is_virtfn | 0 |
| PARAM_VALUE | 0 | tp->tg3_flags | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->write32 | 4096-ptr_max |
| PARAM_VALUE | 0 | *tp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *tp->pdev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | tp->irq_cnt | 1 |
| CAPPED_DATA | 0 | tp->irq_max | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| HOST_DATA | 0 | tp->pdev->acs_capabilities | 0-u16max |
| HOST_DATA | 0 | tp->pdev->bus->bridge_ctl | 0-u16max |
| HOST_DATA | 0 | tp->pdev->class | 0-16777215 |
| HOST_DATA | 0 | tp->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | tp->pdev->devcap | 0-u32max |
| HOST_DATA | 0 | tp->pdev->devfn | 0-503[c] |
| HOST_DATA | 0 | tp->pdev->device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->eetlp_prefix_max | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->hdr_type | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->ide_cfg | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->ide_tee_limit | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->is_cxl | 0-1 |
| HOST_DATA | 0 | tp->pdev->multifunction | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->nr_ide_mem | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | tp->pdev->pcie_mpss | 0-7[c] |
| HOST_DATA | 0 | tp->pdev->physfn->fm_enabled | 0-1[c] |
| HOST_DATA | 0 | tp->pdev->physfn->irq | 0-255 |
| HOST_DATA | 0 | tp->pdev->pin | 0 |
| HOST_DATA | 0 | tp->pdev->pme_support | 0-31[c] |
| HOST_DATA | 0 | tp->pdev->ptm_granularity | 0-255[c] |
| HOST_DATA | 0 | tp->pdev->revision | 0-255 |
| HOST_DATA | 0 | tp->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | tp->pdev->sriov->stride | 0 |
| HOST_DATA | 0 | tp->pdev->subsystem_device | 0-u16max |
| HOST_DATA | 0 | tp->pdev->subsystem_vendor | 0-u16max |
| HOST_DATA | 0 | tp->pdev->supported_speeds | 0,2-254[c] |
| HOST_DATA | 0 | tp->pdev->transparent | 0[c] |
| HOST_DATA | 0 | tp->pdev->vendor | 0-u16max |
| HOST_DATA | 0 | tp->tx_mode | 0-12583170[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req | |
| LOCK2 | bh | ||
| LOCK2 | 0 | &tp->lock | |
| TYPE_LOCK | (struct tg3)->lock |