Searched refs:thread_lock (Results 1 – 2 of 2) sorted by relevance
62 struct k_sem thread_lock; member192 k_sem_take(&priv->thread_lock, K_FOREVER); in sdhc_ra_request()422 k_sem_give(&priv->thread_lock); in sdhc_ra_request()432 k_sem_take(&priv->thread_lock, K_USEC(50)); in sdhc_ra_reset()438 k_sem_give(&priv->thread_lock); in sdhc_ra_reset()557 k_sem_init(&priv->thread_lock, 1, 1); in sdhc_ra_init()568 k_sem_take(&priv->thread_lock, K_USEC(timeout)); in sdhc_ra_init()581 k_sem_give(&priv->thread_lock); in sdhc_ra_init()
77 struct k_sem thread_lock; member402 k_sem_take(&priv->thread_lock, K_FOREVER); in stm32_sdmmc_access_read()423 k_sem_give(&priv->thread_lock); in stm32_sdmmc_access_read()458 k_sem_take(&priv->thread_lock, K_FOREVER); in stm32_sdmmc_access_write()479 k_sem_give(&priv->thread_lock); in stm32_sdmmc_access_write()707 k_sem_init(&priv->thread_lock, 1, 1); in disk_stm32_sdmmc_init()