Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/can/
Dcan_stm32_fdcan.c497 const struct can_stm32fd_config *stm32fd_cfg = mcan_cfg->custom; in can_stm32fd_clock_enable() local
504 if (IS_ENABLED(STM32_CANFD_DOMAIN_CLOCK_SUPPORT) && (stm32fd_cfg->pclk_len > 1)) { in can_stm32fd_clock_enable()
506 (clock_control_subsys_t)&stm32fd_cfg->pclken[1], in can_stm32fd_clock_enable()
514 ret = clock_control_on(clk, (clock_control_subsys_t)&stm32fd_cfg->pclken[0]); in can_stm32fd_clock_enable()
519 if (stm32fd_cfg->clock_divider != 0) { in can_stm32fd_clock_enable()
521 FDCAN_CONFIG->CKDIV = stm32fd_cfg->clock_divider >> 1; in can_stm32fd_clock_enable()
530 const struct can_stm32fd_config *stm32fd_cfg = mcan_cfg->custom; in can_stm32fd_init() local
535 ret = pinctrl_apply_state(stm32fd_cfg->pcfg, PINCTRL_STATE_DEFAULT); in can_stm32fd_init()
574 stm32fd_cfg->config_irq(); in can_stm32fd_init()