Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/
Dsr_ioctl.c70 struct cdrom_tocentry *tocentry) in sr_read_tocentry() argument
84 cgc.cmd[1] |= (tocentry->cdte_format == CDROM_MSF) ? 0x02 : 0; in sr_read_tocentry()
85 cgc.cmd[6] = tocentry->cdte_track; in sr_read_tocentry()
95 tocentry->cdte_ctrl = buffer[5] & 0xf; in sr_read_tocentry()
96 tocentry->cdte_adr = buffer[5] >> 4; in sr_read_tocentry()
97 tocentry->cdte_datamode = (tocentry->cdte_ctrl & 0x04) ? 1 : 0; in sr_read_tocentry()
98 if (tocentry->cdte_format == CDROM_MSF) { in sr_read_tocentry()
99 tocentry->cdte_addr.msf.minute = buffer[9]; in sr_read_tocentry()
100 tocentry->cdte_addr.msf.second = buffer[10]; in sr_read_tocentry()
101 tocentry->cdte_addr.msf.frame = buffer[11]; in sr_read_tocentry()
[all …]