Searched refs:bt (Results 1 - 25 of 577) sorted by relevance

1234567891011>>

/netbsd-current/sys/dev/sun/
H A Dbtreg.h60 * bt->bt_addr = 0;
61 * bt->bt_cmap = R0G0B0R1;
62 * bt->bt_cmap = G1B1R2G2;
77 #define BT_INIT(bt, shift) do { /* whatever this means.. */ \
78 (bt)->bt_addr = 0x06 << (shift); /* command reg */ \
79 (bt)->bt_ctrl = 0x73 << (shift); /* overlay plane */ \
80 (bt)->bt_addr = 0x04 << (shift); /* read mask */ \
81 (bt)->bt_ctrl = 0xff << (shift); /* color planes */ \
83 #define BT_UNBLANK(bt, x, shift) do { \
85 (bt)
[all...]
/netbsd-current/sys/arch/amd64/include/
H A Drbus_machdep.h33 #define md_space_map(bt, physaddr, size, flags, bshp) \
34 _x86_memio_map((bt), (physaddr), (size), (flags), (bshp))
36 #define md_space_unmap(bt, bsh, size, adrp) \
37 _x86_memio_unmap((bt), (bsh), (size), (adrp))
/netbsd-current/external/gpl2/mkhybrid/dist/libhfs_iso/
H A Dbtree.c37 btree *bt = np->bt; local
44 if (np->nnum < 0 || (np->nnum > 0 && np->nnum >= bt->hdr.bthNNodes))
50 if (bt->map && ! BMTST(bt->map, np->nnum))
56 if (f_getblock(&bt->f, np->nnum, bp) < 0)
90 btree *bt = np->bt; local
97 if (np->nnum && np->nnum >= bt->hdr.bthNNodes)
102 else if (bt
140 bt_readhdr(btree *bt) argument
252 bt_writehdr(btree *bt) argument
337 bt_space(btree *bt, unsigned int nrecs) argument
485 bt_insert(btree *bt, unsigned char *record, int reclen) argument
620 bt_delete(btree *bt, unsigned char *key) argument
674 bt_search(btree *bt, unsigned char *key, node *np) argument
[all...]
H A Dnode.c36 void n_init(node *np, btree *bt, int type, int height) argument
38 np->bt = bt;
60 btree *bt = np->bt; local
63 if (bt->hdr.bthFree == 0)
70 while (num < bt->hdr.bthNNodes && BMTST(bt->map, num))
73 if (num == bt->hdr.bthNNodes)
81 BMSET(bt
95 btree *bt = np->bt; local
149 btree *bt = np->bt; local
176 n_index(btree *bt, unsigned char *key, unsigned long nnum, unsigned char *record, int *reclen) argument
[all...]
/netbsd-current/sys/arch/i386/include/
H A Drbus_machdep.h33 #define md_space_map(bt, physaddr, size, flags, bshp) \
34 _x86_memio_map((bt), (physaddr), (size), (flags), (bshp))
36 #define md_space_unmap(bt, bsh, size, adrp) \
37 _x86_memio_unmap((bt), (bsh), (size), (adrp))
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/csky/
H A Dbsr1.s5 bt lable
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5211/
H A Dar5211_beacon.c36 ar5211SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
39 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt);
40 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba);
41 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba);
42 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim);
46 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
56 HAL_BEACON_TIMERS bt; local
58 bt.bt_nextdba = 0;
59 bt.bt_nextswba = 0;
60 bt
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/testsuite/gas/nios2/
H A Detbt-r2.d6 # Test the et, bt registers
11 0+0000 <[^>]*> c4183660 add et,bt,r6
12 0+0004 <[^>]*> c4183660 add et,bt,r6
H A Detbt.d4 # Test the et, bt registers
9 0+0000 <[^>]*> c9b1883a add et,bt,r6
10 0+0004 <[^>]*> c9b1883a add et,bt,r6
H A Detbt.s4 add et, bt, r6
H A Dwarn_nobreak.s1 .set nobreak , 2 # This should not cause warning for ba, bt to be turned off
3 add bt, r2, r2
6 add bt, r3, r4
9 add bt, r3, r4
12 add bt, r3, r4
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5210/
H A Dar5210_beacon.c33 ar5210SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
36 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt);
37 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba);
38 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba);
39 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim);
43 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
53 HAL_BEACON_TIMERS bt; local
55 bt.bt_nexttbtt = next_beacon;
58 bt.bt_nextdba = (next_beacon -
60 bt
[all...]
/netbsd-current/sys/dev/ic/
H A Dintersil7170.c78 bus_space_tag_t bt = sc->sc_bst; local
89 bus_space_write_1(bt, bh, INTERSIL_ICMD, cmd);
92 (void)bus_space_read_1(bt, bh, INTERSIL_ICSEC); /* not used */
93 dt->dt_hour = bus_space_read_1(bt, bh, INTERSIL_IHOUR);
94 dt->dt_min = bus_space_read_1(bt, bh, INTERSIL_IMIN);
95 dt->dt_sec = bus_space_read_1(bt, bh, INTERSIL_ISEC);
96 dt->dt_mon = bus_space_read_1(bt, bh, INTERSIL_IMON);
97 dt->dt_day = bus_space_read_1(bt, bh, INTERSIL_IDAY);
98 year = bus_space_read_1(bt, bh, INTERSIL_IYEAR);
99 dt->dt_wday = bus_space_read_1(bt, b
123 bus_space_tag_t bt = sc->sc_bst; local
[all...]
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416_beacon.c36 ar5416SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
40 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bt->bt_nexttbtt));
41 OS_REG_WRITE(ah, AR_NEXT_DBA, TU_TO_USEC(bt->bt_nextdba) >> 3);
42 OS_REG_WRITE(ah, AR_NEXT_SWBA, TU_TO_USEC(bt->bt_nextswba) >> 3);
43 OS_REG_WRITE(ah, AR_NEXT_NDP, TU_TO_USEC(bt->bt_nextatim));
45 bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD);
54 if (bt->bt_intval & AR_BEACON_RESET_TSF)
60 bt->bt_flags != 0 ? bt->bt_flags :
73 HAL_BEACON_TIMERS bt; local
[all...]
/netbsd-current/sys/sys/
H A Dtime.h108 bintime_addx(struct bintime *bt, uint64_t x) argument
112 u = bt->frac;
113 bt->frac += x;
114 if (u > bt->frac)
115 bt->sec++;
119 bintime_add(struct bintime *bt, const struct bintime *bt2) argument
123 u = bt->frac;
124 bt->frac += bt2->frac;
125 if (u > bt->frac)
126 bt
131 bintime_sub(struct bintime *bt, const struct bintime *bt2) argument
175 bintime2timespec(const struct bintime *bt, struct timespec *ts) argument
184 timespec2bintime(const struct timespec *ts, struct bintime *bt) argument
192 bintime2timeval(const struct bintime *bt, struct timeval *tv) argument
201 timeval2bintime(const struct timeval *tv, struct bintime *bt) argument
211 struct bintime bt; local
222 struct bintime bt; local
233 struct bintime bt; local
[all...]
/netbsd-current/sys/arch/hp300/stand/common/
H A Dexec.c50 struct btinfo_magic *bt; local
62 bt = (struct btinfo_magic *)loadaddr;
63 bt->common.type = BTINFO_MAGIC;
64 bt->magic1 = BOOTINFO_MAGIC1;
65 bt->magic2 = BOOTINFO_MAGIC2;
/netbsd-current/sys/arch/hp300/hp300/
H A Ddkbad.c49 isbad(struct dkbad *bt, int cyl, int trk, int sec) argument
56 bblk = ((long)bt->bt_bad[i].bt_cyl << 16) + bt->bt_bad[i].bt_trksec;
/netbsd-current/sys/arch/atari/atari/
H A Ddkbad.c51 isbad(register struct dkbad *bt, int cyl, int trk, int sec) argument
58 bblk = ((long)bt->bt_bad[i].bt_cyl << 16) + bt->bt_bad[i].bt_trksec;
/netbsd-current/sys/arch/amiga/amiga/
H A Ddkbad.c52 isbad(register struct dkbad *bt, int cyl, int trk, int sec) argument
59 bblk = ((long)bt->bt_bad[i].bt_cyl << 16) + bt->bt_bad[i].bt_trksec;
/netbsd-current/sys/arch/vax/vax/
H A Ddkbad.c47 isbad(struct dkbad *bt, int cyl, int trk, int sec) argument
54 bblk = ((long)bt->bt_bad[i].bt_cyl << 16) +
55 bt->bt_bad[i].bt_trksec;
/netbsd-current/external/gpl3/gdb.old/dist/gdb/unittests/
H A Dunpack-selftests.c34 const struct builtin_type *bt = builtin_type (arch); local
38 append_composite_type_field (struct_type, "field0", bt->builtin_int8);
40 bt->builtin_uint32, 4);
/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/
H A Dunpack-selftests.c34 const struct builtin_type *bt = builtin_type (arch); local
38 append_composite_type_field (struct_type, "field0", bt->builtin_int8);
40 bt->builtin_uint32, 4);
/netbsd-current/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dbptree.c66 bptree_phys_t *bt; local
78 bt = db->db_data;
79 bt->bt_begin = 0;
80 bt->bt_end = 0;
81 bt->bt_bytes = 0;
82 bt->bt_comp = 0;
83 bt->bt_uncomp = 0;
93 bptree_phys_t *bt; local
96 bt = db->db_data;
97 ASSERT3U(bt
110 bptree_phys_t *bt; local
125 bptree_phys_t *bt; local
[all...]
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5212_beacon.c34 ar5212SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument
37 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt);
38 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba);
39 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba);
40 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim);
44 if (bt->bt_intval & AR_BEACON_RESET_TSF) {
56 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval);
69 HAL_BEACON_TIMERS bt; local
71 bt.bt_nexttbtt = next_beacon;
81 bt
[all...]
/netbsd-current/sys/kern/
H A Dsubr_vmem.c176 #define bt_free(vm, bt) free(bt)
245 bt_t *bt; local
257 bt = LIST_FIRST(&vmem_btag_freelist);
258 LIST_REMOVE(bt, bt_freelist);
259 bt->bt_flags = 0;
260 LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);
271 bt = pool_get(&vmem_btag_pool, PR_NOWAIT);
274 if (bt == NULL)
276 bt
310 bt_t *bt; local
341 bt_free(vmem_t *vm, bt_t *bt) argument
353 bt_t *bt, *next_bt; local
480 bt_t *bt; local
493 bt_rembusy(vmem_t *vm, bt_t *bt) argument
503 bt_insbusy(vmem_t *vm, bt_t *bt) argument
520 bt_remseg(vmem_t *vm, bt_t *bt) argument
527 bt_insseg(vmem_t *vm, bt_t *bt, bt_t *prev) argument
534 bt_insseg_tail(vmem_t *vm, bt_t *bt) argument
541 bt_remfree(vmem_t *vm, bt_t *bt) argument
550 bt_insfree(vmem_t *vm, bt_t *bt) argument
704 bt_t *bt = &static_bts[static_bt_count]; local
781 bt_t *bt; local
845 bt_t *bt; local
909 vmem_fit(const bt_t *bt, vmem_size_t size, vmem_size_t align, vmem_size_t phase, vmem_size_t nocross, vmem_addr_t minaddr, vmem_addr_t maxaddr, vmem_addr_t *addrp) argument
1180 bt_t *bt; local
1394 bt_t *bt; local
1417 bt_t *bt; local
1441 vmem_xfree_bt(vmem_t *vm, bt_t *bt) argument
1623 bt_dump(const bt_t *bt, void (*pr)(const char *, ...)) argument
1634 const bt_t *bt; local
1662 bt_t *bt; local
1682 bt_t *bt; local
1735 const bt_t *bt, *bt2; local
[all...]

Completed in 507 milliseconds

1234567891011>>