Lines Matching defs:new_sectors
899 * @new_sectors: new max sectors value to set for the device
905 static u64 ata_set_native_max_address_ext(struct ata_device *dev, u64 new_sectors)
910 new_sectors--;
919 tf.lbal = (new_sectors >> 0) & 0xff;
920 tf.lbam = (new_sectors >> 8) & 0xff;
921 tf.lbah = (new_sectors >> 16) & 0xff;
923 tf.hob_lbal = (new_sectors >> 24) & 0xff;
924 tf.hob_lbam = (new_sectors >> 32) & 0xff;
925 tf.hob_lbah = (new_sectors >> 40) & 0xff;
937 * @new_sectors: new max sectors value to set for the device
943 static u64 ata_set_native_max_address(struct ata_device *dev, u64 new_sectors)
948 new_sectors--;
956 tf.lbal = (new_sectors >> 0) & 0xff;
957 tf.lbam = (new_sectors >> 8) & 0xff;
958 tf.lbah = (new_sectors >> 16) & 0xff;
959 tf.device |= ((new_sectors >> 24) & 0x0f) | 0x40;