Searched refs:timeout (Results 1 - 25 of 490) sorted by last modified time

1234567891011>>

/haiku-fatelf/headers/os/drivers/
H A DACPI.h171 status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
/haiku-fatelf/src/add-ons/kernel/drivers/network/broadcom440x/dev/bfe/
H A Dif_bfe.c1165 u_long timeout, const int clear)
1169 for (i = 0; i < timeout; i++) {
1178 if (i == timeout) {
1671 * Set a timeout in case the chip goes out to lunch.
1819 device_printf(sc->bfe_dev, "watchdog timeout -- resetting\n");
1164 bfe_wait_bit(struct bfe_softc *sc, u_int32_t reg, u_int32_t bit, u_long timeout, const int clear) argument
/haiku-fatelf/src/system/kernel/
H A Dthread.cpp1340 common_snooze_etc(bigtime_t timeout, clockid_t clockID, uint32 flags,
1363 status_t status = thread_block_with_timeout_locked(flags, timeout);
1372 startTime + timeout - system_time(), (bigtime_t)0);
1376 *_remainingTime = std::max(timeout - now, (bigtime_t)0);
2481 wait_for_thread_etc(thread_id id, uint32 flags, bigtime_t timeout,
2548 status_t status = acquire_sem_etc(exitSem, 1, flags, timeout);
2557 // We were probably interrupted or the timeout occurred; we need to
2872 /*! Blocks the current thread with a timeout.
2878 thread_block_with_timeout(uint32 timeoutFlags, bigtime_t timeout)
2881 return thread_block_with_timeout_locked(timeoutFlags, timeout);
[all...]
H A Dsem.cpp647 // interruption or timeout). We need that lock anyway when unblocking a
746 acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
748 return switch_sem_etc(-1, id, count, flags, timeout);
761 uint32 flags, bigtime_t timeout)
804 if ((flags & B_RELATIVE_TIMEOUT) != 0 && timeout <= 0) {
805 // immediate timeout
808 } else if ((flags & B_ABSOLUTE_TIMEOUT) != 0 && timeout < 0) {
809 // absolute negative timeout
816 "flags: 0x%lx, timeout: %lld)", semToBeReleased, id, count, flags,
817 timeout);
760 switch_sem_etc(sem_id semToBeReleased, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1240 _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1265 _user_switch_sem_etc(sem_id releaseSem, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
[all...]
/haiku-fatelf/src/system/kernel/locks/
H A Dlock.cpp329 bigtime_t timeout)
371 status_t error = thread_block_with_timeout_locked(timeoutFlags, timeout);
783 _mutex_lock_with_timeout(mutex* lock, uint32 timeoutFlags, bigtime_t timeout) argument
826 status_t error = thread_block_with_timeout_locked(timeoutFlags, timeout);
833 // If the timeout occurred, we must remove our waiter structure from
860 // actually take rather long, though), but the timeout already
328 _rw_lock_read_lock_with_timeout(rw_lock* lock, uint32 timeoutFlags, bigtime_t timeout) argument
/haiku-fatelf/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci_port.cpp507 AHCIPort::WaitForTransfer(int *tfd, bigtime_t timeout) argument
510 timeout);
875 TRACE("ExecuteAtaRequest port %d: device timeout\n", fIndex);
/haiku-fatelf/src/kits/tracker/
H A DTracker.cpp1149 for (int32 timeout = 30; timeout; timeout--) {
/haiku-fatelf/src/servers/notification/
H A DNotificationWindow.cpp155 bigtime_t timeout; local
156 if (message->FindInt64("timeout", &timeout) != B_OK)
157 timeout = -1;
167 notification, timeout);
/haiku-fatelf/src/system/kernel/vm/
H A Dvm.cpp1315 bigtime_t timeout = (flags & CREATE_AREA_DONT_WAIT) != 0 ? 0 : 1000000; local
1316 if (vm_try_reserve_memory(size, priority, timeout) != B_OK)
4676 vm_try_reserve_memory(size_t amount, int priority, bigtime_t timeout) argument
4689 if (timeout <= 0)
4692 // turn timeout into an absolute timeout
4693 timeout += system_time();
4695 // loop until we've got the memory or the timeout occurs
4702 B_ABSOLUTE_TIMEOUT, timeout);
4711 } while (timeout > system_tim
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro1000/dev/e1000/
H A De1000_mac.c1612 s32 timeout = hw->nvm.word_size + 1; local
1618 while (i < timeout) {
1627 if (i == timeout) {
1633 for (i = 0; i < timeout; i++) {
1644 if (i == timeout) {
1970 s32 timeout = MASTER_DISABLE_TIMEOUT; local
1981 while (timeout) {
1986 timeout--;
1989 if (!timeout) {
H A De1000_nvm.c262 s32 timeout = E1000_NVM_GRANT_ATTEMPTS; local
270 while (timeout) {
275 timeout--;
278 if (!timeout) {
397 u16 timeout = NVM_MAX_RETRY_SPI; local
409 * not cleared within 'timeout', then error out.
411 while (timeout) {
420 timeout--;
423 if (!timeout) {
H A De1000_mbx.c181 int countdown = mbx->timeout;
197 mbx->timeout = 0;
212 int countdown = mbx->timeout;
228 mbx->timeout = 0;
270 * received an ack to that message within delay * timeout period
279 /* exit if either we can't write or there isn't a defined timeout */
280 if (!mbx->ops.write || !mbx->timeout)
523 /* start mailbox as timed out and let the reset_hw call set the timeout
525 mbx->timeout = 0;
742 mbx->timeout
[all...]
H A De1000_hw.h881 u32 timeout; member in struct:e1000_mbx_info
H A De1000_i210.c97 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local
101 while (i < timeout) {
119 if (i == timeout) {
120 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n");
168 s32 timeout = hw->nvm.word_size + 1; local
174 for (i = 0; i < timeout; i++) {
185 if (i == timeout) {
H A De1000_ich8lan.c114 static s32 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout);
823 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; local
830 while (timeout) {
836 timeout--;
839 if (!timeout) {
845 timeout = SW_FLAG_TIMEOUT;
850 while (timeout) {
856 timeout--;
859 if (!timeout) {
1910 DEBUGOUT("LAN_INIT_DONE not set, increase timeout\
2468 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) argument
[all...]
H A De1000_82575.c992 s32 i = 0, timeout = 200; /* FIXME: find real value to use here */ local
996 while (i < timeout) {
1015 if (i == timeout) {
1016 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n");
1066 s32 timeout = PHY_CFG_TIMEOUT; local
1078 while (timeout) {
1082 timeout--;
1084 if (!timeout)
1291 /* set the completion timeout for interface */
1294 DEBUGOUT("PCI-E Set completion timeout ha
3047 u32 timeout = 10; local
[all...]
H A De1000_82571.c990 s32 timeout = PHY_CFG_TIMEOUT; local
995 while (timeout) {
1000 timeout--;
1002 if (!timeout) {
H A Dif_igb.c2196 goto timeout;
2211 timeout:
2212 device_printf(adapter->dev, "Watchdog timeout -- resetting\n");
/haiku-fatelf/src/add-ons/kernel/bus_managers/acpi/
H A DBusManager.cpp236 acquire_global_lock(uint16 timeout, uint32 *handle) argument
238 return AcpiAcquireGlobalLock(timeout, (UINT32*)handle) == AE_OK
705 ERROR("Reset failed, timeout\n");
H A DACPIPrivate.h51 status_t (*acquire_global_lock)(uint16 timeout, uint32 *handle);
161 status_t acquire_global_lock(uint16 timeout, uint32* handle);
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwn.c330 IWN_DEBUG_WATCHDOG = 0x00000080, /* watchdog timeout */
454 /* Clear device-specific "PCI retry timeout" register (41h). */
965 /* Clear device-specific "PCI retry timeout" register (41h). */
1179 "timeout reading ROM at 0x%x\n", addr);
2607 sc->calib_cnt = 0; /* Reset TX power calibration timeout. */
2735 * 802.11 layer will fall back to using a timeout to wait for
3494 tx->timeout = htole16(3);
3496 tx->timeout = htole16(2);
3498 tx->timeout = htole16(0);
3691 tx->timeout
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c439 "timeout waiting for adapter to initialize\n");
460 "timeout waiting for adapter to initialize2\n");
531 /* disable the retry timeout register */
1042 device_printf(sc->sc_dev, "timeout resetting Rx ring\n");
1157 device_printf(sc->sc_dev, "timeout resetting Tx ring %d\n",
1435 device_printf(sc->sc_dev, "timeout transferring firmware\n");
1910 tx->timeout = htole16(0);
1935 tx->timeout = htole16(3);
1937 tx->timeout = htole16(2);
2908 device_printf(sc->sc_dev, "timeout waitin
[all...]
/haiku-fatelf/src/servers/app/drawing/
H A DAccelerantHWInterface.cpp1043 AccelerantHWInterface::WaitForRetrace(bigtime_t timeout) argument
1049 return acquire_sem_etc(sem, 1, B_RELATIVE_TIMEOUT, timeout);
H A DHWInterface.h102 bigtime_t timeout = B_INFINITE_TIMEOUT) = 0;
H A DAccelerantHWInterface.h52 bigtime_t timeout = B_INFINITE_TIMEOUT);

Completed in 251 milliseconds

1234567891011>>