Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/broadcom/bnge/bnge_ethtool.c, line 33
- drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c, line 1159
- drivers/net/ethernet/broadcom/bnge/bnge_link.c
Smatch caller information:
drivers/net/ethernet/broadcom/bnge/bnge_link.c bnge_set_link_ksettings() -> bnge_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bn | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_enabled | 1 |
| PARAM_VALUE | 0 | bn->bd->link_info.support_speeds2 | 32-u16max |
| PARAM_VALUE | 0 | bn->eth_link_info.advertising | 0-u16max |
| PARAM_VALUE | 0 | bn->eth_link_info.autoneg | 0-255 |
| PARAM_VALUE | 0 | bn->eth_link_info.req_duplex | 1 |
| PARAM_VALUE | 0 | bn->eth_link_info.req_link_speed | 501,1000-1002,2001-2002,4001-4002,8002 |
| PARAM_VALUE | 0 | bn->eth_link_info.req_signal_mode | 0-2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/ethernet/broadcom/bnge/bnge_link.c bnge_update_phy_setting() -> bnge_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bn | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hw_resc.max_irqs | 1 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->size | 0-s32max |
| PARAM_VALUE | 0 | bn->bd->link_info.link_state | 0-2 |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_addr | 0-31 |
| PARAM_VALUE | 0 | bn->netdev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | bn->netdev->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-s64max |
| PARAM_VALUE | 0 | *bn->bd->netdev->name | 0-255 |
| CAPPED_DATA | 0 | bn->bd->hwrm_dma_pool->size | 1 |
| DATA_SOURCE | 0 | bn | $0 |
| FUZZY_MAX | 0 | bn->bd->link_info.link_state | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bn->max_tpa | |
| NO_OVERFLOW_SIMPLE | 0 | bn->netdev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | bn->nr_vnics | |
| HALF_LOCKED2 | 0 | &bn->netdev->lock |
drivers/net/ethernet/broadcom/bnge/bnge_ethtool.c bnge_nway_reset() -> bnge_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bn | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_enabled | 1 |
| PARAM_VALUE | 0 | bn->eth_link_info.autoneg | 1-255 |
| BIT_INFO | 0 | bn->eth_link_info.autoneg | 0x1,0xff |
drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c bnge_update_link() -> bnge_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bn | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd | 4096-ptr_max |
| PARAM_VALUE | 0 | bn->bd->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hw_resc.max_irqs | 1 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | bn->bd->hwrm_cmd_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->alloc_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->dma_mem->spinlock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->dma_uses_io_tlb | 1 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->dev->iommu->pci_32bit_workaround | 0-1 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bn->bd->hwrm_dma_pool->size | 0-s32max |
| PARAM_VALUE | 0 | bn->bd->link_info.link_state | 0-2 |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_addr | 0-31 |
| PARAM_VALUE | 0 | bn->bd->link_info.phy_enabled | 1 |
| PARAM_VALUE | 0 | bn->bd->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | bn->eth_link_info.autoneg | 1-255 |
| PARAM_VALUE | 0 | bn->netdev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | *bn->bd->netdev->name | 0-255 |
| PARAM_VALUE | 1 | set_pause | 1 |
| BUF_SIZE | 0 | bn->bnge_pf_wq | (-1),512,528-8720 |
| CAPPED_DATA | 0 | bn->bd->dev->cma_area->nranges | 1 |
| DATA_SOURCE | 0 | bn | $0 |
| BIT_INFO | 0 | bn->eth_link_info.autoneg | 0x1,0xff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | bn->bd->aux_num_msix | 0-65534[c] |
| HOST_DATA | 0 | bn->bd->aux_num_stat_ctxs | 0-65534[c] |
| HOST_DATA | 0 | bn->bd->dsn | 0[c] |
| HOST_DATA | 0 | bn->bd->hw_resc.max_irqs | 1[c] |
| HOST_DATA | 0 | bn->bd->irqs_acquired | 0-1[c] |
| HOST_DATA | 0 | bn->bd->nq_nr_rings | 0-u16max[c] |
| HOST_DATA | 0 | bn->bd->rx_nr_rings | 0-65534[c] |
| HOST_DATA | 0 | bn->bd->tx_nr_rings | 0-u16max[c] |
| HOST_DATA | 0 | bn->bd->tx_nr_rings_per_tc | 0-u16max[c] |
| NO_OVERFLOW_SIMPLE | 0 | bn->max_tpa | |
| NO_OVERFLOW_SIMPLE | 0 | bn->nr_vnics | |
| HALF_LOCKED2 | 0 | &bn->netdev->lock |