Searched refs:cursg (Results 1 – 7 of 7) sorted by relevance
231 struct scatterlist *cursg = cmd->cursg; in ide_pio_bytes() local236 if (cursg == NULL) in ide_pio_bytes()237 cursg = cmd->cursg = sg; in ide_pio_bytes()240 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes()242 page = sg_page(cursg); in ide_pio_bytes()243 offset = cursg->offset + cmd->cursg_ofs; in ide_pio_bytes()256 if (cmd->cursg_ofs == cursg->length) { in ide_pio_bytes()257 cursg = cmd->cursg = sg_next(cmd->cursg); in ide_pio_bytes()
250 cmd->cursg = NULL; in ide_init_sg_cmd()
548 qc->cursg = qc->sg; in octeon_cf_dma_setup()569 sg = qc->cursg; in octeon_cf_dma_start()701 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()702 qc->cursg = sg_next(qc->cursg); in octeon_cf_interrupt()
669 if (!qc->cursg) { in ata_pio_sector()676 page = sg_page(qc->cursg); in ata_pio_sector()677 offset = qc->cursg->offset + qc->cursg_ofs; in ata_pio_sector()703 if (qc->cursg_ofs == qc->cursg->length) { in ata_pio_sector()704 qc->cursg = sg_next(qc->cursg); in ata_pio_sector()705 if (!qc->cursg) in ata_pio_sector()802 sg = qc->cursg; in __atapi_pio_bytes()835 qc->cursg = sg_next(qc->cursg); in __atapi_pio_bytes()
4442 qc->cursg = qc->sg; in ata_sg_init()
646 struct scatterlist *cursg; member1781 qc->cursg = NULL; in ata_qc_reinit()
351 struct scatterlist *cursg; member