/freebsd-10.1-release/sys/dev/buslogic/ |
H A D | bt.c | 73 static __inline void btnextinbox(struct bt_softc *bt); 74 static __inline void btnextoutbox(struct bt_softc *bt); 77 btnextinbox(struct bt_softc *bt) argument 79 if (bt->cur_inbox == bt->last_inbox) 80 bt->cur_inbox = bt->in_boxes; 82 bt->cur_inbox++; 86 btnextoutbox(struct bt_softc *bt) argument 88 if (bt 105 btccbvtop(struct bt_softc *bt, struct bt_ccb *bccb) argument 112 btccbptov(struct bt_softc *bt, u_int32_t ccb_addr) argument 119 btsensepaddr(struct bt_softc *bt, struct bt_ccb *bccb) argument 129 btsensevaddr(struct bt_softc *bt, struct bt_ccb *bccb) argument 203 struct bt_softc *bt = device_get_softc(dev); local 218 struct bt_softc *bt = device_get_softc(dev); local 277 struct bt_softc *bt = device_get_softc(dev); local 344 struct bt_softc *bt = device_get_softc(dev); local 411 struct bt_softc *bt = device_get_softc(dev); local 694 struct bt_softc *bt = device_get_softc(dev); local 867 struct bt_softc *bt = device_get_softc(dev); local 1004 btallocccbs(struct bt_softc *bt) argument 1072 btfreeccb(struct bt_softc *bt, struct bt_ccb *bccb) argument 1090 btgetccb(struct bt_softc *bt) argument 1114 struct bt_softc *bt; local 1396 struct bt_softc *bt; local 1505 struct bt_softc *bt; local 1514 bt_intr_locked(struct bt_softc *bt) argument 1544 btdone(struct bt_softc *bt, struct bt_ccb *bccb, bt_mbi_comp_code_t comp_code) argument 1775 btreset(struct bt_softc* bt, int hard_reset) argument 1872 bt_cmd(struct bt_softc *bt, bt_op_t opcode, u_int8_t *params, u_int param_len, u_int8_t *reply_data, u_int reply_len, u_int cmd_timeout) argument 2084 btinitmboxes(struct bt_softc *bt) argument 2137 btfetchtransinfo(struct bt_softc *bt, struct ccb_trans_settings *cts) argument 2263 struct bt_softc* bt; local 2272 struct bt_softc* bt; local 2282 struct bt_softc* bt; local 2299 struct bt_softc *bt; local [all...] |
H A D | bt_isa.c | 103 struct bt_softc *bt = device_get_softc(dev); local 105 if (bt->port) 106 bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port); 107 if (bt->irq) 108 bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); 109 if (bt->drq) 110 bus_release_resource(dev, SYS_RES_DRQ, 0, bt->drq); 191 struct bt_softc *bt = device_get_softc(dev); local 212 if (bt->model[0] == '4') { 225 if (bt 317 struct bt_softc *bt; local 333 struct bt_softc* bt; local [all...] |
H A D | bt_mca.c | 101 struct bt_softc * bt = device_get_softc(dev); local 103 if (bt->port) 104 bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port); 105 if (bt->irq) 106 bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); 107 if (bt->drq) 108 bus_release_resource(dev, SYS_RES_DRQ, 0, bt->drq); 209 struct bt_softc * bt = device_get_softc(dev); local 218 isa_dmacascade(rman_get_start(bt->drq)); 227 /* filterarg */ bt, 302 struct bt_softc *bt; local 318 struct bt_softc* bt; local [all...] |
H A D | bt_pci.c | 93 struct bt_softc *bt = device_get_softc(dev); local 95 if (bt->port) 98 BT_PCI_IOADDR, bt->port); 99 if (bt->irq) 100 bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); 111 struct bt_softc *bt = device_get_softc(dev); local 125 error = bt_cmd(bt, BOP_INQUIRE_PCI_INFO, 132 if (rman_get_start(bt->port) != 137 bt_cmd(bt, BOP_MODIFY_IO_ADDR, 158 struct bt_softc *bt local [all...] |
H A D | bt_eisa.c | 114 struct bt_softc *bt = device_get_softc(dev); local 132 shared = bt->level_trigger_ints ? RF_SHAREABLE : 0; 144 bt->irq = irq; 152 struct bt_softc *bt = device_get_softc(dev); local 154 if (bt->port) 155 bus_release_resource(dev, SYS_RES_IOPORT, 0, bt->port); 156 if (bt->irq) 157 bus_release_resource(dev, SYS_RES_IRQ, 0, bt->irq); 231 printf("bt: AMI EISA Adapter at " 266 printf("bt 300 struct bt_softc *bt = device_get_softc(dev); local [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | kern_lockstat.c | 55 struct bintime bt; local 58 binuptime(&bt); 59 ns = bt.sec * (uint64_t)1000000000; 60 ns += ((uint64_t)1000000000 * (uint32_t)(bt.frac >> 32)) >> 32;
|
H A D | kern_ffclock.c | 69 ffclock_abstime(ffcounter *ffcount, struct bintime *bt, argument 79 ffclock_last_tick(&ffc, bt, flags); 82 ffclock_convert_abs(ffc, bt, flags); 97 bt->sec -= cest.leapsec_total; 99 bt->sec -= cest.leapsec; 104 bintime_sub(bt, &ffclock_boottime); 130 ffclock_difftime(ffcounter ffdelta, struct bintime *bt, argument 136 ffclock_convert_diff(ffdelta, bt); 242 ffclock_bintime(struct bintime *bt) argument 245 ffclock_abstime(NULL, bt, NUL 251 struct bintime bt; local 260 struct bintime bt; local 267 ffclock_getbintime(struct bintime *bt) argument 277 struct bintime bt; local 287 struct bintime bt; local 295 ffclock_binuptime(struct bintime *bt) argument 304 struct bintime bt; local 313 struct bintime bt; local 320 ffclock_getbinuptime(struct bintime *bt) argument 330 struct bintime bt; local 340 struct bintime bt; local 348 ffclock_bindifftime(ffcounter ffdelta, struct bintime *bt) argument 357 struct bintime bt; local 366 struct bintime bt; local [all...] |
H A D | subr_vmem.c | 169 #define BT_ISSPAN_P(bt) ((bt)->bt_type <= BT_TYPE_SPAN_STATIC) 171 #define BT_END(bt) ((bt)->bt_start + (bt)->bt_size - 1) 250 bt_t *bt; local 269 bt = uma_zalloc(vmem_bt_zone, 271 if (bt == NULL) { 273 bt = uma_zalloc(vmem_bt_zone, flags); 275 if (bt 294 bt_t *bt; local 313 bt_t *bt; local 331 bt_free(vmem_t *vm, bt_t *bt) argument 412 bt_t *bt; local 426 bt_rembusy(vmem_t *vm, bt_t *bt) argument 437 bt_insbusy(vmem_t *vm, bt_t *bt) argument 453 bt_remseg(vmem_t *vm, bt_t *bt) argument 461 bt_insseg(vmem_t *vm, bt_t *bt, bt_t *prev) argument 468 bt_insseg_tail(vmem_t *vm, bt_t *bt) argument 475 bt_remfree(vmem_t *vm, bt_t *bt) argument 484 bt_insfree(vmem_t *vm, bt_t *bt) argument 677 bt_t *bt; local 796 bt_t *bt; local 864 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 914 vmem_clip(vmem_t *vm, bt_t *bt, vmem_addr_t start, vmem_size_t size) argument 1105 bt_t *bt; local 1233 bt_t *bt; local 1356 bt_dump(const bt_t *bt, int (*pr)(const char *, ...)) argument 1367 const bt_t *bt; local 1395 bt_t *bt; local 1415 bt_t *bt; local 1454 const bt_t *bt, *bt2; local [all...] |
H A D | kern_tc.c | 202 fbclock_binuptime(struct bintime *bt) argument 210 *bt = th->th_offset; 211 bintime_addx(bt, th->th_scale * tc_delta(th)); 218 struct bintime bt; local 220 fbclock_binuptime(&bt); 221 bintime2timespec(&bt, tsp); 227 struct bintime bt; local 229 fbclock_binuptime(&bt); 230 bintime2timeval(&bt, tvp); 234 fbclock_bintime(struct bintime *bt) argument 244 struct bintime bt; local 253 struct bintime bt; local 260 fbclock_getbinuptime(struct bintime *bt) argument 299 fbclock_getbintime(struct bintime *bt) argument 339 binuptime(struct bintime *bt) argument 355 struct bintime bt; local 364 struct bintime bt; local 371 bintime(struct bintime *bt) argument 381 struct bintime bt; local 390 struct bintime bt; local 397 getbinuptime(struct bintime *bt) argument 436 getbintime(struct bintime *bt) argument 569 ffclock_convert_delta(ffcounter ffdelta, uint64_t period, struct bintime *bt) argument 602 struct bintime bt, gap_lerp; local 787 ffclock_last_tick(ffcounter *ffcount, struct bintime *bt, uint32_t flags) argument 815 ffclock_convert_abs(ffcounter ffcount, struct bintime *bt, uint32_t flags) argument 856 ffclock_convert_diff(ffcounter ffdelta, struct bintime *bt) argument 895 binuptime(struct bintime *bt) argument 916 bintime(struct bintime *bt) argument 937 getbinuptime(struct bintime *bt) argument 958 getbintime(struct bintime *bt) argument 1017 struct bintime bt; local 1086 sysclock_snap2bintime(struct sysclock_snap *cs, struct bintime *bt, int whichclock, uint32_t flags) argument 1218 struct bintime bt, bt2; local 1250 struct bintime bt; local 1627 struct bintime bt; local [all...] |
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_beacon.c | 44 ar5210SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument 47 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt); 48 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba); 49 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba); 50 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim); 54 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); 64 HAL_BEACON_TIMERS bt; local 66 bt.bt_nexttbtt = next_beacon; 69 bt.bt_nextdba = (next_beacon - 71 bt [all...] |
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_beacon.c | 47 ar5211SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument 50 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt); 51 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba); 52 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba); 53 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim); 57 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); 67 HAL_BEACON_TIMERS bt; local 69 bt.bt_nexttbtt = next_beacon; 79 bt.bt_nextdba = 0xffff; 80 bt [all...] |
/freebsd-10.1-release/sys/sys/ |
H A D | timeffc.h | 151 int sysclock_snap2bintime(struct sysclock_snap *cs, struct bintime *bt, 168 void ffclock_last_tick(ffcounter *ffcount, struct bintime *bt, uint32_t flags); 175 void ffclock_convert_abs(ffcounter ffcount, struct bintime *bt, uint32_t flags); 176 void ffclock_convert_diff(ffcounter ffdelta, struct bintime *bt); 196 void ffclock_abstime(ffcounter *ffcount, struct bintime *bt, 198 void ffclock_difftime(ffcounter ffdelta, struct bintime *bt, 206 void ffclock_bintime(struct bintime *bt); 210 void ffclock_getbintime(struct bintime *bt); 214 void ffclock_binuptime(struct bintime *bt); 218 void ffclock_getbinuptime(struct bintime *bt); 259 bintime_fromclock(struct bintime *bt, int whichclock) argument 289 getbintime_fromclock(struct bintime *bt, int whichclock) argument 319 binuptime_fromclock(struct bintime *bt, int whichclock) argument 349 getbinuptime_fromclock(struct bintime *bt, int whichclock) argument [all...] |
/freebsd-10.1-release/sys/arm/include/ |
H A D | cpu.h | 17 struct bintime bt; local 19 binuptime(&bt); 20 return ((uint64_t)bt.sec << 56 | bt.frac >> 8);
|
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | bptree.c | 65 bptree_phys_t *bt; local 77 bt = db->db_data; 78 bt->bt_begin = 0; 79 bt->bt_end = 0; 80 bt->bt_bytes = 0; 81 bt->bt_comp = 0; 82 bt->bt_uncomp = 0; 92 bptree_phys_t *bt; local 95 bt = db->db_data; 96 ASSERT3U(bt 109 bptree_phys_t *bt; local 124 bptree_phys_t *bt; local [all...] |
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_beacon.c | 46 ar5416SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument 51 OS_REG_WRITE(ah, AR_NEXT_TBTT, TU_TO_USEC(bt->bt_nexttbtt)); 52 OS_REG_WRITE(ah, AR_NEXT_DBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextdba)); 53 OS_REG_WRITE(ah, AR_NEXT_SWBA, ONE_EIGHTH_TU_TO_USEC(bt->bt_nextswba)); 54 OS_REG_WRITE(ah, AR_NEXT_NDP, TU_TO_USEC(bt->bt_nextatim)); 56 bperiod = TU_TO_USEC(bt->bt_intval & HAL_BEACON_PERIOD); 57 ahp->ah_beaconInterval = bt->bt_intval & HAL_BEACON_PERIOD; 66 if (bt->bt_intval & AR_BEACON_RESET_TSF) 72 bt->bt_flags != 0 ? bt 85 HAL_BEACON_TIMERS bt; local [all...] |
/freebsd-10.1-release/lib/libc/sys/ |
H A D | __vdso_gettimeofday.c | 46 binuptime(struct bintime *bt, struct vdso_timekeep *tk, int abs) argument 67 *bt = th->th_offset; 68 bintime_addx(bt, th->th_scale * tc_delta(th)); 70 bintime_add(bt, &th->th_boottime); 86 struct bintime bt; local 98 error = binuptime(&bt, tk, 1); 101 bintime2timeval(&bt, tv); 109 struct bintime bt; local 137 error = binuptime(&bt, tk, abs); 140 bintime2timespec(&bt, t [all...] |
/freebsd-10.1-release/sys/contrib/ngatm/netnatm/msg/ |
H A D | traffic.c | 78 u_int ft, bt, be, ftag, btag; local 193 bt = traffic->h.present & bmask; 233 if (bt != UNI_TRAFFIC_BPCR1_P) 252 if (bt == UNI_TRAFFIC_BPCR0_P) { 255 } else if (bt == bcbr3) { 270 if (bt != bvbr16) 288 if (bt == bvbr23) { 293 } else if (bt == bvbr16) { 317 if (bt == bvbr23) { 322 } else if (bt [all...] |
/freebsd-10.1-release/sys/arm/xscale/i8134x/ |
H A D | i81342_mcu.c | 41 i81342_sdram_bounds(bus_space_tag_t bt, bus_space_handle_t bh, argument 47 reg = bus_space_read_4(bt, bh, SMC_SDBR); 49 reg = bus_space_read_4(bt, bh, SMC_SBSR);
|
/freebsd-10.1-release/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_beacon.c | 45 ar5212SetBeaconTimers(struct ath_hal *ah, const HAL_BEACON_TIMERS *bt) argument 57 OS_REG_WRITE(ah, AR_TIMER0, bt->bt_nexttbtt & 0xffff); 58 OS_REG_WRITE(ah, AR_TIMER1, bt->bt_nextdba & 0x7ffff); 59 OS_REG_WRITE(ah, AR_TIMER2, bt->bt_nextswba & 0x1ffffff); 61 OS_REG_WRITE(ah, AR_TIMER3, bt->bt_nextatim & 0xffff); 65 if (bt->bt_intval & AR_BEACON_RESET_TSF) { 77 OS_REG_WRITE(ah, AR_BEACON, bt->bt_intval); 78 ahp->ah_beaconInterval = (bt->bt_intval & HAL_BEACON_PERIOD); 91 HAL_BEACON_TIMERS bt; local 93 bt [all...] |
/freebsd-10.1-release/sys/dev/joy/ |
H A D | joyvar.h | 32 bus_space_tag_t bt; member in struct:joy_softc
|
/freebsd-10.1-release/usr.bin/csup/ |
H A D | misc.c | 519 struct backoff_timer *bt; local 521 bt = xmalloc(sizeof(struct backoff_timer)); 522 bt->min = min; 523 bt->max = max; 524 bt->backoff = backoff; 525 bt->jitter = jitter; 526 bt->interval = min; 527 bt_addjitter(bt); 529 return (bt); 534 bt_update(struct backoff_timer *bt) argument 543 bt_addjitter(struct backoff_timer *bt) argument 554 bt_get(struct backoff_timer *bt) argument 562 bt_pause(struct backoff_timer *bt) argument 570 bt_free(struct backoff_timer *bt) argument [all...] |
/freebsd-10.1-release/sys/i386/ibcs2/ |
H A D | ibcs2_ioctl.c | 119 stios2btios(st, bt) 121 struct termios *bt; 139 bt->c_iflag = r; 145 bt->c_oflag = r; 160 bt->c_cflag = r; 162 bt->c_ispeed = bt->c_ospeed = s2btab[l & 0x0000000f]; 173 bt->c_lflag = r; 175 bt->c_cc[VINTR] = 177 bt [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/ |
H A D | x86cpuid.pl | 23 &bt ("ecx",21); 72 &bt ("edx",28); 106 &bt ("edx",28); # test hyper-threading bit 124 &bt ("ecx",27); # check OSXSAVE bit 150 &bt (&DWP(0,"ecx"),4); 162 &bt (&DWP(0,"ecx"),4); 171 &bt ("eax",9); 202 &bt ("eax",9); 232 &bt (&DWP(0,"ecx"),1);
|
/freebsd-10.1-release/etc/ |
H A D | ddb.conf | 12 script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; call doadump; reset
|
/freebsd-10.1-release/sys/cddl/dev/cyclic/i386/ |
H A D | cyclic_machdep.c | 114 struct bintime bt; local 119 timespec2bintime(&ts, &bt); 120 clocksource_cyc_set(&bt);
|