Searched refs:cursg_ofs (Results 1 – 5 of 5) sorted by relevance
240 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()
249 cmd->cursg_ofs = 0; in ide_init_sg_cmd()
665 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()
646 unsigned int cursg_ofs; member1781 qc->cursg_ofs = 0; in ata_qc_reinit()
352 unsigned int cursg_ofs; member