Lines Matching defs:n_elem_dif
231 if (slot->n_elem_dif) {
345 struct sas_task *task, int n_elem_dif)
349 if (n_elem_dif) {
360 int *n_elem_dif, struct sas_task *task)
372 *n_elem_dif = dma_map_sg(dev,
377 if (!*n_elem_dif)
380 if (*n_elem_dif > HISI_SAS_SGE_DIF_PAGE_CNT) {
381 dev_err(dev, "task prep: n_elem_dif(%d) too large\n",
382 *n_elem_dif);
463 int n_elem = 0, n_elem_dif = 0;
580 rc = hisi_sas_dif_dma_map(hisi_hba, &n_elem_dif, task);
595 slot->n_elem_dif = n_elem_dif;
609 hisi_sas_dif_dma_unmap(hisi_hba, task, n_elem_dif);