Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dapple.c226 struct apple_nvme *anv = cookie; in apple_nvme_rtkit_crashed() local
228 dev_warn(anv->dev, "RTKit crashed; unable to recover without a reboot"); in apple_nvme_rtkit_crashed()
229 nvme_reset_ctrl(&anv->ctrl); in apple_nvme_rtkit_crashed()
235 struct apple_nvme *anv = cookie; in apple_nvme_sart_dma_setup() local
244 dma_alloc_coherent(anv->dev, bfr->size, &bfr->iova, GFP_KERNEL); in apple_nvme_sart_dma_setup()
248 ret = apple_sart_add_allowed_region(anv->sart, bfr->iova, bfr->size); in apple_nvme_sart_dma_setup()
250 dma_free_coherent(anv->dev, bfr->size, bfr->buffer, bfr->iova); in apple_nvme_sart_dma_setup()
261 struct apple_nvme *anv = cookie; in apple_nvme_sart_dma_destroy() local
263 apple_sart_remove_allowed_region(anv->sart, bfr->iova, bfr->size); in apple_nvme_sart_dma_destroy()
264 dma_free_coherent(anv->dev, bfr->size, bfr->buffer, bfr->iova); in apple_nvme_sart_dma_destroy()
[all …]