/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt.c | 35 __FBSDID("$FreeBSD: stable/11/sys/dev/buslogic/bt.c 315812 2017-03-23 06:40:20Z mav $"); 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 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 275 struct bt_softc *bt = device_get_softc(dev); local 342 struct bt_softc *bt = device_get_softc(dev); local 409 struct bt_softc *bt = device_get_softc(dev); local 692 struct bt_softc *bt = device_get_softc(dev); local 865 struct bt_softc *bt = device_get_softc(dev); local 1002 btallocccbs(struct bt_softc *bt) argument 1070 btfreeccb(struct bt_softc *bt, struct bt_ccb *bccb) argument 1088 btgetccb(struct bt_softc *bt) argument 1112 struct bt_softc *bt; local 1390 struct bt_softc *bt; local 1499 struct bt_softc *bt; local 1508 bt_intr_locked(struct bt_softc *bt) argument 1538 btdone(struct bt_softc *bt, struct bt_ccb *bccb, bt_mbi_comp_code_t comp_code) argument 1769 btreset(struct bt_softc* bt, int hard_reset) argument 1866 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 2078 btinitmboxes(struct bt_softc *bt) argument 2131 btfetchtransinfo(struct bt_softc *bt, struct ccb_trans_settings *cts) argument 2257 struct bt_softc* bt; local 2266 struct bt_softc* bt; local 2276 struct bt_softc* bt; local 2293 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-11-stable/sys/kern/ |
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); 245 ffclock_bintime(struct bintime *bt) argument 248 ffclock_abstime(NULL, bt, NUL 254 struct bintime bt; local 263 struct bintime bt; local 270 ffclock_getbintime(struct bintime *bt) argument 280 struct bintime bt; local 290 struct bintime bt; local 298 ffclock_binuptime(struct bintime *bt) argument 307 struct bintime bt; local 316 struct bintime bt; local 323 ffclock_getbinuptime(struct bintime *bt) argument 333 struct bintime bt; local 343 struct bintime bt; local 351 ffclock_bindifftime(ffcounter ffdelta, struct bintime *bt) argument 360 struct bintime bt; local 369 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 678 bt_t *bt; local 803 bt_t *bt; local 871 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 921 vmem_clip(vmem_t *vm, bt_t *bt, vmem_addr_t start, vmem_size_t size) argument 1110 bt_t *bt; local 1238 bt_t *bt; local 1373 bt_dump(const bt_t *bt, int (*pr)(const char *, ...)) argument 1384 const bt_t *bt; local 1414 bt_t *bt; local 1434 bt_t *bt; local 1487 const bt_t *bt; local 1545 const bt_t *bt, *bt2; local [all...] |
H A D | kern_tc.c | 207 fbclock_binuptime(struct bintime *bt) argument 215 *bt = th->th_offset; 216 bintime_addx(bt, th->th_scale * tc_delta(th)); 224 struct bintime bt; local 226 fbclock_binuptime(&bt); 227 bintime2timespec(&bt, tsp); 233 struct bintime bt; local 235 fbclock_binuptime(&bt); 236 bintime2timeval(&bt, tvp); 240 fbclock_bintime(struct bintime *bt) argument 257 struct bintime bt; local 266 struct bintime bt; local 273 fbclock_getbinuptime(struct bintime *bt) argument 315 fbclock_getbintime(struct bintime *bt) argument 357 binuptime(struct bintime *bt) argument 374 struct bintime bt; local 383 struct bintime bt; local 390 bintime(struct bintime *bt) argument 407 struct bintime bt; local 416 struct bintime bt; local 423 getbinuptime(struct bintime *bt) argument 465 getbintime(struct bintime *bt) argument 623 ffclock_convert_delta(ffcounter ffdelta, uint64_t period, struct bintime *bt) argument 656 struct bintime bt, gap_lerp; local 841 ffclock_last_tick(ffcounter *ffcount, struct bintime *bt, uint32_t flags) argument 869 ffclock_convert_abs(ffcounter ffcount, struct bintime *bt, uint32_t flags) argument 910 ffclock_convert_diff(ffcounter ffdelta, struct bintime *bt) argument 950 binuptime(struct bintime *bt) argument 971 bintime(struct bintime *bt) argument 992 getbinuptime(struct bintime *bt) argument 1013 getbintime(struct bintime *bt) argument 1073 struct bintime bt; local 1143 sysclock_snap2bintime(struct sysclock_snap *cs, struct bintime *bt, int whichclock, uint32_t flags) argument 1303 struct bintime bt, bt2; local 1339 struct bintime bt; local 1773 struct bintime bt; local [all...] |
H A D | kern_lockstat.c | 70 struct bintime bt; local 78 binuptime(&bt); 79 ns = bt.sec * (uint64_t)1000000000; 80 ns += ((uint64_t)1000000000 * (uint32_t)(bt.frac >> 32)) >> 32;
|
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | bptree.c | 66 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...] |
/freebsd-11-stable/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-11-stable/lib/libc/sys/ |
H A D | __vdso_gettimeofday.c | 59 binuptime(struct bintime *bt, struct vdso_timekeep *tk, int abs) argument 73 *bt = th->th_offset; 79 bintime_addx(bt, th->th_scale * delta); 81 bintime_add(bt, &th->th_boottime); 98 struct bintime bt; local 110 error = binuptime(&bt, tk, 1); 113 bintime2timeval(&bt, tv); 121 struct bintime bt; local 149 error = binuptime(&bt, tk, abs); 152 bintime2timespec(&bt, t [all...] |
/freebsd-11-stable/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-11-stable/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-11-stable/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-11-stable/sys/dev/joy/ |
H A D | joyvar.h | 32 bus_space_tag_t bt; member in struct:joy_softc
|
/freebsd-11-stable/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-11-stable/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-11-stable/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_barrier.cpp | 47 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, 51 kmp_bstate_t *thr_bar = &this_thr->th.th_bar[bt].bb; 57 gtid, team->t.t_id, tid, bt)); 84 kmp_balign_team_t *team_bar = &team->t.t_bar[bt]; 95 KMP_CACHE_PREFETCH(&other_threads[i + 1]->th.th_bar[bt].bb.b_arrived); 101 &other_threads[i]->th.th_bar[bt].bb.b_arrived, new_state)); 104 kmp_flag_64 flag(&other_threads[i]->th.th_bar[bt].bb.b_arrived, 148 gtid, team->t.t_id, tid, bt)); 154 enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, 157 kmp_bstate_t *thr_bar = &this_thr->th.th_bar[bt] 46 __kmp_linear_barrier_gather_template( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 153 __kmp_linear_barrier_release_template( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 264 __kmp_linear_barrier_gather( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 271 __kmp_linear_barrier_gather_cancellable( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 278 __kmp_linear_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 285 __kmp_linear_barrier_release_cancellable( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 294 __kmp_tree_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 405 __kmp_tree_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 514 __kmp_hyper_barrier_gather(enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 636 __kmp_hyper_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 803 __kmp_init_hierarchical_barrier_thread(enum barrier_type bt, kmp_bstate_t *thr_bar, kmp_uint32 nproc, int gtid, int tid, kmp_team_t *team) argument 868 __kmp_hierarchical_barrier_gather( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, void (*reduce)(void *, void *) USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 1048 __kmp_hierarchical_barrier_release( enum barrier_type bt, kmp_info_t *this_thr, int gtid, int tid, int propagate_icvs USE_ITT_BUILD_ARG(void *itt_sync_obj)) argument 1292 __kmp_barrier_template(enum barrier_type bt, int gtid, int is_split, size_t reduce_size, void *reduce_data, void (*reduce)(void *, void *)) argument 1595 __kmp_barrier(enum barrier_type bt, int gtid, int is_split, size_t reduce_size, void *reduce_data, void (*reduce)(void *, void *)) argument 1626 __kmp_end_split_barrier(enum barrier_type bt, int gtid) argument [all...] |
/freebsd-11-stable/sys/arm/include/ |
H A D | cpu.h | 49 struct bintime bt; 51 binuptime(&bt); 52 return ((uint64_t)bt.sec << 56 | bt.frac >> 8);
|
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vpmtmr.c | 63 struct bintime bt; local 69 FREQ2BT(PMTMR_FREQ, &bt); 70 vpmtmr->freq_sbt = bttosbt(bt);
|
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_tdma.c | 137 HAL_BEACON_TIMERS bt; local 139 bt.bt_intval = bintval | HAL_BEACON_ENA; 140 bt.bt_nexttbtt = nexttbtt; 141 bt.bt_nextdba = (nexttbtt<<3) - sc->sc_tdmadbaprep; 142 bt.bt_nextswba = (nexttbtt<<3) - sc->sc_tdmaswbaprep; 143 bt.bt_nextatim = nexttbtt+1; 145 bt.bt_flags = 0; 150 bt.bt_intval, 151 bt.bt_intval, 152 bt [all...] |