Searched refs:cursg (Results 1 – 7 of 7) sorted by relevance
228 struct scatterlist *cursg = cmd->cursg; in ide_pio_bytes() local234 cursg = cmd->cursg; in ide_pio_bytes()235 if (cursg == NULL) in ide_pio_bytes()236 cursg = cmd->cursg = sg; in ide_pio_bytes()239 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes()245 page = sg_page(cursg); in ide_pio_bytes()246 offset = cursg->offset + cmd->cursg_ofs; in ide_pio_bytes()261 if (cmd->cursg_ofs == cursg->length) { in ide_pio_bytes()262 cursg = cmd->cursg = sg_next(cmd->cursg); in ide_pio_bytes()
237 cmd->cursg = NULL; in ide_init_sg_cmd()
509 qc->cursg = qc->sg; in octeon_cf_dma_setup()530 sg = qc->cursg; in octeon_cf_dma_start()666 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()667 qc->cursg = sg_next(qc->cursg); in octeon_cf_interrupt()
709 page = sg_page(qc->cursg); in ata_pio_sector()710 offset = qc->cursg->offset + qc->cursg_ofs; in ata_pio_sector()743 if (qc->cursg_ofs == qc->cursg->length) { in ata_pio_sector()744 qc->cursg = sg_next(qc->cursg); in ata_pio_sector()840 sg = qc->cursg; in __atapi_pio_bytes()887 qc->cursg = sg_next(qc->cursg); in __atapi_pio_bytes()
4635 qc->cursg = qc->sg; in ata_sg_init()
583 struct scatterlist *cursg; member1523 qc->cursg = NULL; in ata_qc_reinit()
310 struct scatterlist *cursg; member