Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/net/ethernet/broadcom/bnxt/bnxt.c bnxt_update_phy_setting() -> bnxt_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_info.autoneg | 2-255 |
| PARAM_VALUE | 0 | bp->port_partition_type | 0 |
| DATA_SOURCE | 0 | bp | $0 |
| BIT_INFO | 0 | bp->flags | 0x0,0xffeffffd |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_nway_reset() -> bnxt_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_info.autoneg | 1-255 |
| PARAM_VALUE | 0 | bp->link_info.phy_state | 0 |
| PARAM_VALUE | 0 | bp->phy_flags | 8-u32max |
| PARAM_VALUE | 1 | set_pause | 1 |
| PARAM_VALUE | 2 | set_eee | 0 |
| BIT_INFO | 0 | bp->flags | 0x0,0xfffffffd |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_eee() -> bnxt_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_info.autoneg | 1-255 |
| PARAM_VALUE | 0 | bp->link_info.phy_state | 0 |
| 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.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->phy_flags | 8-u32max |
| PARAM_VALUE | 1 | set_pause | 0 |
| PARAM_VALUE | 2 | set_eee | 1 |
| CAPPED_DATA | 0 | &bp->link_lock | 1 |
| BIT_INFO | 0 | bp->flags | 0x0,0xfffffffd |
| BIT_INFO | 0 | bp->phy_flags | 0x1,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bp->link_lock | |
| TYPE_LOCK | (struct bnxt)->link_lock |
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c bnxt_set_link_ksettings() -> bnxt_hwrm_set_link_setting()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bp | 4096-ptr_max |
| PARAM_VALUE | 0 | bp->link_info.advertising | 0-u16max |
| PARAM_VALUE | 0 | bp->link_info.advertising_pam4 | 0-u16max |
| PARAM_VALUE | 0 | bp->link_info.autoneg | 0-255 |
| PARAM_VALUE | 0 | bp->link_info.media_type | 0,2-255 |
| PARAM_VALUE | 0 | bp->link_info.phy_state | 0 |
| PARAM_VALUE | 0 | bp->link_info.req_duplex | 1 |
| PARAM_VALUE | 0 | bp->link_info.req_link_speed | 1,10,25,100,200,250,400,500-501,1000-1002,2000-2002,4001-4002 |
| PARAM_VALUE | 0 | bp->link_info.req_signal_mode | 0-2 |
| 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.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->phy_flags | 8-u32max |
| PARAM_VALUE | 2 | set_eee | 0 |
| CAPPED_DATA | 0 | &bp->link_lock | 1 |
| BIT_INFO | 0 | bp->flags | 0x0,0xfffffffd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &bp->link_lock | |
| TYPE_LOCK | (struct bnxt)->link_lock |