Home
last modified time | relevance | path

Searched refs:clock_control_get_rate (Results 1 – 25 of 113) sorted by relevance

12345

/Zephyr-Core-3.6.0/tests/drivers/clock_control/pwm_clock/src/
Dmain.c26 ret = clock_control_get_rate(clk_dev, 0, &clock_rate); in pwm_clock_setup()
45 ret = clock_control_get_rate(clk_dev, 0, &clock_rate); in ZTEST()
55 ret = clock_control_get_rate(clk_dev, 0, &clock_rate); in ZTEST()
65 ret = clock_control_get_rate(clk_dev, 0, &clock_rate_new); in ZTEST()
/Zephyr-Core-3.6.0/tests/drivers/clock_control/stm32_clock_configuration/stm32_common_devices/src/
Dtest_stm32_clock_configuration_lptim.c64 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
80 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_i2c.c61 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in i2c_set_clock()
113 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_i2s.c56 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
Dtest_stm32_clock_configuration_adc.c107 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.6.0/tests/drivers/clock_control/stm32_clock_configuration/stm32u5_devices/src/
Dtest_stm32_clock_configuration.c76 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
89 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.6.0/tests/drivers/clock_control/stm32_clock_configuration/stm32h7_devices/src/
Dtest_stm32_clock_configuration.c112 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
125 r = clock_control_get_rate(DEVICE_DT_GET(STM32_CLOCK_CONTROL_NODE), in ZTEST()
/Zephyr-Core-3.6.0/drivers/usb/device/
Dusb_dc_dw_stm32.h40 ret = clock_control_get_rate(clk->dev, in clk_enable_st_stm32f4_fsotg()
/Zephyr-Core-3.6.0/tests/drivers/clock_control/fixed_clock/src/
Dtest_clock_control.c44 err = clock_control_get_rate(dev, 0, &rate); in ZTEST()
/Zephyr-Core-3.6.0/drivers/usb/udc/
Dudc_dwc2_vendor_quirks.h47 ret = clock_control_get_rate(clk->dev, in clk_enable_stm32f4_fsotg()
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_mcux_flexcomm.c82 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_configure()
266 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_target_register()
356 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_init()
Di2c_rv32m1_lpi2c.c86 err = clock_control_get_rate(config->clock_dev, config->clock_subsys, &clk_freq); in rv32m1_lpi2c_configure()
229 err = clock_control_get_rate(config->clock_dev, config->clock_subsys, &clk_freq); in rv32m1_lpi2c_init()
Di2c_mcux_lpi2c.c102 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpi2c_configure()
416 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpi2c_target_register()
512 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpi2c_init()
/Zephyr-Core-3.6.0/drivers/pwm/
Dpwm_mcux_sctimer.c53 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_sctimer_new_channel()
200 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_sctimer_pwm_get_cycles_per_sec()
Dpwm_mcux.c79 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_pwm_set_cycles()
167 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_pwm_get_cycles_per_sec()
Dpwm_rpi_pico.c71 ret = clock_control_get_rate(cfg->clk_dev, cfg->clk_id, &pclk); in pwm_rpi_get_cycles_per_sec()
Dpwm_npcx.c199 ret = clock_control_get_rate(clk_dev, (clock_control_subsys_t) in pwm_npcx_init()
Dpwm_gd32.c169 (void)clock_control_get_rate(GD32_CLOCK_CONTROLLER, in pwm_gd32_init()
/Zephyr-Core-3.6.0/drivers/ptp_clock/
Dptp_clock_nxp_enet.c104 (void) clock_control_get_rate(config->clock_dev, config->clock_subsys, in ptp_clock_nxp_enet_rate_adjust()
167 (void) clock_control_get_rate(config->clock_dev, config->clock_subsys, in nxp_enet_ptp_clock_callback()
/Zephyr-Core-3.6.0/include/zephyr/drivers/
Dclock_control.h216 static inline int clock_control_get_rate(const struct device *dev, in clock_control_get_rate() function
/Zephyr-Core-3.6.0/drivers/mipi_dsi/
Ddsi_mcux_2l.c278 if (clock_control_get_rate(config->bit_clk_dev, in dsi_mcux_attach()
284 if (clock_control_get_rate(config->esc_clk_dev, in dsi_mcux_attach()
290 if (clock_control_get_rate(config->pixel_clk_dev, in dsi_mcux_attach()
/Zephyr-Core-3.6.0/drivers/watchdog/
Dwdt_rpi_pico.c87 err = clock_control_get_rate(config->clk_dev, config->clk_id, &ref_clk); in wdt_rpi_pico_setup()
Dwdt_wwdgt_gd32.c59 (void)clock_control_get_rate(GD32_CLOCK_CONTROLLER, in gd32_wwdgt_calc_ticks()
Dwdt_mcux_wdog.c87 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_wdog_install_timeout()
/Zephyr-Core-3.6.0/drivers/mdio/
Dmdio_nxp_s32_gmac.c129 if (clock_control_get_rate(cfg->clock_dev, cfg->clock_subsys, &data->clock_freq)) { in mdio_nxp_s32_init()

12345