Searched refs:tocentry (Results 1 – 2 of 2) sorted by relevance
70 struct cdrom_tocentry *tocentry) in sr_read_tocentry() argument84 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 …]
845 struct cdrom_tocentry *tocentry = in pcd_audio_ioctl() local851 (tocentry->cdte_format == CDROM_MSF ? 0x02 : 0); in pcd_audio_ioctl()852 cmd[6] = tocentry->cdte_track; in pcd_audio_ioctl()856 tocentry->cdte_ctrl = buffer[5] & 0xf; in pcd_audio_ioctl()857 tocentry->cdte_adr = buffer[5] >> 4; in pcd_audio_ioctl()858 tocentry->cdte_datamode = in pcd_audio_ioctl()859 (tocentry->cdte_ctrl & 0x04) ? 1 : 0; in pcd_audio_ioctl()860 if (tocentry->cdte_format == CDROM_MSF) { in pcd_audio_ioctl()861 tocentry->cdte_addr.msf.minute = buffer[9]; in pcd_audio_ioctl()862 tocentry->cdte_addr.msf.second = buffer[10]; in pcd_audio_ioctl()[all …]