Lines Matching refs:sector_size
1060 sdev->sector_size = ATA_SECT_SIZE; in ata_scsi_dev_config()
1075 sdev->sector_size = ata_id_logical_sector_size(dev->id); in ata_scsi_dev_config()
1098 if (sdev->sector_size > PAGE_SIZE) in ata_scsi_dev_config()
1101 sdev->sector_size); in ata_scsi_dev_config()
1103 blk_queue_update_dma_alignment(q, sdev->sector_size - 1); in ata_scsi_dev_config()
1548 req_blocks = blk_rq_bytes(rq) / scmd->device->sector_size; in ata_check_nblocks()
1654 qc->nbytes = n_block * scmd->device->sector_size; in ata_scsi_rw_xlat()
2547 u32 sector_size; /* physical sector size in bytes */ in ata_scsiop_read_cap() local
2551 sector_size = ata_id_logical_sector_size(dev->id); in ata_scsiop_read_cap()
2566 rbuf[4] = sector_size >> (8 * 3); in ata_scsiop_read_cap()
2567 rbuf[5] = sector_size >> (8 * 2); in ata_scsiop_read_cap()
2568 rbuf[6] = sector_size >> (8 * 1); in ata_scsiop_read_cap()
2569 rbuf[7] = sector_size; in ata_scsiop_read_cap()
2582 rbuf[ 8] = sector_size >> (8 * 3); in ata_scsiop_read_cap()
2583 rbuf[ 9] = sector_size >> (8 * 2); in ata_scsiop_read_cap()
2584 rbuf[10] = sector_size >> (8 * 1); in ata_scsiop_read_cap()
2585 rbuf[11] = sector_size; in ata_scsiop_read_cap()
3066 qc->sect_size = scmd->device->sector_size; in ata_scsi_pass_thru()
3187 size_t len = sdp->sector_size; in ata_format_dsm_trim_descr()
3232 size_t len = sdp->sector_size; in ata_scsi_write_same_xlat()