Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 102 files:

Smatch caller information:

drivers/pwm/pwm-meson.c meson_pwm_init_channels_s4() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0-1
FUZZY_MAX 1 index 1
HARD_MAX 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clocksource/timer-nxp-pit.c pit_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clocksource/timer-of.c timer_of_clk_init() -> of_clk_get()

Type Parameter Key Value
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clk/clk.c parent_ready() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0-s32max
DATA_SOURCE 0 np $0
FUZZY_MAX 1 index 0

drivers/i2c/busses/i2c-viai2c-wmt.c wmt_i2c_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.c mdp_comp_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/clk/clk-bulk.c of_clk_bulk_get() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

sound/soc/apple/mca.c apple_mca_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 0 np unit_byte

drivers/mfd/syscon.c of_syscon_register() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 index 0
BUF_SIZE 0 np (-1)-0,392
BUF_SIZE 0 np (-1)-0,392
DATA_SOURCE 0 np $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
LOCK2 global &syscon_list_lock

drivers/net/ethernet/stmicro/stmmac/dwmac-sun8i.c get_ephy_nodes() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING

drivers/clk/samsung/clk-exynos5410.c exynos5410_clk_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/clk/imx/clk.c imx_register_uart_clocks() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 index 0-2147483646
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 1 index unit_array_size

drivers/clocksource/timer-zevio.c zevio_timer_add() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/base/power/clock_ops.c of_pm_clk_add_clks() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

drivers/clocksource/asm9260_timer.c asm9260_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/clocksource/timer-gxp.c gxp_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/mailbox/mtk-cmdq-mailbox.c cmdq_get_clocks() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING

drivers/phy/nuvoton/phy-ma35d1-usb2.c ma35_usb_phy_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/can/sun4i_can.c sun4ican_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/mmc/host/wmt-sdmmc.c wmt_mci_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/gpu/drm/sysfb/simpledrm.c simpledrm_device_init_clocks() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 index 0-2147483646
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/marvell/mvmdio.c orion_mdio_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0-3
FUZZY_MAX 1 index 3
HARD_MAX 1 index 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

drivers/net/ethernet/marvell/mvmdio.c orion_mdio_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

drivers/net/ethernet/freescale/fman/fman.c read_dts_node() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 4096-ptr_max
PARAM_VALUE 1 index 0
BUF_SIZE 0 np (-1)-0,392
BUF_SIZE 0 np (-1)-0,392
DATA_SOURCE 0 np r of_node_get
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-cadence-ttc.c ttc_timer_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 index 0-1
FUZZY_MAX 1 index 1
HARD_MAX 1 index 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 index 0[c]
UNITS 0 np unit_byte

drivers/clocksource/timer-cadence-ttc.c ttc_timer_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-1
CAPPED_DATA 1 index 1
FUZZY_MAX 1 index 1
HARD_MAX 1 index 1
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 index 0[c]
UNITS 0 np unit_byte

drivers/clocksource/timer-davinci.c of_davinci_timer_register() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->kobj.release.timer.is_queued 0-1
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/media/platform/mediatek/mdp/mtk_mdp_comp.c mtk_mdp_comp_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->kobj.release.work.entry.next->prev 4096-ptr_max
PARAM_VALUE 1 index 0-1
DATA_SOURCE 0 np $1
FUZZY_MAX 1 index 1
HARD_MAX 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 index unit_array_size

drivers/clocksource/timer-atmel-st.c atmel_st_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/clocksource/mxs_timer.c mxs_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/rtc/rtc-rtd119x.c rtd119x_rtc_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clocksource/timer-integrator-ap.c integrator_ap_timer_init_of() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/remoteproc/st_slim_rproc.c slim_clk_get() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-3
FUZZY_MAX 1 index 3
HARD_MAX 1 index 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/tty/serial/vt8500_serial.c vt8500_serial_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clk/clk-qoriq.c input_clock_by_index() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0

