Lines Matching refs:n_sectors
913 u64 dev_sectors = qc->dev->n_sectors; in ata_scsi_verify_xlat()
1791 u64 n_sectors; in ata_scsiop_read_cap() local
1798 n_sectors = ata_id_u64(args->id, 100); in ata_scsiop_read_cap()
1800 n_sectors = ata_id_u32(args->id, 60); in ata_scsiop_read_cap()
1803 n_sectors = args->id[1] * args->id[3] * args->id[6]; in ata_scsiop_read_cap()
1807 n_sectors = ata_id_u32(args->id, 57); in ata_scsiop_read_cap()
1810 n_sectors--; /* ATA TotalUserSectors - 1 */ in ata_scsiop_read_cap()
1813 if( n_sectors >= 0xffffffffULL ) in ata_scsiop_read_cap()
1816 tmp = n_sectors ; in ata_scsiop_read_cap()
1831 tmp = n_sectors >> (8 * 4); in ata_scsiop_read_cap()
1836 tmp = n_sectors; in ata_scsiop_read_cap()