Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_stm32_bxcan.c67 CAN_TypeDef *master_can; /*!< CAN Registers for shared filter */ member
648 bank_offset = (cfg->can == cfg->master_can) ? 0 : CAN_STM32_NUM_FILTER_BANKS; in can_stm32_init()
649 cfg->master_can->FMR |= CAN_FMR_FINIT; in can_stm32_init()
650 cfg->master_can->FS1R |= ((1U << CONFIG_CAN_MAX_EXT_ID_FILTER) - 1) << bank_offset; in can_stm32_init()
651 cfg->master_can->FMR &= ~CAN_FMR_FINIT; in can_stm32_init()
901 CAN_TypeDef *can = cfg->master_can; in can_stm32_set_filter()
908 if (cfg->can != cfg->master_can) { in can_stm32_set_filter()
1003 CAN_TypeDef *can = cfg->master_can; in can_stm32_remove_rx_filter()
1017 if (cfg->can != cfg->master_can) { in can_stm32_remove_rx_filter()
1142 .master_can = (CAN_TypeDef *)DT_INST_PROP_OR(inst, \