Home
last modified time | relevance | path

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

/linux-5.19.10/include/linux/
Dpktcdvd.h80 #if (PAGE_SIZE % CD_FRAMESIZE) != 0
84 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)
85 #define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)
/linux-5.19.10/drivers/block/
Dpktcdvd.c912 if ((pd->settings.size << 9) / CD_FRAMESIZE in pkt_set_segment_merging()
992 (CD_FRAMESIZE >> 9); in pkt_gather_data()
993 int num_frames = bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_gather_data()
994 pd->stats.secs_w += num_frames * (CD_FRAMESIZE >> 9); in pkt_gather_data()
1019 bio->bi_iter.bi_sector = pkt->sector + f * (CD_FRAMESIZE >> 9); in pkt_gather_data()
1023 p = (f * CD_FRAMESIZE) / PAGE_SIZE; in pkt_gather_data()
1024 offset = (f * CD_FRAMESIZE) % PAGE_SIZE; in pkt_gather_data()
1027 if (!bio_add_page(bio, pkt->pages[p], CD_FRAMESIZE, offset)) in pkt_gather_data()
1039 pd->stats.secs_rg += frames_read * (CD_FRAMESIZE >> 9); in pkt_gather_data()
1163 pkt->write_size += bio->bi_iter.bi_size / CD_FRAMESIZE; in pkt_handle_queue()
[all …]
/linux-5.19.10/drivers/scsi/
Dps3rom.c104 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) in ps3rom_atapi_request()
112 if (scsi_bufflen(cmd) >= CD_FRAMESIZE) in ps3rom_atapi_request()
346 if (dev->blk_size != CD_FRAMESIZE) { in ps3rom_probe()
Dsr_ioctl.c561 if (blksize != CD_FRAMESIZE) in sr_read_sector()
562 rc |= sr_set_blocklength(cd, CD_FRAMESIZE); in sr_read_sector()
/linux-5.19.10/include/uapi/linux/
Dcdrom.h365 #define CD_FRAMESIZE 2048 /* bytes per frame, "cooked" mode */ macro
/linux-5.19.10/Documentation/userspace-api/ioctl/
Dcdrom.rst489 CD_FRAMESIZE (2048) bytes
651 u8 buffer[CD_FRAMESIZE]
/linux-5.19.10/drivers/cdrom/
Dcdrom.c2955 blocksize = CD_FRAMESIZE; in mmc_ioctl_cdrom_read_data()
2984 if (blocksize != CD_FRAMESIZE) { in mmc_ioctl_cdrom_read_data()
2991 if (blocksize != CD_FRAMESIZE) in mmc_ioctl_cdrom_read_data()
2992 ret |= cdrom_switch_blocksize(cdi, CD_FRAMESIZE); in mmc_ioctl_cdrom_read_data()