tag | line | file | source code |
lba | 1543 | drivers/block/ide-cd.c | void lba_to_msf (int lba, byte *m, byte *s, byte *f) |
lba | 1545 | drivers/block/ide-cd.c | lba += CD_BLOCK_OFFSET; |
lba | 1546 | drivers/block/ide-cd.c | lba &= 0xffffff; /* negative lbas use only 24 bits */ |
lba | 1547 | drivers/block/ide-cd.c | *m = lba / (CD_SECS * CD_FRAMES); |
lba | 1548 | drivers/block/ide-cd.c | lba %= (CD_SECS * CD_FRAMES); |
lba | 1549 | drivers/block/ide-cd.c | *s = lba / CD_FRAMES; |
lba | 1550 | drivers/block/ide-cd.c | *f = lba % CD_FRAMES; |
lba | 1672 | drivers/block/ide-cd.c | unsigned lba; |
lba | 1689 | drivers/block/ide-cd.c | *capacity = ntohl (capbuf.lba); |
lba | 1808 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = msf_to_lba (toc->ent[i].addr.msf.m, |
lba | 1814 | drivers/block/ide-cd.c | toc->ent[i].addr.lba = ntohl (toc->ent[i].addr.lba); |
lba | 1829 | drivers/block/ide-cd.c | toc->last_session_lba = ntohl (ms_tmp.ent.addr.lba); |
lba | 2072 | drivers/block/ide-cd.c | cdrom_read_block (ide_drive_t *drive, int format, int lba, |
lba | 2098 | drivers/block/ide-cd.c | stl_u(htonl (lba), (unsigned int *) &pc.c[2]); |
lba | 2100 | drivers/block/ide-cd.c | *(int *)(&pc.c[2]) = htonl (lba); |
lba | 2116 | drivers/block/ide-cd.c | return cdrom_read_block (drive, format, lba, buf, buflen, reqbuf); |
lba | 2206 | drivers/block/ide-cd.c | lba_start = first_toc->addr.lba; |
lba | 2207 | drivers/block/ide-cd.c | lba_end = last_toc->addr.lba; |
lba | 2258 | drivers/block/ide-cd.c | lba_to_msf (toce->addr.lba, |
lba | 2264 | drivers/block/ide-cd.c | tocentry.cdte_addr.lba = toce->addr.lba; |
lba | 2302 | drivers/block/ide-cd.c | abs_lba = ntohl (scbuf.acdsc_absaddr.lba); |
lba | 2303 | drivers/block/ide-cd.c | rel_lba = ntohl (scbuf.acdsc_reladdr.lba); |
lba | 2319 | drivers/block/ide-cd.c | subchnl.cdsc_absaddr.lba = abs_lba; |
lba | 2320 | drivers/block/ide-cd.c | subchnl.cdsc_reladdr.lba = rel_lba; |
lba | 2406 | drivers/block/ide-cd.c | ms_info.addr.lba = toc->last_session_lba; |
lba | 2421 | drivers/block/ide-cd.c | int stat, lba; |
lba | 2447 | drivers/block/ide-cd.c | lba = msf_to_lba (ra.addr.msf.minute, ra.addr.msf.second, |
lba | 2451 | drivers/block/ide-cd.c | lba = ra.addr.lba; |
lba | 2456 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
lba | 2461 | drivers/block/ide-cd.c | stat = cdrom_read_block (drive, 1, lba, buf, |
lba | 2467 | drivers/block/ide-cd.c | ++lba; |
lba | 2477 | drivers/block/ide-cd.c | int blocksize, format, stat, lba; |
lba | 2499 | drivers/block/ide-cd.c | lba = msf_to_lba (msf.cdmsf_min0, msf.cdmsf_sec0, msf.cdmsf_frame0); |
lba | 2507 | drivers/block/ide-cd.c | if (lba < 0 || lba >= toc->capacity) |
lba | 2510 | drivers/block/ide-cd.c | stat = cdrom_read_block (drive, format, lba, buf, blocksize, NULL); |
lba | 481 | drivers/block/ide.c | drive->select.b.lba = 1; |
lba | 484 | drivers/block/ide.c | drive->select.b.lba = 0; |
lba | 1213 | drivers/block/ide.c | if (drive->select.b.lba) { |
lba | 2214 | drivers/block/ide.c | drive->select.b.lba ? "LBA, " : "", |
lba | 2398 | drivers/block/ide.c | if (drive->media == ide_disk && !drive->select.b.lba) { |
lba | 188 | drivers/block/ide.h | unsigned lba; |
lba | 228 | drivers/block/ide.h | int lba; |
lba | 238 | drivers/block/ide.h | int lba; |
lba | 292 | 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 | 2024 | drivers/cdrom/cdu31a.c | schi.cdsc_absaddr.lba = msf_to_log(last_sony_subcode.abs_msf); |
lba | 2025 | drivers/cdrom/cdu31a.c | schi.cdsc_reladdr.lba = msf_to_log(last_sony_subcode.rel_msf); |
lba | 2228 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba, ra->nframes, 1)) |
lba | 2244 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
lba | 2267 | drivers/cdrom/cdu31a.c | if (start_request(ra->addr.lba + cframe, ra->nframes - cframe, 1)) |
lba | 2282 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe); |
lba | 2287 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
lba | 2303 | drivers/cdrom/cdu31a.c | ra->addr.lba + cframe, |
lba | 2537 | drivers/cdrom/cdu31a.c | loc_entry.cdte_addr.lba = msf_to_log(msf_val); |
lba | 2670 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
lba | 2671 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
lba | 2685 | drivers/cdrom/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
lba | 2688 | drivers/cdrom/cdu31a.c | if ( (ra.addr.lba >= sony_toc.lead_out_start_lba) |
lba | 2689 | drivers/cdrom/cdu31a.c | || (ra.addr.lba + ra.nframes >= sony_toc.lead_out_start_lba)) |
lba | 2697 | 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 | 541 | drivers/cdrom/optcd.c | static void lba2msf(int lba, struct cdrom_msf *msf) |
lba | 543 | drivers/cdrom/optcd.c | DEBUG((DEBUG_CONV, "lba2msf %d", lba)); |
lba | 544 | drivers/cdrom/optcd.c | lba += CD_MSF_OFFSET; |
lba | 545 | drivers/cdrom/optcd.c | msf->cdmsf_min0 = lba / CD_FPM; lba %= CD_FPM; |
lba | 546 | drivers/cdrom/optcd.c | msf->cdmsf_sec0 = lba / CD_FRAMES; |
lba | 547 | drivers/cdrom/optcd.c | msf->cdmsf_frame0 = lba % CD_FRAMES; |
lba | 565 | drivers/cdrom/optcd.c | addr->lba = addr->msf.minute * CD_FPM |
lba | 1703 | drivers/cdrom/optcd.c | ms.addr.lba, |
lba | 806 | drivers/cdrom/sbpcd.c | static INLINE void lba2msf(int lba, u_char *msf) |
lba | 808 | drivers/cdrom/sbpcd.c | lba += CD_MSF_OFFSET; |
lba | 809 | drivers/cdrom/sbpcd.c | msf[0] = lba / (CD_SECS*CD_FRAMES); |
lba | 810 | drivers/cdrom/sbpcd.c | lba %= CD_SECS*CD_FRAMES; |
lba | 811 | drivers/cdrom/sbpcd.c | msf[1] = lba / CD_FRAMES; |
lba | 812 | drivers/cdrom/sbpcd.c | msf[2] = lba % CD_FRAMES; |
lba | 3994 | drivers/cdrom/sbpcd.c | tocentry.cdte_addr.lba=msf2blk(D_S[d].TocBuffer[i].address); |
lba | 4093 | drivers/cdrom/sbpcd.c | SC.cdsc_absaddr.lba=msf2blk(D_S[d].SubQ_run_tot); |
lba | 4094 | drivers/cdrom/sbpcd.c | SC.cdsc_reladdr.lba=msf2blk(D_S[d].SubQ_run_trk); |
lba | 4173 | drivers/cdrom/sbpcd.c | block=read_audio.addr.lba; |
lba | 4364 | drivers/cdrom/sbpcd.c | ms_info.addr.lba=D_S[d].lba_multi; |
lba | 4372 | drivers/cdrom/sbpcd.c | ms_info.xa_flag, ms_info.addr.lba); |
lba | 808 | drivers/cdrom/sjcd.c | toc_entry.cdte_addr.lba = msf2hsg( &( tp->un.track_msf ) ); |
lba | 841 | drivers/cdrom/sjcd.c | subchnl.cdsc_absaddr.lba = msf2hsg( &( q_info.abs ) ); |
lba | 842 | 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 | 1192 | drivers/scsi/advansys.c | ulong lba; |
lba | 1456 | drivers/scsi/advansys.c | ulong lba; |
lba | 4031 | drivers/scsi/advansys.c | cap_info->lba, cap_info->blk_size); |
lba | 6253 | drivers/scsi/advansys.c | if (scsiq->ext.lba < scsiq_prev->ext.lba) |
lba | 8542 | drivers/scsi/advansys.c | cap_info->lba = 0L; |
lba | 8636 | drivers/scsi/advansys.c | cap_info->lba = (ulong) * swapfarbuf4((uchar dosfar *) & scsi_cap_info.lba); |
lba | 8639 | drivers/scsi/advansys.c | cap_info->lba = scsi_cap_info.lba; |
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 | 111 | include/linux/cdrom.h | int lba; |