Documented in 1 files:

Defined in 1 files as a function:

Referenced in 10 files:

Smatch caller information:

drivers/spmi/spmi.c spmi_find_device_by_of_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 6790298493985030144
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 1 np->properties 4096-ptr_max
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/drm_mipi_dsi.c of_find_mipi_dsi_device_by_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 5257703512035778560
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 1 np->phandle 1-u32max
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING

drivers/spi/spi.c of_find_spi_device_by_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 8668803128452968448
PARAM_VALUE 1 np 4096-ptr_max
DATA_SOURCE 1 np $0
UNITS 1 np unit_byte

sound/soc/rockchip/rk3399_gru_sound.c rockchip_sound_codec_node_match() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 1-u64max
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 1 np->phandle 1-u32max
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING

drivers/tty/serdev/core.c of_find_serdev_controller_by_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 7363975982507945984
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING

drivers/phy/hisilicon/phy-hi3670-pcie.c hi3670_pcie_get_resources_from_pcie() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 2638458839708901376
PARAM_VALUE 1 np 4096-ptr_max
DATA_SOURCE 1 np r of_get_child_by_name
RX_PATH
TASK_NOT_RUNNING
LOCK2 &generic_phy->mutex
HALF_LOCKED2 &encoder->bridge_chain_mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 &uphy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/of/platform.c of_find_device_by_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 2638458839708901376
PARAM_VALUE 1 np->fwnode.ops->get 0,4096-ptr_max
BUF_SIZE 1 np (-1)-0,392
BUF_SIZE 1 np (-1)-0,392
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 1 np unit_byte
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &iommu_probe_device_lock

drivers/pci/of.c pci_set_of_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 2638458839708901376
PARAM_VALUE 1 np 4096-ptr_max
PARAM_VALUE 1 np->properties 4096-ptr_max
DATA_SOURCE 1 np r of_pci_find_child_device
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/base/test/platform-device-test.c platform_device_find_by_null_test() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 2638458839708901376
PARAM_VALUE 1 np 0

drivers/soundwire/slave.c of_sdw_find_device_by_node() -> bus_find_device_by_of_node()

Type Parameter Key Value
PARAM_VALUE 0 bus 4054859100714573824
DATA_SOURCE 1 np $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &component_mutex