MCPcopy Create free account
hub / github.com/F-Stack/f-stack / bcd2bin

Function bcd2bin

freebsd/sys/libkern.h:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56#define LIBKERN_LEN_HEX2ASCII 36
57
58static inline u_char
59bcd2bin(int bcd)
60{
61
62 KASSERT(bcd >= 0 && bcd < LIBKERN_LEN_BCD2BIN,
63 ("invalid bcd %d", bcd));
64 return (bcd2bin_data[bcd]);
65}
66
67static inline u_char
68bin2bcd(int bin)

Callers 5

smapi_attachFunction · 0.50
cvmx_rtc_ds1337_readFunction · 0.50
max77620_rtc_gettimeFunction · 0.50
as3722_rtc_gettimeFunction · 0.50
smbios_attachFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected