Searched refs:twai_config (Results 1 – 1 of 1) sorted by relevance
85 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_read_reg() local86 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() local95 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() local109 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() local172 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 …]