Lines Matching refs:blknr
654 static u32 ata_low_level_rw_lba48(struct ahci_uc_priv *uc_priv, u32 blknr, in ata_low_level_rw_lba48() argument
662 start = blknr; in ata_low_level_rw_lba48()
690 static u32 ata_low_level_rw_lba28(struct ahci_uc_priv *uc_priv, u32 blknr, in ata_low_level_rw_lba28() argument
698 start = blknr; in ata_low_level_rw_lba28()
812 struct blk_desc *desc, ulong blknr, 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()
828 struct blk_desc *desc, ulong blknr, 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()
1045 static ulong dwc_ahsata_read(struct udevice *blk, lbaint_t blknr, in dwc_ahsata_read() argument
1053 return sata_read_common(uc_priv, desc, blknr, blkcnt, buffer); in dwc_ahsata_read()
1056 static ulong dwc_ahsata_write(struct udevice *blk, lbaint_t blknr, in dwc_ahsata_write() argument
1064 return sata_write_common(uc_priv, desc, blknr, blkcnt, buffer); in dwc_ahsata_write()