Home
last modified time | relevance | path

Searched refs:bcd (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/sys/dev/iicbus/rtc/
H A Dpcf85063.c125 struct bcd_clocktime bcd; in pcf85063_get_time() local
145 bcd.nsec = 0; in pcf85063_get_time()
157 bcd.ispm = false; in pcf85063_get_time()
163 bcd.year = data.year; in pcf85063_get_time()
187 data.sec = bcd.sec; in pcf85063_set_time()
188 data.min = bcd.min; in pcf85063_set_time()
189 data.hour = bcd.hour; in pcf85063_set_time()
190 data.dow = bcd.dow - 1; in pcf85063_set_time()
191 data.day = bcd.day; in pcf85063_set_time()
192 data.mon = bcd.mon; in pcf85063_set_time()
[all …]
H A Drx8803.c108 struct bcd_clocktime bcd; in rx8803_gettime() local
122 bcd.nsec = 0; in rx8803_gettime()
129 bcd.year = data.year; in rx8803_gettime()
141 struct bcd_clocktime bcd; in rx8803_settime() local
149 data.sec = bcd.sec; in rx8803_settime()
150 data.min = bcd.min; in rx8803_settime()
151 data.hour = bcd.hour; in rx8803_settime()
152 data.dow = 1 << bcd.dow; in rx8803_settime()
153 data.day = bcd.day; in rx8803_settime()
154 data.mon = bcd.mon; in rx8803_settime()
[all …]
H A Ds35390a.c297 uint8_t bcd[S390_RT1_NBYTES]; in s390rtc_gettime() local
312 bct.sec = bcd[S390_RT1_SECOND]; in s390rtc_gettime()
315 bct.day = bcd[S390_RT1_DAY]; in s390rtc_gettime()
317 bct.mon = bcd[S390_RT1_MONTH]; in s390rtc_gettime()
318 bct.year = bcd[S390_RT1_YEAR]; in s390rtc_gettime()
327 uint8_t bcd[S390_RT1_NBYTES]; in s390rtc_settime() local
337 bcd[S390_RT1_SECOND] = bct.sec; in s390rtc_settime()
338 bcd[S390_RT1_MINUTE] = bct.min; in s390rtc_settime()
340 bcd[S390_RT1_DAY] = bct.day; in s390rtc_settime()
341 bcd[S390_RT1_WDAY] = bct.dow; in s390rtc_settime()
[all …]
/freebsd-14.2/contrib/netbsd-tests/lib/libc/regex/data/att/
H A Drepetition.dat108 # "ab" then "a" then "bcd".
113 :HA#260:E (a|ab|c|bcd){0,}(d*) ababcd (0,6)(3,6)(6,6)
114 :HA#261:E (a|ab|c|bcd){1,}(d*) ababcd (0,6)(3,6)(6,6)
117 :HA#264:E (a|ab|c|bcd){4,}(d*) ababcd NOMATCH
122 :HA#269:E (a|ab|c|bcd){4,10}(d*) ababcd NOMATCH
123 :HA#270:E (a|ab|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6)
124 :HA#271:E (a|ab|c|bcd)+(d*) ababcd (0,6)(3,6)(6,6)
133 :HA#284:E (ab|a|c|bcd){4,}(d*) ababcd NOMATCH
138 :HA#289:E (ab|a|c|bcd){4,10}(d*) ababcd NOMATCH
139 :HA#290:E (ab|a|c|bcd)*(d*) ababcd (0,6)(3,6)(6,6)
[all …]
H A Dforcedassoc.dat3 E (a|ab)(c|bcd) abcd (0,4)(0,1)(1,4)
4 E (a|ab)(bcd|c) abcd (0,4)(0,1)(1,4)
5 E (ab|a)(c|bcd) abcd (0,4)(0,1)(1,4)
6 E (ab|a)(bcd|c) abcd (0,4)(0,1)(1,4)
7 E ((a|ab)(c|bcd))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
8 E ((a|ab)(bcd|c))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
9 E ((ab|a)(c|bcd))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
10 E ((ab|a)(bcd|c))(d*) abcd (0,4)(0,4)(0,1)(1,4)(4,4)
11 E (a|ab)((c|bcd)(d*)) abcd (0,4)(0,2)(2,4)(2,3)(3,4)
12 E (a|ab)((bcd|c)(d*)) abcd (0,4)(0,2)(2,4)(2,3)(3,4)
[all …]
H A Drightassoc.dat3 E (a|ab)(c|bcd)(d*) abcd (0,4)(0,2)(2,3)(3,4)
4 E (a|ab)(bcd|c)(d*) abcd (0,4)(0,2)(2,3)(3,4)
5 E (ab|a)(c|bcd)(d*) abcd (0,4)(0,2)(2,3)(3,4)
6 E (ab|a)(bcd|c)(d*) abcd (0,4)(0,2)(2,3)(3,4)
13 E (a|ab)(c|bcd)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
14 E (a|ab)(bcd|c)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
15 E (ab|a)(c|bcd)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
16 E (ab|a)(bcd|c)(d|.*) abcd (0,4)(0,2)(2,3)(3,4)
H A Dleftassoc.dat3 E (a|ab)(c|bcd)(d*) abcd (0,4)(0,1)(1,4)(4,4)
4 E (a|ab)(bcd|c)(d*) abcd (0,4)(0,1)(1,4)(4,4)
5 E (ab|a)(c|bcd)(d*) abcd (0,4)(0,1)(1,4)(4,4)
6 E (ab|a)(bcd|c)(d*) abcd (0,4)(0,1)(1,4)(4,4)
13 E (a|ab)(c|bcd)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
14 E (a|ab)(bcd|c)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
15 E (ab|a)(c|bcd)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
16 E (ab|a)(bcd|c)(d|.*) abcd (0,4)(0,1)(1,4)(4,4)
/freebsd-14.2/sys/sys/
H A Dlibkern.h58 bcd2bin(int bcd) in bcd2bin() argument
61 KASSERT(bcd >= 0 && bcd < LIBKERN_LEN_BCD2BIN, in bcd2bin()
62 ("invalid bcd %d", bcd)); in bcd2bin()
63 return (bcd2bin_data[bcd]); in bcd2bin()
85 validbcd(int bcd) in validbcd() argument
88 return (bcd == 0 || (bcd > 0 && bcd <= 0x99 && bcd2bin_data[bcd] != 0)); in validbcd()
/freebsd-14.2/stand/userboot/userboot/
H A Duserboot_disk.c193 struct bcache_devdata bcd; in userdisk_strategy() local
197 bcd.dv_strategy = userdisk_realstrategy; in userdisk_strategy()
198 bcd.dv_devdata = devdata; in userdisk_strategy()
199 bcd.dv_cache = ud_info[dev->dd.d_unit].ud_bcache; in userdisk_strategy()
200 return (bcache_strategy(&bcd, rw, dblk + dev->d_offset, in userdisk_strategy()
/freebsd-14.2/usr.bin/sed/tests/
H A Dregress.hanoi.out8 :a : :bcd :
9 : :a :bcd :
/freebsd-14.2/sys/dev/usb/
H A Dusb_util.c134 usb_printbcd(char *p, uint16_t p_len, uint16_t bcd) in usb_printbcd() argument
136 if (snprintf(p, p_len, "%x.%02x", bcd >> 8, bcd & 0xff)) { in usb_printbcd()
H A Dusb_util.h35 void usb_printbcd(char *p, uint16_t p_len, uint16_t bcd);
/freebsd-14.2/sys/powerpc/powernv/
H A Dopal_dev.c235 bcd2bin32(int bcd) in bcd2bin32() argument
239 out += bcd2bin(bcd & 0xff); in bcd2bin32()
240 out += 100*bcd2bin((bcd & 0x0000ff00) >> 8); in bcd2bin32()
241 out += 10000*bcd2bin((bcd & 0x00ff0000) >> 16); in bcd2bin32()
242 out += 1000000*bcd2bin((bcd & 0xffff0000) >> 24); in bcd2bin32()
/freebsd-14.2/stand/libsa/
H A Dstand.h387 #define bcd2bin(bcd) (bcd2bin_data[bcd]) argument
390 #define validbcd(bcd) (bcd == 0 || (bcd > 0 && bcd <= 0x99 && bcd2bin_data[bcd] != 0)) argument
/freebsd-14.2/usr.sbin/apm/
H A Dapm.c97 bcd2int(int bcd) in bcd2int() argument
102 if (bcd > 0x9999) in bcd2int()
105 while (bcd) { in bcd2int()
106 retval += (bcd & 0xf) * place; in bcd2int()
107 bcd >>= 4; in bcd2int()
/freebsd-14.2/contrib/bmake/unit-tests/
H A Dvarmod-sysv.mk101 .if ${a.bcd.e:L:a.%=%} != "bcd.e"
105 .if ${a.bcd.e:L:a.%=&} != "&"
/freebsd-14.2/contrib/ntp/kernel/sys/
H A Di8253.h26 unsigned int bcd : 1; member
H A Dpcl720.h53 ctrl.s.bcd = i8253_binary; \
/freebsd-14.2/lib/libpmc/pmu-events/arch/powerpc/
H A Dmapfile.csv16 004[bcd][[:xdigit:]]{4},1,power8,core
/freebsd-14.2/bin/sh/tests/builtins/
H A Dcase9.025 check b bcd
/freebsd-14.2/stand/efi/libefi/
H A Defipart.c1046 struct bcache_devdata bcd; in efipart_strategy() local
1062 bcd.dv_strategy = efipart_realstrategy; in efipart_strategy()
1063 bcd.dv_devdata = devdata; in efipart_strategy()
1064 bcd.dv_cache = pd->pd_bcache; in efipart_strategy()
1071 return (bcache_strategy(&bcd, rw, blk + offset, in efipart_strategy()
1074 return (bcache_strategy(&bcd, rw, blk, size, buf, rsize)); in efipart_strategy()
/freebsd-14.2/sys/contrib/device-tree/include/dt-bindings/usb/
H A Dpd.h150 #define VDO_PRODUCT(pid, bcd) (((pid) & 0xffff) << 16 | ((bcd) & 0xffff)) argument
/freebsd-14.2/contrib/netbsd-tests/lib/libc/regex/data/
H A Dbackref.in16 \(a\)\1bcd b aabcd aabcd
/freebsd-14.2/contrib/one-true-awk/testdir/
H A DT.utf94 abcdef bcd
/freebsd-14.2/stand/i386/libi386/
H A Dbiosdisk.c942 struct bcache_devdata bcd; in bd_strategy() local
951 bcd.dv_strategy = bd_realstrategy; in bd_strategy()
952 bcd.dv_devdata = devdata; in bd_strategy()
953 bcd.dv_cache = bd->bd_bcache; in bd_strategy()
961 return (bcache_strategy(&bcd, rw, dblk + offset, size, in bd_strategy()

12