Searched refs:twai_config (Results 1 – 1 of 1) sorted by relevance
83 const struct can_esp32_twai_config *twai_config = sja1000_config->custom; in can_esp32_twai_read_reg() local84 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() local93 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() local107 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() local170 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 …]