Lines Matching defs:bytes
483 /* Transfer multiple of 2 bytes */
498 * swapping bytes to and from on the big endian machines...
543 /* Transfer multiple of 4 bytes */
549 /* Transfer trailing bytes, if any */
558 * swapping bytes to and from on the big endian machines...
596 * Transfer qc->sect_size bytes of data from/to the ATA device.
678 * atapi_send_cdb - Write CDB bytes to hardware
721 * @bytes: number of bytes
729 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes)
744 "buf=%u cur=%u bytes=%u",
745 qc->nbytes, qc->curbytes, bytes);
757 count = min(sg->length - qc->cursg_ofs, bytes);
769 bytes -= min(bytes, consumed);
784 if (bytes)
803 unsigned int ireason, bc_lo, bc_hi, bytes;
816 bytes = (bc_hi << 8) | bc_lo;
827 if (unlikely(!bytes))
830 if (unlikely(__atapi_pio_bytes(qc, bytes)))
837 ata_ehi_push_desc(ehi, "ATAPI check failed (ireason=0x%x bytes=%u)",
838 ireason, bytes);
2037 ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count);