tag | line | file | source code |
msf | 928 | drivers/block/cdu31a.c | log_to_msf(unsigned int log, unsigned char *msf) |
msf | 931 | drivers/block/cdu31a.c | msf[0] = int_to_bcd(log / 4500); |
msf | 933 | drivers/block/cdu31a.c | msf[1] = int_to_bcd(log / 75); |
msf | 934 | drivers/block/cdu31a.c | msf[2] = int_to_bcd(log % 75); |
msf | 942 | drivers/block/cdu31a.c | msf_to_log(unsigned char *msf) |
msf | 947 | drivers/block/cdu31a.c | log = bcd_to_int(msf[2]); |
msf | 948 | drivers/block/cdu31a.c | log += bcd_to_int(msf[1]) * 75; |
msf | 949 | drivers/block/cdu31a.c | log += bcd_to_int(msf[0]) * 4500; |
msf | 1252 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.minute = bcd_to_int(last_sony_subcode->abs_msf[0]); |
msf | 1253 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.second = bcd_to_int(last_sony_subcode->abs_msf[1]); |
msf | 1254 | drivers/block/cdu31a.c | schi.cdsc_absaddr.msf.frame = bcd_to_int(last_sony_subcode->abs_msf[2]); |
msf | 1256 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.minute = bcd_to_int(last_sony_subcode->rel_msf[0]); |
msf | 1257 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.second = bcd_to_int(last_sony_subcode->rel_msf[1]); |
msf | 1258 | drivers/block/cdu31a.c | schi.cdsc_reladdr.msf.frame = bcd_to_int(last_sony_subcode->rel_msf[2]); |
msf | 1466 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.minute = bcd_to_int(*msf_val); |
msf | 1467 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.second = bcd_to_int(*(msf_val+1)); |
msf | 1468 | drivers/block/cdu31a.c | loc_entry.cdte_addr.msf.frame = bcd_to_int(*(msf_val+2)); |
msf | 83 | drivers/block/mcd.c | static void hsg2msf(long hsg, struct msf *msf); |
msf | 176 | drivers/block/mcd.c | msf2hsg(struct msf *mp) |
msf | 193 | drivers/block/mcd.c | struct cdrom_msf msf; |
msf | 315 | drivers/block/mcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof msf); |
msf | 319 | drivers/block/mcd.c | memcpy_fromfs(&msf, (void *) arg, sizeof msf); |
msf | 323 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_min0); |
msf | 324 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_sec0); |
msf | 325 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_frame0); |
msf | 326 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_min1); |
msf | 327 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_sec1); |
msf | 328 | drivers/block/mcd.c | bin2bcd(&msf.cdmsf_frame1); |
msf | 330 | drivers/block/mcd.c | mcd_Play.start.min = msf.cdmsf_min0; |
msf | 331 | drivers/block/mcd.c | mcd_Play.start.sec = msf.cdmsf_sec0; |
msf | 332 | drivers/block/mcd.c | mcd_Play.start.frame = msf.cdmsf_frame0; |
msf | 333 | drivers/block/mcd.c | mcd_Play.end.min = msf.cdmsf_min1; |
msf | 334 | drivers/block/mcd.c | mcd_Play.end.sec = msf.cdmsf_sec1; |
msf | 335 | drivers/block/mcd.c | mcd_Play.end.frame = msf.cdmsf_frame1; |
msf | 389 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
msf | 390 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
msf | 391 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
msf | 425 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.minute = bcd2bin(qInfo.diskTime.min); |
msf | 426 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.second = bcd2bin(qInfo.diskTime.sec); |
msf | 427 | drivers/block/mcd.c | subchnl.cdsc_absaddr.msf.frame = bcd2bin(qInfo.diskTime.frame); |
msf | 429 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.minute = bcd2bin(qInfo.trackTime.min); |
msf | 430 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.second = bcd2bin(qInfo.trackTime.sec); |
msf | 431 | drivers/block/mcd.c | subchnl.cdsc_reladdr.msf.frame = bcd2bin(qInfo.trackTime.frame); |
msf | 881 | drivers/block/mcd.c | hsg2msf(long hsg, struct msf *msf) |
msf | 884 | drivers/block/mcd.c | msf -> min = hsg / 4500; |
msf | 886 | drivers/block/mcd.c | msf -> sec = hsg / 75; |
msf | 887 | drivers/block/mcd.c | msf -> frame = hsg % 75; |
msf | 889 | drivers/block/mcd.c | bin2bcd(&msf -> min); /* convert to BCD */ |
msf | 890 | drivers/block/mcd.c | bin2bcd(&msf -> sec); |
msf | 891 | drivers/block/mcd.c | bin2bcd(&msf -> frame); |
msf | 133 | drivers/scsi/sr_ioctl.c | struct cdrom_msf msf; |
msf | 134 | drivers/scsi/sr_ioctl.c | memcpy_fromfs(&msf, (void *) arg, sizeof(msf)); |
msf | 139 | drivers/scsi/sr_ioctl.c | sr_cmd[3] = msf.cdmsf_min0; |
msf | 140 | drivers/scsi/sr_ioctl.c | sr_cmd[4] = msf.cdmsf_sec0; |
msf | 141 | drivers/scsi/sr_ioctl.c | sr_cmd[5] = msf.cdmsf_frame0; |
msf | 142 | drivers/scsi/sr_ioctl.c | sr_cmd[6] = msf.cdmsf_min1; |
msf | 143 | drivers/scsi/sr_ioctl.c | sr_cmd[7] = msf.cdmsf_sec1; |
msf | 144 | drivers/scsi/sr_ioctl.c | sr_cmd[8] = msf.cdmsf_frame1; |
msf | 223 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.minute = buffer[9]; |
msf | 224 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.second = buffer[10]; |
msf | 225 | drivers/scsi/sr_ioctl.c | tocentry.cdte_addr.msf.frame = buffer[11]; |
msf | 363 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.minute = buffer[13]; |
msf | 364 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.second = buffer[14]; |
msf | 365 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_reladdr.msf.frame = buffer[15]; |
msf | 366 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.minute = buffer[9]; |
msf | 367 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.second = buffer[10]; |
msf | 368 | drivers/scsi/sr_ioctl.c | subchnl.cdsc_absaddr.msf.frame = buffer[11]; |
msf | 217 | include/linux/cdrom.h | } msf; |
msf | 257 | include/linux/cdrom.h | } msf; |
msf | 267 | include/linux/cdrom.h | } msf; |
msf | 89 | include/linux/mcd.h | struct msf start; |
msf | 90 | include/linux/mcd.h | struct msf end; |
msf | 96 | include/linux/mcd.h | struct msf diskLength; |
msf | 97 | include/linux/mcd.h | struct msf firstTrack; |
msf | 104 | include/linux/mcd.h | struct msf trackTime; |
msf | 105 | include/linux/mcd.h | struct msf diskTime; |