Defined in 2 files as a function:

Referenced in 12 files:

Smatch caller information:

drivers/usb/misc/onboard_usb_dev.c onboard_dev_probe() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->phandle 1-u32max
DATA_SOURCE 0 node r of_parse_phandle
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/exynos/exynos_hdmi.c hdmi_get_phy_io() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

drivers/i2c/i2c-core-of.c of_i2c_notify() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
UNITS 0 node unit_byte

sound/soc/fsl/fsl-asoc-card.c fsl_asoc_card_probe() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
RX_PATH
TASK_NOT_RUNNING

drivers/media/cec/core/cec-notifier.c cec_notifier_parse_hdmi_phandle() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->phandle 1-u32max
DATA_SOURCE 0 node r of_parse_phandle
RX_PATH
TASK_NOT_RUNNING

sound/soc/fsl/imx-rpmsg.c imx_rpmsg_late_probe() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 node unit_byte
LOCK2 &card->mutex
LOCK2 _T->lock
TYPE_LOCK (struct snd_soc_card)->mutex

drivers/of/unittest.c of_path_to_i2c_client() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 1-u64max
BUF_SIZE 0 node (-1)-0,392
BUF_SIZE 0 node (-1)-0,392
DATA_SOURCE 0 node r of_find_node_by_path

drivers/power/reset/odroid-go-ultra-poweroff.c odroid_go_ultra_poweroff_get_pmic_device() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
DATA_SOURCE 0 node r of_find_compatible_node
RX_PATH
TASK_NOT_RUNNING

drivers/usb/phy/phy-isp1301.c isp1301_get_client() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 0,4096-ptr_max
PARAM_VALUE 0 node->phandle 1-u32max
DATA_SOURCE 0 node $0
RX_PATH
TASK_NOT_RUNNING

sound/soc/fsl/imx-sgtl5000.c imx_sgtl5000_probe() -> of_find_i2c_device_by_node()

Type Parameter Key Value
PARAM_VALUE 0 node 4096-ptr_max
PARAM_VALUE 0 node->phandle 1-u32max
DATA_SOURCE 0 node r of_parse_phandle
RX_PATH
TASK_NOT_RUNNING