Lines Matching refs:cur_sg
400 spriv->cur_sg = sg; in esp_map_dma()
414 return sg_dma_address(p->cur_sg) + in esp_cur_dma_addr()
415 (sg_dma_len(p->cur_sg) - in esp_cur_dma_addr()
453 p->prv_sg = p->cur_sg; in esp_advance_dma()
454 p->cur_sg = sg_next(p->cur_sg); in esp_advance_dma()
455 p->cur_residue = sg_dma_len(p->cur_sg); in esp_advance_dma()
476 ent->saved_cur_sg = spriv->cur_sg; in esp_save_pointers()
491 spriv->cur_sg = ent->saved_cur_sg; in esp_restore_pointers()
1358 ptr = scsi_kmap_atomic_sg(p->cur_sg, p->num_sg, in esp_data_bytes_sent()
1650 if (spriv->cur_residue == sg_dma_len(spriv->cur_sg)) { in esp_msgin_process()
1651 spriv->cur_sg = spriv->prv_sg; in esp_msgin_process()