Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/
Dcan_esp32_twai.c85 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_read_reg() local
86 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_read_reg()
94 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_write_reg() local
95 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_write_reg()
108 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_write_reg32() local
109 mm_reg_t addr = twai_config->base + reg * sizeof(uint32_t); in can_esp32_twai_write_reg32()
169 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_init() local
172 if (!device_is_ready(twai_config->clock_dev)) { in can_esp32_twai_init()
177 err = pinctrl_apply_state(twai_config->pcfg, PINCTRL_STATE_DEFAULT); in can_esp32_twai_init()
183 err = clock_control_on(twai_config->clock_dev, twai_config->clock_subsys); in can_esp32_twai_init()
[all …]