/Zephyr-Core-2.7.6/tests/drivers/clock_control/nrf_onoff_and_bt/src/ |
D | main.c | 102 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/ |
D | i2c_rv32m1_lpi2c.c | 23 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)), \
|
D | i2c_mcux_flexcomm.c | 22 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)), \
|
D | i2c_mcux_lpi2c.c | 26 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)), \
|
D | i2c_esp32.c | 74 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)),
|
D | i2c_rcar.c | 27 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/ |
D | pwm_mcux_tpm.c | 28 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)), \
|
D | pwm_rv32m1_tpm.c | 27 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)), \
|
D | pwm_mcux_pwt.c | 24 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/ |
D | wdt_mcux_wdog.c | 22 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)),
|
D | wdt_mcux_wdog32.c | 27 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/ |
D | intc_rv32m1_intmux.c | 43 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/ |
D | gpio_rv32m1.c | 27 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), \
|
D | gpio_rcar.c | 27 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)), \
|
D | gpio_lpc11u6x.c | 520 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/ |
D | counter_mcux_gpt.c | 19 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)), \
|
D | counter_mcux_ctimer.c | 29 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/ |
D | spi_esp32_spim.h | 23 const struct device *clock_dev; member
|
D | spi_rv32m1_lpspi.c | 27 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)), \
|
D | spi_mcux_lpspi.c | 25 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/ |
D | uart_mcux_lpsci.c | 18 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)), \
|
D | uart_rv32m1_lpuart.c | 19 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)), \
|
D | uart_mcux_flexcomm.c | 27 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)), \
|
D | uart_mcux_iuart.c | 18 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)), \
|
D | uart_esp32.c | 69 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))), \
|