tag | line | file | source code |
pmsf | 1252 | drivers/block/mcdx.c | static void log2msf(unsigned int l, struct s_msf* pmsf) |
pmsf | 1255 | drivers/block/mcdx.c | pmsf->minute = uint2bcd(l / 4500), l %= 4500; |
pmsf | 1256 | drivers/block/mcdx.c | pmsf->second = uint2bcd(l / 75); |
pmsf | 1257 | drivers/block/mcdx.c | pmsf->frame = uint2bcd(l % 75); |
pmsf | 1260 | drivers/block/mcdx.c | static unsigned int msf2log(const struct s_msf* pmsf) |
pmsf | 1262 | drivers/block/mcdx.c | return bcd2uint(pmsf->frame) |
pmsf | 1263 | drivers/block/mcdx.c | + bcd2uint(pmsf->second) * 75 |
pmsf | 1264 | drivers/block/mcdx.c | + bcd2uint(pmsf->minute) * 4500 |