Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/ethernet/broadcom/tg3.c tg3_read_otp_phycfg() -> tg3_issue_otp_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088,16814104,16832536 |
| 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->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.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | tp->pdev->dev.pins->p | 0-s64max |
| 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->phy_flags | 0,16-u32max |
| 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->rss_ind_tbl | 0-255 |
| PARAM_VALUE | 1 | cmd | 8 |
| 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->grc_local_ctrl | 16777224 |
| FUZZY_MAX | 0 | tp->irq_max | 5 |
| 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->grc_local_ctrl | 0x1000008,0x100d858 |
| BIT_INFO | 0 | tp->irq_max | 0x1,0xffffffffffffffff |
| 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->rxq_max | 4 |
| HARD_MAX | 0 | tp->txq_max | 4 |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max[c] |
| 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_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0 |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |
drivers/net/ethernet/broadcom/tg3.c tg3_read_otp_phycfg() -> tg3_issue_otp_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088,16814104,16832536 |
| 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->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.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | tp->pdev->dev.pins->p | 0-s64max |
| 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->phy_flags | 0,16-u32max |
| 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->rss_ind_tbl | 0-255 |
| PARAM_VALUE | 1 | cmd | 0 |
| 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->grc_local_ctrl | 16777224 |
| FUZZY_MAX | 0 | tp->irq_max | 5 |
| 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->grc_local_ctrl | 0x1000008,0xffffffffffffffff |
| BIT_INFO | 0 | tp->irq_max | 0x1,0xffffffffffffffff |
| 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->rxq_max | 4 |
| HARD_MAX | 0 | tp->txq_max | 4 |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max[c] |
| 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_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0 |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |
drivers/net/ethernet/broadcom/tg3.c tg3_read_otp_phycfg() -> tg3_issue_otp_command()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tp | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | tp->grc_local_ctrl | 16777224,16777240,16777288,16777304,16795672,16795736,16814088,16814104,16832536 |
| 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->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.dma_mem->pfn_base | 0-s64max |
| PARAM_VALUE | 0 | tp->pdev->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 0 | tp->pdev->dev.pins->p | 0-s64max |
| 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->phy_flags | 0,16-u32max |
| 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->rss_ind_tbl | 0-255 |
| PARAM_VALUE | 1 | cmd | 0 |
| 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->grc_local_ctrl | 16777224 |
| FUZZY_MAX | 0 | tp->irq_max | 5 |
| 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->grc_local_ctrl | 0x1000008,0xffffffffffffffff |
| BIT_INFO | 0 | tp->irq_max | 0x1,0xffffffffffffffff |
| 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->rxq_max | 4 |
| HARD_MAX | 0 | tp->txq_max | 4 |
| HOST_DATA | 0 | tp->misc_host_ctrl | 0-u32max[c] |
| 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_fn | 0-3 |
| HOST_DATA | 0 | tp->pci_lat_timer | 0 |
| HOST_DATA | 0 | tp->phy_id | 0-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | tp->txq_req |