Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c, line 2862
- drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c
Smatch caller information:
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_bulk_write() -> qlcnic_83xx_disable_flash_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->netdev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.driver | 0,4096-ptr_max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | adapter->ahw->fdt.mfg_id | 1 |
| CAPPED_DATA | 0 | adapter->flash_mfg_id | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->ahw->fdt.mfg_id | == $0->flash_mfg_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_bulk_write() -> qlcnic_83xx_disable_flash_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | adapter->ahw->fdt.mfg_id | 1 |
| CAPPED_DATA | 0 | adapter->flash_mfg_id | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->ahw->fdt.mfg_id | == $0->flash_mfg_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_write() -> qlcnic_83xx_disable_flash_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->pdev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | adapter->pdev->dev.driver | 0,4096-ptr_max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | adapter->ahw->fdt.mfg_id | 1 |
| CAPPED_DATA | 0 | adapter->flash_mfg_id | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->ahw->fdt.mfg_id | == $0->flash_mfg_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_sysfs.c qlcnic_83xx_sysfs_flash_write() -> qlcnic_83xx_disable_flash_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| PARAM_VALUE | 0 | adapter->netdev->rtnl_link_ops->priv_size | 0,8,32,40,48,56,88,112,120,144,160,224,240,256,296,616,624,728 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | adapter->ahw->fdt.mfg_id | 1 |
| CAPPED_DATA | 0 | adapter->flash_mfg_id | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->ahw->fdt.mfg_id | == $0->flash_mfg_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c qlcnic_83xx_erase_flash_sector() -> qlcnic_83xx_disable_flash_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->hw_ops->read_reg | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->ahw->reg_tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | adapter->dcb->adapter->netdev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| PARAM_VALUE | 0 | adapter->netdev->ethtool_ops->supported_coalesce_params | 0-3,17,19,34-35,48,51,59,63,204,236,273,511,513,529,547,561,563 |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | adapter | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | adapter->ahw->fdt.mfg_id | 1 |
| CAPPED_DATA | 0 | adapter->flash_mfg_id | 1 |
| DATA_SOURCE | 0 | adapter | $0 |
| PARAM_COMPARE | 0 | adapter->ahw->fdt.mfg_id | == $0->flash_mfg_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | adapter | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |