Home
last modified time | relevance | path

Searched refs:clock_dev (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-Core-2.7.6/tests/drivers/clock_control/nrf_onoff_and_bt/src/
Dmain.c102 const struct device *clock_dev = in test_onoff_interrupted() local
130 check_hf_status(clock_dev, true, true); in test_onoff_interrupted()
149 check_hf_status(clock_dev, false, true); in test_onoff_interrupted()
197 const struct device *clock_dev = in test_bt_interrupted() local
222 check_hf_status(clock_dev, true, false); in test_bt_interrupted()
240 check_hf_status(clock_dev, false, true); in test_bt_interrupted()
/Zephyr-Core-2.7.6/drivers/i2c/
Di2c_rv32m1_lpi2c.c23 const struct device *clock_dev; member
81 err = clock_control_get_rate(config->clock_dev, config->clock_subsys, &clk_freq); in rv32m1_lpi2c_configure()
213 err = clock_control_on(config->clock_dev, config->clock_subsys); in rv32m1_lpi2c_init()
219 err = clock_control_get_rate(config->clock_dev, config->clock_subsys, &clk_freq); in rv32m1_lpi2c_init()
253 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(id)), \
Di2c_mcux_flexcomm.c22 const struct device *clock_dev; member
65 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_configure()
189 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_init()
221 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(id)), \
Di2c_mcux_lpi2c.c26 const struct device *clock_dev; member
72 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpi2c_configure()
217 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpi2c_init()
251 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Di2c_esp32.c74 const struct device *clock_dev; member
150 if (clock_control_get_rate(config->clock_dev, in i2c_esp32_configure_speed()
204 clock_control_on(config->clock_dev, config->peripheral_id); in i2c_esp32_configure()
574 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(0)),
608 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(1)),
Di2c_rcar.c27 const struct device *clock_dev; member
330 ret = clock_control_on(config->clock_dev, in i2c_rcar_init()
360 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
/Zephyr-Core-2.7.6/drivers/pwm/
Dpwm_mcux_tpm.c28 const struct device *clock_dev; member
143 if (clock_control_on(config->clock_dev, config->clock_subsys)) { in mcux_tpm_init()
148 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_tpm_init()
179 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Dpwm_rv32m1_tpm.c27 const struct device *clock_dev; member
143 if (clock_control_on(config->clock_dev, config->clock_subsys)) { in rv32m1_tpm_init()
148 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in rv32m1_tpm_init()
179 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Dpwm_mcux_pwt.c24 const struct device *clock_dev; member
283 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_pwt_init()
315 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
/Zephyr-Core-2.7.6/drivers/watchdog/
Dwdt_mcux_wdog.c22 const struct device *clock_dev; member
81 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_wdog_install_timeout()
164 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(0)),
Dwdt_mcux_wdog32.c27 const struct device *clock_dev; member
96 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_wdog32_install_timeout()
192 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(0)),
/Zephyr-Core-2.7.6/drivers/interrupt_controller/
Dintc_rv32m1_intmux.c43 const struct device *clock_dev; member
148 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(0)),
160 clock_control_on(config->clock_dev, config->clock_subsys); in rv32m1_intmux_init()
/Zephyr-Core-2.7.6/drivers/gpio/
Dgpio_rv32m1.c27 const struct device *clock_dev; member
268 if (config->clock_dev) { in gpio_rv32m1_init()
269 ret = clock_control_on(config->clock_dev, config->clock_subsys); in gpio_rv32m1_init()
308 .clock_dev = INST_DT_CLK_CTRL_DEV(n), \
Dgpio_rcar.c27 const struct device *clock_dev; member
257 ret = clock_control_on(config->clock_dev, in gpio_rcar_init()
299 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Dgpio_lpc11u6x.c520 const struct device *clock_dev; in gpio_lpc11u6x_init() local
536 clock_dev = device_get_binding(config->shared->clock_controller_name); in gpio_lpc11u6x_init()
537 if (!clock_dev) { in gpio_lpc11u6x_init()
541 ret = clock_control_on(clock_dev, config->shared->clock_subsys); in gpio_lpc11u6x_init()
/Zephyr-Core-2.7.6/drivers/counter/
Dcounter_mcux_gpt.c19 const struct device *clock_dev; member
171 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_gpt_init()
208 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Dcounter_mcux_ctimer.c29 const struct device *clock_dev; member
176 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpc_ctimer_init()
229 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(id)), \
/Zephyr-Core-2.7.6/drivers/spi/
Dspi_esp32_spim.h23 const struct device *clock_dev; member
Dspi_rv32m1_lpspi.c27 const struct device *clock_dev; member
178 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in spi_mcux_configure()
285 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Dspi_mcux_lpspi.c25 const struct device *clock_dev; member
181 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in spi_mcux_configure()
286 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
/Zephyr-Core-2.7.6/drivers/serial/
Duart_mcux_lpsci.c18 const struct device *clock_dev; member
241 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_lpsci_init()
306 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Duart_rv32m1_lpuart.c19 const struct device *clock_dev; member
248 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in rv32m1_lpuart_init()
296 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Duart_mcux_flexcomm.c27 const struct device *clock_dev; member
255 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_flexcomm_init()
331 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Duart_mcux_iuart.c18 const struct device *clock_dev; member
230 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_iuart_init()
302 .clock_dev = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(n)), \
Duart_esp32.c69 const struct device *clock_dev; member
200 if (clock_control_get_rate(DEV_CFG(dev)->clock_dev, in uart_esp32_set_baudrate()
257 clock_control_on(DEV_CFG(dev)->clock_dev, DEV_CFG(dev)->clock_subsys); in uart_esp32_configure()
481 .clock_dev = DEVICE_DT_GET(DT_CLOCKS_CTLR(DT_NODELABEL(uart##idx))), \

12