tag | line | file | source code |
log | 1020 | drivers/block/cdu31a.c | log_to_msf(unsigned int log, unsigned char *msf) |
log | 1022 | drivers/block/cdu31a.c | log = log + LOG_START_OFFSET; |
log | 1023 | drivers/block/cdu31a.c | msf[0] = int_to_bcd(log / 4500); |
log | 1024 | drivers/block/cdu31a.c | log = log % 4500; |
log | 1025 | drivers/block/cdu31a.c | msf[1] = int_to_bcd(log / 75); |
log | 1026 | drivers/block/cdu31a.c | msf[2] = int_to_bcd(log % 75); |
log | 1036 | drivers/block/cdu31a.c | unsigned int log; |
log | 1039 | drivers/block/cdu31a.c | log = bcd_to_int(msf[2]); |
log | 1040 | drivers/block/cdu31a.c | log += bcd_to_int(msf[1]) * 75; |
log | 1041 | drivers/block/cdu31a.c | log += bcd_to_int(msf[0]) * 4500; |
log | 1042 | drivers/block/cdu31a.c | log = log - LOG_START_OFFSET; |
log | 1044 | drivers/block/cdu31a.c | return log; |
log | 765 | drivers/block/sonycd535.c | log_to_msf(unsigned int log, Byte *msf) |
log | 767 | drivers/block/sonycd535.c | log = log + LOG_START_OFFSET; |
log | 768 | drivers/block/sonycd535.c | msf[0] = int_to_bcd(log / 4500); |
log | 769 | drivers/block/sonycd535.c | log = log % 4500; |
log | 770 | drivers/block/sonycd535.c | msf[1] = int_to_bcd(log / 75); |
log | 771 | drivers/block/sonycd535.c | msf[2] = int_to_bcd(log % 75); |
log | 781 | drivers/block/sonycd535.c | unsigned int log; |
log | 784 | drivers/block/sonycd535.c | log = bcd_to_int(msf[2]); |
log | 785 | drivers/block/sonycd535.c | log += bcd_to_int(msf[1]) * 75; |
log | 786 | drivers/block/sonycd535.c | log += bcd_to_int(msf[0]) * 4500; |
log | 787 | drivers/block/sonycd535.c | log = log - LOG_START_OFFSET; |
log | 789 | drivers/block/sonycd535.c | return log; |