taglinefilesource code
msf264drivers/block/aztcd.cstatic void azt_hsg2msf(long hsg, struct msf *msf);
msf612drivers/block/aztcd.clong azt_msf2hsg(struct msf *mp)
msf622drivers/block/aztcd.cstruct cdrom_msf msf;
msf686drivers/block/aztcd.c{ ms.addr.msf.minute = azt_bcd2bin(DiskInfo.lastSession.min);
msf687drivers/block/aztcd.cms.addr.msf.second = azt_bcd2bin(DiskInfo.lastSession.sec);
msf688drivers/block/aztcd.cms.addr.msf.frame  = azt_bcd2bin(DiskInfo.lastSession.frame);
msf701drivers/block/aztcd.cms.xa_flag, ms.addr.msf.minute, ms.addr.msf.second, 
msf702drivers/block/aztcd.cms.addr.msf.frame, DiskInfo.lastSession.min,
msf743drivers/block/aztcd.cst = verify_area(VERIFY_READ, (void *) arg, sizeof msf);
msf745drivers/block/aztcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf747drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_min0);
msf748drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_sec0);
msf749drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_frame0);
msf750drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_min1);
msf751drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_sec1);
msf752drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_frame1);
msf753drivers/block/aztcd.cazt_Play.start.min = msf.cdmsf_min0;
msf754drivers/block/aztcd.cazt_Play.start.sec = msf.cdmsf_sec0;
msf755drivers/block/aztcd.cazt_Play.start.frame = msf.cdmsf_frame0;
msf756drivers/block/aztcd.cazt_Play.end.min = msf.cdmsf_min1;
msf757drivers/block/aztcd.cazt_Play.end.sec = msf.cdmsf_sec1;
msf758drivers/block/aztcd.cazt_Play.end.frame = msf.cdmsf_frame1;
msf799drivers/block/aztcd.c{ entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min);
msf800drivers/block/aztcd.centry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec);
msf801drivers/block/aztcd.centry.cdte_addr.msf.frame  = azt_bcd2bin(tocPtr -> diskTime.frame);
msf842drivers/block/aztcd.csubchnl.cdsc_absaddr.msf.minute = azt_bcd2bin(qInfo.diskTime.min);
msf843drivers/block/aztcd.csubchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec);
msf844drivers/block/aztcd.csubchnl.cdsc_absaddr.msf.frame  = azt_bcd2bin(qInfo.diskTime.frame);
msf845drivers/block/aztcd.csubchnl.cdsc_reladdr.msf.minute = azt_bcd2bin(qInfo.trackTime.min);
msf846drivers/block/aztcd.csubchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec);
msf847drivers/block/aztcd.csubchnl.cdsc_reladdr.msf.frame  = azt_bcd2bin(qInfo.trackTime.frame);
msf895drivers/block/aztcd.c{ st = verify_area(VERIFY_READ,  (void *) arg, sizeof msf);
msf899drivers/block/aztcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf901drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_min0);
msf902drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_sec0);
msf903drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_frame0);
msf904drivers/block/aztcd.cmsf.cdmsf_min1=0;
msf905drivers/block/aztcd.cmsf.cdmsf_sec1=0;
msf906drivers/block/aztcd.cmsf.cdmsf_frame1=1; /*read only one frame*/
msf907drivers/block/aztcd.cazt_Play.start.min = msf.cdmsf_min0;
msf908drivers/block/aztcd.cazt_Play.start.sec = msf.cdmsf_sec0;
msf909drivers/block/aztcd.cazt_Play.start.frame = msf.cdmsf_frame0;
msf910drivers/block/aztcd.cazt_Play.end.min = msf.cdmsf_min1;
msf911drivers/block/aztcd.cazt_Play.end.sec = msf.cdmsf_sec1;
msf912drivers/block/aztcd.cazt_Play.end.frame = msf.cdmsf_frame1;
msf933drivers/block/aztcd.cst = verify_area(VERIFY_READ,  (void *) arg, sizeof msf);
msf935drivers/block/aztcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf937drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_min0);
msf938drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_sec0);
msf939drivers/block/aztcd.cazt_bin2bcd(&msf.cdmsf_frame0);
msf940drivers/block/aztcd.cazt_Play.start.min = msf.cdmsf_min0;
msf941drivers/block/aztcd.cazt_Play.start.sec = msf.cdmsf_sec0;
msf942drivers/block/aztcd.cazt_Play.start.frame = msf.cdmsf_frame0;
msf1187drivers/block/aztcd.cstruct azt_Play_msf msf;
msf1189drivers/block/aztcd.cazt_hsg2msf(azt_next_bn, &msf.start);
msf1193drivers/block/aztcd.cmsf.end.min = 0;
msf1194drivers/block/aztcd.cmsf.end.sec = 0;            
msf1195drivers/block/aztcd.cmsf.end.frame = azt_read_count ;/*Mitsumi here reads 0xffffff sectors*/
msf1197drivers/block/aztcd.cprintk("---reading msf-address %x:%x:%x  %x:%x:%x\n",msf.start.min,msf.start.sec,msf.start.frame,msf.end.min,msf.end.sec,msf.end.frame);
msf1202drivers/block/aztcd.c{ sendAztCmd(ACMD_PLAY_READ_RAW, &msf); /*XA disks in raw mode*/
msf1205drivers/block/aztcd.c{ sendAztCmd(ACMD_PLAY_READ, &msf);     /*others in cooked mode*/
msf1710drivers/block/aztcd.cstatic void azt_hsg2msf(long hsg, struct msf *msf)
msf1712drivers/block/aztcd.cmsf -> min = hsg / 4500;
msf1714drivers/block/aztcd.cmsf -> sec = hsg / 75;
msf1715drivers/block/aztcd.cmsf -> frame = hsg % 75;
msf1717drivers/block/aztcd.cif (msf->min  >=70) printk("aztcd: Error hsg2msf address Minutes\n");
msf1718drivers/block/aztcd.cif (msf->sec  >=60) printk("aztcd: Error hsg2msf address Seconds\n");
msf1719drivers/block/aztcd.cif (msf->frame>=75) printk("aztcd: Error hsg2msf address Frames\n");
msf1721drivers/block/aztcd.cazt_bin2bcd(&msf -> min);           /* convert to BCD */
msf1722drivers/block/aztcd.cazt_bin2bcd(&msf -> sec);
msf1723drivers/block/aztcd.cazt_bin2bcd(&msf -> frame);
msf1020drivers/block/cdu31a.clog_to_msf(unsigned int log, unsigned char *msf)
msf1023drivers/block/cdu31a.cmsf[0] = int_to_bcd(log / 4500);
msf1025drivers/block/cdu31a.cmsf[1] = int_to_bcd(log / 75);
msf1026drivers/block/cdu31a.cmsf[2] = int_to_bcd(log % 75);
msf1034drivers/block/cdu31a.cmsf_to_log(unsigned char *msf)
msf1039drivers/block/cdu31a.clog = bcd_to_int(msf[2]);
msf1040drivers/block/cdu31a.clog += bcd_to_int(msf[1]) * 75;
msf1041drivers/block/cdu31a.clog += bcd_to_int(msf[0]) * 4500;
msf1960drivers/block/cdu31a.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode.abs_msf[0]);
msf1961drivers/block/cdu31a.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode.abs_msf[1]);
msf1962drivers/block/cdu31a.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode.abs_msf[2]);
msf1964drivers/block/cdu31a.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode.rel_msf[0]);
msf1965drivers/block/cdu31a.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode.rel_msf[1]);
msf1966drivers/block/cdu31a.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode.rel_msf[2]);
msf2487drivers/block/cdu31a.cloc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val);
msf2488drivers/block/cdu31a.cloc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1));
msf2489drivers/block/cdu31a.cloc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2));
msf2624drivers/block/cdu31a.cif (   (ra.addr.msf.minute >= 75)
msf2625drivers/block/cdu31a.c|| (ra.addr.msf.second >= 60)
msf2626drivers/block/cdu31a.c|| (ra.addr.msf.frame >= 75))
msf2631drivers/block/cdu31a.cra.addr.lba = (  (ra.addr.msf.minute * 4500)
msf2632drivers/block/cdu31a.c+ (ra.addr.msf.second * 75)
msf2633drivers/block/cdu31a.c+ ra.addr.msf.frame);
msf688drivers/block/cm206.cmssp->addr.msf.frame = cd->disc_status[3];
msf689drivers/block/cm206.cmssp->addr.msf.second = cd->disc_status[4];
msf690drivers/block/cm206.cmssp->addr.msf.minute = cd->disc_status[5];
msf854drivers/block/cm206.cqp->cdsc_reladdr.msf.minute = q[3];
msf855drivers/block/cm206.cqp->cdsc_reladdr.msf.second = q[4];
msf856drivers/block/cm206.cqp->cdsc_reladdr.msf.frame = q[5];
msf857drivers/block/cm206.cqp->cdsc_absaddr.msf.minute = q[7];
msf858drivers/block/cm206.cqp->cdsc_absaddr.msf.second = q[8];
msf859drivers/block/cm206.cqp->cdsc_absaddr.msf.frame = q[9];
msf878drivers/block/cm206.cep->cdte_addr.msf.frame = cd->toc[track].fsm[0];
msf879drivers/block/cm206.cep->cdte_addr.msf.second = cd->toc[track].fsm[1];
msf880drivers/block/cm206.cep->cdte_addr.msf.minute = cd->toc[track].fsm[2];
msf960drivers/block/cm206.cstruct cdrom_msf msf;
msf963drivers/block/cm206.cst=verify_area(VERIFY_READ, (void *) arg, sizeof(msf));
msf965drivers/block/cm206.cmemcpy_fromfs(&msf, (struct cdrom_mdf *) arg, sizeof msf);
msf966drivers/block/cm206.cplay_from_to_msf(&msf);
msf89drivers/block/gscd.cstatic void gscd_hsg2msf          (long hsg, struct msf *msf);
msf118drivers/block/gscd.cstatic long gscd_msf2hsg          (struct msf *mp);
msf1090drivers/block/gscd.cstatic void gscd_hsg2msf (long hsg, struct msf *msf)
msf1093drivers/block/gscd.cmsf -> min = hsg / (CD_FRAMES*CD_SECS);
msf1095drivers/block/gscd.cmsf -> sec = hsg / CD_FRAMES;
msf1096drivers/block/gscd.cmsf -> frame = hsg % CD_FRAMES;
msf1098drivers/block/gscd.cgscd_bin2bcd(&msf -> min);    /* convert to BCD */
msf1099drivers/block/gscd.cgscd_bin2bcd(&msf -> sec);
msf1100drivers/block/gscd.cgscd_bin2bcd(&msf -> frame);
msf1115drivers/block/gscd.cstatic long gscd_msf2hsg (struct msf *mp)
msf1741drivers/block/ide-cd.cstruct cdrom_msf msf;
msf1744drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (msf));
msf1747drivers/block/ide-cd.cmemcpy_fromfs (&msf, (void *) arg, sizeof(msf));
msf1749drivers/block/ide-cd.clba_start = msf_to_lba (msf.cdmsf_min0, msf.cdmsf_sec0,
msf1750drivers/block/ide-cd.cmsf.cdmsf_frame0);
msf1751drivers/block/ide-cd.clba_end = msf_to_lba (msf.cdmsf_min1, msf.cdmsf_sec1,
msf1752drivers/block/ide-cd.cmsf.cdmsf_frame1) + 1;
msf1831drivers/block/ide-cd.c&tocentry.cdte_addr.msf.minute,
msf1832drivers/block/ide-cd.c&tocentry.cdte_addr.msf.second,
msf1833drivers/block/ide-cd.c&tocentry.cdte_addr.msf.frame);
msf1867drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.minute,
msf1868drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.second,
msf1869drivers/block/ide-cd.c&subchnl.cdsc_absaddr.msf.frame);
msf1871drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.minute,
msf1872drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.second,
msf1873drivers/block/ide-cd.c&subchnl.cdsc_reladdr.msf.frame);
msf189drivers/block/mcd.cstatic void hsg2msf(long hsg, struct msf *msf);
msf283drivers/block/mcd.cmsf2hsg(struct msf *mp)
msf300drivers/block/mcd.cstruct cdrom_msf msf;
msf420drivers/block/mcd.cst = verify_area(VERIFY_READ, (void *) arg, sizeof msf);
msf424drivers/block/mcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf428drivers/block/mcd.cbin2bcd(&msf.cdmsf_min0);
msf429drivers/block/mcd.cbin2bcd(&msf.cdmsf_sec0);
msf430drivers/block/mcd.cbin2bcd(&msf.cdmsf_frame0);
msf431drivers/block/mcd.cbin2bcd(&msf.cdmsf_min1);
msf432drivers/block/mcd.cbin2bcd(&msf.cdmsf_sec1);
msf433drivers/block/mcd.cbin2bcd(&msf.cdmsf_frame1);
msf435drivers/block/mcd.cmcd_Play.start.min = msf.cdmsf_min0;
msf436drivers/block/mcd.cmcd_Play.start.sec = msf.cdmsf_sec0;
msf437drivers/block/mcd.cmcd_Play.start.frame = msf.cdmsf_frame0;
msf438drivers/block/mcd.cmcd_Play.end.min = msf.cdmsf_min1;
msf439drivers/block/mcd.cmcd_Play.end.sec = msf.cdmsf_sec1;
msf440drivers/block/mcd.cmcd_Play.end.frame = msf.cdmsf_frame1;
msf494drivers/block/mcd.centry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min);
msf495drivers/block/mcd.centry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec);
msf496drivers/block/mcd.centry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame);
msf530drivers/block/mcd.csubchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min);
msf531drivers/block/mcd.csubchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec);
msf532drivers/block/mcd.csubchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame);
msf534drivers/block/mcd.csubchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min);
msf535drivers/block/mcd.csubchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec);
msf536drivers/block/mcd.csubchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame);
msf869drivers/block/mcd.cstruct mcd_Play_msf msf;
msf871drivers/block/mcd.chsg2msf(mcd_next_bn, &msf.start);
msf872drivers/block/mcd.cmsf.end.min = ~0;
msf873drivers/block/mcd.cmsf.end.sec = ~0;
msf874drivers/block/mcd.cmsf.end.frame = ~0;
msf875drivers/block/mcd.csendMcdCmd(MCMD_DATA_READ, &msf);
msf1308drivers/block/mcd.chsg2msf(long hsg, struct msf *msf)
msf1311drivers/block/mcd.cmsf -> min = hsg / 4500;
msf1313drivers/block/mcd.cmsf -> sec = hsg / 75;
msf1314drivers/block/mcd.cmsf -> frame = hsg % 75;
msf1316drivers/block/mcd.cbin2bcd(&msf -> min);    /* convert to BCD */
msf1317drivers/block/mcd.cbin2bcd(&msf -> sec);
msf1318drivers/block/mcd.cbin2bcd(&msf -> frame);
msf328drivers/block/mcdx.cstruct cdrom_msf msf;
msf339drivers/block/mcdx.cmemcpy_fromfs(&msf, (void*) arg, sizeof msf);
msf341drivers/block/mcdx.cmsf.cdmsf_min0 = uint2bcd(msf.cdmsf_min0);
msf342drivers/block/mcdx.cmsf.cdmsf_sec0 = uint2bcd(msf.cdmsf_sec0);
msf343drivers/block/mcdx.cmsf.cdmsf_frame0 = uint2bcd(msf.cdmsf_frame0);
msf345drivers/block/mcdx.cmsf.cdmsf_min1 = uint2bcd(msf.cdmsf_min1);
msf346drivers/block/mcdx.cmsf.cdmsf_sec1 = uint2bcd(msf.cdmsf_sec1);
msf347drivers/block/mcdx.cmsf.cdmsf_frame1 = uint2bcd(msf.cdmsf_frame1);
msf349drivers/block/mcdx.creturn mcdx_playmsf(stuffp, &msf);
msf381drivers/block/mcdx.centry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute);
msf382drivers/block/mcdx.centry.cdte_addr.msf.second = bcd2uint(tp->dt.second);
msf383drivers/block/mcdx.centry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame);
msf425drivers/block/mcdx.csub.cdsc_absaddr.msf.minute = bcd2uint(q.dt.minute);
msf426drivers/block/mcdx.csub.cdsc_absaddr.msf.second = bcd2uint(q.dt.second);
msf427drivers/block/mcdx.csub.cdsc_absaddr.msf.frame = bcd2uint(q.dt.frame);
msf428drivers/block/mcdx.csub.cdsc_reladdr.msf.minute = bcd2uint(q.tt.minute);
msf429drivers/block/mcdx.csub.cdsc_reladdr.msf.second = bcd2uint(q.tt.second);
msf430drivers/block/mcdx.csub.cdsc_reladdr.msf.frame = bcd2uint(q.tt.frame);
msf433drivers/block/mcdx.csub.cdsc_absaddr.msf.minute,
msf434drivers/block/mcdx.csub.cdsc_absaddr.msf.second,
msf435drivers/block/mcdx.csub.cdsc_absaddr.msf.frame,
msf436drivers/block/mcdx.csub.cdsc_reladdr.msf.minute,
msf437drivers/block/mcdx.csub.cdsc_reladdr.msf.second,
msf438drivers/block/mcdx.csub.cdsc_reladdr.msf.frame));
msf484drivers/block/mcdx.cms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute);
msf485drivers/block/mcdx.cms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second);
msf486drivers/block/mcdx.cms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame);
msf502drivers/block/mcdx.cms.addr.msf.minute,
msf503drivers/block/mcdx.cms.addr.msf.second,
msf504drivers/block/mcdx.cms.addr.msf.frame,
msf1475drivers/block/mcdx.cmcdx_playmsf(struct s_drive_stuff* stuffp, const struct cdrom_msf* msf)
msf1483drivers/block/mcdx.ccmd[1] = msf->cdmsf_min0;
msf1484drivers/block/mcdx.ccmd[2] = msf->cdmsf_sec0;
msf1485drivers/block/mcdx.ccmd[3] = msf->cdmsf_frame0;
msf1486drivers/block/mcdx.ccmd[4] = msf->cdmsf_min1;
msf1487drivers/block/mcdx.ccmd[5] = msf->cdmsf_sec1;
msf1488drivers/block/mcdx.ccmd[6] = msf->cdmsf_frame1;
msf1510drivers/block/mcdx.cstruct cdrom_msf msf;
msf1517drivers/block/mcdx.cmsf.cdmsf_min0 = p->dt.minute;
msf1518drivers/block/mcdx.cmsf.cdmsf_sec0 = p->dt.second;
msf1519drivers/block/mcdx.cmsf.cdmsf_frame0 = p->dt.frame;
msf1526drivers/block/mcdx.cmsf.cdmsf_min1 = p->dt.minute;
msf1527drivers/block/mcdx.cmsf.cdmsf_sec1 = p->dt.second;
msf1528drivers/block/mcdx.cmsf.cdmsf_frame1 = p->dt.frame;
msf1530drivers/block/mcdx.creturn mcdx_playmsf(stuffp, &msf);
msf414drivers/block/optcd.cstatic void hsg2msf(long hsg, struct msf *msf) {
msf416drivers/block/optcd.cmsf -> min = hsg / 4500;
msf418drivers/block/optcd.cmsf -> sec = hsg / 75;
msf419drivers/block/optcd.cmsf -> frame = hsg % 75;
msf421drivers/block/optcd.cif (msf -> min >= 70)
msf423drivers/block/optcd.cif (msf -> sec >= 60)
msf425drivers/block/optcd.cif (msf -> frame >= 75)
msf428drivers/block/optcd.cmsf -> min = bin2bcd(msf -> min);  /* convert to BCD */
msf429drivers/block/optcd.cmsf -> sec = bin2bcd(msf -> sec);
msf430drivers/block/optcd.cmsf -> frame = bin2bcd(msf -> frame);
msf439drivers/block/optcd.cstatic long msf2hsg(struct msf *mp) {
msf793drivers/block/optcd.cstruct opt_Play_msf msf;
msf826drivers/block/optcd.chsg2msf(opt_next_bn, &msf.start);
msf828drivers/block/optcd.cmsf.end.min = 0;
msf829drivers/block/optcd.cmsf.end.sec = 0;
msf830drivers/block/optcd.cmsf.end.frame = opt_read_count;
msf833drivers/block/optcd.cmsf.start.min,
msf834drivers/block/optcd.cmsf.start.sec,
msf835drivers/block/optcd.cmsf.start.frame,
msf836drivers/block/optcd.cmsf.end.min,
msf837drivers/block/optcd.cmsf.end.sec,
msf838drivers/block/optcd.cmsf.end.frame);
msf845drivers/block/optcd.coptReadCmd(COMREAD, &msf);
msf1087drivers/block/optcd.cstruct cdrom_msf msf;
msf1089drivers/block/optcd.cif ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf)))
msf1091drivers/block/optcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf1092drivers/block/optcd.copt_Play.start.min = bin2bcd(msf.cdmsf_min0);
msf1093drivers/block/optcd.copt_Play.start.sec = bin2bcd(msf.cdmsf_sec0);
msf1094drivers/block/optcd.copt_Play.start.frame = bin2bcd(msf.cdmsf_frame0);
msf1095drivers/block/optcd.copt_Play.end.min = bin2bcd(msf.cdmsf_min1);
msf1096drivers/block/optcd.copt_Play.end.sec = bin2bcd(msf.cdmsf_sec1);
msf1097drivers/block/optcd.copt_Play.end.frame = bin2bcd(msf.cdmsf_frame1);
msf1175drivers/block/optcd.centry.cdte_addr.msf.minute =
msf1177drivers/block/optcd.centry.cdte_addr.msf.second =
msf1179drivers/block/optcd.centry.cdte_addr.msf.frame =
msf1242drivers/block/optcd.csubchnl.cdsc_absaddr.msf.minute =
msf1244drivers/block/optcd.csubchnl.cdsc_absaddr.msf.second =
msf1246drivers/block/optcd.csubchnl.cdsc_absaddr.msf.frame =
msf1248drivers/block/optcd.csubchnl.cdsc_reladdr.msf.minute =
msf1250drivers/block/optcd.csubchnl.cdsc_reladdr.msf.second =
msf1252drivers/block/optcd.csubchnl.cdsc_reladdr.msf.frame =
msf1263drivers/block/optcd.cstruct cdrom_msf msf;
msf1266drivers/block/optcd.cif ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf)))
msf1270drivers/block/optcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof msf);
msf1271drivers/block/optcd.copt_Play.start.min = bin2bcd(msf.cdmsf_min0);
msf1272drivers/block/optcd.copt_Play.start.sec = bin2bcd(msf.cdmsf_sec0);
msf1273drivers/block/optcd.copt_Play.start.frame = bin2bcd(msf.cdmsf_frame0);
msf485drivers/block/sbpcd.cstatic struct cdrom_msf msf;
msf776drivers/block/sbpcd.cstatic INLINE void lba2msf(int lba, u_char *msf)
msf779drivers/block/sbpcd.cmsf[0] = lba / (CD_SECS*CD_FRAMES);
msf781drivers/block/sbpcd.cmsf[1] = lba / CD_FRAMES;
msf782drivers/block/sbpcd.cmsf[2] = lba % CD_FRAMES;
msf796drivers/block/sbpcd.cMSF msf;
msf799drivers/block/sbpcd.cmsf.c[3] = 0;
msf800drivers/block/sbpcd.cmsf.c[2] = (blk + CD_BLOCK_OFFSET) / (CD_SECS * CD_FRAMES);
msf802drivers/block/sbpcd.cmsf.c[1] = mm / CD_FRAMES;
msf803drivers/block/sbpcd.cmsf.c[0] = mm % CD_FRAMES;
msf804drivers/block/sbpcd.creturn (msf.n);
msf834drivers/block/sbpcd.cMSF msf;
msf837drivers/block/sbpcd.cmsf.n=msfx;
msf838drivers/block/sbpcd.ci=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET;
msf846drivers/block/sbpcd.cstatic INLINE int msf2lba(u_char *msf)
msf850drivers/block/sbpcd.ci=(msf[0] * CD_SECS + msf[1]) * CD_FRAMES + msf[2] - CD_BLOCK_OFFSET;
msf3881drivers/block/sbpcd.cmemcpy_fromfs(&msf, (void *) arg, sizeof(struct cdrom_msf));
msf3883drivers/block/sbpcd.cD_S[d].pos_audio_start = (msf.cdmsf_min0<<16) |
msf3884drivers/block/sbpcd.c(msf.cdmsf_sec0<<8) |
msf3885drivers/block/sbpcd.cmsf.cdmsf_frame0;
msf3886drivers/block/sbpcd.cD_S[d].pos_audio_end = (msf.cdmsf_min1<<16) |
msf3887drivers/block/sbpcd.c(msf.cdmsf_sec1<<8) |
msf3888drivers/block/sbpcd.cmsf.cdmsf_frame1;
msf3951drivers/block/sbpcd.ctocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF;
msf3952drivers/block/sbpcd.ctocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF;
msf3953drivers/block/sbpcd.ctocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF;
msf4060drivers/block/sbpcd.cSC.cdsc_absaddr.msf.minute=(D_S[d].SubQ_run_tot>>16)&0x00FF;
msf4061drivers/block/sbpcd.cSC.cdsc_absaddr.msf.second=(D_S[d].SubQ_run_tot>>8)&0x00FF;
msf4062drivers/block/sbpcd.cSC.cdsc_absaddr.msf.frame=D_S[d].SubQ_run_tot&0x00FF;
msf4063drivers/block/sbpcd.cSC.cdsc_reladdr.msf.minute=(D_S[d].SubQ_run_trk>>16)&0x00FF;
msf4064drivers/block/sbpcd.cSC.cdsc_reladdr.msf.second=(D_S[d].SubQ_run_trk>>8)&0x00FF;
msf4065drivers/block/sbpcd.cSC.cdsc_reladdr.msf.frame=D_S[d].SubQ_run_trk&0x00FF;
msf4136drivers/block/sbpcd.cblock=msf2lba(&read_audio.addr.msf.minute);
msf4315drivers/block/sbpcd.clba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute);
msf229drivers/block/sjcd.cstatic long msf2hsg( struct msf *mp ){
msf234drivers/block/sjcd.cstatic void hsg2msf( long hsg, struct msf *msf ){
msf235drivers/block/sjcd.chsg += 150; msf->min = hsg / 4500;
msf236drivers/block/sjcd.chsg %= 4500; msf->sec = hsg / 75; msf->frame = hsg % 75;
msf237drivers/block/sjcd.cmsf->min = bin2bcd( msf->min );       /* convert to BCD */
msf238drivers/block/sjcd.cmsf->sec = bin2bcd( msf->sec );
msf239drivers/block/sjcd.cmsf->frame = bin2bcd( msf->frame );
msf611drivers/block/sjcd.cstruct sjcd_play_msf msf;
msf622drivers/block/sjcd.cmsf.start = mp->start;
msf623drivers/block/sjcd.cmsf.end.min = msf.end.sec = msf.end.frame = 0x00;
msf624drivers/block/sjcd.csjcd_send_6_cmd( SCMD_SEEK, &msf );
msf795drivers/block/sjcd.ctoc_entry.cdte_addr.msf.minute = bcd2bin( tp->un.track_msf.min );
msf796drivers/block/sjcd.ctoc_entry.cdte_addr.msf.second = bcd2bin( tp->un.track_msf.sec );
msf797drivers/block/sjcd.ctoc_entry.cdte_addr.msf.frame = bcd2bin( tp->un.track_msf.frame );
msf829drivers/block/sjcd.csubchnl.cdsc_absaddr.msf.minute = bcd2bin( q_info.abs.min );
msf830drivers/block/sjcd.csubchnl.cdsc_absaddr.msf.second = bcd2bin( q_info.abs.sec );
msf831drivers/block/sjcd.csubchnl.cdsc_absaddr.msf.frame = bcd2bin( q_info.abs.frame );
msf832drivers/block/sjcd.csubchnl.cdsc_reladdr.msf.minute = bcd2bin( q_info.rel.min );
msf833drivers/block/sjcd.csubchnl.cdsc_reladdr.msf.second = bcd2bin( q_info.rel.sec );
msf834drivers/block/sjcd.csubchnl.cdsc_reladdr.msf.frame = bcd2bin( q_info.rel.frame );
msf1045drivers/block/sjcd.cstruct sjcd_play_msf msf;
msf1048drivers/block/sjcd.chsg2msf( sjcd_next_bn, &msf.start );
msf1049drivers/block/sjcd.cmsf.end.min = 0; msf.end.sec = 0;            
msf1050drivers/block/sjcd.cmsf.end.frame = sjcd_read_count = SJCD_BUF_SIZ;
msf1053drivers/block/sjcd.cmsf.start.min, msf.start.sec, msf.start.frame,
msf1054drivers/block/sjcd.cmsf.end.min,   msf.end.sec,   msf.end.frame );
msf1059drivers/block/sjcd.csjcd_send_6_cmd( SCMD_DATA_READ, &msf );
msf765drivers/block/sonycd535.clog_to_msf(unsigned int log, Byte *msf)
msf768drivers/block/sonycd535.cmsf[0] = int_to_bcd(log / 4500);
msf770drivers/block/sonycd535.cmsf[1] = int_to_bcd(log / 75);
msf771drivers/block/sonycd535.cmsf[2] = int_to_bcd(log % 75);
msf779drivers/block/sonycd535.cmsf_to_log(Byte *msf)
msf784drivers/block/sonycd535.clog = bcd_to_int(msf[2]);
msf785drivers/block/sonycd535.clog += bcd_to_int(msf[1]) * 75;
msf786drivers/block/sonycd535.clog += bcd_to_int(msf[0]) * 4500;
msf1088drivers/block/sonycd535.cschi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]);
msf1089drivers/block/sonycd535.cschi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]);
msf1090drivers/block/sonycd535.cschi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]);
msf1092drivers/block/sonycd535.cschi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]);
msf1093drivers/block/sonycd535.cschi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]);
msf1094drivers/block/sonycd535.cschi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]);
msf1295drivers/block/sonycd535.cloc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val);
msf1296drivers/block/sonycd535.cloc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1));
msf1297drivers/block/sonycd535.cloc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2));
msf139drivers/scsi/sr_ioctl.cstruct cdrom_msf msf;
msf141drivers/scsi/sr_ioctl.cerr = verify_area (VERIFY_READ, (void *) arg, sizeof (msf));
msf144drivers/scsi/sr_ioctl.cmemcpy_fromfs(&msf, (void *) arg, sizeof(msf));
msf149drivers/scsi/sr_ioctl.csr_cmd[3] = msf.cdmsf_min0;
msf150drivers/scsi/sr_ioctl.csr_cmd[4] = msf.cdmsf_sec0;
msf151drivers/scsi/sr_ioctl.csr_cmd[5] = msf.cdmsf_frame0;
msf152drivers/scsi/sr_ioctl.csr_cmd[6] = msf.cdmsf_min1;
msf153drivers/scsi/sr_ioctl.csr_cmd[7] = msf.cdmsf_sec1;
msf154drivers/scsi/sr_ioctl.csr_cmd[8] = msf.cdmsf_frame1;
msf241drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.minute = buffer[9];
msf242drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.second = buffer[10];
msf243drivers/scsi/sr_ioctl.ctocentry.cdte_addr.msf.frame = buffer[11];
msf393drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.minute = buffer[13];
msf394drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.second = buffer[14];
msf395drivers/scsi/sr_ioctl.csubchnl.cdsc_reladdr.msf.frame = buffer[15];
msf396drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.minute = buffer[9];
msf397drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.second = buffer[10];
msf398drivers/scsi/sr_ioctl.csubchnl.cdsc_absaddr.msf.frame = buffer[11];
msf428drivers/scsi/sr_ioctl.cms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES);
msf430drivers/scsi/sr_ioctl.cms_info.addr.msf.second = lba / CD_FRAMES;
msf431drivers/scsi/sr_ioctl.cms_info.addr.msf.frame  = lba % CD_FRAMES;
msf130include/linux/aztcd.hstruct msf  start;
msf131include/linux/aztcd.hstruct msf  end;
msf138include/linux/aztcd.hstruct msf  diskLength;
msf139include/linux/aztcd.hstruct msf  firstTrack;
msf141include/linux/aztcd.hstruct msf      nextSession;
msf142include/linux/aztcd.hstruct msf      lastSession;
msf151include/linux/aztcd.hstruct msf  trackTime;
msf152include/linux/aztcd.hstruct msf  diskTime;
msf235include/linux/cdrom.h} msf;
msf274include/linux/cdrom.h} msf;
msf284include/linux/cdrom.h} msf;
msf329include/linux/cdrom.h} msf;
msf351include/linux/cdrom.h} msf;
msf92include/linux/gscd.hstruct msf  start;
msf93include/linux/gscd.hstruct msf  end;
msf99include/linux/gscd.hstruct msf  diskLength;
msf100include/linux/gscd.hstruct msf  firstTrack;
msf107include/linux/gscd.hstruct msf  trackTime;
msf108include/linux/gscd.hstruct msf  diskTime;
msf94include/linux/mcd.hstruct msf  start;
msf95include/linux/mcd.hstruct msf  end;
msf101include/linux/mcd.hstruct msf  diskLength;
msf102include/linux/mcd.hstruct msf  firstTrack;
msf109include/linux/mcd.hstruct msf  trackTime;
msf110include/linux/mcd.hstruct msf  diskTime;
msf152include/linux/optcd.hstruct msf  start;
msf153include/linux/optcd.hstruct msf  end;
msf159include/linux/optcd.hstruct msf  diskLength;
msf160include/linux/optcd.hstruct msf  firstTrack;
msf167include/linux/optcd.hstruct msf  trackTime;
msf168include/linux/optcd.hstruct msf  diskTime;
msf95include/linux/sjcd.hstruct msf track_msf;
msf103include/linux/sjcd.hstruct msf rel;
msf104include/linux/sjcd.hstruct msf abs;
msf108include/linux/sjcd.hstruct msf  start;
msf109include/linux/sjcd.hstruct msf  end;
msf115include/linux/sjcd.hstruct msf      disk_length;
msf116include/linux/sjcd.hstruct msf      first_track;
msf123include/linux/sjcd.hstruct msf      track_time;
msf124include/linux/sjcd.hstruct msf      disk_time;