Searched refs:last_track (Results 1 – 5 of 5) sorted by relevance
/drivers/ide/ |
D | ide-cd.c | 1265 toc->hdr.last_track = bcd2bin(toc->hdr.last_track); in ide_cd_read_toc() 1268 ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; in ide_cd_read_toc() 1306 toc->hdr.last_track = (u8)bin2bcd(CDROM_LEADOUT); in ide_cd_read_toc() 1309 toc->hdr.last_track = CDROM_LEADOUT; in ide_cd_read_toc() 1320 toc->hdr.last_track = bcd2bin(toc->hdr.last_track); in ide_cd_read_toc() 1343 ms_tmp.hdr.last_track = CDROM_LEADOUT; in ide_cd_read_toc() 1344 ms_tmp.hdr.first_track = ms_tmp.hdr.last_track; in ide_cd_read_toc() 1361 toc->xa_flag = (ms_tmp.hdr.first_track != ms_tmp.hdr.last_track); in ide_cd_read_toc()
|
D | ide-cd_ioctl.c | 328 ntracks = toc->hdr.last_track - toc->hdr.first_track + 1; in ide_cd_get_toc_entry() 335 else if (track < toc->hdr.first_track || track > toc->hdr.last_track) in ide_cd_get_toc_entry() 391 tochdr->cdth_trk1 = toc->hdr.last_track; in ide_cd_read_tochdr()
|
D | ide-cd.h | 47 u8 last_track; member
|
/drivers/cdrom/ |
D | cdrom.c | 3234 __u32 last_track; in cdrom_get_last_written() local 3246 last_track = (di.last_track_msb << 8) | di.last_track_lsb; in cdrom_get_last_written() 3247 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written() 3253 if (last_track==1) in cdrom_get_last_written() 3255 last_track--; in cdrom_get_last_written() 3256 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_last_written() 3295 __u16 last_track; in cdrom_get_next_writable() local 3307 last_track = (di.last_track_msb << 8) | di.last_track_lsb; in cdrom_get_next_writable() 3308 ti_size = cdrom_get_track_info(cdi, last_track, 1, &ti); in cdrom_get_next_writable() 3314 if (last_track == 1) in cdrom_get_next_writable() [all …]
|
/drivers/block/ |
D | pktcdvd.c | 1784 __u32 last_track; in pkt_get_last_written() local 1790 last_track = (di.last_track_msb << 8) | di.last_track_lsb; in pkt_get_last_written() 1791 if ((ret = pkt_get_track_info(pd, last_track, 1, &ti))) in pkt_get_last_written() 1796 last_track--; in pkt_get_last_written() 1797 if ((ret = pkt_get_track_info(pd, last_track, 1, &ti))) in pkt_get_last_written()
|