/kernel/linux/linux-6.6/drivers/input/serio/ |
H A D | ioc3kbd.c | 29 unsigned long timeout = 0; in ioc3kbd_wait() local 31 while ((readl(®s->km_csr) & mask) && (timeout < 250)) { in ioc3kbd_wait() 33 timeout++; in ioc3kbd_wait() 35 return (timeout >= 250) ? -ETIMEDOUT : 0; in ioc3kbd_wait()
|
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wm9705.c | 212 int timeout = 5 * delay; in wm9705_poll_sample() local 233 && timeout) { in wm9705_poll_sample() 235 timeout--; in wm9705_poll_sample() 238 if (timeout == 0) { in wm9705_poll_sample() 239 /* If PDEN is set, we can get a timeout when pen goes up */ in wm9705_poll_sample() 243 dev_dbg(wm->dev, "adc sample timeout"); in wm9705_poll_sample()
|
/kernel/linux/linux-6.6/net/netrom/ |
H A D | nr_subr.c | 124 int len, timeout; in nr_write_internal() local 157 timeout = nr->t1 / HZ; in nr_write_internal() 174 *dptr++ = timeout % 256; in nr_write_internal() 175 *dptr++ = timeout / 256; in nr_write_internal()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_008.cpp | 245 struct timeval timeout; in SelectTest() local 247 timeout.tv_sec = 3; in SelectTest() 248 timeout.tv_usec = 0; in SelectTest() 255 ret = select(nfd + 1, &readfds, NULL, NULL, &timeout); in SelectTest()
|
H A D | net_socket_test_011.cpp | 225 struct timeval timeout; in UdpSelectTest() local 227 timeout.tv_sec = 3; in UdpSelectTest() 228 timeout.tv_usec = 0; in UdpSelectTest() 235 ret = select(nfd + 1, &readfds, NULL, NULL, &timeout); in UdpSelectTest()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
H A D | i2c-omap.c | 43 /* timeout waiting for the controller to respond */ 46 /* timeout for pm runtime autosuspend */ 49 /* timeout for making decision on bus free status */ 311 unsigned long timeout; in omap_i2c_reset() local 325 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_reset() 329 if (time_after(jiffies, timeout)) { in omap_i2c_reset() 330 dev_warn(omap->dev, "timeout waiting " in omap_i2c_reset() 503 unsigned long timeout; in omap_i2c_wait_for_bb() local 505 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_wait_for_bb() 507 if (time_after(jiffies, timeout)) in omap_i2c_wait_for_bb() 546 unsigned long timeout; omap_i2c_wait_for_bb_valid() local 663 unsigned long timeout; omap_i2c_xfer_msg() local 963 unsigned long timeout = 10000; errata_omap3_i462() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | sb1000.c | 260 unsigned long timeout; in card_wait_for_busy_clear() local 263 timeout = jiffies + TimeOutJiffies; in card_wait_for_busy_clear() 269 if (time_after_eq(jiffies, timeout)) { in card_wait_for_busy_clear() 270 printk(KERN_WARNING "%s: card_wait_for_busy_clear timeout\n", in card_wait_for_busy_clear() 284 unsigned long timeout; in card_wait_for_ready() local 287 timeout = jiffies + TimeOutJiffies; in card_wait_for_ready() 293 if (time_after_eq(jiffies, timeout)) { in card_wait_for_ready() 294 printk(KERN_WARNING "%s: card_wait_for_ready timeout\n", in card_wait_for_ready() 361 unsigned long timeout; in sb1000_wait_for_ready() local 363 timeout in sb1000_wait_for_ready() 387 unsigned long timeout; sb1000_wait_for_ready_clear() local [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | atiixp.c | 417 int timeout = 1000; in snd_atiixp_acquire_codec() local 420 if (! timeout--) { in snd_atiixp_acquire_codec() 421 dev_warn(chip->card->dev, "codec acquire timeout\n"); in snd_atiixp_acquire_codec() 432 int timeout; in snd_atiixp_codec_read() local 443 timeout = 1000; in snd_atiixp_codec_read() 449 } while (--timeout); in snd_atiixp_codec_read() 452 dev_warn(chip->card->dev, "codec read timeout (reg %x)\n", reg); in snd_atiixp_codec_read() 491 int timeout; in snd_atiixp_aclink_reset() local 503 timeout = 10; in snd_atiixp_aclink_reset() 511 if (!--timeout) { in snd_atiixp_aclink_reset() 566 int timeout; snd_atiixp_codec_detect() local 653 int timeout = 1000; snd_atiixp_pcm_pointer() local 844 int timeout; atiixp_spdif_flush_dma() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.c | 48 * - timeout (this is equivalent to re-issuing a submit or canceling) 64 * - the timeout work item. 71 * sets-up the timeout and adds the packet to the pending set before starting 72 * to transmit it. As the timeout is handled by a reaper task, no additional 85 * Packet timeouts are detected by the timeout reaper. This is a task, 86 * scheduled depending on the earliest packet timeout expiration date, 87 * checking all currently pending packets if their timeout has expired. If the 88 * timeout of a packet has expired, it is re-submitted and the number of tries 99 * packet cannot be added to the queue, the pending set, and the timeout, or 187 * SSH_PTL_TX_TIMEOUT - Packet transmission timeout 795 const ktime_t timeout = ptl->rtx_timeout.timeout; ssh_ptl_pending_push() local 1034 ssh_ptl_tx_wait_transfer(struct ssh_ptl *ptl, long timeout) ssh_ptl_tx_wait_transfer() argument 1053 long timeout = SSH_PTL_TX_TIMEOUT; ssh_ptl_tx_packet() local 1490 ssh_packet_get_expiration(struct ssh_packet *p, ktime_t timeout) ssh_packet_get_expiration() argument 1506 ktime_t timeout = ptl->rtx_timeout.timeout; ssh_ptl_timeout_reap() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ |
H A D | sb1000.c | 265 unsigned long timeout; in card_wait_for_busy_clear() local 268 timeout = jiffies + TimeOutJiffies; in card_wait_for_busy_clear() 274 if (time_after_eq(jiffies, timeout)) { in card_wait_for_busy_clear() 275 printk(KERN_WARNING "%s: card_wait_for_busy_clear timeout\n", in card_wait_for_busy_clear() 289 unsigned long timeout; in card_wait_for_ready() local 292 timeout = jiffies + TimeOutJiffies; in card_wait_for_ready() 298 if (time_after_eq(jiffies, timeout)) { in card_wait_for_ready() 299 printk(KERN_WARNING "%s: card_wait_for_ready timeout\n", in card_wait_for_ready() 366 unsigned long timeout; in sb1000_wait_for_ready() local 368 timeout in sb1000_wait_for_ready() 392 unsigned long timeout; sb1000_wait_for_ready_clear() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-omap.c | 43 /* timeout waiting for the controller to respond */ 46 /* timeout for pm runtime autosuspend */ 49 /* timeout for making decision on bus free status */ 311 unsigned long timeout; in omap_i2c_reset() local 325 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_reset() 329 if (time_after(jiffies, timeout)) { in omap_i2c_reset() 330 dev_warn(omap->dev, "timeout waiting " in omap_i2c_reset() 503 unsigned long timeout; in omap_i2c_wait_for_bb() local 505 timeout = jiffies + OMAP_I2C_TIMEOUT; in omap_i2c_wait_for_bb() 507 if (time_after(jiffies, timeout)) in omap_i2c_wait_for_bb() 546 unsigned long timeout; omap_i2c_wait_for_bb_valid() local 663 unsigned long timeout; omap_i2c_xfer_msg() local 963 unsigned long timeout = 10000; errata_omap3_i462() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | atiixp.c | 416 int timeout = 1000; in snd_atiixp_acquire_codec() local 419 if (! timeout--) { in snd_atiixp_acquire_codec() 420 dev_warn(chip->card->dev, "codec acquire timeout\n"); in snd_atiixp_acquire_codec() 431 int timeout; in snd_atiixp_codec_read() local 442 timeout = 1000; in snd_atiixp_codec_read() 448 } while (--timeout); in snd_atiixp_codec_read() 451 dev_warn(chip->card->dev, "codec read timeout (reg %x)\n", reg); in snd_atiixp_codec_read() 490 int timeout; in snd_atiixp_aclink_reset() local 502 timeout = 10; in snd_atiixp_aclink_reset() 510 if (!--timeout) { in snd_atiixp_aclink_reset() 565 int timeout; snd_atiixp_codec_detect() local 652 int timeout = 1000; snd_atiixp_pcm_pointer() local 843 int timeout; atiixp_spdif_flush_dma() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | smsc75xx.c | 158 /* Loop until the read is completed with timeout 315 netdev_warn(dev->net, "EEPROM read operation timeout\n"); in smsc75xx_wait_eeprom() 509 netdev_warn(dev->net, "smsc75xx_dataport_write timeout\n"); in smsc75xx_dataport_write() 822 int bmcr, ret, timeout = 0; in smsc75xx_phy_initialize() local 843 timeout++; in smsc75xx_phy_initialize() 844 } while ((bmcr & BMCR_RESET) && (timeout < 100)); in smsc75xx_phy_initialize() 846 if (timeout >= 100) { in smsc75xx_phy_initialize() 847 netdev_warn(dev->net, "timeout on PHY Reset\n"); in smsc75xx_phy_initialize() 965 int timeout = 0; in smsc75xx_wait_ready() local 982 timeout in smsc75xx_wait_ready() 992 int ret = 0, timeout = 0; smsc75xx_phy_gig_workaround() local 1049 int ret = 0, timeout; smsc75xx_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/class/ |
H A D | usbtmc.c | 33 /* Minimum USB timeout (in milliseconds) */ 35 /* Default USB timeout (in milliseconds) */ 123 u32 timeout; member 194 file_data->timeout = USBTMC_TIMEOUT; in usbtmc_open() 323 /* Data must be present. So use low timeout 300 ms */ in usbtmc_ioctl_abort_bulk_in_tag() 533 file_data->timeout); in usbtmc488_ioctl_read_stb() 576 u32 timeout; in usbtmc488_ioctl_wait_srq() local 584 if (get_user(timeout, arg)) in usbtmc488_ioctl_wait_srq() 587 expire = msecs_to_jiffies(timeout); in usbtmc488_ioctl_wait_srq() 698 &actual, file_data->timeout); in usbtmc488_ioctl_trigger() 1088 u32 timeout; usbtmc_generic_write() local 1957 u32 timeout; usbtmc_ioctl_get_timeout() local 1970 u32 timeout; usbtmc_ioctl_set_timeout() local [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | aio.c | 2211 * out of range, if timeout is out of range. May fail with -EFAULT 2213 * < min_nr if the timeout specified by timeout has elapsed 2214 * before sufficient events are available, where timeout == NULL 2215 * specifies an infinite timeout. Note that the timeout pointed to by 2216 * timeout is relative. Will fail with -ENOSYS if not implemented. 2224 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() 2229 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE5() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | aio.c | 2198 * out of range, if timeout is out of range. May fail with -EFAULT 2200 * < min_nr if the timeout specified by timeout has elapsed 2201 * before sufficient events are available, where timeout == NULL 2202 * specifies an infinite timeout. Note that the timeout pointed to by 2203 * timeout is relative. Will fail with -ENOSYS if not implemented. 2211 struct __kernel_timespec __user *, timeout) in SYSCALL_DEFINE5() 2216 if (timeout && unlikely(get_timespec64(&ts, timeout))) in SYSCALL_DEFINE5() [all...] |
/kernel/linux/linux-6.6/drivers/usb/class/ |
H A D | usbtmc.c | 33 /* Minimum USB timeout (in milliseconds) */ 35 /* Default USB timeout (in milliseconds) */ 123 u32 timeout; member 194 file_data->timeout = USBTMC_TIMEOUT; in usbtmc_open() 323 /* Data must be present. So use low timeout 300 ms */ in usbtmc_ioctl_abort_bulk_in_tag() 517 file_data->timeout); in usbtmc_get_stb() 606 u32 timeout; in usbtmc488_ioctl_wait_srq() local 614 if (get_user(timeout, arg)) in usbtmc488_ioctl_wait_srq() 617 expire = msecs_to_jiffies(timeout); in usbtmc488_ioctl_wait_srq() 728 &actual, file_data->timeout); in usbtmc488_ioctl_trigger() 1118 u32 timeout; usbtmc_generic_write() local 1987 u32 timeout; usbtmc_ioctl_get_timeout() local 2000 u32 timeout; usbtmc_ioctl_set_timeout() local [all...] |
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | smsc75xx.c | 158 /* Loop until the read is completed with timeout 315 netdev_warn(dev->net, "EEPROM read operation timeout\n"); in smsc75xx_wait_eeprom() 509 netdev_warn(dev->net, "smsc75xx_dataport_write timeout\n"); in smsc75xx_dataport_write() 823 int bmcr, ret, timeout = 0; in smsc75xx_phy_initialize() local 844 timeout++; in smsc75xx_phy_initialize() 845 } while ((bmcr & BMCR_RESET) && (timeout < 100)); in smsc75xx_phy_initialize() 847 if (timeout >= 100) { in smsc75xx_phy_initialize() 848 netdev_warn(dev->net, "timeout on PHY Reset\n"); in smsc75xx_phy_initialize() 966 int timeout = 0; in smsc75xx_wait_ready() local 983 timeout in smsc75xx_wait_ready() 993 int ret = 0, timeout = 0; smsc75xx_phy_gig_workaround() local 1050 int ret = 0, timeout; smsc75xx_reset() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/ |
H A D | de4x5.c | 279 0.40 5-Mar-96 Fix setup frame timeout <maartenb@hpkuipc.cern.ch>. 343 Fix initialisation problem with lp->timeout in 624 #define QUEUE_PKT_TIMEOUT (3*HZ) /* 3 second timeout */ 822 int timeout; /* Scheduling counter */ member 927 static int de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, int (*fn)(struct net_device *, int), int (*asfn)(struct net_device *)); 928 static int dc21040_state(struct net_device *dev, int csr13, int csr14, int csr15, int timeout, int next_state, int suspect_state, int (*fn)(struct net_device *, int)); 1147 lp->timeout = -1; in de4x5_hw_init() 1336 netif_trans_update(dev); /* prevent tx timeout */ in de4x5_open() 1936 netif_trans_update(dev); /* prevent tx timeout */ in set_multicast_list() 2400 lp->timeout in dc21040_autoconf() 2460 dc21040_state(struct net_device *dev, int csr13, int csr14, int csr15, int timeout, int next_state, int suspect_state, int (*fn)(struct net_device *, int)) dc21040_state() argument 2499 de4x5_suspect_state(struct net_device *dev, int timeout, int prev_state, int (*fn)(struct net_device *, int), int (*asfn)(struct net_device *)) de4x5_suspect_state() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/spufs/ |
H A D | run.c | 88 unsigned long timeout; in spu_setup_isolated() local 108 timeout = jiffies + HZ; in spu_setup_isolated() 112 if (time_after(jiffies, timeout)) { in spu_setup_isolated() 113 printk(KERN_ERR "%s: timeout flushing MFC DMA queue\n", in spu_setup_isolated() 138 timeout = jiffies + HZ; in spu_setup_isolated() 141 if (time_after(jiffies, timeout)) { in spu_setup_isolated() 142 printk(KERN_ERR "%s: timeout waiting for loader\n", in spu_setup_isolated()
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/benchmarks/ |
H A D | context_switch.c | 31 static unsigned int timeout = 30; variable 153 if (--timeout == 0) in sigalrm_handler() 258 static long sys_futex(void *addr1, int op, int val1, struct timespec *timeout, in sys_futex() argument 261 return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3); in sys_futex() 391 { "timeout", required_argument, 0, 's' }, 406 fprintf(stderr, "\t\t--timeout=X\tDuration in seconds to run (default 30)\n"); in usage() 454 timeout = atoi(optarg); in main()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/spufs/ |
H A D | run.c | 88 unsigned long timeout; in spu_setup_isolated() local 108 timeout = jiffies + HZ; in spu_setup_isolated() 112 if (time_after(jiffies, timeout)) { in spu_setup_isolated() 113 printk(KERN_ERR "%s: timeout flushing MFC DMA queue\n", in spu_setup_isolated() 138 timeout = jiffies + HZ; in spu_setup_isolated() 141 if (time_after(jiffies, timeout)) { in spu_setup_isolated() 142 printk(KERN_ERR "%s: timeout waiting for loader\n", in spu_setup_isolated()
|
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/ |
H A D | fw_filesystem.sh | 22 # Turn down the timeout so failures don't take so long. 23 echo 1 >/sys/class/firmware/timeout 51 echo "$0: timeout works" 335 local timeout=10 339 timeout=$(( $timeout - 1 )) 340 if [ "$timeout" -eq 0 ]; then
|
/kernel/linux/linux-6.6/arch/parisc/kernel/ |
H A D | smp.c | 336 long timeout; in smp_boot_one_cpu() local 386 for (timeout = 0; timeout < 10000; timeout++) { in smp_boot_one_cpu() 401 cpuid, timeout * 100); in smp_boot_one_cpu()
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | navpoint.c | 153 int timeout; in navpoint_up() local 163 for (timeout = 100; timeout != 0; --timeout) { in navpoint_up() 169 if (timeout == 0) in navpoint_up() 171 "timeout waiting for SSSR[CSS] to clear\n"); in navpoint_up()
|