Searched refs:first_prp_len (Results 1 – 4 of 4) sorted by relevance
525 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - offset; in apple_nvme_setup_prp_simple() local533 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()
1204 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - prp1_offset; in nvme_pci_setup_data_simple() local1208 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()
2159 u32 first_prp_len; in megasas_make_prp_nvme() local2204 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()
2462 u32 first_prp_len; in base_make_prp_nvme() local2521 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()