Lines Matching refs:lock
558 ret = k_mutex_lock(&card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in card_read_blocks()
575 k_mutex_unlock(&card->lock); in card_read_blocks()
586 k_mutex_unlock(&card->lock); in card_read_blocks()
600 k_mutex_unlock(&card->lock); in card_read_blocks()
604 k_mutex_unlock(&card->lock); in card_read_blocks()
724 ret = k_mutex_lock(&card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in card_write_blocks()
740 k_mutex_unlock(&card->lock); in card_write_blocks()
753 k_mutex_unlock(&card->lock); in card_write_blocks()
765 k_mutex_unlock(&card->lock); in card_write_blocks()
769 k_mutex_unlock(&card->lock); in card_write_blocks()
778 ret = k_mutex_lock(&card->lock, K_MSEC(CONFIG_SD_DATA_TIMEOUT)); in card_ioctl()
811 k_mutex_unlock(&card->lock); in card_ioctl()