Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
H A Dapple.c525 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - offset; in apple_nvme_setup_prp_simple() local
533 if (bv->bv_len > first_prp_len) in apple_nvme_setup_prp_simple()
534 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len); in apple_nvme_setup_prp_simple()
H A Dpci.c1204 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - prp1_offset; in nvme_pci_setup_data_simple() local
1208 if (bv.bv_len > first_prp_len) in nvme_pci_setup_data_simple()
1210 cpu_to_le64(dma_addr + first_prp_len); in nvme_pci_setup_data_simple()
/linux/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c2159 u32 first_prp_len; in megasas_make_prp_nvme() local
2204 first_prp_len = mr_nvme_pg_size - offset; in megasas_make_prp_nvme()
2207 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in megasas_make_prp_nvme()
2209 data_len -= first_prp_len; in megasas_make_prp_nvme()
2211 if (sge_len > first_prp_len) { in megasas_make_prp_nvme()
2212 sge_addr += first_prp_len; in megasas_make_prp_nvme()
2213 sge_len -= first_prp_len; in megasas_make_prp_nvme()
2214 } else if (sge_len == first_prp_len) { in megasas_make_prp_nvme()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c2462 u32 first_prp_len; in base_make_prp_nvme() local
2521 first_prp_len = nvme_pg_size - offset; in base_make_prp_nvme()
2524 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in base_make_prp_nvme()
2526 data_len -= first_prp_len; in base_make_prp_nvme()
2528 if (sge_len > first_prp_len) { in base_make_prp_nvme()
2529 sge_addr += first_prp_len; in base_make_prp_nvme()
2530 sge_len -= first_prp_len; in base_make_prp_nvme()
2531 } else if (data_len && (sge_len == first_prp_len)) { in base_make_prp_nvme()