Searched refs:CD_FRAMESIZE (Results 1 – 7 of 7) sorted by relevance
80 #if (PAGE_SIZE % CD_FRAMESIZE) != 084 #define FRAMES_PER_PAGE (PAGE_SIZE / CD_FRAMESIZE)85 #define PACKET_MAX_SECTORS (PACKET_MAX_SIZE * CD_FRAMESIZE >> 9)
912 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 …]
104 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()
561 if (blksize != CD_FRAMESIZE) in sr_read_sector()562 rc |= sr_set_blocklength(cd, CD_FRAMESIZE); in sr_read_sector()
365 #define CD_FRAMESIZE 2048 /* bytes per frame, "cooked" mode */ macro
489 CD_FRAMESIZE (2048) bytes651 u8 buffer[CD_FRAMESIZE]
2955 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()