Defined in 2 files as a function:
- drivers/net/ethernet/sfc/mcdi_port_common.c, line 743 (as a function)
- drivers/net/ethernet/sfc/siena/mcdi_port_common.c, line 760 (as a function)
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_phy_run_tests() -> efx_mcdi_bist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.proxy_rx_status | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_data_len | 0-u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.resprc | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-5)-(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_base_stats | 390,1272074189207728128,2310659240575979520,3484279091734085632 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_rx | 3221,485067181482946560,1764581006800400384,1948947940552581120 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_tx | 5107,212433142900785152,1629491074046078976,1747042592724492288 |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->initial_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->vf_device | 0-u16max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4085251898140250112,6015777839465930752 |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | bist_mode | 5 |
| BUF_SIZE | 2 | results | 80 |
| BUF_SIZE | 2 | results | 80 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | results | $1 |
| BIT_INFO | 0 | efx->msg_enable | 0x0,0xffffffff |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/siena/mcdi_port_common.c efx_siena_mcdi_phy_run_tests() -> efx_mcdi_bist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_base_stats | 390,1272074189207728128,2310659240575979520,3484279091734085632 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_rx | 3221,485067181482946560,1764581006800400384,1948947940552581120 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_tx | 5107,212433142900785152,1629491074046078976,1747042592724492288 |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->initial_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->vf_device | 0-u16max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4085251898140250112,6015777839465930752 |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | bist_mode | 1-2 |
| BUF_SIZE | 2 | results | (-1),80 |
| BUF_SIZE | 2 | results | (-1),80 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | results | $1 |
| FUZZY_MAX | 1 | bist_mode | 2 |
| BIT_INFO | 0 | efx->msg_enable | 0x0,0xffffffff |
| HARD_MAX | 1 | bist_mode | 2 |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_run_tests() -> efx_mcdi_bist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.proxy_rx_status | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_data_len | 0-u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.resprc | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-5)-(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_base_stats | 390,1272074189207728128,2310659240575979520,3484279091734085632 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_rx | 3221,485067181482946560,1764581006800400384,1948947940552581120 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_tx | 5107,212433142900785152,1629491074046078976,1747042592724492288 |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->initial_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->vf_device | 0-u16max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4085251898140250112,6015777839465930752 |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | bist_mode | 5 |
| BUF_SIZE | 2 | results | 80 |
| BUF_SIZE | 2 | results | 80 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | results | $1 |
| BIT_INFO | 0 | efx->msg_enable | 0x0,0xffffffff |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |
drivers/net/ethernet/sfc/mcdi_port_common.c efx_mcdi_phy_run_tests() -> efx_mcdi_bist()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | efx | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->biu_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->last_irq_cpu | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->mac_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | efx->mac_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | efx->mac_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.proxy_rx_status | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->mcdi->iface.resp_data_len | 0-u32max |
| PARAM_VALUE | 0 | efx->mcdi->iface.resprc | (-114),(-105),(-98),(-95),(-71),(-62),(-38),(-35),(-28),(-22),(-16),(-13),(-11),(-5)-(-4),(-2)-0 |
| PARAM_VALUE | 0 | efx->net_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_base_stats | 390,1272074189207728128,2310659240575979520,3484279091734085632 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_rx | 3221,485067181482946560,1764581006800400384,1948947940552581120 |
| PARAM_VALUE | 0 | efx->net_dev->stat_ops->get_queue_stats_tx | 5107,212433142900785152,1629491074046078976,1747042592724492288 |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->driver_max_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->initial_VFs | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | efx->pci_dev->sriov->vf_device | 0-u16max |
| PARAM_VALUE | 0 | efx->phy_data | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->reset_work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->selftest_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | efx->type | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->irq_test_generate | 4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->probe_port | 0,4096-ptr_max |
| PARAM_VALUE | 0 | efx->type->test_chip | 0,4085251898140250112,6015777839465930752 |
| PARAM_VALUE | 0 | efx->type->test_nvram | 0,4096-ptr_max |
| PARAM_VALUE | 0 | *efx->net_dev->name | 0-255 |
| PARAM_VALUE | 1 | bist_mode | 1-2 |
| BUF_SIZE | 2 | results | (-1),80 |
| BUF_SIZE | 2 | results | (-1),80 |
| DATA_SOURCE | 0 | efx | $0 |
| DATA_SOURCE | 2 | results | $1 |
| FUZZY_MAX | 1 | bist_mode | 2 |
| BIT_INFO | 0 | efx->msg_enable | 0x0,0xffffffff |
| HARD_MAX | 1 | bist_mode | 2 |
| LOCK2 | 0 | &efx->mac_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct efx_nic)->mac_lock |