Lines Matching refs:dev_lock
108 struct k_sem dev_lock; member
126 .dev_lock = Z_SEM_INITIALIZER(dwt_0_context.dev_lock, 1, 1),
586 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_irq_work_handler()
610 k_sem_give(&ctx->dev_lock); in dwt_irq_work_handler()
650 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_cca()
655 k_sem_give(&ctx->dev_lock); in dwt_cca()
662 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_cca()
664 k_sem_give(&ctx->dev_lock); in dwt_cca()
694 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_set_channel()
703 k_sem_give(&ctx->dev_lock); in dwt_set_channel()
712 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_set_pan_id()
714 k_sem_give(&ctx->dev_lock); in dwt_set_pan_id()
725 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_set_short_addr()
728 k_sem_give(&ctx->dev_lock); in dwt_set_short_addr()
744 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_set_ieee_addr()
747 k_sem_give(&ctx->dev_lock); in dwt_set_ieee_addr()
797 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_tx()
858 k_sem_give(&ctx->dev_lock); in dwt_tx()
865 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_tx()
873 k_sem_give(&ctx->dev_lock); in dwt_tx()
882 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_tx()
884 k_sem_give(&ctx->dev_lock); in dwt_tx()
891 k_sem_give(&ctx->dev_lock); in dwt_tx()
1058 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_start()
1072 k_sem_give(&ctx->dev_lock); in dwt_start()
1094 k_sem_give(&ctx->dev_lock); in dwt_start()
1105 k_sem_take(&ctx->dev_lock, K_FOREVER); in dwt_stop()
1113 k_sem_give(&ctx->dev_lock); in dwt_stop()