tag | line | file | source code |
lba | 1481 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
lba | 1483 | drivers/block/ide-cd.c | lba += CD_BLOCK_OFFSET; |
lba | 1484 | drivers/block/ide-cd.c | lba &= 0xffffff; /* negative lbas use only 24 bits */ |
lba | 1485 | drivers/block/ide-cd.c | *m = lba / (CD_SECS * CD_FRAMES); |
lba | 1486 | drivers/block/ide-cd.c | lba %= (CD_SECS * CD_FRAMES); |
lba | 1487 | drivers/block/ide-cd.c | *s = lba / CD_FRAMES; |
lba | 1488 | drivers/block/ide-cd.c | *f = lba % CD_FRAMES; |
lba | 1610 | drivers/block/ide-cd.c | unsigned lba; |
lba | 1627 | drivers/block/ide-cd.c | *capacity = ntohl (capbuf.lba); |
lba | 1746 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.m, |
lba | 1752 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = ntohl (toc->ent[i].addr.lba); |
lba | 1767 | drivers/block/ide-cd.c | toc->last_session_lba = ntohl (ms_tmp.ent.addr.lba); |
lba | 1975 | drivers/block/ide-cd.c | cdrom_read_block (ide_drive_t *drive, int format, int lba, |
lba | 2000 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (lba); |
lba | 2015 | drivers/block/ide-cd.c | return cdrom_read_block (drive, format, lba, buf, buflen, reqbuf); |
lba | 2105 | drivers/block/ide-cd.c | lba_start = first_toc->addr.lba; |
lba | 2106 | drivers/block/ide-cd.c | lba_end = last_toc->addr.lba; |
lba | 2157 | drivers/block/ide-cd.c | lba_to_msf (toce->addr.lba, |
lba | 2163 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
lba | 2201 | drivers/block/ide-cd.c | abs_lba = ntohl (scbuf.acdsc_absaddr.lba); |
lba | 2202 | drivers/block/ide-cd.c | rel_lba = ntohl (scbuf.acdsc_reladdr.lba); |
lba | 2218 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.lba = abs_lba; |
lba | 2219 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.lba = rel_lba; |
lba | 2305 | drivers/block/ide-cd.c | ms_info.addr.lba = toc->last_session_lba; |
lba | 2320 | drivers/block/ide-cd.c | int stat, lba; |
lba | 2346 | drivers/block/ide-cd.c | lba = msf_to_lba (ra.addr.msf.minute, ra.addr.msf.second, |
lba | 2350 | drivers/block/ide-cd.c | lba = ra.addr.lba; |
lba | 2355 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
lba | 2360 | drivers/block/ide-cd.c | stat = cdrom_read_block (drive, 1, lba, buf, |
lba | 2366 | drivers/block/ide-cd.c | ++lba; |
lba | 2376 | drivers/block/ide-cd.c | int blocksize, format, stat, lba; |
lba | 2398 | drivers/block/ide-cd.c | lba = msf_to_lba (msf.cdmsf_min0, msf.cdmsf_sec0, msf.cdmsf_frame0); |
lba | 2406 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
lba | 2409 | drivers/block/ide-cd.c | stat = cdrom_read_block (drive, format, lba, buf, blocksize, NULL); |
lba | 508 | drivers/block/ide.c | drive->select.b.lba = 1; |
lba | 511 | drivers/block/ide.c | drive->select.b.lba = 0; |
lba | 1227 | drivers/block/ide.c | if (drive->select.b.lba) { |
lba | 2197 | drivers/block/ide.c | drive->select.b.lba ? "LBA, " : "", |
lba | 2378 | drivers/block/ide.c | if (drive->media == ide_disk && !drive->select.b.lba) { |
lba | 202 | drivers/block/ide.h | unsigned lba; |
lba | 242 | drivers/block/ide.h | int lba; |
lba | 252 | drivers/block/ide.h | int lba; |
lba | 305 | drivers/block/ide.h | unsigned lba : 1; /* using LBA instead of CHS */ |
lba | 685 | drivers/cdrom/aztcd.c | ms.addr.lba = azt_msf2hsg(&DiskInfo.lastSession); |
lba | 700 | drivers/cdrom/aztcd.c | ms.xa_flag, ms.addr.lba, DiskInfo.lastSession.min, |
lba | 791 | drivers/cdrom/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
lba | 831 | drivers/cdrom/aztcd.c | { subchnl.cdsc_absaddr.lba = azt_msf2hsg(&qInfo.diskTime); |
lba | 832 | drivers/cdrom/aztcd.c | subchnl.cdsc_reladdr.lba = azt_msf2hsg(&qInfo.trackTime); |
lba | 2022 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode.abs_msf); |
lba | 2023 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode.rel_msf); |
lba | 2226 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba, ra->nframes, 1)) |
lba | 2242 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
lba | 2265 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba + cframe, ra->nframes - cframe, 1)) |
lba | 2280 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
lba | 2285 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
lba | 2301 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
lba | 2535 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
lba | 2668 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
lba | 2669 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
lba | 2683 | drivers/cdrom/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
lba | 2686 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
lba | 2687 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
lba | 2695 | drivers/cdrom/cdu31a.c | ra.addr.lba -= LOG_START_OFFSET; |
lba | 391 | drivers/cdrom/cm206.c | void fsm(int lba, uch * fsm) |
lba | 393 | drivers/cdrom/cm206.c | fsm[0] = lba % 75; |
lba | 394 | drivers/cdrom/cm206.c | lba /= 75; lba += 2; |
lba | 395 | drivers/cdrom/cm206.c | fsm[1] = lba % 60; fsm[2] = lba / 60; |
lba | 678 | drivers/cdrom/cm206.c | mssp->addr.lba = fsm2lba(&cd->disc_status[3]); |
lba | 707 | drivers/cdrom/cm206.c | void seek(int lba) |
lba | 712 | drivers/cdrom/cm206.c | fsm(lba, &seek_command[1]); |
lba | 735 | drivers/cdrom/cm206.c | int i, lba, l, old_lba=0; |
lba | 745 | drivers/cdrom/cm206.c | lba = min + skip; /* 3 minutes */ |
lba | 747 | drivers/cdrom/cm206.c | seek(lba); |
lba | 763 | drivers/cdrom/cm206.c | old_lba=lba; |
lba | 765 | drivers/cdrom/cm206.c | if (ct < track) min = lba; else max = lba; |
lba | 766 | drivers/cdrom/cm206.c | lba = (min+max)/2; |
lba | 768 | drivers/cdrom/cm206.c | if(ct < track) lba += skip; |
lba | 771 | drivers/cdrom/cm206.c | max = lba; min = lba - skip; |
lba | 772 | drivers/cdrom/cm206.c | lba = (min+max)/2; |
lba | 775 | drivers/cdrom/cm206.c | } while (lba!=old_lba); |
lba | 776 | drivers/cdrom/cm206.c | return lba; |
lba | 853 | drivers/cdrom/cm206.c | qp->cdsc_reladdr.lba = f_s_m2lba(q[5], q[4], q[3]); |
lba | 854 | drivers/cdrom/cm206.c | qp->cdsc_absaddr.lba = f_s_m2lba(q[9], q[8], q[7]); |
lba | 874 | drivers/cdrom/cm206.c | else ep->cdte_addr.lba = fsm2lba(cd->toc[track].fsm); |
lba | 481 | drivers/cdrom/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
lba | 515 | drivers/cdrom/mcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
lba | 516 | drivers/cdrom/mcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
lba | 366 | drivers/cdrom/mcdx.c | entry.cdte_addr.lba = msf2log(&tp->dt); |
lba | 400 | drivers/cdrom/mcdx.c | sub.cdsc_absaddr.lba = msf2log(&q.dt); |
lba | 401 | drivers/cdrom/mcdx.c | sub.cdsc_reladdr.lba = msf2log(&q.tt); |
lba | 403 | drivers/cdrom/mcdx.c | sub.cdsc_absaddr.lba, |
lba | 404 | drivers/cdrom/mcdx.c | sub.cdsc_reladdr.lba)); |
lba | 468 | drivers/cdrom/mcdx.c | ms.addr.lba = msf2log(&stuffp->multi.msf_last); |
lba | 493 | drivers/cdrom/mcdx.c | ms.addr.lba, |
lba | 1162 | drivers/cdrom/optcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
lba | 1228 | drivers/cdrom/optcd.c | subchnl.cdsc_absaddr.lba = msf2hsg(&qInfo.diskTime); |
lba | 1229 | drivers/cdrom/optcd.c | subchnl.cdsc_reladdr.lba = msf2hsg(&qInfo.trackTime); |
lba | 778 | drivers/cdrom/sbpcd.c | static INLINE void lba2msf(int lba, u_char *msf) |
lba | 780 | drivers/cdrom/sbpcd.c | lba += CD_MSF_OFFSET; |
lba | 781 | drivers/cdrom/sbpcd.c | msf[0] = lba / (CD_SECS*CD_FRAMES); |
lba | 782 | drivers/cdrom/sbpcd.c | lba %= CD_SECS*CD_FRAMES; |
lba | 783 | drivers/cdrom/sbpcd.c | msf[1] = lba / CD_FRAMES; |
lba | 784 | drivers/cdrom/sbpcd.c | msf[2] = lba % CD_FRAMES; |
lba | 3887 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); |
lba | 3986 | drivers/cdrom/sbpcd.c | SC.cdsc_absaddr.lba=msf2blk(D_S[d].SubQ_run_tot); |
lba | 3987 | drivers/cdrom/sbpcd.c | SC.cdsc_reladdr.lba=msf2blk(D_S[d].SubQ_run_trk); |
lba | 4065 | drivers/cdrom/sbpcd.c | block=read_audio.addr.lba; |
lba | 4252 | drivers/cdrom/sbpcd.c | ms_info.addr.lba=D_S[d].lba_multi; |
lba | 4260 | drivers/cdrom/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba); |
lba | 868 | drivers/cdrom/sjcd.c | toc_entry.cdte_addr.lba = msf2hsg( &( tp->un.track_msf ) ); |
lba | 901 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.lba = msf2hsg( &( q_info.abs ) ); |
lba | 902 | drivers/cdrom/sjcd.c | subchnl.cdsc_reladdr.lba = msf2hsg( &( q_info.rel ) ); |
lba | 1059 | drivers/cdrom/sonycd535.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode->abs_msf); |
lba | 1060 | drivers/cdrom/sonycd535.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode->rel_msf); |
lba | 1256 | drivers/cdrom/sonycd535.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
lba | 261 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.lba = (int) buffer[0]; |
lba | 432 | drivers/scsi/sr_ioctl.c | long lba; |
lba | 441 | drivers/scsi/sr_ioctl.c | lba = scsi_CDs[target].mpcd_sector+CD_BLOCK_OFFSET; |
lba | 442 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
lba | 443 | drivers/scsi/sr_ioctl.c | lba %= CD_SECS*CD_FRAMES; |
lba | 444 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
lba | 445 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
lba | 447 | drivers/scsi/sr_ioctl.c | ms_info.addr.lba=scsi_CDs[target].mpcd_sector; |
lba | 186 | fs/isofs/inode.c | printk("isofs.inode: vol_desc_start = %d\n", ms_info.addr.lba); |
lba | 189 | fs/isofs/inode.c | if ((i==0)&&(ms_info.xa_flag)) vol_desc_start=ms_info.addr.lba; |
lba | 113 | include/linux/cdrom.h | int lba; |
lba | 150 | include/linux/cdrom.h | int lba; |
lba | 160 | include/linux/cdrom.h | int lba; |
lba | 203 | include/linux/cdrom.h | int lba; |
lba | 225 | include/linux/cdrom.h | int lba; |