Home | History | Annotate | Download | only in ata

Lines Matching refs:blkcnt

550 			     u32 blkcnt, u8 *buffer, int is_write)
570 cfis->sector_count = (u8)(blkcnt & 0xff);
573 ATA_SECT_SIZE * blkcnt, is_write) > 0)
574 return blkcnt;
595 lbaint_t blkcnt, u8 *buffer, int is_write)
619 cfis->sector_count_exp = (blkcnt >> 8) & 0xff;
620 cfis->sector_count = blkcnt & 0xff;
623 ATA_SECT_SIZE * blkcnt, is_write) > 0)
624 return blkcnt;
655 lbaint_t blkcnt, const void *buffer,
663 blks = blkcnt;
687 return blkcnt;
691 lbaint_t blkcnt, const void *buffer,
699 blks = blkcnt;
722 return blkcnt;
813 lbaint_t blkcnt, void *buffer)
818 rc = ata_low_level_rw_lba48(uc_priv, blknr, blkcnt, buffer,
821 rc = ata_low_level_rw_lba28(uc_priv, blknr, blkcnt, buffer,
829 lbaint_t blkcnt, const void *buffer)
835 rc = ata_low_level_rw_lba48(uc_priv, blknr, blkcnt, buffer,
840 rc = ata_low_level_rw_lba28(uc_priv, blknr, blkcnt, buffer,
946 ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer)
950 return sata_read_common(uc_priv, &sata_dev_desc[dev], blknr, blkcnt,
954 ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer)
958 return sata_write_common(uc_priv, &sata_dev_desc[dev], blknr, blkcnt,
1046 lbaint_t blkcnt, void *buffer)
1053 return sata_read_common(uc_priv, desc, blknr, blkcnt, buffer);
1057 lbaint_t blkcnt, const void *buffer)
1064 return sata_write_common(uc_priv, desc, blknr, blkcnt, buffer);