Home
last modified time | relevance | path

Searched refs:cursg_ofs (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/drivers/ide/
Dide-taskfile.c240 unsigned nr_bytes = min(len, cursg->length - cmd->cursg_ofs); in ide_pio_bytes()
243 offset = cursg->offset + cmd->cursg_ofs; in ide_pio_bytes()
254 cmd->cursg_ofs += nr_bytes; in ide_pio_bytes()
256 if (cmd->cursg_ofs == cursg->length) { in ide_pio_bytes()
258 cmd->cursg_ofs = 0; in ide_pio_bytes()
Dide-io.c249 cmd->cursg_ofs = 0; in ide_init_sg_cmd()
/Linux-v5.10/drivers/ata/
Dlibata-sff.c665 offset = qc->cursg->offset + qc->cursg_ofs; in ata_pio_sector()
682 qc->cursg_ofs += qc->sect_size; in ata_pio_sector()
684 if (qc->cursg_ofs == qc->cursg->length) { in ata_pio_sector()
688 qc->cursg_ofs = 0; in ata_pio_sector()
792 offset = sg->offset + qc->cursg_ofs; in __atapi_pio_bytes()
799 count = min(sg->length - qc->cursg_ofs, bytes); in __atapi_pio_bytes()
813 qc->cursg_ofs += count; in __atapi_pio_bytes()
815 if (qc->cursg_ofs == sg->length) { in __atapi_pio_bytes()
817 qc->cursg_ofs = 0; in __atapi_pio_bytes()
/Linux-v5.10/include/linux/
Dlibata.h646 unsigned int cursg_ofs; member
1781 qc->cursg_ofs = 0; in ata_qc_reinit()
Dide.h352 unsigned int cursg_ofs; member