Searched refs:CD_FRAMESIZE (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/drivers/ide/
H A Dide-cd.h27 #define SECTORS_PER_FRAME (CD_FRAMESIZE >> SECTOR_BITS)
28 #define SECTOR_BUFFER_SIZE (CD_FRAMESIZE * 32)
H A Dide-cd.c1526 blk_queue_logical_block_size(q, CD_FRAMESIZE); ide_cdrom_setup()
/linux-4.4.14/include/linux/
H A Dpktcdvd.h80 #if (PAGE_SIZE % CD_FRAMESIZE) != 0
81 #error "PAGE_SIZE must be a multiple of CD_FRAMESIZE"
84 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
85 #define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)
/linux-4.4.14/drivers/scsi/
H A Dps3rom.c116 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) ps3rom_atapi_request()
124 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) ps3rom_atapi_request()
364 if (dev->blk_size != CD_FRAMESIZE) { ps3rom_probe()
/linux-4.4.14/drivers/block/
H A Dpktcdvd.c926 if ((pd->settings.size << 9) / CD_FRAMESIZE pkt_set_segment_merging()
965 memcpy(vto, vfrom, CD_FRAMESIZE); pkt_make_local_copy()
972 offs += CD_FRAMESIZE; pkt_make_local_copy()
1037 (CD_FRAMESIZE >> 9); pkt_gather_data()
1038 int num_frames = bio->bi_iter.bi_size / CD_FRAMESIZE; pkt_gather_data()
1039 pd->stats.secs_w += num_frames * (CD_FRAMESIZE >> 9); pkt_gather_data()
1064 bio->bi_iter.bi_sector = pkt->sector + f * (CD_FRAMESIZE >> 9); pkt_gather_data()
1069 p = (f * CD_FRAMESIZE) / PAGE_SIZE; pkt_gather_data()
1070 offset = (f * CD_FRAMESIZE) % PAGE_SIZE; pkt_gather_data()
1073 if (!bio_add_page(bio, pkt->pages[p], CD_FRAMESIZE, offset)) pkt_gather_data()
1086 pd->stats.secs_rg += frames_read * (CD_FRAMESIZE >> 9); pkt_gather_data()
1151 old_block = pkt->sector / (CD_FRAMESIZE >> 9); pkt_start_recovery()
1155 new_sector = new_block * (CD_FRAMESIZE >> 9); pkt_start_recovery()
1162 pkt->bio->bi_iter.bi_size = pkt->frames * CD_FRAMESIZE; pkt_start_recovery()
1270 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; pkt_handle_queue()
1311 bvec[f].bv_page = pkt->pages[(f * CD_FRAMESIZE) / PAGE_SIZE]; pkt_start_write()
1312 bvec[f].bv_offset = (f * CD_FRAMESIZE) % PAGE_SIZE; pkt_start_write()
1313 if (!bio_add_page(pkt->w_bio, bvec[f].bv_page, CD_FRAMESIZE, bvec[f].bv_offset)) pkt_start_write()
2302 set_blocksize(bdev, CD_FRAMESIZE); pkt_open()
2383 bio->bi_iter.bi_size / CD_FRAMESIZE; pkt_make_request_write()
2479 if (!bio->bi_iter.bi_size || (bio->bi_iter.bi_size % CD_FRAMESIZE)) { pkt_make_request()
2513 blk_queue_logical_block_size(q, CD_FRAMESIZE); pkt_init_queue()
2629 set_blocksize(bdev, CD_FRAMESIZE); pkt_new_dev()
/linux-4.4.14/include/uapi/linux/
H A Dcdrom.h303 * 2 (Yellow Book) Mode1 Form1 2048 (CD_FRAMESIZE)
305 * 4 (Green Book) Mode2 Form1 2048 (CD_FRAMESIZE)
342 #define CD_FRAMESIZE 2048 /* bytes per frame, "cooked" mode */ macro
/linux-4.4.14/drivers/cdrom/
H A Dcdrom.c2943 blocksize = CD_FRAMESIZE; mmc_ioctl_cdrom_read_data()

Completed in 347 milliseconds