drivers/memory/atmel-ebi.c atmel_ebi_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np r of_parse_phandle
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-digicolor.c digicolor_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/clocksource/timer-owl.c owl_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->kobj.release->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/pinctrl/nuvoton/pinctrl-ma35.c ma35_get_bank_data() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-econet-en751221.c timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/mmc/host/sdhci-of-esdhc.c esdhc_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/cpufreq/qoriq-cpufreq.c cpu_to_clk() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np r of_get_cpu_node
RX_PATH
TASK_NOT_RUNNING
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/qoriq-cpufreq.c qoriq_cpufreq_cpu_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np r of_get_cpu_node
RX_PATH
TASK_NOT_RUNNING
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/gpio/gpio-rockchip.c rockchip_get_bank_data() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->parent 1-u64max
PARAM_VALUE 1 index 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/tty/serial/ma35d1_serial.c ma35d1serial_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clocksource/clksrc_st_lpc.c st_clksrc_setup_clk() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/usb/host/ohci-platform.c ohci_platform_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-3
FUZZY_MAX 1 index 3
HARD_MAX 1 index 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clk/samsung/clk-exynos-arm64.c exynos_arm64_cmu_prepare_pm() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
CONSTRAINT 1 index <540
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

drivers/clk/mvebu/ap-cpu-clk.c ap_cpu_clock_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/tty/serial/bcm63xx_uart.c bcm_uart_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/usb/host/ohci-st.c st_ohci_platform_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 1 index 0-2
FUZZY_MAX 1 index 2
HARD_MAX 1 index 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/ptp/ptp_qoriq.c ptp_qoriq_auto_config() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c rk_gmac_clk_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->phandle 1-u32max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/renesas_usbhs/common.c usbhsc_clk_get() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING

drivers/usb/renesas_usbhs/common.c usbhsc_clk_get() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 1
RX_PATH
TASK_NOT_RUNNING

drivers/usb/dwc3/dwc3-qcom-legacy.c dwc3_qcom_clk_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
CONSTRAINT 1 index <632
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 0 np unit_byte
UNITS 1 index unit_array_size

drivers/clocksource/timer-pxa.c pxa_timer_dt_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/hwmon/g762.c g762_of_clock_enable() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-u64max
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clk/clk_kunit_helpers.c of_clk_get_kunit() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 1-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $1
DATA_SOURCE 1 index $2

drivers/clocksource/timer-atmel-pit.c at91sam926x_pit_dt_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/gpu/drm/mediatek/mtk_ddp_comp.c mtk_ddp_comp_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/armv7m_systick.c system_timer_of_register() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 0 np->properties 0,4096-ptr_max
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_hsmc_nand_controller_legacy_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
BUF_SIZE 0 np 0
DATA_SOURCE 0 np r of_get_compatible_child
BIT_INFO 0 np 0x0,0x0
RX_PATH
TASK_NOT_RUNNING

drivers/mtd/nand/raw/atmel/nand-controller.c atmel_nand_controller_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

sound/soc/sti/uniperif_player.c uni_player_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/clocksource/clps711x-timer.c clps711x_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
DATA_SOURCE 0 np $0

drivers/usb/host/ehci-st.c st_ehci_platform_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 0,4096-ptr_max
PARAM_VALUE 1 index 0-2
FUZZY_MAX 1 index 2
HARD_MAX 1 index 2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_add_one_domain() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
PARAM_VALUE 1 index 0-s32max
CAPPED_DATA 1 index 1
DATA_SOURCE 0 np $1
CONSTRAINT 1 index <1617
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 1 index
UNITS 1 index unit_array_size

drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_add_one_domain() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 0 np->fwnode.ops->get 0,4096-ptr_max
DATA_SOURCE 0 np $1
RX_PATH
TASK_NOT_RUNNING

drivers/clocksource/timer-npcm7xx.c npcm7xx_timer_init() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np->kobj->release.timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 np->kobj.release.timer.is_hard 0-1
PARAM_VALUE 0 np->kobj.release.timer.is_lazy 0-1
PARAM_VALUE 0 np->kobj.release.timer.is_soft 0-1
PARAM_VALUE 1 index 1
DATA_SOURCE 0 np $0 [m]

drivers/rtc/rtc-ma35d1.c ma35d1_rtc_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 1 index 0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte

drivers/usb/host/ehci-platform.c ehci_platform_probe() -> of_clk_get()

Type Parameter Key Value
PARAM_VALUE 0 np 4096-ptr_max
PARAM_VALUE 1 index 0-3
FUZZY_MAX 1 index 3
HARD_MAX 1 index 3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 np unit_byte