Home
last modified time | relevance | path

Searched refs:bt (Results 1 – 25 of 1033) sorted by relevance

12345678910>>...42

/netbsd/sys/sys/
H A Dtime.h112 u = bt->frac; in bintime_addx()
113 bt->frac += x; in bintime_addx()
114 if (u > bt->frac) in bintime_addx()
115 bt->sec++; in bintime_addx()
123 u = bt->frac; in bintime_add()
126 bt->sec++; in bintime_add()
135 u = bt->frac; in bintime_sub()
138 bt->sec--; in bintime_sub()
216 return bt; in ms2bintime()
227 return bt; in us2bintime()
[all …]
/netbsd/sys/kern/
H A Dsubr_vmem.c165 #define bt_free(vm, bt) free(bt) argument
242 bt_t *bt; in bt_refill_locked() local
303 bt_t *bt; in bt_alloc() local
330 return bt; in bt_alloc()
450 bt_t *bt; in bt_lookupbusy() local
813 bt_t *bt; in vmem_rehash() local
1117 bt_t *bt; in vmem_xalloc() local
1274 bt->bt_start = bt->bt_start + size; in vmem_xalloc()
1562 bt, (uint64_t)bt->bt_start, (uint64_t)bt->bt_size, in bt_dump()
1563 bt->bt_type, bt_type_string(bt->bt_type)); in bt_dump()
[all …]
H A Dkern_condvar.c283 if ((hz*(bt->frac >> 32) >> 32) > (INT_MAX/2 - hz*bt->sec)) in bintime2timo()
286 return hz*bt->sec + (hz*(bt->frac >> 32) >> 32); in bintime2timo()
346 if (bt->sec == 0 && bt->frac == 0) in cv_timedwaitbt()
350 timo = bintime2timo(bt); in cv_timedwaitbt()
372 bt->sec = 0; in cv_timedwaitbt()
373 bt->frac = 0; in cv_timedwaitbt()
376 bintime_sub(bt, &slept); in cv_timedwaitbt()
411 if (bt->sec == 0 && bt->frac == 0) in cv_timedwaitbt_sig()
415 timo = bintime2timo(bt); in cv_timedwaitbt_sig()
437 bt->sec = 0; in cv_timedwaitbt_sig()
[all …]
H A Dkern_tc.c522 binuptime(bt); in bintime()
533 bintime(&bt); in nanotime()
543 bintime(&bt); in microtime()
980 t = bt.sec; in tc_windup()
1337 btd = bt; in pps_ref_event()
1345 bt.sec++; in pps_ref_event()
1346 bt.frac = 0; in pps_ref_event()
1354 bt_ref = bt; in pps_ref_event()
1388 bt.sec = 0; in pps_ref_event()
1389 bt.frac = 0; in pps_ref_event()
[all …]
/netbsd/sys/dev/sun/
H A Dbtreg.h80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \
83 #define BT_UNBLANK(bt, x, shift) do { \ argument
85 (bt)->bt_addr = 0 << (shift); \
86 (bt)->bt_cmap = (x); \
88 (bt)->bt_cmap = (x) << 8; \
89 (bt)->bt_cmap = (x) << 16; \
91 BT_INIT((bt), (shift)); \
93 #define BT_BLANK(bt, shift) do { \ argument
99 (bt)->bt_addr = 0 << (shift); \
100 (bt)->bt_cmap = 0 << (shift); \
[all …]
/netbsd/sys/compat/ultrix/
H A Dultrix_ioctl.c148 memset(bt, 0, sizeof(*bt)); in stios2btios()
165 bt->c_iflag = r; in stios2btios()
194 bt->c_oflag = r; in stios2btios()
219 bt->c_cflag = r; in stios2btios()
221 bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; in stios2btios()
239 bt->c_lflag = r; in stios2btios()
266 bt->c_cc[VMIN] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOF]; in stios2btios()
267 bt->c_cc[VTIME] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOL]; in stios2btios()
283 l = bt->c_iflag; in btios2stios()
300 l = bt->c_oflag; in btios2stios()
[all …]
/netbsd/sys/dev/ic/
H A Dintersil7170.c78 bus_space_tag_t bt = sc->sc_bst; in intersil7170_gettime_ymdhms() local
89 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); in intersil7170_gettime_ymdhms()
94 dt->dt_min = bus_space_read_1(bt, bh, INTERSIL_IMIN); in intersil7170_gettime_ymdhms()
95 dt->dt_sec = bus_space_read_1(bt, bh, INTERSIL_ISEC); in intersil7170_gettime_ymdhms()
98 year = bus_space_read_1(bt, bh, INTERSIL_IYEAR); in intersil7170_gettime_ymdhms()
103 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); in intersil7170_gettime_ymdhms()
123 bus_space_tag_t bt = sc->sc_bst; in intersil7170_settime_ymdhms() local
138 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd); in intersil7170_settime_ymdhms()
141 bus_space_write_1(bt, bh, INTERSIL_ICSEC, 0); in intersil7170_settime_ymdhms()
147 bus_space_write_1(bt, bh, INTERSIL_IYEAR, year); in intersil7170_settime_ymdhms()
[all …]
/netbsd/sys/compat/sunos/
H A Dsunos_ioctl.c130 memset(bt, 0, sizeof(*bt)); in stios2btios()
147 bt->c_iflag = r; in stios2btios()
176 bt->c_oflag = r; in stios2btios()
201 bt->c_cflag = r; in stios2btios()
203 bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; in stios2btios()
221 bt->c_lflag = r; in stios2btios()
242 bt->c_cc[VMIN] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOF]; in stios2btios()
243 bt->c_cc[VTIME] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOL]; in stios2btios()
255 l = bt->c_iflag; in btios2stios()
272 l = bt->c_oflag; in btios2stios()
[all …]
/netbsd/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_beacon.c60 bt->bt_flags != 0 ? bt->bt_flags : in ar5416SetBeaconTimers()
73 HAL_BEACON_TIMERS bt; in ar5416BeaconInit() local
75 bt.bt_nexttbtt = next_beacon; in ar5416BeaconInit()
82 bt.bt_flags = 0; in ar5416BeaconInit()
86 bt.bt_nextdba = 0xffff; in ar5416BeaconInit()
87 bt.bt_nextswba = 0x7ffff; in ar5416BeaconInit()
95 bt.bt_nextdba = (next_beacon - in ar5416BeaconInit()
97 bt.bt_nextswba = (next_beacon - in ar5416BeaconInit()
110 bt.bt_nextatim = next_beacon + 1; in ar5416BeaconInit()
111 bt.bt_intval = beacon_period & in ar5416BeaconInit()
[all …]
/netbsd/sys/compat/sunos32/
H A Dsunos32_ioctl.c166 memset(bt, 0, sizeof(*bt)); in stios2btios()
183 bt->c_iflag = r; in stios2btios()
212 bt->c_oflag = r; in stios2btios()
237 bt->c_cflag = r; in stios2btios()
239 bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; in stios2btios()
257 bt->c_lflag = r; in stios2btios()
278 bt->c_cc[VMIN] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOF]; in stios2btios()
279 bt->c_cc[VTIME] = (bt->c_lflag & ICANON) ? 1 : bt->c_cc[VEOL]; in stios2btios()
291 l = bt->c_iflag; in btios2stios()
308 l = bt->c_oflag; in btios2stios()
[all …]
/netbsd/sys/external/isc/atheros_hal/dist/ar5211/
H A Dar5211_beacon.c56 HAL_BEACON_TIMERS bt; in ar5211BeaconInit() local
58 bt.bt_nextdba = 0; in ar5211BeaconInit()
59 bt.bt_nextswba = 0; in ar5211BeaconInit()
60 bt.bt_nexttbtt = next_beacon; in ar5211BeaconInit()
70 bt.bt_nextdba = 0xffff; in ar5211BeaconInit()
71 bt.bt_nextswba = 0x7ffff; in ar5211BeaconInit()
75 bt.bt_nextdba = (next_beacon - in ar5211BeaconInit()
77 bt.bt_nextswba = (next_beacon - in ar5211BeaconInit()
87 bt.bt_nextatim = next_beacon + 1; in ar5211BeaconInit()
88 bt.bt_intval = beacon_period & in ar5211BeaconInit()
[all …]
/netbsd/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dbptree.c66 bptree_phys_t *bt; in bptree_alloc() local
78 bt = db->db_data; in bptree_alloc()
79 bt->bt_begin = 0; in bptree_alloc()
80 bt->bt_end = 0; in bptree_alloc()
81 bt->bt_bytes = 0; in bptree_alloc()
82 bt->bt_comp = 0; in bptree_alloc()
96 bt = db->db_data; in bptree_free()
97 ASSERT3U(bt->bt_begin, ==, bt->bt_end); in bptree_free()
114 bt = db->db_data; in bptree_is_empty()
115 rv = (bt->bt_begin == bt->bt_end); in bptree_is_empty()
[all …]
/netbsd/sys/external/isc/atheros_hal/dist/ar5210/
H A Dar5210_beacon.c37 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba); in ar5210SetBeaconTimers()
43 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5210SetBeaconTimers()
53 HAL_BEACON_TIMERS bt; in ar5210BeaconInit() local
55 bt.bt_nexttbtt = next_beacon; in ar5210BeaconInit()
58 bt.bt_nextdba = (next_beacon - in ar5210BeaconInit()
60 bt.bt_nextswba = (next_beacon - in ar5210BeaconInit()
73 bt.bt_nextdba = ~0; in ar5210BeaconInit()
74 bt.bt_nextswba = ~0; in ar5210BeaconInit()
75 bt.bt_nextatim = 1; in ar5210BeaconInit()
77 bt.bt_intval = beacon_period & in ar5210BeaconInit()
[all …]
/netbsd/external/bsd/pcc/dist/pcc/cc/cxxcom/
H A Dbuiltins.c416 return binhelp(a, bt->rt, &bt->name[10]); in builtin_unimp()
600 a->n_type = bt->rt; in builtin_huge_valf()
604 a = binhelp(eve(a), bt->rt, &bt->name[10]); in builtin_huge_valf()
769 const struct bitable *bt; in builtin_check() local
775 bt = &bitable[sp->soffset]; in builtin_check()
776 if ((bt->flags & BTNOEVE) == 0) in builtin_check()
778 if (((bt->flags & BTNOPROTO) == 0) && acnt(a, bt->narg, bt->tp)) { in builtin_check()
782 return (*bt->fun)(bt, a); in builtin_check()
791 const struct bitable *bt; in builtin_init() local
797 bt = &bitable[i]; in builtin_init()
[all …]
/netbsd/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5212_beacon.c44 if (bt->bt_intval & AR_BEACON_RESET_TSF) { in ar5212SetBeaconTimers()
56 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); in ar5212SetBeaconTimers()
69 HAL_BEACON_TIMERS bt; in ar5212BeaconInit() local
71 bt.bt_nexttbtt = next_beacon; in ar5212BeaconInit()
81 bt.bt_nextdba = 0xffff; in ar5212BeaconInit()
82 bt.bt_nextswba = 0x7ffff; in ar5212BeaconInit()
86 bt.bt_nextdba = (next_beacon - in ar5212BeaconInit()
88 bt.bt_nextswba = (next_beacon - in ar5212BeaconInit()
98 bt.bt_nextatim = next_beacon + 1; in ar5212BeaconInit()
99 bt.bt_intval = beacon_period & in ar5212BeaconInit()
[all …]
/netbsd/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dbuiltins.c382 return xbcon(r, NULL, bt->rt); in builtin_object_size()
494 return binhelp(a, bt->rt, &bt->name[10]); in builtin_unimp()
767 a->n_type = bt->rt; in builtin_huge_valf()
773 a = binhelp(eve(a), bt->rt, &bt->name[10]); in builtin_huge_valf()
1010 const struct bitable *bt; in builtin_check() local
1016 bt = &bitable[sp->soffset]; in builtin_check()
1019 if (((bt->flags & BTNOPROTO) == 0) && acnt(a, bt->narg, bt->tp)) { in builtin_check()
1023 return (*bt->fun)(bt, a); in builtin_check()
1032 const struct bitable *bt; in builtin_init() local
1040 bt = &bitable[i]; in builtin_init()
[all …]
/netbsd/sys/arch/news68k/dev/
H A Dms_hb.c119 bus_space_tag_t bt = ha->ha_bust; in ms_hb_attach() local
132 sc->sc_bt = bt; in ms_hb_attach()
152 bus_space_tag_t bt = sc->sc_bt; in ms_hb_init() local
155 bus_space_write_1(bt, bh, MS_REG_RESET, 0); in ms_hb_init()
156 bus_space_write_1(bt, bh, MS_REG_INTE, MS_INTE); in ms_hb_init()
163 bus_space_tag_t bt = sc->sc_bt; in ms_hb_intr() local
172 bus_space_write_1(bt, bh, MS_REG_INTE, MS_INTE); in ms_hb_intr()
181 bus_space_tag_t bt = sc->sc_bt; in ms_hb_enable() local
184 bus_space_write_1(bt, bh, MS_REG_INTE, MS_INTE); in ms_hb_enable()
193 bus_space_tag_t bt = sc->sc_bt; in ms_hb_disable() local
[all …]
/netbsd/usr.bin/btpin/
H A Dbtpin.c55 struct sockaddr_bt bt; in main() local
165 memset(&bt, 0, sizeof(bt)); in main()
166 bt.bt_len = sizeof(bt); in main()
167 bt.bt_family = AF_BLUETOOTH; in main()
168 bdaddr_copy(&bt.bt_bdaddr, &rp.laddr); in main()
169 if (bind(s, (struct sockaddr *)&bt, sizeof(bt)) == -1) in main()
175 bt.bt_psm = L2CAP_PSM_SDP; in main()
176 bdaddr_copy(&bt.bt_bdaddr, &rp.raddr); in main()
177 if (connect(s, (struct sockaddr *)&bt, sizeof(bt)) == -1) { in main()
/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/sh64/compact/
H A Dfmov.cgs40 bt fmov2
50 bt fmov3
60 bt fmov4
72 bt fmov5
84 bt fmov6
96 bt fmov7
110 bt fmov8
124 bt f8b
143 bt f9b
164 bt f10b
[all …]
H A Ddiv0s.cgs18 bt wrong
20 bt wrong
22 bt wrong
32 bt wrong
34 bt wrong
38 bt wrong
40 bt wrong
44 bt wrong
46 bt wrong
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/sh64/compact/
H A Dfmov.cgs40 bt fmov2
50 bt fmov3
60 bt fmov4
72 bt fmov5
84 bt fmov6
96 bt fmov7
110 bt fmov8
124 bt f8b
143 bt f9b
164 bt f10b
[all …]
H A Ddiv0s.cgs18 bt wrong
20 bt wrong
22 bt wrong
32 bt wrong
34 bt wrong
38 bt wrong
40 bt wrong
44 bt wrong
46 bt wrong
/netbsd/usr.sbin/bad144/
H A Dbad144.c111 struct bt_bad *bt; in main() local
201 bt = oldbad.bt_bad; in main()
203 bad = (bt->bt_cyl<<16) + bt->bt_trksec; in main()
207 (long long)badsn(bt), in main()
208 bt->bt_cyl, bt->bt_trksec>>8, bt->bt_trksec&0xff); in main()
209 bt++; in main()
356 struct bt_bad *bt; in checkold() local
369 bt = oldbad.bt_bad; in checkold()
371 if (bt->bt_cyl == 0xffff && bt->bt_trksec == 0xffff) in checkold()
378 (long long)badsn(bt), bt->bt_cyl, bt->bt_trksec>>8, in checkold()
[all …]
/netbsd/common/lib/libc/arch/sh3/string/
H A Dmemcpy.S80 bt 1f
93 bt 1f
110 bt/s 2b
127 bt 1f
144 bt/s 2b
186 bt 1f
199 bt 1f
216 bt/s 2b
233 bt 1f
250 bt/s 2b
[all …]
/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/sh/
H A Dfmov.s25 bt fmov2
35 bt fmov3
45 bt fmov4
57 bt .L0
98 bt fmov6
110 bt fmov7
138 bt f8b
157 bt f9b
178 bt f10b
197 bt f11b
[all …]

12345678910>>...42