Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dapple.c326 const unsigned int nprps = DIV_ROUND_UP( in apple_nvme_iod_alloc_size() local
328 const int npages = DIV_ROUND_UP(8 * nprps, PAGE_SIZE - 8); in apple_nvme_iod_alloc_size()
407 int nprps, i; in apple_nvme_setup_prps() local
429 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in apple_nvme_setup_prps()
430 if (nprps <= (256 / 8)) { in apple_nvme_setup_prps()
H A Dpci.c396 unsigned nprps = DIV_ROUND_UP(max_bytes, NVME_CTRL_PAGE_SIZE); in nvme_pci_npages_prp() local
397 return DIV_ROUND_UP(8 * nprps, NVME_CTRL_PAGE_SIZE - 8); in nvme_pci_npages_prp()
607 int nprps, i; in nvme_pci_setup_prps() local
629 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in nvme_pci_setup_prps()
630 if (nprps <= (256 / 8)) { in nvme_pci_setup_prps()