Searched refs:mr_nvme_pg_size (Results 1 – 2 of 2) sorted by relevance
1850 u32 mr_nvme_pg_size; in megasas_is_prp_possible() local1852 mr_nvme_pg_size = max_t(u32, instance->nvme_page_size, in megasas_is_prp_possible()1867 if (data_length > (mr_nvme_pg_size * 5)) { in megasas_is_prp_possible()1869 } else if ((data_length > (mr_nvme_pg_size * 4)) && in megasas_is_prp_possible()1870 (data_length <= (mr_nvme_pg_size * 5))) { in megasas_is_prp_possible()1872 if (sg_dma_len(sg_scmd) < (data_length - (mr_nvme_pg_size * 4))) in megasas_is_prp_possible()1907 if (mega_mod64(sg_dma_len(sg_scmd), mr_nvme_pg_size) || in megasas_is_prp_possible()1909 mr_nvme_pg_size)) { in megasas_is_prp_possible()1919 mr_nvme_pg_size))) { in megasas_is_prp_possible()1928 mr_nvme_pg_size)) { in megasas_is_prp_possible()[all …]
1875 u32 mr_nvme_pg_size; in megasas_set_nvme_device_properties() local1878 mr_nvme_pg_size = max_t(u32, instance->nvme_page_size, in megasas_set_nvme_device_properties()1884 blk_queue_virt_boundary(sdev->request_queue, mr_nvme_pg_size - 1); in megasas_set_nvme_device_properties()