Lines Matching refs:lock
796 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_read_byte()
802 k_mutex_unlock(&func->card->lock); in sdio_read_byte()
826 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_write_byte()
833 k_mutex_unlock(&func->card->lock); in sdio_write_byte()
859 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_rw_byte()
866 k_mutex_unlock(&func->card->lock); in sdio_rw_byte()
893 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_read_fifo()
900 k_mutex_unlock(&func->card->lock); in sdio_read_fifo()
927 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_write_fifo()
934 k_mutex_unlock(&func->card->lock); in sdio_write_fifo()
961 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_read_blocks_fifo()
968 k_mutex_unlock(&func->card->lock); in sdio_read_blocks_fifo()
995 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_write_blocks_fifo()
1002 k_mutex_unlock(&func->card->lock); in sdio_write_blocks_fifo()
1028 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_read_addr()
1035 k_mutex_unlock(&func->card->lock); in sdio_read_addr()
1062 ret = k_mutex_lock(&func->card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in sdio_write_addr()
1069 k_mutex_unlock(&func->card->lock); in sdio_write_addr()