Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- drivers/iommu/of_iommu.c, line 51
- drivers/of/base.c, line 2349
- drivers/pci/controller/dwc/pci-imx6.c, line 1171
- drivers/pci/controller/pcie-apple.c, line 768
- drivers/xen/grant-dma-ops.c, line 328
Smatch caller information:
drivers/xen/grant-dma-ops.c xen_dt_grant_init_backend_domid() -> of_map_iommu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 2 | arg | 3773201014084448256 |
| PARAM_VALUE | 2 | arg->args_count | 0 |
| PARAM_VALUE | 2 | arg->np | 0 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| BUF_SIZE | 0 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | np | $1 |
drivers/iommu/of_iommu.c of_iommu_configure_dev_id() -> of_map_iommu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 2 | arg | 4898616674843021312 |
| PARAM_VALUE | 2 | arg->args_count | 0 |
| PARAM_VALUE | 2 | arg->np | 0 |
| DATA_SOURCE | 0 | np | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | id | 0-u16max[c] |
| NO_OVERFLOW_SIMPLE | 1 | id | |
| UNITS | 0 | np | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &iommu_probe_device_lock |
drivers/pci/controller/dwc/pci-imx6.c imx_pcie_add_lut_by_rid() -> of_map_iommu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 0-u16max |
| PARAM_VALUE | 2 | arg | 8255013633060999168 |
| PARAM_VALUE | 2 | arg->args_count | 0 |
| PARAM_VALUE | 2 | arg->np | 0 |
| DATA_SOURCE | 1 | id | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | id | 0-u16max[c] |
| UNITS | 0 | np | unit_byte |
drivers/pci/controller/pcie-apple.c apple_pcie_enable_device() -> of_map_iommu_id()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 0-u16max |
| PARAM_VALUE | 2 | arg | 1216625410405457920 |
| PARAM_VALUE | 2 | arg->args_count | 0 |
| PARAM_VALUE | 2 | arg->np | 0 |
| DATA_SOURCE | 1 | id | r pci_dev_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | id | 0-u16max[c] |
| UNITS | 0 | np | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |