Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1964 u32 first_prp_len; in megasas_make_prp_nvme() local
2012 first_prp_len = mr_nvme_pg_size - offset; in megasas_make_prp_nvme()
2015 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in megasas_make_prp_nvme()
2017 data_len -= first_prp_len; in megasas_make_prp_nvme()
2019 if (sge_len > first_prp_len) { in megasas_make_prp_nvme()
2020 sge_addr += first_prp_len; in megasas_make_prp_nvme()
2021 sge_len -= first_prp_len; in megasas_make_prp_nvme()
2022 } else if (sge_len == first_prp_len) { in megasas_make_prp_nvme()
/Linux-v4.19/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2002 u32 first_prp_len; in base_make_prp_nvme() local
2061 first_prp_len = nvme_pg_size - offset; in base_make_prp_nvme()
2064 ptr_first_sgl->Length = cpu_to_le32(first_prp_len); in base_make_prp_nvme()
2066 data_len -= first_prp_len; in base_make_prp_nvme()
2068 if (sge_len > first_prp_len) { in base_make_prp_nvme()
2069 sge_addr += first_prp_len; in base_make_prp_nvme()
2070 sge_len -= first_prp_len; in base_make_prp_nvme()
2071 } else if (data_len && (sge_len == first_prp_len)) { in base_make_prp_nvme()