Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 11 files:
- drivers/base/platform-msi.c, line 85
- drivers/bus/fsl-mc/fsl-mc-msi.c, line 96
- drivers/dma/mv_xor_v2.c, line 750
- drivers/dma/qcom/hidma.c, line 705
- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c, line 4699
- drivers/iommu/riscv/iommu-platform.c, line 90
- drivers/mailbox/bcm-flexrm-mailbox.c, line 1579
- drivers/mailbox/riscv-sbi-mpxy-mbox.c, line 950
- drivers/pci/endpoint/pci-ep-msi.c, line 182
- drivers/perf/arm_smmuv3_pmu.c, line 752
- drivers/ufs/host/ufs-qcom.c, line 2412
Smatch caller information:
drivers/dma/qcom/hidma.c hidma_request_msi() -> platform_device_msi_init_and_alloc_irqs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mask | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->dma_mem | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.autosuspend_delay | 2000 |
| PARAM_VALUE | 0 | dev->power.last_status | (-1) |
| PARAM_VALUE | 0 | dev->power.qos | 0,4096-u64max |
| PARAM_VALUE | 0 | dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->power.runtime_status | 0,2 |
| PARAM_VALUE | 0 | dev->power.use_autosuspend | 1 |
| PARAM_VALUE | 0 | dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | nvec | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/bus/fsl-mc/fsl-mc-msi.c fsl_mc_msi_domain_alloc_irqs() -> platform_device_msi_init_and_alloc_irqs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.data | 1-u64max |
| PARAM_VALUE | 1 | nvec | 256 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | nvec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mc_bus->scan_mutex | ||
| HALF_LOCKED2 | &vdev->igate | ||
| HALF_LOCKED2 | &vdev->vdev.dev_set->lock |
drivers/perf/arm_smmuv3_pmu.c smmu_pmu_setup_msi() -> platform_device_msi_init_and_alloc_irqs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | nvec | 1 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/endpoint/pci-ep-msi.c pci_epf_alloc_doorbell_msi() -> platform_device_msi_init_and_alloc_irqs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain | 4096-ptr_max |
| PARAM_VALUE | 1 | nvec | 1,3-32 |
| CAPPED_DATA | 1 | nvec | 1 |
| DATA_SOURCE | 1 | nvec | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | nvec | |
| UNITS | 0 | dev | unit_byte |
| UNITS | 1 | nvec | unit_array_size |
| HALF_LOCKED2 | &dir->i_rwsem |
drivers/iommu/riscv/iommu-platform.c riscv_iommu_platform_probe() -> platform_device_msi_init_and_alloc_irqs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->msi.domain | 4096-ptr_max |
| PARAM_VALUE | 1 | nvec | 4 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |