Lines Matching defs:bytes
545 /* Transfer multiple of 2 bytes */
560 * swapping bytes to and from on the big endian machines...
605 /* Transfer multiple of 4 bytes */
611 /* Transfer trailing bytes, if any */
620 * swapping bytes to and from on the big endian machines...
658 * Transfer qc->sect_size bytes of data from/to the ATA device.
740 * atapi_send_cdb - Write CDB bytes to hardware
782 * @bytes: number of bytes
790 static int __atapi_pio_bytes(struct ata_queued_cmd *qc, unsigned int bytes)
805 "buf=%u cur=%u bytes=%u",
806 qc->nbytes, qc->curbytes, bytes);
818 count = min(sg->length - qc->cursg_ofs, bytes);
830 bytes -= min(bytes, consumed);
845 if (bytes)
864 unsigned int ireason, bc_lo, bc_hi, bytes;
877 bytes = (bc_hi << 8) | bc_lo;
888 if (unlikely(!bytes))
891 VPRINTK("ata%u: xfering %d bytes\n", ap->print_id, bytes);
893 if (unlikely(__atapi_pio_bytes(qc, bytes)))
900 ata_ehi_push_desc(ehi, "ATAPI check failed (ireason=0x%x bytes=%u)",
901 ireason, bytes);
2128 ata_port_dbg(ap, "drained %d bytes to clear DRQ\n", count);