Lines Matching refs:max_sectors
1190 static int ata_read_native_max_address(struct ata_device *dev, u64 *max_sectors) in ata_read_native_max_address() argument
1221 *max_sectors = ata_tf_to_lba48(&tf) + 1; in ata_read_native_max_address()
1223 *max_sectors = ata_tf_to_lba(&tf) + 1; in ata_read_native_max_address()
1225 (*max_sectors)--; in ata_read_native_max_address()
2886 dev->max_sectors = 0; in ata_dev_configure()
3028 dev->max_sectors = ATA_MAX_SECTORS; in ata_dev_configure()
3030 dev->max_sectors = ATA_MAX_SECTORS_LBA48; in ata_dev_configure()
3038 dev->max_sectors = ATA_MAX_SECTORS; in ata_dev_configure()
3043 dev->max_sectors = ATA_MAX_SECTORS_TAPE; in ata_dev_configure()
3048 dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_128, in ata_dev_configure()
3049 dev->max_sectors); in ata_dev_configure()
3052 dev->max_sectors = min_t(unsigned int, ATA_MAX_SECTORS_1024, in ata_dev_configure()
3053 dev->max_sectors); in ata_dev_configure()
3056 dev->max_sectors = ATA_MAX_SECTORS_LBA48; in ata_dev_configure()