Home
last modified time | relevance | path

Searched refs:CD_FRAMESIZE_RAW (Results 1 – 6 of 6) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/cdparanoia/files/
H A D0002-interface-remove-C-reserved-keyword.patch407 if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
409 - if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
410 + if(p)memcpy(p,d->priv->sg_buffer,sectors*CD_FRAMESIZE_RAW);
416 if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
418 - if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
419 + if(p)memcpy(p,d->priv->sg_buffer,sectors*CD_FRAMESIZE_RAW);
425 if((ret=handle_scsi_cmd(d,cmd,10,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
427 - if(p)memcpy(p,d->private->sg_buffer,sectors*CD_FRAMESIZE_RAW);
428 + if(p)memcpy(p,d->priv->sg_buffer,sectors*CD_FRAMESIZE_RAW);
434 if((ret=handle_scsi_cmd(d,cmd,12,0,sectors * CD_FRAMESIZE_RAW,'\177',1,sense)))
[all …]
H A D0001-check-for-null-buffer-before-trying-a-byteswap.patch29 long els=sectors*CD_FRAMESIZE_RAW/2;
/openbmc/linux/include/uapi/linux/
H A Dcdrom.h366 #define CD_FRAMESIZE_RAW 2352 /* bytes per frame, "raw" mode */ macro
369 #define CD_FRAMESIZE_RAW1 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE) /*2340*/
370 #define CD_FRAMESIZE_RAW0 (CD_FRAMESIZE_RAW-CD_SYNC_SIZE-CD_HEAD_SIZE) /*2336*/
/openbmc/linux/drivers/cdrom/
H A Dcdrom.c2093 case CD_FRAMESIZE_RAW : cgc->cmd[9] = 0xf8; break; in cdrom_read_block()
2116 cgc.buffer = kmalloc_array(nr, CD_FRAMESIZE_RAW, GFP_KERNEL); in cdrom_read_cdda_old()
2131 ret = cdrom_read_block(cdi, &cgc, lba, nr, 1, CD_FRAMESIZE_RAW); in cdrom_read_cdda_old()
2134 if (copy_to_user(ubuf, cgc.buffer, CD_FRAMESIZE_RAW * nr)) { in cdrom_read_cdda_old()
2138 ubuf += CD_FRAMESIZE_RAW * nr; in cdrom_read_cdda_old()
2150 CD_FRAMESIZE_RAW; in cdrom_read_cdda_bpc()
2168 ubuf += (nr * CD_FRAMESIZE_RAW); in cdrom_read_cdda_bpc()
2938 blocksize = CD_FRAMESIZE_RAW; in mmc_ioctl_cdrom_read_data()
/openbmc/linux/drivers/scsi/
H A Dsr.c928 u32 len = nr * CD_FRAMESIZE_RAW; in sr_read_cdda_bpc()
/openbmc/linux/Documentation/userspace-api/ioctl/
H A Dcdrom.rst452 char buffer[CD_FRAMESIZE_RAW]; /* return */