Searched refs:first_prp_len (Results 1 – 2 of 2) sorted by relevance
1964 u32 first_prp_len; in megasas_make_prp_nvme() local2012 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()
2002 u32 first_prp_len; in base_make_prp_nvme() local2061 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()