Searched refs:cursg_ofs (Results 1 – 2 of 2) sorted by relevance
1158 qc->cursg_ofs = 0; in ata_dev_identify()3014 offset = sg[qc->cursg].offset + qc->cursg_ofs * ATA_SECT_SIZE; in ata_pio_sector()3023 qc->cursg_ofs++; in ata_pio_sector()3025 if ((qc->cursg_ofs * ATA_SECT_SIZE) == (&sg[qc->cursg])->length) { in ata_pio_sector()3027 qc->cursg_ofs = 0; in ata_pio_sector()3090 offset = sg->offset + qc->cursg_ofs; in __atapi_pio_bytes()3097 count = min(sg->length - qc->cursg_ofs, bytes); in __atapi_pio_bytes()3106 qc->cursg_ofs += count; in __atapi_pio_bytes()3108 if (qc->cursg_ofs == sg->length) { in __atapi_pio_bytes()3110 qc->cursg_ofs = 0; in __atapi_pio_bytes()
273 unsigned int cursg_ofs; member667 qc->cursect = qc->cursg = qc->cursg_ofs = 0; in ata_qc_reinit()