Home
last modified time | relevance | path

Searched refs:clock_divider (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/drivers/can/
Dcan_stm32h7_fdcan.c41 uint8_t clock_divider; member
154 if (stm32h7_cfg->clock_divider != 0U) { in can_stm32h7_clock_enable()
158 FIELD_PREP(FDCANCCU_CCFG_CDIV, stm32h7_cfg->clock_divider >> 1U); in can_stm32h7_clock_enable()
263 .clock_divider = DT_INST_PROP_OR(n, clk_divider, 0) \
Dcan_stm32_fdcan.c176 uint8_t clock_divider; member
450 if (stm32fd_cfg->clock_divider != 0) { in can_stm32fd_clock_enable()
452 FDCAN_CONFIG->CKDIV = stm32fd_cfg->clock_divider >> 1; in can_stm32fd_clock_enable()
594 .clock_divider = DT_INST_PROP_OR(inst, clk_divider, 0) \
Dcan_numaker.c272 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/adc/
Dadc_max32.c30 int clock_divider; member
249 .clkdiv = config->clock_divider, in adc_max32_init()
321 .clock_divider = DT_INST_PROP_OR(_num, clock_divider, 1), \
Dadc_numaker.c388 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/misc/nxp_s32_emios/
Dnxp_s32_emios.c53 BUILD_ASSERT(IN_RANGE(DT_INST_PROP(n, clock_divider), \
58 .clkDivVal = DT_INST_PROP(n, clock_divider) - 1U, \
/Zephyr-latest/drivers/sdhc/
Dintel_emmc_host.c220 uint32_t clock_divider; in emmc_clock_set() local
258 clock_divider = (int)(base_freq / (freq * 2)); in emmc_clock_set()
260 LOG_DBG("Clock divider for MMC Clk: %d Hz is %d", speed, clock_divider); in emmc_clock_set()
263 EMMC_HOST_CLK_SDCLCK_FREQ_SEL_MASK, clock_divider); in emmc_clock_set()
265 EMMC_HOST_CLK_SDCLCK_FREQ_SEL_UPPER_MASK, clock_divider >> 8); in emmc_clock_set()
/Zephyr-latest/drivers/watchdog/
Dwdt_wwdt_numaker.c292 .clk_div = DT_INST_CLOCKS_CELL(0, clock_divider),
/Zephyr-latest/drivers/spi/
Dspi_numaker.c359 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/serial/
Duart_numaker.c434 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/pwm/
Dpwm_numaker.c567 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/ethernet/
Deth_numaker.c782 .clk_div = DT_INST_CLOCKS_CELL(0, clock_divider),
/Zephyr-latest/drivers/i2c/
Di2c_numaker.c768 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/usb/udc/
Dudc_numaker.c1775 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/usb/device/
Dusb_dc_numaker.c1982 .clk_div = DT_INST_CLOCKS_CELL(inst, clock_divider), \
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c2357 .pcc.clk_div = DT_INST_CLOCKS_CELL_BY_NAME(inst, name, clock_divider), \