Lines Matching defs:sectors_per_frame
710 unsigned short sectors_per_frame =
715 rq->cmd[0], rq->cmd_flags, sectors_per_frame);
730 if ((blk_rq_sectors(rq) & (sectors_per_frame - 1)) ||
731 (blk_rq_pos(rq) & (sectors_per_frame - 1)))
877 unsigned long *sectors_per_frame,
902 * sure the sectors_per_frame we give to the caller won't
922 *sectors_per_frame = blocklen >> SECTOR_BITS;
924 ide_debug_log(IDE_DBG_PROBE, "cap: %lu, sectors_per_frame: %lu",
925 *capacity, *sectors_per_frame);
964 unsigned long sectors_per_frame = SECTORS_PER_FRAME;
989 stat = cdrom_read_capacity(drive, &toc->capacity, §ors_per_frame,
994 set_capacity(info->disk, toc->capacity * sectors_per_frame);
996 drive->probed_capacity = toc->capacity * sectors_per_frame;
999 sectors_per_frame << SECTOR_BITS);
1111 set_capacity(info->disk, toc->capacity * sectors_per_frame);
1112 drive->probed_capacity = toc->capacity * sectors_per_frame;
1396 unsigned long capacity, sectors_per_frame;
1398 if (cdrom_read_capacity(drive, &capacity, §ors_per_frame, NULL))
1401 return capacity * sectors_per_frame;