Searched refs:bcd (Results 1 - 18 of 18) sorted by relevance

/freebsd-10.2-release/games/bcd/
H A DMakefile2 # $FreeBSD: releng/10.2/games/bcd/Makefile 203923 2010-02-15 14:32:00Z uqs $
4 PROG= bcd
5 MAN= bcd.6
6 MLINKS= bcd.6 ppt.6
/freebsd-10.2-release/sys/dev/usb/
H A Dusb_util.h31 void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd);
H A Dusb_util.c152 * This function will print the version number "bcd" to the string
157 usb_printbcd(char *p, uint16_t p_len, uint16_t bcd) argument
159 if (snprintf(p, p_len, "%x.%02x", bcd >> 8, bcd & 0xff)) {
/freebsd-10.2-release/sys/dev/iicbus/
H A Ds35390a.c261 uint8_t bcd[S390_RT1_NBYTES]; local
265 error = s390rtc_read(dev, S390_REALTIME1, bcd, S390_RT1_NBYTES);
276 ct.sec = FROMBCD(bcd[S390_RT1_SECOND]);
277 ct.min = FROMBCD(bcd[S390_RT1_MINUTE]);
278 ct.hour = FROMBCD(bcd[S390_RT1_HOUR] & 0x3f);
279 ct.day = FROMBCD(bcd[S390_RT1_DAY]);
280 ct.dow = bcd[S390_RT1_WDAY] & 0x07;
281 ct.mon = FROMBCD(bcd[S390_RT1_MONTH]);
282 ct.year = FROMBCD(bcd[S390_RT1_YEAR]) + 2000;
290 uint8_t bcd[S390_RT1_NBYTE local
[all...]
/freebsd-10.2-release/contrib/ntp/kernel/sys/
H A Di8253.h26 unsigned int bcd : 1; member in struct:__anon4056::__anon4057
H A Dpcl720.h53 ctrl.s.bcd = i8253_binary; \
/freebsd-10.2-release/games/
H A DMakefile6 bcd \
/freebsd-10.2-release/contrib/gcclibs/libdecnumber/
H A DdecUtility.c177 /* write bunch (bcd) to byte array */
235 uInt bcd; /* BCD result */ local
292 bcd = DPD2BCD[dpd]; /* convert 10 bits to 12 bits BCD */
296 nibble = bcd & 0x000f;
312 nibble = bcd & 0x00f0;
327 nibble = bcd & 0x0f00;
/freebsd-10.2-release/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c68 static inline uint8_t bcd2bin(uint8_t bcd) argument
70 return (bcd >> 4) * 10 + (bcd & 0xf);
/freebsd-10.2-release/usr.sbin/apm/
H A Dapm.c99 bcd2int(int bcd) argument
104 if (bcd > 0x9999)
107 while (bcd) {
108 retval += (bcd & 0xf) * place;
109 bcd >>= 4;
261 * OK. We have the time (all bcd).
/freebsd-10.2-release/sys/sys/
H A Dlibkern.h52 #define bcd2bin(bcd) (bcd2bin_data[bcd])
/freebsd-10.2-release/sys/boot/i386/libi386/
H A Dbiosdisk.c349 struct bcache_devdata bcd; local
353 bcd.dv_strategy = bd_realstrategy;
354 bcd.dv_devdata = devdata;
355 return (bcache_strategy(&bcd, BD(dev).bd_unit, rw, dblk + dev->d_offset,
/freebsd-10.2-release/lib/libstand/
H A Dstand.h321 #define bcd2bin(bcd) (bcd2bin_data[bcd])
H A DMakefile46 SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
/freebsd-10.2-release/sys/boot/pc98/libpc98/
H A Dbiosdisk.c720 struct bcache_devdata bcd; local
723 bcd.dv_strategy = bd_realstrategy;
724 bcd.dv_devdata = devdata;
725 return(bcache_strategy(&bcd, od->od_unit, rw, dblk+od->od_boff, size, buf, rsize));
/freebsd-10.2-release/sys/boot/userboot/libstand/
H A DMakefile45 SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
/freebsd-10.2-release/sys/boot/libstand32/
H A DMakefile48 SRCS+= gzguts.h zutil.h __main.c assert.c bcd.c bswap.c environment.c getopt.c gets.c \
/freebsd-10.2-release/sys/xen/interface/arch-x86/hvm/
H A Dsave.h454 uint8_t bcd; /* not supported */ member in struct:hvm_hw_pit::hvm_hw_pit_channel

Completed in 178 milliseconds