Lines Matching refs:sem
51 struct k_sem *sem; member
151 struct k_sem *sem = user_data; in aux_async_callback() local
155 k_sem_give(sem); in aux_async_callback()
182 k_sem_give(data->sem); in aux_int_callback()
239 struct k_sem sem; in aux_tx() local
241 k_sem_init(&sem, 0, 1); in aux_tx()
249 .sem = &sem in aux_tx()
259 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
266 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
274 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
279 err = uart_callback_set(dev, aux_async_callback, &sem); in aux_tx()
286 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
293 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
302 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()
310 err = k_sem_take(&sem, K_MSEC(100)); in aux_tx()