Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 10 files:

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