Lines Matching refs:tocentry
70 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()
103 tocentry->cdte_addr.lba = (((((buffer[8] << 8) + buffer[9]) << 8) in sr_read_tocentry()