Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- arch/powerpc/platforms/powermac/low_i2c.c, line 1474
- drivers/base/platform.c, line 719
- drivers/i2c/busses/i2c-pxa-pci.c, line 80
- drivers/iommu/fsl_pamu.c, line 978
- drivers/mfd/tps6586x.c, line 400
- drivers/net/ethernet/broadcom/genet/bcmmii.c, line 495
- drivers/net/ethernet/marvell/mv643xx_eth.c, line 2783
- drivers/of/platform.c, line 129
- drivers/pmdomain/imx/gpc.c, line 490
- drivers/slimbus/qcom-ngd-ctrl.c, line 1541
Smatch caller information:
drivers/net/ethernet/broadcom/genet/bcmmii.c bcmgenet_mii_register() -> platform_device_set_of_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 0 |
| BUF_SIZE | 0 | pdev | 1688 |
| BUF_SIZE | 0 | pdev->dev.parent | 1616 |
| BUF_SIZE | 1 | np | 0 |
| DATA_SOURCE | 0 | pdev | r platform_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pdev.id |
drivers/net/ethernet/marvell/mv643xx_eth.c mv643xx_eth_shared_of_add_port() -> platform_device_set_of_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.coherent_dma_mask | u32max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 1 | np->kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | 1688 |
| DATA_SOURCE | 0 | pdev | r platform_device_alloc |
| DATA_SOURCE | 1 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pdev.id |
drivers/slimbus/qcom-ngd-ctrl.c of_qcom_slim_ngd_register() -> platform_device_set_of_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.driver_override.name | 0,4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.parent->of_node | 1-u64max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | 1688 |
| BUF_SIZE | 0 | pdev->dev.parent | 1616 |
| DATA_SOURCE | 0 | pdev | r platform_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pdev.id |
drivers/mfd/tps6586x.c tps6586x_add_subdevs() -> platform_device_set_of_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | pdev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | pdev->dev.parent | 4096-ptr_max |
| BUF_SIZE | 0 | pdev | 1688 |
| BUF_SIZE | 0 | pdev->dev.parent | 1616 |
| DATA_SOURCE | 0 | pdev | r platform_device_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->pdev.id |
drivers/of/platform.c of_device_alloc() -> platform_device_set_of_node()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pdev | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->fwnode.ops->get | 0,4096-ptr_max |
| BUF_SIZE | 0 | pdev | 1688 |
| BUF_SIZE | 0 | pdev->resource | 64-137438953408,u64max |
| BUF_SIZE | 1 | np | (-1)-0,392 |
| BUF_SIZE | 1 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | pdev | r platform_device_alloc |
| DATA_SOURCE | 1 | np | $0 |
| STR_LEN | 0 | pdev | (-1),31 |
| STR_LEN | 1 | np | (-1),31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | pdev->num_resources | |
| NO_OVERFLOW_SIMPLE | 0 | pdev->pdev.id | |
| UNITS | 1 | np | unit_byte |