Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/nvme/host/
Dapple.c494 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - offset; in apple_nvme_setup_prp_simple() local
502 if (bv->bv_len > first_prp_len) in apple_nvme_setup_prp_simple()
503 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len); in apple_nvme_setup_prp_simple()
Dpci.c789 unsigned int first_prp_len = NVME_CTRL_PAGE_SIZE - offset; in nvme_setup_prp_simple() local
797 if (bv->bv_len > first_prp_len) in nvme_setup_prp_simple()
798 cmnd->dptr.prp2 = cpu_to_le64(iod->first_dma + first_prp_len); in nvme_setup_prp_simple()
/linux-6.1.9/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c2155 u32 first_prp_len; in megasas_make_prp_nvme() local
2200 first_prp_len = mr_nvme_pg_size - offset; in megasas_make_prp_nvme()
2203 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in megasas_make_prp_nvme()
2205 data_len -= first_prp_len; in megasas_make_prp_nvme()
2207 if (sge_len > first_prp_len) { in megasas_make_prp_nvme()
2208 sge_addr += first_prp_len; in megasas_make_prp_nvme()
2209 sge_len -= first_prp_len; in megasas_make_prp_nvme()
2210 } else if (sge_len == first_prp_len) { in megasas_make_prp_nvme()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2435 u32 first_prp_len; in base_make_prp_nvme() local
2494 first_prp_len = nvme_pg_size - offset; in base_make_prp_nvme()
2497 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in base_make_prp_nvme()
2499 data_len -= first_prp_len; in base_make_prp_nvme()
2501 if (sge_len > first_prp_len) { in base_make_prp_nvme()
2502 sge_addr += first_prp_len; in base_make_prp_nvme()
2503 sge_len -= first_prp_len; in base_make_prp_nvme()
2504 } else if (data_len && (sge_len == first_prp_len)) { in base_make_prp_nvme()