Lines Matching refs:blkcnt

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