Lines Matching refs:blks
666 u32 start, blks; in ata_low_level_rw_lba48() local
671 blks = blkcnt; in ata_low_level_rw_lba48()
676 if (blks > max_blks) { in ata_low_level_rw_lba48()
684 blks -= max_blks; in ata_low_level_rw_lba48()
688 fsl_sata_rw_cmd_ext(sata, start, blks, in ata_low_level_rw_lba48()
691 fsl_sata_rw_ncq_cmd(sata, start, blks, in ata_low_level_rw_lba48()
693 start += blks; in ata_low_level_rw_lba48()
694 blks = 0; in ata_low_level_rw_lba48()
695 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba48()
697 } while (blks != 0); in ata_low_level_rw_lba48()
699 return blks; in ata_low_level_rw_lba48()
705 u32 start, blks; in ata_low_level_rw_lba28() local
710 blks = blkcnt; in ata_low_level_rw_lba28()
715 if (blks > max_blks) { in ata_low_level_rw_lba28()
718 blks -= max_blks; in ata_low_level_rw_lba28()
721 fsl_sata_rw_cmd(sata, start, blks, addr, is_write); in ata_low_level_rw_lba28()
722 start += blks; in ata_low_level_rw_lba28()
723 blks = 0; in ata_low_level_rw_lba28()
724 addr += ATA_SECT_SIZE * blks; in ata_low_level_rw_lba28()
726 } while (blks != 0); in ata_low_level_rw_lba28()
728 return blks; in ata_low_level_rw_lba28()