Searched refs:CD_FRAMESIZE (Results 1 – 8 of 8) sorted by relevance
175 #if (PAGE_SIZE % CD_FRAMESIZE) != 0179 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)180 #define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)
342 #define CD_FRAMESIZE 2048 /* bytes per frame, "cooked" mode */ macro
27 #define SECTORS_PER_FRAME (CD_FRAMESIZE >> SECTOR_BITS)28 #define SECTOR_BUFFER_SIZE (CD_FRAMESIZE * 32)
1526 blk_queue_logical_block_size(q, CD_FRAMESIZE); in ide_cdrom_setup()
960 if ((pd->settings.size << 9) / CD_FRAMESIZE in pkt_set_segment_merging()986 unsigned int copy_size = CD_FRAMESIZE; in pkt_copy_bio_data()1024 memcpy(vto, vfrom, CD_FRAMESIZE); in pkt_make_local_copy()1031 offs += CD_FRAMESIZE; in pkt_make_local_copy()1094 int first_frame = (bio->bi_sector - pkt->sector) / (CD_FRAMESIZE >> 9); in pkt_gather_data()1095 int num_frames = bio->bi_size / CD_FRAMESIZE; in pkt_gather_data()1096 pd->stats.secs_w += num_frames * (CD_FRAMESIZE >> 9); in pkt_gather_data()1123 bio->bi_sector = pkt->sector + f * (CD_FRAMESIZE >> 9); in pkt_gather_data()1130 p = (f * CD_FRAMESIZE) / PAGE_SIZE; in pkt_gather_data()1131 offset = (f * CD_FRAMESIZE) % PAGE_SIZE; in pkt_gather_data()[all …]
116 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) in ps3rom_atapi_request()124 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) in ps3rom_atapi_request()369 if (dev->blk_size != CD_FRAMESIZE) { in ps3rom_probe()
387 CD_FRAMESIZE (2048) bytes515 u8 buffer[CD_FRAMESIZE]
2872 blocksize = CD_FRAMESIZE; in mmc_ioctl_cdrom_read_data()