Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/of/platform.c, line 197 (as a function)
- include/linux/of_platform.h, line 96 (as a function)
Referenced in 32 files:
- arch/powerpc/platforms/powermac/setup.c
- arch/powerpc/platforms/powernv/opal-rtc.c, line 71
- arch/powerpc/platforms/powernv/opal-sensor.c, line 128
- arch/powerpc/platforms/powernv/opal.c
- arch/powerpc/platforms/powernv/rng.c, line 195
- arch/powerpc/platforms/powernv/vas.c, line 240
- drivers/ata/libahci_platform.c, line 620
- drivers/bus/imx-weim.c, line 330
- drivers/clk/tegra/clk.c, line 417
- drivers/dma/fsl_raid.c, line 645
- drivers/fsi/fsi-occ.c, line 686
- drivers/fsi/fsi-sbefifo.c, line 1077
- drivers/hsi/controllers/omap_ssi_core.c, line 521
- drivers/irqchip/irq-mbigen.c, line 243
- drivers/macintosh/ams/ams-core.c, line 149
- drivers/macintosh/smu.c, line 638
- drivers/macintosh/therm_adt746x.c, line 426
- drivers/macintosh/therm_windtunnel.c, line 534
- drivers/memory/jz4780-nemc.c, line 376
- drivers/memory/omap-gpmc.c, line 2293
- drivers/memory/pl353-smc.c, line 101
- drivers/mmc/host/cavium-octeon.c, line 267
- drivers/mmc/host/cavium-thunderx.c, line 140
- drivers/mmc/host/meson-mx-sdio.c, line 513
- drivers/mmc/host/sdhci-of-aspeed.c, line 560
- drivers/net/ethernet/ti/am65-cpsw-nuss.c, line 3611
- drivers/of/platform.c
- drivers/pci/pwrctrl/core.c, line 348
- drivers/phy/ti/phy-j721e-wiz.c, line 1643
- drivers/remoteproc/qcom_q6v5_mss.c, line 2207
- drivers/remoteproc/qcom_q6v5_pas.c, line 937
- drivers/usb/misc/onboard_usb_dev_pdevs.c, line 105
Smatch caller information:
drivers/fsi/fsi-sbefifo.c sbefifo_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 3385135220963176448 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| BUF_SIZE | 1 | bus_id | 32 |
| BUF_SIZE | 2 | parent | 1616 |
| STR_LEN | 0 | np | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/bus/imx-weim.c of_weim_notify() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| UNITS | 0 | np | unit_byte |
drivers/mmc/host/sdhci-of-aspeed.c aspeed_sdc_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/cavium-thunderx.c thunder_mmc_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/core/../misc/onboard_usb_dev_pdevs.c onboard_dev_create_pdevs() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| PARAM_VALUE | 2 | parent->power.autosuspend_delay | s32min-0 |
| DATA_SOURCE | 0 | np | r usb_of_get_device_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/memory/jz4780-nemc.c jz4780_nemc_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| BUF_SIZE | 2 | parent | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mmc/host/meson-mx-sdio.c meson_mx_mmc_slot_pdev() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| DATA_SOURCE | 2 | parent | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/ti/phy-j721e-wiz.c wiz_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| PARAM_VALUE | 2 | parent->power.last_status | (-1) |
| PARAM_VALUE | 2 | parent->power.request | 0-4 |
| PARAM_VALUE | 2 | parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 2 | parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | parent->type | 0,4096-ptr_max |
| BUF_SIZE | 2 | parent | 1616 |
| DATA_SOURCE | 0 | np | r of_get_child_by_name |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pci/pwrctrl/core.c pci_pwrctrl_create_device() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| BUF_SIZE | 2 | parent | (-1),1616 |
| BUF_SIZE | 2 | parent | (-1),1616 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 2 | parent | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/fsi/fsi-occ.c occ_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 2450330520110772224 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->driver | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node->properties | 0,4096-ptr_max |
| BUF_SIZE | 1 | bus_id | 32 |
| BUF_SIZE | 2 | parent | 1616 |
| DATA_SOURCE | 0 | np | r of_get_child_by_name |
| STR_LEN | 0 | np | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/libahci_platform.c ahci_platform_get_resources() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/of/platform.c of_platform_default_populate_init() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 0 |
| NOCHECK_CALL |
drivers/of/platform.c of_platform_default_populate_init() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 0 |
| BUF_SIZE | 0 | np | 0 |
| DATA_SOURCE | 0 | np | r of_get_compatible_child |
| BIT_INFO | 0 | np | 0x0,0x0 |
| NOCHECK_CALL |
drivers/of/platform.c of_platform_notify() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 0,4096-ptr_max |
| BUF_SIZE | 2 | parent | 0,1616 |
| UNITS | 0 | np | unit_byte |
drivers/hsi/controllers/omap_ssi_core.c ssi_probe() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| PARAM_VALUE | 2 | parent->power.last_status | (-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/memory/omap-gpmc.c gpmc_probe_generic_child() -> of_platform_device_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | bus_id | 0 |
| PARAM_VALUE | 2 | parent | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->driver | 0,4096-ptr_max |
| PARAM_VALUE | 2 | parent->driver_data | 4096-ptr_max |
| PARAM_VALUE | 2 | parent->of_node | 1-u64max |
| PARAM_VALUE | 2 | parent->power.last_status | (-1) |
| PARAM_VALUE | 2 | parent->power.request | 0-4 |
| PARAM_VALUE | 2 | parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 2 | parent->type | 0,4096-ptr_max |
| DATA_SOURCE | 0 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |