Searched refs:tcan_data (Results 1 – 1 of 1) sorted by relevance
/Zephyr-Core-3.5.0/drivers/can/ |
D | can_tcan4x5x.c | 406 struct tcan4x5x_data *tcan_data = CONTAINER_OF(cb, struct tcan4x5x_data, int_gpio_cb); in tcan4x5x_int_gpio_callback_handler() local 408 k_sem_give(&tcan_data->int_sem); in tcan4x5x_int_gpio_callback_handler() 414 struct tcan4x5x_data *tcan_data = mcan_data->custom; in tcan4x5x_int_thread() local 420 k_sem_take(&tcan_data->int_sem, K_FOREVER); in tcan4x5x_int_thread() 553 struct tcan4x5x_data *tcan_data = mcan_data->custom; in tcan4x5x_init() local 559 k_sem_init(&tcan_data->int_sem, 1, 1); in tcan4x5x_init() 622 gpio_init_callback(&tcan_data->int_gpio_cb, tcan4x5x_int_gpio_callback_handler, in tcan4x5x_init() 625 err = gpio_add_callback_dt(&tcan_config->int_gpio, &tcan_data->int_gpio_cb); in tcan4x5x_init() 638 tid = k_thread_create(&tcan_data->int_thread, tcan_data->int_stack, in tcan4x5x_init() 639 K_KERNEL_STACK_SIZEOF(tcan_data->int_stack), in tcan4x5x_init()
|