Home
last modified time | relevance | path

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

/Zephyr-Core-3.6.0/drivers/can/
Dcan_esp32_twai.c83 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_read_reg() local
84 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_read_reg()
92 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_write_reg() local
93 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_write_reg()
106 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_write_reg32() local
107 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_write_reg32()
167 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_init() local
170 if (!device_is_ready(twai_config->clock_dev)) { in can_esp32_twai_init()
175 err = pinctrl_apply_state(twai_config->pcfg, PINCTRL_STATE_DEFAULT); in can_esp32_twai_init()
181 err = clock_control_on(twai_config->clock_dev, twai_config->clock_subsys); in can_esp32_twai_init()
[all …]