Searched refs:us (Results 1 - 12 of 12) sorted by relevance

/haiku/src/libs/compat/openbsd_network/compat/sys/
H A Dtime.h22 USEC_TO_TIMEVAL(uint64_t us, struct timeval *tv) argument
24 tv->tv_sec = us / 1000000;
25 tv->tv_usec = us % 1000000;
/haiku/src/bin/network/ping/
H A Dutils.c49 u_short us; member in union:__anon3
76 sum += last.us;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5211/
H A Dar5211_misc.c425 ar5211SetSifsTime(struct ath_hal *ah, u_int us) argument
429 if (us > ath_hal_mac_usec(ah, 0xffff)) {
431 __func__, us);
436 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us));
437 ahp->ah_slottime = us;
450 ar5211SetSlotTime(struct ath_hal *ah, u_int us) argument
454 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) {
456 __func__, us);
457 ahp->ah_slottime = us; /* restor
475 ar5211SetAckTimeout(struct ath_hal *ah, u_int us) argument
522 ar5211SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5210/
H A Dar5210_misc.c422 ar5210SetSifsTime(struct ath_hal *ah, u_int us) argument
426 if (us > ath_hal_mac_usec(ah, 0x7ff)) {
428 __func__, us);
434 ath_hal_mac_clks(ah, us));
435 ahp->ah_sifstime = us;
448 ar5210SetSlotTime(struct ath_hal *ah, u_int us) argument
452 if (us < HAL_SLOT_TIME_9 || us > ath_hal_mac_usec(ah, 0xffff)) {
454 __func__, us);
459 OS_REG_WRITE(ah, AR_SLOT_TIME, ath_hal_mac_clks(ah, us));
473 ar5210SetAckTimeout(struct ath_hal *ah, u_int us) argument
520 ar5210SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku/src/kits/media/
H A DTimeCode.cpp31 // Convert us to frames
256 BTimeCode::BTimeCode(bigtime_t us, argument
261 SetMicroseconds(us);
318 BTimeCode::SetMicroseconds(bigtime_t us) argument
322 us_to_timecode(us, &fHours, &fMinutes, &fSeconds, &fFrames, &fInfo);
473 bigtime_t us; local
477 if (timecode_to_us(fHours,fMinutes,fSeconds,fFrames, &us, &fInfo) == B_OK) {
478 return us;
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/
H A Dar5212_misc.c450 ar5212SetSifsTime(struct ath_hal *ah, u_int us) argument
454 if (us > ath_hal_mac_usec(ah, 0xffff)) {
456 __func__, us);
461 OS_REG_WRITE(ah, AR_D_GBL_IFS_SIFS, ath_hal_mac_clks(ah, us-2));
462 ahp->ah_sifstime = us;
475 ar5212SetSlotTime(struct ath_hal *ah, u_int us) argument
479 if (us < HAL_SLOT_TIME_6 || us > ath_hal_mac_usec(ah, 0xffff)) {
481 __func__, us);
486 OS_REG_WRITE(ah, AR_D_GBL_IFS_SLOT, ath_hal_mac_clks(ah, us));
500 ar5212SetAckTimeout(struct ath_hal *ah, u_int us) argument
547 ar5212SetCTSTimeout(struct ath_hal *ah, u_int us) argument
[all...]
/haiku/src/apps/mail/
H A DEnclosures.cpp78 recursive_attachment_search(TEnclosuresView* us, BMailContainer* mail, argument
90 recursive_attachment_search(us,
94 us->fList->AddItem(new TListItem(component));
/haiku/src/kits/storage/mime/
H A DTextSnifferAddon.cpp186 code_mime = "us-ascii";
374 ascmatch(const unsigned char *s, const my_unichar *us, size_t ulen) argument
379 if (s[i] != us[i])
649 * This is sufficient to allow us to identify EBCDIC text and to distinguish
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_misc.c572 ar9300_set_slot_time(struct ath_hal *ah, u_int us) argument
575 if (us < HAL_SLOT_TIME_9 || us > ar9300_mac_to_usec(ah, 0xffff)) {
576 HALDEBUG(ah, HAL_DEBUG_RESET, "%s: bad slot time %u\n", __func__, us);
581 OS_REG_WRITE(ah, AR_D_GBL_IFS_SLOT, ar9300_mac_to_clks(ah, us));
582 ahp->ah_slot_time = us;
588 ar9300_set_ack_timeout(struct ath_hal *ah, u_int us) argument
592 if (us > ar9300_mac_to_usec(ah, MS(0xffffffff, AR_TIME_OUT_ACK))) {
593 HALDEBUG(ah, HAL_DEBUG_RESET, "%s: bad ack timeout %u\n", __func__, us);
599 AR_TIME_OUT, AR_TIME_OUT_ACK, ar9300_mac_to_clks(ah, us));
[all...]
/haiku/src/apps/showimage/
H A DShowImageWindow.cpp1332 BMessenger us(this);
1334 fNavigator.CurrentRef(), fNavigator.CurrentPage(), &us);
/haiku/src/apps/icon-o-matic/import_export/svg/
H A Dnanosvg.h2789 float tx, ty, sx, sy, us, bounds[4], t[6], avgs; local
2822 us = 1.0f / nsvg__convertToPixels(p, nsvg__coord(1.0f, nsvg__parseUnits(units)), 0.0f, 1.0f);
2838 sx *= us;
2839 sy *= us;
/haiku/src/add-ons/kernel/drivers/network/ether/marvell_yukon/dev/msk/
H A Dif_mskreg.h2554 #define MSK_USECS(sc, us) ((sc)->msk_clock * (us))

Completed in 145 milliseconds