tag | line | file | source code |
msf | 259 | drivers/block/aztcd.c | static void azt_hsg2msf(long hsg, struct msf *msf); |
msf | 571 | drivers/block/aztcd.c | long azt_msf2hsg(struct msf *mp) |
msf | 581 | drivers/block/aztcd.c | struct cdrom_msf msf; |
msf | 646 | drivers/block/aztcd.c | { ms.addr.msf.minute = azt_bcd2bin(DiskInfo.lastTrack.min); |
msf | 647 | drivers/block/aztcd.c | ms.addr.msf.second = azt_bcd2bin(DiskInfo.lastTrack.sec); |
msf | 648 | drivers/block/aztcd.c | ms.addr.msf.frame = azt_bcd2bin(DiskInfo.lastTrack.frame); |
msf | 661 | drivers/block/aztcd.c | ms.xa_flag, ms.addr.msf.minute, ms.addr.msf.second, |
msf | 662 | drivers/block/aztcd.c | ms.addr.msf.frame, DiskInfo.lastTrack.min, |
msf | 704 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
msf | 706 | drivers/block/aztcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 708 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_min0); |
msf | 709 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_sec0); |
msf | 710 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_frame0); |
msf | 711 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_min1); |
msf | 712 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_sec1); |
msf | 713 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_frame1); |
msf | 714 | drivers/block/aztcd.c | azt_Play.start.min = msf.cdmsf_min0; |
msf | 715 | drivers/block/aztcd.c | azt_Play.start.sec = msf.cdmsf_sec0; |
msf | 716 | drivers/block/aztcd.c | azt_Play.start.frame = msf.cdmsf_frame0; |
msf | 717 | drivers/block/aztcd.c | azt_Play.end.min = msf.cdmsf_min1; |
msf | 718 | drivers/block/aztcd.c | azt_Play.end.sec = msf.cdmsf_sec1; |
msf | 719 | drivers/block/aztcd.c | azt_Play.end.frame = msf.cdmsf_frame1; |
msf | 760 | drivers/block/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
msf | 761 | drivers/block/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
msf | 762 | drivers/block/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
msf | 803 | drivers/block/aztcd.c | subchnl.cdsc_absaddr.msf.minute = azt_bcd2bin(qInfo.diskTime.min); |
msf | 804 | drivers/block/aztcd.c | subchnl.cdsc_absaddr.msf.second = azt_bcd2bin(qInfo.diskTime.sec); |
msf | 805 | drivers/block/aztcd.c | subchnl.cdsc_absaddr.msf.frame = azt_bcd2bin(qInfo.diskTime.frame); |
msf | 806 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.minute = azt_bcd2bin(qInfo.trackTime.min); |
msf | 807 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.second = azt_bcd2bin(qInfo.trackTime.sec); |
msf | 808 | drivers/block/aztcd.c | subchnl.cdsc_reladdr.msf.frame = azt_bcd2bin(qInfo.trackTime.frame); |
msf | 856 | drivers/block/aztcd.c | { st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
msf | 860 | drivers/block/aztcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 862 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_min0); |
msf | 863 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_sec0); |
msf | 864 | drivers/block/aztcd.c | azt_bin2bcd(&msf.cdmsf_frame0); |
msf | 865 | drivers/block/aztcd.c | msf.cdmsf_min1=0; |
msf | 866 | drivers/block/aztcd.c | msf.cdmsf_sec1=0; |
msf | 867 | drivers/block/aztcd.c | msf.cdmsf_frame1=1; /*read only one frame*/ |
msf | 868 | drivers/block/aztcd.c | azt_Play.start.min = msf.cdmsf_min0; |
msf | 869 | drivers/block/aztcd.c | azt_Play.start.sec = msf.cdmsf_sec0; |
msf | 870 | drivers/block/aztcd.c | azt_Play.start.frame = msf.cdmsf_frame0; |
msf | 871 | drivers/block/aztcd.c | azt_Play.end.min = msf.cdmsf_min1; |
msf | 872 | drivers/block/aztcd.c | azt_Play.end.sec = msf.cdmsf_sec1; |
msf | 873 | drivers/block/aztcd.c | azt_Play.end.frame = msf.cdmsf_frame1; |
msf | 1135 | drivers/block/aztcd.c | struct azt_Play_msf msf; |
msf | 1137 | drivers/block/aztcd.c | azt_hsg2msf(azt_next_bn, &msf.start); |
msf | 1141 | drivers/block/aztcd.c | msf.end.min = 0; |
msf | 1142 | drivers/block/aztcd.c | msf.end.sec = 0; |
msf | 1143 | drivers/block/aztcd.c | msf.end.frame = azt_read_count ;/*Mitsumi here reads 0xffffff sectors*/ |
msf | 1145 | drivers/block/aztcd.c | printk("---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); |
msf | 1150 | drivers/block/aztcd.c | { sendAztCmd(ACMD_PLAY_READ_RAW, &msf); /*XA disks in raw mode*/ |
msf | 1153 | drivers/block/aztcd.c | { sendAztCmd(ACMD_PLAY_READ, &msf); /*others in cooked mode*/ |
msf | 1669 | drivers/block/aztcd.c | static void azt_hsg2msf(long hsg, struct msf *msf) |
msf | 1671 | drivers/block/aztcd.c | msf -> min = hsg / 4500; |
msf | 1673 | drivers/block/aztcd.c | msf -> sec = hsg / 75; |
msf | 1674 | drivers/block/aztcd.c | msf -> frame = hsg % 75; |
msf | 1676 | drivers/block/aztcd.c | if (msf->min >=70) printk("aztcd: Error hsg2msf address Minutes\n"); |
msf | 1677 | drivers/block/aztcd.c | if (msf->sec >=60) printk("aztcd: Error hsg2msf address Seconds\n"); |
msf | 1678 | drivers/block/aztcd.c | if (msf->frame>=75) printk("aztcd: Error hsg2msf address Frames\n"); |
msf | 1680 | drivers/block/aztcd.c | azt_bin2bcd(&msf -> min); /* convert to BCD */ |
msf | 1681 | drivers/block/aztcd.c | azt_bin2bcd(&msf -> sec); |
msf | 1682 | drivers/block/aztcd.c | azt_bin2bcd(&msf -> frame); |
msf | 1019 | drivers/block/cdu31a.c | log_to_msf(unsigned int log, unsigned char *msf) |
msf | 1022 | drivers/block/cdu31a.c | msf[0] = int_to_bcd(log / 4500); |
msf | 1024 | drivers/block/cdu31a.c | msf[1] = int_to_bcd(log / 75); |
msf | 1025 | drivers/block/cdu31a.c | msf[2] = int_to_bcd(log % 75); |
msf | 1033 | drivers/block/cdu31a.c | msf_to_log(unsigned char *msf) |
msf | 1038 | drivers/block/cdu31a.c | log = bcd_to_int(msf[2]); |
msf | 1039 | drivers/block/cdu31a.c | log += bcd_to_int(msf[1]) * 75; |
msf | 1040 | drivers/block/cdu31a.c | log += bcd_to_int(msf[0]) * 4500; |
msf | 1959 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode.abs_msf[0]); |
msf | 1960 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode.abs_msf[1]); |
msf | 1961 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode.abs_msf[2]); |
msf | 1963 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode.rel_msf[0]); |
msf | 1964 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode.rel_msf[1]); |
msf | 1965 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode.rel_msf[2]); |
msf | 2485 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
msf | 2486 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
msf | 2487 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
msf | 2622 | drivers/block/cdu31a.c | if ( (ra.addr.msf.minute >= 75) |
msf | 2623 | drivers/block/cdu31a.c | || (ra.addr.msf.second >= 60) |
msf | 2624 | drivers/block/cdu31a.c | || (ra.addr.msf.frame >= 75)) |
msf | 2629 | drivers/block/cdu31a.c | ra.addr.lba = ( (ra.addr.msf.minute * 4500) |
msf | 2630 | drivers/block/cdu31a.c | + (ra.addr.msf.second * 75) |
msf | 2631 | drivers/block/cdu31a.c | + ra.addr.msf.frame); |
msf | 688 | drivers/block/cm206.c | mssp->addr.msf.frame = cd->disc_status[3]; |
msf | 689 | drivers/block/cm206.c | mssp->addr.msf.second = cd->disc_status[4]; |
msf | 690 | drivers/block/cm206.c | mssp->addr.msf.minute = cd->disc_status[5]; |
msf | 854 | drivers/block/cm206.c | qp->cdsc_reladdr.msf.minute = q[3]; |
msf | 855 | drivers/block/cm206.c | qp->cdsc_reladdr.msf.second = q[4]; |
msf | 856 | drivers/block/cm206.c | qp->cdsc_reladdr.msf.frame = q[5]; |
msf | 857 | drivers/block/cm206.c | qp->cdsc_absaddr.msf.minute = q[7]; |
msf | 858 | drivers/block/cm206.c | qp->cdsc_absaddr.msf.second = q[8]; |
msf | 859 | drivers/block/cm206.c | qp->cdsc_absaddr.msf.frame = q[9]; |
msf | 878 | drivers/block/cm206.c | ep->cdte_addr.msf.frame = cd->toc[track].fsm[0]; |
msf | 879 | drivers/block/cm206.c | ep->cdte_addr.msf.second = cd->toc[track].fsm[1]; |
msf | 880 | drivers/block/cm206.c | ep->cdte_addr.msf.minute = cd->toc[track].fsm[2]; |
msf | 960 | drivers/block/cm206.c | struct cdrom_msf msf; |
msf | 963 | drivers/block/cm206.c | st=verify_area(VERIFY_READ, (void *) arg, sizeof(msf)); |
msf | 965 | drivers/block/cm206.c | memcpy_fromfs(&msf, (struct cdrom_mdf *) arg, sizeof msf); |
msf | 966 | drivers/block/cm206.c | play_from_to_msf(&msf); |
msf | 89 | drivers/block/gscd.c | static void gscd_hsg2msf (long hsg, struct msf *msf); |
msf | 118 | drivers/block/gscd.c | static long gscd_msf2hsg (struct msf *mp); |
msf | 1090 | drivers/block/gscd.c | static void gscd_hsg2msf (long hsg, struct msf *msf) |
msf | 1093 | drivers/block/gscd.c | msf -> min = hsg / (CD_FRAMES*CD_SECS); |
msf | 1095 | drivers/block/gscd.c | msf -> sec = hsg / CD_FRAMES; |
msf | 1096 | drivers/block/gscd.c | msf -> frame = hsg % CD_FRAMES; |
msf | 1098 | drivers/block/gscd.c | gscd_bin2bcd(&msf -> min); /* convert to BCD */ |
msf | 1099 | drivers/block/gscd.c | gscd_bin2bcd(&msf -> sec); |
msf | 1100 | drivers/block/gscd.c | gscd_bin2bcd(&msf -> frame); |
msf | 1115 | drivers/block/gscd.c | static long gscd_msf2hsg (struct msf *mp) |
msf | 1741 | drivers/block/ide-cd.c | struct cdrom_msf msf; |
msf | 1744 | drivers/block/ide-cd.c | stat = verify_area (VERIFY_READ, (void *)arg, sizeof (msf)); |
msf | 1747 | drivers/block/ide-cd.c | memcpy_fromfs (&msf, (void *) arg, sizeof(msf)); |
msf | 1749 | drivers/block/ide-cd.c | lba_start = msf_to_lba (msf.cdmsf_min0, msf.cdmsf_sec0, |
msf | 1750 | drivers/block/ide-cd.c | msf.cdmsf_frame0); |
msf | 1751 | drivers/block/ide-cd.c | lba_end = msf_to_lba (msf.cdmsf_min1, msf.cdmsf_sec1, |
msf | 1752 | drivers/block/ide-cd.c | msf.cdmsf_frame1) + 1; |
msf | 1831 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.minute, |
msf | 1832 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.second, |
msf | 1833 | drivers/block/ide-cd.c | &tocentry.cdte_addr.msf.frame); |
msf | 1867 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.minute, |
msf | 1868 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.second, |
msf | 1869 | drivers/block/ide-cd.c | &subchnl.cdsc_absaddr.msf.frame); |
msf | 1871 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.minute, |
msf | 1872 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.second, |
msf | 1873 | drivers/block/ide-cd.c | &subchnl.cdsc_reladdr.msf.frame); |
msf | 189 | drivers/block/mcd.c | static void hsg2msf(long hsg, struct msf *msf); |
msf | 283 | drivers/block/mcd.c | msf2hsg(struct msf *mp) |
msf | 300 | drivers/block/mcd.c | struct cdrom_msf msf; |
msf | 420 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
msf | 424 | drivers/block/mcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 428 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_min0); |
msf | 429 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_sec0); |
msf | 430 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_frame0); |
msf | 431 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_min1); |
msf | 432 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_sec1); |
msf | 433 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_frame1); |
msf | 435 | drivers/block/mcd.c | mcd_Play.start.min = msf.cdmsf_min0; |
msf | 436 | drivers/block/mcd.c | mcd_Play.start.sec = msf.cdmsf_sec0; |
msf | 437 | drivers/block/mcd.c | mcd_Play.start.frame = msf.cdmsf_frame0; |
msf | 438 | drivers/block/mcd.c | mcd_Play.end.min = msf.cdmsf_min1; |
msf | 439 | drivers/block/mcd.c | mcd_Play.end.sec = msf.cdmsf_sec1; |
msf | 440 | drivers/block/mcd.c | mcd_Play.end.frame = msf.cdmsf_frame1; |
msf | 494 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
msf | 495 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
msf | 496 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
msf | 530 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
msf | 531 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
msf | 532 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
msf | 534 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
msf | 535 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
msf | 536 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
msf | 869 | drivers/block/mcd.c | struct mcd_Play_msf msf; |
msf | 871 | drivers/block/mcd.c | hsg2msf(mcd_next_bn, &msf.start); |
msf | 872 | drivers/block/mcd.c | msf.end.min = ~0; |
msf | 873 | drivers/block/mcd.c | msf.end.sec = ~0; |
msf | 874 | drivers/block/mcd.c | msf.end.frame = ~0; |
msf | 875 | drivers/block/mcd.c | sendMcdCmd(MCMD_DATA_READ, &msf); |
msf | 1308 | drivers/block/mcd.c | hsg2msf(long hsg, struct msf *msf) |
msf | 1311 | drivers/block/mcd.c | msf -> min = hsg / 4500; |
msf | 1313 | drivers/block/mcd.c | msf -> sec = hsg / 75; |
msf | 1314 | drivers/block/mcd.c | msf -> frame = hsg % 75; |
msf | 1316 | drivers/block/mcd.c | bin2bcd(&msf -> min); /* convert to BCD */ |
msf | 1317 | drivers/block/mcd.c | bin2bcd(&msf -> sec); |
msf | 1318 | drivers/block/mcd.c | bin2bcd(&msf -> frame); |
msf | 323 | drivers/block/mcdx.c | entry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute); |
msf | 324 | drivers/block/mcdx.c | entry.cdte_addr.msf.second = bcd2uint(tp->dt.second); |
msf | 325 | drivers/block/mcdx.c | entry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame); |
msf | 358 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.minute = bcd2uint(q.dt.minute); |
msf | 359 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.second = bcd2uint(q.dt.second); |
msf | 360 | drivers/block/mcdx.c | sub.cdsc_absaddr.msf.frame = bcd2uint(q.dt.frame); |
msf | 361 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.minute = bcd2uint(q.tt.minute); |
msf | 362 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.second = bcd2uint(q.tt.second); |
msf | 363 | drivers/block/mcdx.c | sub.cdsc_reladdr.msf.frame = bcd2uint(q.tt.frame); |
msf | 405 | drivers/block/mcdx.c | ms.addr.msf.minute = bcd2uint(stuffp->multi.msf_last.minute); |
msf | 406 | drivers/block/mcdx.c | ms.addr.msf.second = bcd2uint(stuffp->multi.msf_last.second); |
msf | 407 | drivers/block/mcdx.c | ms.addr.msf.frame = bcd2uint(stuffp->multi.msf_last.frame); |
msf | 423 | drivers/block/mcdx.c | ms.addr.msf.minute, |
msf | 424 | drivers/block/mcdx.c | ms.addr.msf.second, |
msf | 425 | drivers/block/mcdx.c | ms.addr.msf.frame, |
msf | 413 | drivers/block/optcd.c | static void hsg2msf(long hsg, struct msf *msf) { |
msf | 415 | drivers/block/optcd.c | msf -> min = hsg / 4500; |
msf | 417 | drivers/block/optcd.c | msf -> sec = hsg / 75; |
msf | 418 | drivers/block/optcd.c | msf -> frame = hsg % 75; |
msf | 420 | drivers/block/optcd.c | if (msf -> min >= 70) |
msf | 422 | drivers/block/optcd.c | if (msf -> sec >= 60) |
msf | 424 | drivers/block/optcd.c | if (msf -> frame >= 75) |
msf | 427 | drivers/block/optcd.c | msf -> min = bin2bcd(msf -> min); /* convert to BCD */ |
msf | 428 | drivers/block/optcd.c | msf -> sec = bin2bcd(msf -> sec); |
msf | 429 | drivers/block/optcd.c | msf -> frame = bin2bcd(msf -> frame); |
msf | 438 | drivers/block/optcd.c | static long msf2hsg(struct msf *mp) { |
msf | 792 | drivers/block/optcd.c | struct opt_Play_msf msf; |
msf | 825 | drivers/block/optcd.c | hsg2msf(opt_next_bn, &msf.start); |
msf | 827 | drivers/block/optcd.c | msf.end.min = 0; |
msf | 828 | drivers/block/optcd.c | msf.end.sec = 0; |
msf | 829 | drivers/block/optcd.c | msf.end.frame = opt_read_count; |
msf | 832 | drivers/block/optcd.c | msf.start.min, |
msf | 833 | drivers/block/optcd.c | msf.start.sec, |
msf | 834 | drivers/block/optcd.c | msf.start.frame, |
msf | 835 | drivers/block/optcd.c | msf.end.min, |
msf | 836 | drivers/block/optcd.c | msf.end.sec, |
msf | 837 | drivers/block/optcd.c | msf.end.frame); |
msf | 844 | drivers/block/optcd.c | optReadCmd(COMREAD, &msf); |
msf | 1086 | drivers/block/optcd.c | struct cdrom_msf msf; |
msf | 1088 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf))) |
msf | 1090 | drivers/block/optcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 1091 | drivers/block/optcd.c | opt_Play.start.min = bin2bcd(msf.cdmsf_min0); |
msf | 1092 | drivers/block/optcd.c | opt_Play.start.sec = bin2bcd(msf.cdmsf_sec0); |
msf | 1093 | drivers/block/optcd.c | opt_Play.start.frame = bin2bcd(msf.cdmsf_frame0); |
msf | 1094 | drivers/block/optcd.c | opt_Play.end.min = bin2bcd(msf.cdmsf_min1); |
msf | 1095 | drivers/block/optcd.c | opt_Play.end.sec = bin2bcd(msf.cdmsf_sec1); |
msf | 1096 | drivers/block/optcd.c | opt_Play.end.frame = bin2bcd(msf.cdmsf_frame1); |
msf | 1174 | drivers/block/optcd.c | entry.cdte_addr.msf.minute = |
msf | 1176 | drivers/block/optcd.c | entry.cdte_addr.msf.second = |
msf | 1178 | drivers/block/optcd.c | entry.cdte_addr.msf.frame = |
msf | 1241 | drivers/block/optcd.c | subchnl.cdsc_absaddr.msf.minute = |
msf | 1243 | drivers/block/optcd.c | subchnl.cdsc_absaddr.msf.second = |
msf | 1245 | drivers/block/optcd.c | subchnl.cdsc_absaddr.msf.frame = |
msf | 1247 | drivers/block/optcd.c | subchnl.cdsc_reladdr.msf.minute = |
msf | 1249 | drivers/block/optcd.c | subchnl.cdsc_reladdr.msf.second = |
msf | 1251 | drivers/block/optcd.c | subchnl.cdsc_reladdr.msf.frame = |
msf | 1262 | drivers/block/optcd.c | struct cdrom_msf msf; |
msf | 1265 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof msf))) |
msf | 1269 | drivers/block/optcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 1270 | drivers/block/optcd.c | opt_Play.start.min = bin2bcd(msf.cdmsf_min0); |
msf | 1271 | drivers/block/optcd.c | opt_Play.start.sec = bin2bcd(msf.cdmsf_sec0); |
msf | 1272 | drivers/block/optcd.c | opt_Play.start.frame = bin2bcd(msf.cdmsf_frame0); |
msf | 485 | drivers/block/sbpcd.c | static struct cdrom_msf msf; |
msf | 776 | drivers/block/sbpcd.c | static INLINE void lba2msf(int lba, u_char *msf) |
msf | 779 | drivers/block/sbpcd.c | msf[0] = lba / (CD_SECS*CD_FRAMES); |
msf | 781 | drivers/block/sbpcd.c | msf[1] = lba / CD_FRAMES; |
msf | 782 | drivers/block/sbpcd.c | msf[2] = lba % CD_FRAMES; |
msf | 796 | drivers/block/sbpcd.c | MSF msf; |
msf | 799 | drivers/block/sbpcd.c | msf.c[3] = 0; |
msf | 800 | drivers/block/sbpcd.c | msf.c[2] = (blk + CD_BLOCK_OFFSET) / (CD_SECS * CD_FRAMES); |
msf | 802 | drivers/block/sbpcd.c | msf.c[1] = mm / CD_FRAMES; |
msf | 803 | drivers/block/sbpcd.c | msf.c[0] = mm % CD_FRAMES; |
msf | 804 | drivers/block/sbpcd.c | return (msf.n); |
msf | 834 | drivers/block/sbpcd.c | MSF msf; |
msf | 837 | drivers/block/sbpcd.c | msf.n=msfx; |
msf | 838 | drivers/block/sbpcd.c | i=(msf.c[2] * CD_SECS + msf.c[1]) * CD_FRAMES + msf.c[0] - CD_BLOCK_OFFSET; |
msf | 846 | drivers/block/sbpcd.c | static INLINE int msf2lba(u_char *msf) |
msf | 850 | drivers/block/sbpcd.c | i=(msf[0] * CD_SECS + msf[1]) * CD_FRAMES + msf[2] - CD_BLOCK_OFFSET; |
msf | 3881 | drivers/block/sbpcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof(struct cdrom_msf)); |
msf | 3883 | drivers/block/sbpcd.c | D_S[d].pos_audio_start = (msf.cdmsf_min0<<16) | |
msf | 3884 | drivers/block/sbpcd.c | (msf.cdmsf_sec0<<8) | |
msf | 3885 | drivers/block/sbpcd.c | msf.cdmsf_frame0; |
msf | 3886 | drivers/block/sbpcd.c | D_S[d].pos_audio_end = (msf.cdmsf_min1<<16) | |
msf | 3887 | drivers/block/sbpcd.c | (msf.cdmsf_sec1<<8) | |
msf | 3888 | drivers/block/sbpcd.c | msf.cdmsf_frame1; |
msf | 3951 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.minute=(D_S[d].TocBuffer[i].address>>16)&0x00FF; |
msf | 3952 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.second=(D_S[d].TocBuffer[i].address>>8)&0x00FF; |
msf | 3953 | drivers/block/sbpcd.c | tocentry.cdte_addr.msf.frame=D_S[d].TocBuffer[i].address&0x00FF; |
msf | 4060 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.minute=(D_S[d].SubQ_run_tot>>16)&0x00FF; |
msf | 4061 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.second=(D_S[d].SubQ_run_tot>>8)&0x00FF; |
msf | 4062 | drivers/block/sbpcd.c | SC.cdsc_absaddr.msf.frame=D_S[d].SubQ_run_tot&0x00FF; |
msf | 4063 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.minute=(D_S[d].SubQ_run_trk>>16)&0x00FF; |
msf | 4064 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.second=(D_S[d].SubQ_run_trk>>8)&0x00FF; |
msf | 4065 | drivers/block/sbpcd.c | SC.cdsc_reladdr.msf.frame=D_S[d].SubQ_run_trk&0x00FF; |
msf | 4136 | drivers/block/sbpcd.c | block=msf2lba(&read_audio.addr.msf.minute); |
msf | 4315 | drivers/block/sbpcd.c | lba2msf(D_S[d].lba_multi,&ms_info.addr.msf.minute); |
msf | 229 | drivers/block/sjcd.c | static long msf2hsg( struct msf *mp ){ |
msf | 234 | drivers/block/sjcd.c | static void hsg2msf( long hsg, struct msf *msf ){ |
msf | 235 | drivers/block/sjcd.c | hsg += 150; msf->min = hsg / 4500; |
msf | 236 | drivers/block/sjcd.c | hsg %= 4500; msf->sec = hsg / 75; msf->frame = hsg % 75; |
msf | 237 | drivers/block/sjcd.c | msf->min = bin2bcd( msf->min ); /* convert to BCD */ |
msf | 238 | drivers/block/sjcd.c | msf->sec = bin2bcd( msf->sec ); |
msf | 239 | drivers/block/sjcd.c | msf->frame = bin2bcd( msf->frame ); |
msf | 611 | drivers/block/sjcd.c | struct sjcd_play_msf msf; |
msf | 622 | drivers/block/sjcd.c | msf.start = mp->start; |
msf | 623 | drivers/block/sjcd.c | msf.end.min = msf.end.sec = msf.end.frame = 0x00; |
msf | 624 | drivers/block/sjcd.c | sjcd_send_6_cmd( SCMD_SEEK, &msf ); |
msf | 795 | drivers/block/sjcd.c | toc_entry.cdte_addr.msf.minute = bcd2bin( tp->un.track_msf.min ); |
msf | 796 | drivers/block/sjcd.c | toc_entry.cdte_addr.msf.second = bcd2bin( tp->un.track_msf.sec ); |
msf | 797 | drivers/block/sjcd.c | toc_entry.cdte_addr.msf.frame = bcd2bin( tp->un.track_msf.frame ); |
msf | 829 | drivers/block/sjcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin( q_info.abs.min ); |
msf | 830 | drivers/block/sjcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin( q_info.abs.sec ); |
msf | 831 | drivers/block/sjcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin( q_info.abs.frame ); |
msf | 832 | drivers/block/sjcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin( q_info.rel.min ); |
msf | 833 | drivers/block/sjcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin( q_info.rel.sec ); |
msf | 834 | drivers/block/sjcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin( q_info.rel.frame ); |
msf | 1045 | drivers/block/sjcd.c | struct sjcd_play_msf msf; |
msf | 1048 | drivers/block/sjcd.c | hsg2msf( sjcd_next_bn, &msf.start ); |
msf | 1049 | drivers/block/sjcd.c | msf.end.min = 0; msf.end.sec = 0; |
msf | 1050 | drivers/block/sjcd.c | msf.end.frame = sjcd_read_count = SJCD_BUF_SIZ; |
msf | 1053 | drivers/block/sjcd.c | msf.start.min, msf.start.sec, msf.start.frame, |
msf | 1054 | drivers/block/sjcd.c | msf.end.min, msf.end.sec, msf.end.frame ); |
msf | 1059 | drivers/block/sjcd.c | sjcd_send_6_cmd( SCMD_DATA_READ, &msf ); |
msf | 765 | drivers/block/sonycd535.c | log_to_msf(unsigned int log, Byte *msf) |
msf | 768 | drivers/block/sonycd535.c | msf[0] = int_to_bcd(log / 4500); |
msf | 770 | drivers/block/sonycd535.c | msf[1] = int_to_bcd(log / 75); |
msf | 771 | drivers/block/sonycd535.c | msf[2] = int_to_bcd(log % 75); |
msf | 779 | drivers/block/sonycd535.c | msf_to_log(Byte *msf) |
msf | 784 | drivers/block/sonycd535.c | log = bcd_to_int(msf[2]); |
msf | 785 | drivers/block/sonycd535.c | log += bcd_to_int(msf[1]) * 75; |
msf | 786 | drivers/block/sonycd535.c | log += bcd_to_int(msf[0]) * 4500; |
msf | 1088 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
msf | 1089 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
msf | 1090 | drivers/block/sonycd535.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
msf | 1092 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
msf | 1093 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
msf | 1094 | drivers/block/sonycd535.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
msf | 1295 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
msf | 1296 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val + 1)); |
msf | 1297 | drivers/block/sonycd535.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val + 2)); |
msf | 139 | drivers/scsi/sr_ioctl.c | struct cdrom_msf msf; |
msf | 141 | drivers/scsi/sr_ioctl.c | err = verify_area (VERIFY_READ, (void *) arg, sizeof (msf)); |
msf | 144 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&msf, (void *) arg, sizeof(msf)); |
msf | 149 | drivers/scsi/sr_ioctl.c | sr_cmd[3] = msf.cdmsf_min0; |
msf | 150 | drivers/scsi/sr_ioctl.c | sr_cmd[4] = msf.cdmsf_sec0; |
msf | 151 | drivers/scsi/sr_ioctl.c | sr_cmd[5] = msf.cdmsf_frame0; |
msf | 152 | drivers/scsi/sr_ioctl.c | sr_cmd[6] = msf.cdmsf_min1; |
msf | 153 | drivers/scsi/sr_ioctl.c | sr_cmd[7] = msf.cdmsf_sec1; |
msf | 154 | drivers/scsi/sr_ioctl.c | sr_cmd[8] = msf.cdmsf_frame1; |
msf | 241 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
msf | 242 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
msf | 243 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
msf | 393 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
msf | 394 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
msf | 395 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
msf | 396 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
msf | 397 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
msf | 398 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
msf | 428 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.minute = lba / (CD_SECS*CD_FRAMES); |
msf | 430 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.second = lba / CD_FRAMES; |
msf | 431 | drivers/scsi/sr_ioctl.c | ms_info.addr.msf.frame = lba % CD_FRAMES; |
msf | 126 | include/linux/aztcd.h | struct msf start; |
msf | 127 | include/linux/aztcd.h | struct msf end; |
msf | 133 | include/linux/aztcd.h | struct msf diskLength; |
msf | 134 | include/linux/aztcd.h | struct msf firstTrack; |
msf | 136 | include/linux/aztcd.h | struct msf lastTrack; |
msf | 145 | include/linux/aztcd.h | struct msf trackTime; |
msf | 146 | include/linux/aztcd.h | struct msf diskTime; |
msf | 235 | include/linux/cdrom.h | } msf; |
msf | 274 | include/linux/cdrom.h | } msf; |
msf | 284 | include/linux/cdrom.h | } msf; |
msf | 329 | include/linux/cdrom.h | } msf; |
msf | 351 | include/linux/cdrom.h | } msf; |
msf | 92 | include/linux/gscd.h | struct msf start; |
msf | 93 | include/linux/gscd.h | struct msf end; |
msf | 99 | include/linux/gscd.h | struct msf diskLength; |
msf | 100 | include/linux/gscd.h | struct msf firstTrack; |
msf | 107 | include/linux/gscd.h | struct msf trackTime; |
msf | 108 | include/linux/gscd.h | struct msf diskTime; |
msf | 90 | include/linux/mcd.h | struct msf start; |
msf | 91 | include/linux/mcd.h | struct msf end; |
msf | 97 | include/linux/mcd.h | struct msf diskLength; |
msf | 98 | include/linux/mcd.h | struct msf firstTrack; |
msf | 105 | include/linux/mcd.h | struct msf trackTime; |
msf | 106 | include/linux/mcd.h | struct msf diskTime; |
msf | 152 | include/linux/optcd.h | struct msf start; |
msf | 153 | include/linux/optcd.h | struct msf end; |
msf | 159 | include/linux/optcd.h | struct msf diskLength; |
msf | 160 | include/linux/optcd.h | struct msf firstTrack; |
msf | 167 | include/linux/optcd.h | struct msf trackTime; |
msf | 168 | include/linux/optcd.h | struct msf diskTime; |
msf | 95 | include/linux/sjcd.h | struct msf track_msf; |
msf | 103 | include/linux/sjcd.h | struct msf rel; |
msf | 104 | include/linux/sjcd.h | struct msf abs; |
msf | 108 | include/linux/sjcd.h | struct msf start; |
msf | 109 | include/linux/sjcd.h | struct msf end; |
msf | 115 | include/linux/sjcd.h | struct msf disk_length; |
msf | 116 | include/linux/sjcd.h | struct msf first_track; |
msf | 123 | include/linux/sjcd.h | struct msf track_time; |
msf | 124 | include/linux/sjcd.h | struct msf disk_time; |