Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt.c
- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c, line 3385
Smatch caller information:
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_get_port_module_status() -> bnxt_update_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chng_link_state | 1 |
| DATA_SOURCE | 0 | bp | $0 |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_probe_phy() -> bnxt_update_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,744 |
| PARAM_VALUE | 0 | bp->fw_health->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->fw_health->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bp->fw_health->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->fw_health->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | bp->fw_health->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu_group->default_domain | 0-s64max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->size | 0-s32max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->link_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | bp->phy_flags | 0-16777215 |
| PARAM_VALUE | 0 | *bp->dev->name | 0-255 |
| PARAM_VALUE | 0 | *bp->fw_ver_str | 0-255 |
| PARAM_VALUE | 0 | *bp->hwrm_ver_supp | 0-255 |
| PARAM_VALUE | 0 | *bp->nvm_cfg_ver | 0-255 |
| PARAM_VALUE | 1 | chng_link_state | 0 |
| CAPPED_DATA | 0 | bp->hwrm_dma_pool->size | 1 |
| CAPPED_DATA | 0 | &bp->link_lock | 1 |
| DATA_SOURCE | 0 | bp | $0 |
| FUZZY_MAX | 0 | bp->phy_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bp->link_lock | |
| TYPE_LOCK | (struct bnxt)->link_lock |
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_update_phy_setting() -> bnxt_update_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | chng_link_state | 1 |
| DATA_SOURCE | 0 | bp | $0 |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_fecparam() -> bnxt_update_link()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp->dev->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->next_block->next_block | 0 |
| PARAM_VALUE | 0 | bp->hwrm_dma_pool->size | 0-s32max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list->first->pprev | 1-u64max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->hwrm_pending_list.first->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bp->link_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bp->link_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | bp->link_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | bp->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bp->pdev->dev.dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *bp->dev->name | 0 |
| PARAM_VALUE | 1 | chng_link_state | 0 |
| CAPPED_DATA | 0 | bp->hwrm_dma_pool->size | 1 |
| CAPPED_DATA | 0 | &bp->link_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &bp->link_lock | |
| TYPE_LOCK | (struct bnxt)->link_lock |