Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/accel/ivpu/ivpu_debugfs.c
- drivers/bluetooth/btintel_pcie.c, line 2678
- drivers/bus/mhi/host/pci_generic.c, line 1306
- drivers/net/ethernet/amd/pds_core/core.c, line 634
- drivers/net/wireless/marvell/mwifiex/pcie.c, line 2825
- drivers/pci/pci.c, line 5313
- drivers/vfio/pci/vfio_pci_config.c
- drivers/vfio/pci/vfio_pci_core.c
Smatch caller information:
drivers/vfio/pci/vfio_pci_core.c vfio_pci_core_enable() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->error_state | 0-2,4-u32max |
| PARAM_VALUE | 0 | dev->is_busmaster | 0 |
| PARAM_VALUE | 0 | dev->is_virtfn | 0 |
| PARAM_VALUE | 0 | *dev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| LOCK2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &device->group->group_lock | ||
| TYPE_LOCK | (struct vfio_device_set)->lock |
drivers/vfio/pci/vfio_pci_core.c vfio_pci_ioctl_reset() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *dev->saved_config_space | 0-4294967295 |
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| HOST_DATA | 0 | dev->sriov->offset | 0-u16max |
| HOST_DATA | 0 | dev->sriov->stride | 0-u16max |
| LOCK2 | &vdev->memory_lock | ||
| TYPE_LOCK | (struct vfio_pci_core_device)->memory_lock |
drivers/net/wireless/marvell/mwifiex/pcie.c mwifiex_pcie_card_reset_work() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/bus/mhi/host/pci_generic.c mhi_pci_recovery_work() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.runtime_auto | 0 |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->pcie_cap | 0-1 |
| PARAM_VALUE | 0 | dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | dev->state_saved | 0 |
| PARAM_VALUE | 0 | *dev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| HOST_DATA | 0 | dev->pcie_flags_reg | 0-u16max |
| HOST_DATA | 0 | dev->sriov->offset | 0-u16max |
| HOST_DATA | 0 | dev->sriov->stride | 0-u16max |
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/amd/pds_core/core.c pdsc_pci_reset_thread() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/bluetooth/btintel_pcie.c btintel_pcie_perform_flr() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 1-u64max |
| LOCK2 | global &pci_rescan_remove_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/accel/ivpu/ivpu_debugfs.c dvfs_mode_set() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/accel/ivpu/ivpu_debugfs.c fw_profiling_freq_fops_write() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| UNITS | 0 | dev | unit_byte |
drivers/vfio/pci/vfio_pci_config.c vfio_af_config_write() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus->ops->read | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cfg_size | 1-s32max |
| PARAM_VALUE | 0 | dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | dev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | *dev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| LOCK2 | &vdev->memory_lock | ||
| TYPE_LOCK | (struct vfio_pci_core_device)->memory_lock |
drivers/vfio/pci/vfio_pci_config.c vfio_exp_config_write() -> pci_try_reset_function()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cfg_size | 1-s32max |
| PARAM_VALUE | 0 | dev->dev.bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.request | 0-4 |
| PARAM_VALUE | 0 | dev->dev.power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->dev.type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->sriov->offset | 0-u16max |
| PARAM_VALUE | 0 | dev->sriov->stride | 0-u16max |
| PARAM_VALUE | 0 | *dev->saved_config_space | 0-4294967295 |
| CAPPED_DATA | 0 | dev | 1 |
| NOCHECK_CALL | |||
| HOST_DATA | 0 | dev->current_state | 0-3[c] |
| LOCK2 | &vdev->memory_lock | ||
| TYPE_LOCK | (struct vfio_pci_core_device)->memory_lock |