Lines Matching refs:track
298 static int get_entry_lba(int track) in get_entry_lba() argument
300 return (cpu_to_be32(track & 0xffffff00) - GD_SESSION_OFFSET); in get_entry_lba()
303 static int get_entry_q_ctrl(int track) in get_entry_q_ctrl() argument
305 return (track & 0x000000f0) >> 4; in get_entry_q_ctrl()
308 static int get_entry_track(int track) in get_entry_track() argument
310 return (track & 0x0000ff00) >> 8; in get_entry_track()
316 int fentry, lentry, track, data, err; in gdrom_get_last_session() local
335 track = get_entry_track(gd.toc->last); in gdrom_get_last_session()
337 data = gd.toc->entry[track - 1]; in gdrom_get_last_session()
340 track--; in gdrom_get_last_session()
341 } while (track >= fentry); in gdrom_get_last_session()
343 if ((track > 100) || (track < get_entry_track(gd.toc->first))) { in gdrom_get_last_session()