Searched refs:NVME_CTRL_PAGE_SIZE (Results 1 – 4 of 4) sorted by relevance
327 NVME_MAX_KB_SZ + NVME_CTRL_PAGE_SIZE, NVME_CTRL_PAGE_SIZE); in apple_nvme_iod_alloc_size()344 const int last_prp = NVME_CTRL_PAGE_SIZE / sizeof(__le64) - 1; in apple_nvme_free_prps()403 int offset = dma_addr & (NVME_CTRL_PAGE_SIZE - 1); in apple_nvme_setup_prps()409 length -= (NVME_CTRL_PAGE_SIZE - offset); in apple_nvme_setup_prps()415 dma_len -= (NVME_CTRL_PAGE_SIZE - offset); in apple_nvme_setup_prps()417 dma_addr += (NVME_CTRL_PAGE_SIZE - offset); in apple_nvme_setup_prps()424 if (length <= NVME_CTRL_PAGE_SIZE) { in apple_nvme_setup_prps()429 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in apple_nvme_setup_prps()448 if (i == NVME_CTRL_PAGE_SIZE >> 3) { in apple_nvme_setup_prps()460 dma_len -= NVME_CTRL_PAGE_SIZE; in apple_nvme_setup_prps()[all …]
380 unsigned nprps = DIV_ROUND_UP(NVME_MAX_KB_SZ + NVME_CTRL_PAGE_SIZE, in nvme_pci_npages_prp()381 NVME_CTRL_PAGE_SIZE); in nvme_pci_npages_prp()541 const int last_prp = NVME_CTRL_PAGE_SIZE / sizeof(__le64) - 1; in nvme_free_prps()618 int offset = dma_addr & (NVME_CTRL_PAGE_SIZE - 1); in nvme_pci_setup_prps()624 length -= (NVME_CTRL_PAGE_SIZE - offset); in nvme_pci_setup_prps()630 dma_len -= (NVME_CTRL_PAGE_SIZE - offset); in nvme_pci_setup_prps()632 dma_addr += (NVME_CTRL_PAGE_SIZE - offset); in nvme_pci_setup_prps()639 if (length <= NVME_CTRL_PAGE_SIZE) { in nvme_pci_setup_prps()644 nprps = DIV_ROUND_UP(length, NVME_CTRL_PAGE_SIZE); in nvme_pci_setup_prps()662 if (i == NVME_CTRL_PAGE_SIZE >> 3) { in nvme_pci_setup_prps()[all …]
44 #define NVME_CTRL_PAGE_SIZE (1 << NVME_CTRL_PAGE_SHIFT) macro
1830 (ctrl->max_hw_sectors / (NVME_CTRL_PAGE_SIZE >> 9)) + 1; in nvme_set_queue_limits()1836 blk_queue_virt_boundary(q, NVME_CTRL_PAGE_SIZE - 1); in nvme_set_queue_limits()