Home
last modified time | relevance | path

Searched refs:access_mutex (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/sdhc/
Dmcux_sdif.c52 struct k_mutex access_mutex; member
97 k_mutex_lock(&data->access_mutex, K_FOREVER); in mcux_sdif_reset()
107 k_mutex_unlock(&data->access_mutex); in mcux_sdif_reset()
204 k_mutex_init(&data->access_mutex); in mcux_sdif_init()
375 ret = k_mutex_lock(&dev_data->access_mutex, K_MSEC(cmd->timeout_ms)); in mcux_sdif_request()
395 k_mutex_unlock(&dev_data->access_mutex); in mcux_sdif_request()
400 k_mutex_unlock(&dev_data->access_mutex); in mcux_sdif_request()
Dimx_usdhc.c86 struct k_mutex access_mutex; member
721 if (k_mutex_lock(&dev_data->access_mutex, request.command_timeout) != 0) { in imx_usdhc_request()
750 k_mutex_unlock(&dev_data->access_mutex); in imx_usdhc_request()
765 k_mutex_unlock(&dev_data->access_mutex); in imx_usdhc_request()
779 k_mutex_unlock(&dev_data->access_mutex); in imx_usdhc_request()
1036 k_mutex_init(&data->access_mutex); in imx_usdhc_init()