Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c, line 249
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_common.c, line 85
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c, line 196
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_82xx_store_beacon() -> qlcnic_config_led()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->beacon_state | 1-255 |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->get_beacon_state | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->device | 32800 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0 |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | rate | 15 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_led() -> (struct qlcnic_nic_template)->config_led()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->diag_test | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->linkup | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->loopback_state | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->drv_sds_rings | 0-255 |
| PARAM_VALUE | 0 | adapter->fhash.fbucket_size | 0-u16max |
| PARAM_VALUE | 0 | adapter->fhash.fmax | 0-u16max |
| PARAM_VALUE | 0 | adapter->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->irq | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->is_up | 0-u16max |
| PARAM_VALUE | 0 | adapter->netdev->threaded | 0-255 |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->block_cfg_access | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->device | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->state_saved | 0-1 |
| PARAM_VALUE | 0 | adapter->recv_ctx->state | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fbucket_size | 0-u16max |
| PARAM_VALUE | 0 | adapter->rx_fhash.fmax | 0-u16max |
| PARAM_VALUE | 0 | adapter->rx_mac_learn | 0-1 |
| PARAM_VALUE | 1 | state | 1 |
| PARAM_VALUE | 2 | rate | 15 |
| CONTAINER | 0 | -8-656+0 | $(-1) |
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | adapter->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | adapter->pdev->sriov->stride | 0 |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c qlcnic_set_led() -> (struct qlcnic_nic_template)->config_led()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->diag_test | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->linkup | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->loopback_state | 0-255 |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->drv_sds_rings | 0-255 |
| PARAM_VALUE | 0 | adapter->fhash.fbucket_size | 0-u16max |
| PARAM_VALUE | 0 | adapter->fhash.fmax | 0-u16max |
| PARAM_VALUE | 0 | adapter->flags | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->irq | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->is_up | 0-u16max |
| PARAM_VALUE | 0 | adapter->netdev->threaded | 0-255 |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->block_cfg_access | 0-1 |
| PARAM_VALUE | 0 | adapter->pdev->device | 0-u16max |
| PARAM_VALUE | 0 | adapter->pdev->state_saved | 0-1 |
| PARAM_VALUE | 0 | adapter->recv_ctx->state | 0-4294967295 |
| PARAM_VALUE | 0 | adapter->rx_fhash.fbucket_size | 0-u16max |
| PARAM_VALUE | 0 | adapter->rx_fhash.fmax | 0-u16max |
| PARAM_VALUE | 0 | adapter->rx_mac_learn | 0-1 |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | rate | 15 |
| CONTAINER | 0 | -8-656+0 | $(-1) |
| HOST_DATA | 0 | adapter->pdev->current_state | 0-3[c] |
| HOST_DATA | 0 | adapter->pdev->sriov->offset | 0 |
| HOST_DATA | 0 | adapter->pdev->sriov->stride | 0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_config_led() -> (struct qlcnic_nic_template)->config_led()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->beacon_state | 1-255 |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->get_beacon_state | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->op_mode | 0-1,3-u16max |
| PARAM_VALUE | 0 | adapter->nic_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->device | 32800 |
| PARAM_VALUE | 0 | *adapter->netdev->name | 0 |
| PARAM_VALUE | 1 | state | 0 |
| PARAM_VALUE | 2 | rate | 15 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | adapter | $0 |
| DATA_SOURCE | 1 | state | $1 |
| DATA_SOURCE | 2 | rate | $2 |
| CONTAINER | 0 | -8-656+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |