Lines Matching refs:sector_size
356 if (cd->device->sector_size == 2048) in sr_done()
428 s_size = cd->device->sector_size; in sr_init_command()
509 SCpnt->transfersize = cd->device->sector_size; in sr_init_command()
674 if (cd->device->sector_size > 2048) in sr_release()
738 sdev->sector_size = 2048; /* A guess, just in case */ in sr_probe()
788 int sector_size; in get_sectorsize() local
808 sector_size = 2048; /* A guess, just in case */ in get_sectorsize()
824 sector_size = (buffer[4] << 24) | in get_sectorsize()
826 switch (sector_size) { in get_sectorsize()
836 sector_size = 2048; in get_sectorsize()
845 "unsupported sector size %d.", sector_size); in get_sectorsize()
849 cd->device->sector_size = sector_size; in get_sectorsize()
859 blk_queue_logical_block_size(queue, sector_size); in get_sectorsize()