Lines Matching refs:cur_residue
398 spriv->cur_residue = sg_dma_len(sg); in esp_map_dma()
416 p->cur_residue); in esp_cur_dma_addr()
428 return p->cur_residue; in esp_cur_dma_len()
441 p->cur_residue -= len; in esp_advance_dma()
443 if (p->cur_residue < 0 || p->tot_residue < 0) { in esp_advance_dma()
448 p->cur_residue, p->tot_residue, len); in esp_advance_dma()
449 p->cur_residue = 0; in esp_advance_dma()
452 if (!p->cur_residue && p->tot_residue) { in esp_advance_dma()
455 p->cur_residue = sg_dma_len(p->cur_sg); in esp_advance_dma()
474 ent->saved_cur_residue = spriv->cur_residue; in esp_save_pointers()
489 spriv->cur_residue = ent->saved_cur_residue; in esp_restore_pointers()
1658 if (spriv->cur_residue == sg_dma_len(spriv->cur_sg)) { in esp_msgin_process()
1660 spriv->cur_residue = 1; in esp_msgin_process()
1662 spriv->cur_residue++; in esp_msgin_process()