Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/host/
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()
Dpci.c391 unsigned nprps = DIV_ROUND_UP(max_bytes, NVME_CTRL_PAGE_SIZE); in nvme_pci_npages_prp() local
392 return DIV_ROUND_UP(8 * nprps, NVME_CTRL_PAGE_SIZE - 8); in nvme_pci_npages_prp()
591 int nprps, i; in nvme_pci_setup_prps() local
613 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in nvme_pci_setup_prps()
614 if (nprps <= (256 / 8)) { in nvme_pci_setup_prps()