Lines Matching refs:tocentry
360 struct cdrom_tocentry *tocentry = (struct cdrom_tocentry *) arg; in sr_audio_ioctl() local
365 sr_cmd[1] |= (tocentry->cdte_format == CDROM_MSF) ? 0x02 : 0; in sr_audio_ioctl()
367 sr_cmd[6] = tocentry->cdte_track; in sr_audio_ioctl()
372 tocentry->cdte_ctrl = buffer[5] & 0xf; in sr_audio_ioctl()
373 tocentry->cdte_adr = buffer[5] >> 4; in sr_audio_ioctl()
374 tocentry->cdte_datamode = (tocentry->cdte_ctrl & 0x04) ? 1 : 0; in sr_audio_ioctl()
375 if (tocentry->cdte_format == CDROM_MSF) { in sr_audio_ioctl()
376 tocentry->cdte_addr.msf.minute = buffer[9]; in sr_audio_ioctl()
377 tocentry->cdte_addr.msf.second = buffer[10]; in sr_audio_ioctl()
378 tocentry->cdte_addr.msf.frame = buffer[11]; in sr_audio_ioctl()
380 tocentry->cdte_addr.lba = (((((buffer[8] << 8) + buffer[9]) << 8) in sr_audio_ioctl()