Lines Matching refs:semphr
215 SemaphoreHandle_t semphr; ///< Binray semaphore to notify the device it claimed the bus member
274 xSemaphoreGiveFromISR(dev_lock->semphr, do_yield); in resume_dev_in_isr()
279 xSemaphoreGive(dev_lock->semphr); in resume_dev()
519 xSemaphoreTake(dev_handle->semphr, 0); in dev_wait_prepare()
524 BaseType_t ret = xSemaphoreTake(dev_handle->semphr, wait); in dev_wait()
594 dev_lock->semphr = xSemaphoreCreateBinary(); in spi_bus_lock_register_dev()
595 if (dev_lock->semphr == NULL) { in spi_bus_lock_register_dev()
619 if (dev_handle->semphr) { in spi_bus_lock_unregister_dev()
620 vSemaphoreDelete(dev_handle->semphr); in spi_bus_lock_unregister_dev()
815 .semphr = NULL,
823 g_spi_lock_main_flash_dev->semphr = xSemaphoreCreateBinaryStatic(&main_flash_semphr); in spi_bus_lock_init_main_dev()
824 if (g_spi_lock_main_flash_dev->semphr == NULL) { in spi_bus_lock_init_main_dev()