/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_chip2.c | 1162 uint32_t timeout; local 1189 for (timeout = 100; ; ) { 1194 if (--timeout == 0) 1200 if (timeout == 0) 1203 if (timeout != 100) 1206 cmd, 10*(100-timeout), regval1, regval2)); 1209 for (timeout = 1000; ; ) { 1212 if (--timeout == 0) 1225 if (timeout == 0) 1346 * ENODATA on access timeout (mayb [all...] |
/illumos-gate/usr/src/uts/common/io/e1000api/ |
H A D | e1000_82571.c | 956 s32 timeout = PHY_CFG_TIMEOUT; local 960 while (timeout) { 965 timeout--; 967 if (!timeout) {
|
H A D | e1000_82575.c | 1059 s32 i = 0, timeout = 200; local 1063 while (i < timeout) { 1082 if (i == timeout) { 1083 DEBUGOUT("Driver can't access resource, SW_FW_SYNC timeout.\n"); 1133 s32 timeout = PHY_CFG_TIMEOUT; local 1144 while (timeout) { 1148 timeout--; 1150 if (!timeout) 1442 /* set the completion timeout for interface */ 1445 DEBUGOUT("PCI-E Set completion timeout ha 1862 s32 timeout = 3; local 3549 u32 timeout = 10; local [all...] |
H A D | e1000_hw.h | 912 u32 timeout; member in struct:e1000_mbx_info
|
H A D | e1000_ich8lan.c | 1058 /* Clear link status transmit timeout */ 1062 /* Set inband Tx timeout to 5x10us for 100Half */ 1068 /* Set inband Tx timeout to 50x10us for 10Full/Half */ 1880 u32 extcnf_ctrl, timeout = PHY_CFG_TIMEOUT; local 1887 while (timeout) { 1893 timeout--; 1896 if (!timeout) { 1902 timeout = SW_FLAG_TIMEOUT; 1907 while (timeout) { 1913 timeout 3742 e1000_flash_cycle_ich8lan(struct e1000_hw *hw, u32 timeout) argument 4756 u32 timeout = ICH_FLASH_ERASE_COMMAND_TIMEOUT; local [all...] |
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwnreg.h | 698 uint16_t timeout; member in struct:iwn_cmd_data 1148 uint16_t timeout; member in struct:iwn_spectrum_cmd
|
/illumos-gate/usr/src/cmd/svc/svccfg/ |
H A D | svccfg_xml.c | 1062 xmlChar *name, *timeout, *delete; local 1080 timeout = xmlGetProp(emeth, (xmlChar *)timeout_seconds_attr); 1081 if (timeout != NULL) { 1090 u_timeout = strtoull((char *)timeout, &endptr, 10); 1091 if (errno != 0 || endptr == (char *)timeout || *endptr) 1094 (char *)timeout, (errno) ? strerror(errno): 1099 xmlFree(timeout);
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | epoll.c | 202 int maxevents, int timeout) 212 arg.dp_timeout = timeout; 220 int maxevents, int timeout, const sigset_t *sigmask) 230 arg.dp_timeout = timeout; 201 epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) argument 219 epoll_pwait(int epfd, struct epoll_event *events, int maxevents, int timeout, const sigset_t *sigmask) argument
|
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm_loader.c | 613 } else if (strcmp(opt, "timeout") == 0) { 617 bam_error(_("invalid timeout: %s\n"), val); 621 (void) snprintf(path, PATH_MAX, "%s" CONF_DIR "/timeout", 631 * timeout=-1 is to disable auto boot in illumos, but 816 char *timeout = "-1"; local 819 timeout = ptr; 822 (void) printf("Timeout: %s\n", timeout); 823 else if (strcasecmp(setting, "timeout") == 0) { 824 (void) printf("%s\n", timeout);
|
/illumos-gate/usr/src/common/ficl/emu/ |
H A D | loader_emu.c | 1389 int timeout; local 1396 timeout = -1; 1406 timeout = strtol(optarg, &cp, 0); 1410 "bad timeout '%s'", optarg); 1425 if (timeout >= 0) { 1426 when = time(NULL) + timeout; 1429 return (CMD_OK); /* is timeout an error? */
|
/illumos-gate/usr/src/uts/common/io/nvme/ |
H A D | nvme.c | 96 * queues. There is currently no timeout handling of I/O commands. 130 * it. In general admin commands are issued at attach time only. No timeout 208 /* tunable for admin command timeout in seconds, default is 1s */ 1186 * nvme_wait_cmd -- wait for command completion or timeout 1194 * In case of a serious error or a timeout of the abort command the hardware 1200 clock_t timeout = ddi_get_lbolt() + drv_usectohz(sec * MICROSEC); local 1207 if (cv_timedwait(&cmd->nc_cv, &cmd->nc_mutex, timeout) == -1) 1221 * register or DMA handle, or for a double timeout (abort command timed 1225 dev_err(nvme->n_dip, CE_WARN, "!command timeout, " 1259 * the timeout wa [all...] |
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootiic/ |
H A D | env_vars.c | 52 ReadCharFromEnvironment(int timeout) argument
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/bootspi/ |
H A D | env_vars.c | 52 ReadCharFromEnvironment(int timeout) argument
|
/illumos-gate/usr/src/boot/sys/boot/arm/at91/libat91/ |
H A D | emac.c | 537 int timeout; local 546 timeout = 10; 552 while (timeout) { 556 timeout = 10; 559 --timeout; 573 if (timeout == 0)
|
H A D | sd-card.c | 67 MCIDeviceWaitReady(unsigned int timeout) argument 79 timeout--; 81 while( !(status & waitfor) && (timeout>0) ); 122 int timeout = AT91C_MCI_TIMEOUT; local 128 } while( !(status & AT91C_MCI_CMDRDY) && (--timeout > 0) ); 306 int timeout = AT91C_MCI_TIMEOUT; local 349 } while (!(response & AT91C_CARD_POWER_UP_DONE) && (--timeout > 0));
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | boot.c | 165 autoboot(int timeout, char *prompt) argument 175 if (timeout == -1) { 176 timeout = 10; 179 timeout = strtol(cp, &ep, 0); 181 timeout = 10; /* Unparseable? Set default! */ 197 if (timeout >= 0) { 199 when = otime + timeout; /* when to boot */
|
H A D | commands.c | 384 int timeout; local 391 timeout = -1; 402 timeout = strtol(optarg, &cp, 0); 405 "bad timeout '%s'", optarg); 420 if (timeout >= 0) { 421 when = time(NULL) + timeout; 424 return(CMD_OK); /* is timeout an error? */
|
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/ |
H A D | efinet.c | 145 efinet_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 157 while ((time(0) - t) < timeout) {
|
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | pxe.c | 86 time_t timeout); 636 pxe_netif_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 681 readudp(struct iodesc *h, void *pkt, size_t len, time_t timeout) argument
|
/illumos-gate/usr/src/boot/sys/boot/ofw/libofw/ |
H A D | ofw_net.c | 128 ofwn_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 134 printf("netif_get: pkt=%p, maxlen=%d, timeout=%d\n", pkt, len, 135 timeout); 142 (getsecs() - t < timeout));
|
/illumos-gate/usr/src/boot/sys/boot/uboot/lib/ |
H A D | net.c | 275 net_get(struct iodesc *desc, void *pkt, size_t len, time_t timeout) argument 283 printf("net_get: pkt %p, len %d, timeout %d\n", pkt, len, timeout); 295 } while ((rlen == -1 || rlen == 0) && (getsecs() - t < timeout));
|
/illumos-gate/usr/src/boot/sys/boot/usb/ |
H A D | bsd_usbloader_test.c | 61 pause(const char *what, int timeout) argument 63 if (timeout == 0) 64 timeout = 1; 66 usleep((1000000 / hz) * timeout);
|
/illumos-gate/usr/src/boot/sys/boot/usb/storage/ |
H A D | umass_loader.c | 214 pause(const char *what, int timeout) argument 216 if (timeout == 0) 217 timeout = 1; 219 delay((1000000 / hz) * timeout);
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_page.c | 1440 * (2) By (broken) specification, timeout(9F) can neither fail nor 1444 * (3) Like timeout(), ddi_set_callback() cannot fail and cannot block; 1832 * pcgs_lock, do not set the pcf blocks and do not timeout when 4321 * Reset the sync timeout. The page list is very long 7349 clock_t timeout; local 7364 timeout = pc_thread_longwait; 7366 timeout = pc_thread_shortwait; 7373 timeout, TR_CLOCK_TICK);
|
/illumos-gate/usr/src/cmd/dladm/ |
H A D | dladm.c | 493 {"timeout", required_argument, 0, 'T' }, 6248 int timeout = DLADM_WLAN_CONNECT_TIMEOUT_DEFAULT; local 6320 timeout = -1; 6323 if (!str2int(optarg, &timeout) || timeout < 0) 6324 die("invalid timeout value '%s'", optarg); 6376 if ((status = dladm_wlan_connect(handle, linkid, attrp, timeout, keys,
|