Home
last modified time | relevance | path

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

/openbmc/linux/drivers/nvme/host/
H A Dapple.c350 __le64 *prp_list = apple_nvme_iod_list(req)[i]; in apple_nvme_free_prps() local
353 dma_pool_free(anv->prp_page_pool, prp_list, dma_addr); in apple_nvme_free_prps()
404 __le64 *prp_list; in apple_nvme_setup_prps() local
438 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in apple_nvme_setup_prps()
439 if (!prp_list) { in apple_nvme_setup_prps()
444 list[0] = prp_list; in apple_nvme_setup_prps()
449 __le64 *old_prp_list = prp_list; in apple_nvme_setup_prps()
452 if (!prp_list) in apple_nvme_setup_prps()
454 list[iod->npages++] = prp_list; in apple_nvme_setup_prps()
455 prp_list[0] = old_prp_list[i - 1]; in apple_nvme_setup_prps()
[all …]
H A Dpci.c221 __le64 *prp_list; member
532 __le64 *prp_list = iod->list[i].prp_list; in nvme_free_prps() local
589 __le64 *prp_list; in nvme_pci_setup_prps() local
622 prp_list = dma_pool_alloc(pool, GFP_ATOMIC, &prp_dma); in nvme_pci_setup_prps()
623 if (!prp_list) { in nvme_pci_setup_prps()
627 iod->list[0].prp_list = prp_list; in nvme_pci_setup_prps()
632 __le64 *old_prp_list = prp_list; in nvme_pci_setup_prps()
634 if (!prp_list) in nvme_pci_setup_prps()
636 iod->list[iod->nr_allocations++].prp_list = prp_list; in nvme_pci_setup_prps()
637 prp_list[0] = old_prp_list[i - 1]; in nvme_pci_setup_prps()
[all …]
/openbmc/qemu/hw/nvme/
H A Dctrl.c897 g_autofree uint64_t *prp_list = g_new(uint64_t, n->max_prp_ents); in nvme_map_prp() local
908 ret = nvme_addr_read(n, prp2, (void *)prp_list, prp_trans); in nvme_map_prp()
915 uint64_t prp_ent = le64_to_cpu(prp_list[i]); in nvme_map_prp()
928 ret = nvme_addr_read(n, prp_ent, (void *)prp_list, in nvme_map_prp()
935 prp_ent = le64_to_cpu(prp_list[i]); in nvme_map_prp()