tag | line | file | source code |
log | 1029 | drivers/cdrom/cdu31a.c | log_to_msf(unsigned int log, unsigned char *msf) |
log | 1031 | drivers/cdrom/cdu31a.c | log = log + LOG_START_OFFSET; |
log | 1032 | drivers/cdrom/cdu31a.c | msf[0] = int_to_bcd(log / 4500); |
log | 1033 | drivers/cdrom/cdu31a.c | log = log % 4500; |
log | 1034 | drivers/cdrom/cdu31a.c | msf[1] = int_to_bcd(log / 75); |
log | 1035 | drivers/cdrom/cdu31a.c | msf[2] = int_to_bcd(log % 75); |
log | 1045 | drivers/cdrom/cdu31a.c | unsigned int log; |
log | 1048 | drivers/cdrom/cdu31a.c | log = bcd_to_int(msf[2]); |
log | 1049 | drivers/cdrom/cdu31a.c | log += bcd_to_int(msf[1]) * 75; |
log | 1050 | drivers/cdrom/cdu31a.c | log += bcd_to_int(msf[0]) * 4500; |
log | 1051 | drivers/cdrom/cdu31a.c | log = log - LOG_START_OFFSET; |
log | 1053 | drivers/cdrom/cdu31a.c | return log; |
log | 733 | drivers/cdrom/sonycd535.c | log_to_msf(unsigned int log, Byte *msf) |
log | 735 | drivers/cdrom/sonycd535.c | log = log + LOG_START_OFFSET; |
log | 736 | drivers/cdrom/sonycd535.c | msf[0] = int_to_bcd(log / 4500); |
log | 737 | drivers/cdrom/sonycd535.c | log = log % 4500; |
log | 738 | drivers/cdrom/sonycd535.c | msf[1] = int_to_bcd(log / 75); |
log | 739 | drivers/cdrom/sonycd535.c | msf[2] = int_to_bcd(log % 75); |
log | 749 | drivers/cdrom/sonycd535.c | unsigned int log; |
log | 752 | drivers/cdrom/sonycd535.c | log = bcd_to_int(msf[2]); |
log | 753 | drivers/cdrom/sonycd535.c | log += bcd_to_int(msf[1]) * 75; |
log | 754 | drivers/cdrom/sonycd535.c | log += bcd_to_int(msf[0]) * 4500; |
log | 755 | drivers/cdrom/sonycd535.c | log = log - LOG_START_OFFSET; |
log | 757 | drivers/cdrom/sonycd535.c | return log; |