/drivers/video/fbdev/omap2/dss/ |
H A D | dispc-compat.h | 25 unsigned long timeout);
|
/drivers/clk/mxs/ |
H A D | clk.c | 22 unsigned long timeout = jiffies + msecs_to_jiffies(10); local 25 if (time_after(jiffies, timeout))
|
/drivers/usb/misc/ |
H A D | rio500_usb.h | 36 int timeout; member in struct:RioCommand
|
/drivers/watchdog/ |
H A D | ep93xx_wdt.c | 37 /* default timeout (secs) */ 44 static unsigned int timeout = WDT_TIMEOUT; variable 45 module_param(timeout, uint, 0); 46 MODULE_PARM_DESC(timeout, 47 "Watchdog timeout in seconds. (1<=timeout<=3600, default=" 71 next_heartbeat = jiffies + (timeout * HZ); 90 next_heartbeat = jiffies + (timeout * HZ); 125 if (timeout < 1 || timeout > 360 [all...] |
H A D | ux500_wdt.c | 29 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 30 module_param(timeout, uint, 0); 31 MODULE_PARM_DESC(timeout, 32 "Watchdog timeout in seconds. default=" 57 unsigned int timeout) 60 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 1000); 93 if (pdata->timeout > 0) 94 timeout = pdata->timeout; 105 prcmu_load_a9wdog(PRCMU_WDOG_ALL, timeout * 100 56 ux500_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument [all...] |
H A D | txx9wdt.c | 29 static unsigned int timeout = TIMER_MARGIN; /* in seconds */ variable 30 module_param(timeout, uint, 0); 31 MODULE_PARM_DESC(timeout, 32 "Watchdog timeout in seconds. " 33 "(0<timeout<((2^" __MODULE_STRING(TXX9_TIMER_BITS) ")/(IMCLK/256)), " 57 __raw_writel(WD_TIMER_CLK * wdt_dev->timeout, &txx9wdt_reg->cpra); 80 wdt_dev->timeout = new_timeout; 129 if (timeout < 1 || timeout > WD_MAX_TIMEOUT) 130 timeout [all...] |
H A D | wafer5823wdt.c | 46 #define WD_TIMO 60 /* 60 sec default timeout */ 55 * To enable, write the timeout value in seconds (1 to 255) to I/O 64 static int timeout = WD_TIMO; /* in seconds */ variable 65 module_param(timeout, int, 0); 66 MODULE_PARM_DESC(timeout, 67 "Watchdog timeout in seconds. 1 <= timeout <= 255, default=" 88 outb_p(timeout, wdt_start); 178 timeout = new_timeout; 183 return put_user(timeout, [all...] |
H A D | sc1200wdt.c | 64 #define WDTO 0x05 /* Watchdog timeout register */ 75 static int timeout = 1; variable 93 module_param(timeout, int, 0); 94 MODULE_PARM_DESC(timeout, "range is 0-255 minutes, default is 1"); 145 /* set the timeout and get the ball rolling */ 146 __sc1200wdt_write_data(WDTO, timeout); 175 if (timeout > MAX_TIMEOUT) 176 timeout = MAX_TIMEOUT; 179 pr_info("Watchdog enabled, timeout = %d min(s)", timeout); [all...] |
H A D | kempld_wdt.c | 16 * Note: From the PLD watchdog point of view timeout and pretimeout are 18 * First the pretimeout stage runs out before the timeout stage gets 22 * |-----------------------T timeout 94 static unsigned int timeout = DEFAULT_TIMEOUT; variable 95 module_param(timeout, uint, 0); 96 MODULE_PARM_DESC(timeout, 97 "Watchdog timeout in seconds. (>=0, default=" 140 unsigned int timeout) 152 stage_timeout64 = (u64)timeout * pld->pld_clock; 181 unsigned int timeout; local 138 kempld_wdt_set_stage_timeout(struct kempld_wdt_data *wdt_data, struct kempld_wdt_stage *stage, unsigned int timeout) argument 205 kempld_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument 269 unsigned int pretimeout, timeout; local [all...] |
H A D | meson_wdt.c | 43 static unsigned int timeout = MESON_WDT_TIMEOUT; variable 77 unsigned int timeout) 84 reg |= MESON_SEC_TO_TC(timeout); 89 unsigned int timeout) 91 wdt_dev->timeout = timeout; 93 meson_wdt_change_timeout(wdt_dev, timeout); 116 meson_wdt_change_timeout(wdt_dev, meson_wdt->wdt_dev.timeout); 159 meson_wdt->wdt_dev.timeout = MESON_WDT_TIMEOUT; 165 watchdog_init_timeout(&meson_wdt->wdt_dev, timeout, 76 meson_wdt_change_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument 88 meson_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument [all...] |
H A D | smsc37b787_wdt.c | 37 * reset the system (causing a reboot) after the timeout occurs. 81 static int timeout = 60; /* timeout value: default is 60 "units" */ variable 196 * Bit 2 Force Timeout: 1 = Forces WD timeout event (self-cleaning) 198 * 0 = P20 activity does not generate the WD timeout event 200 * controller, to force the WD timeout event. 229 /* disable the timeout */ 268 /* disable timeout */ 275 /* set timeout => enable watchdog */ 283 /* set Power LED to blink, if we enable the timeout */ [all...] |
H A D | xen_wdt.c | 42 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 43 module_param(timeout, uint, S_IRUGO); 44 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds " 54 wdt.timeout = timeout; 55 return ktime_to_timespec(ktime_get()).tv_sec + timeout; 88 wdt.timeout = 0; 218 timeout = new_timeout; 222 return put_user(timeout, arg [all...] |
/drivers/input/serio/ |
H A D | libps2.c | 37 int ps2_sendbyte(struct ps2dev *ps2dev, unsigned char byte, int timeout) argument 47 msecs_to_jiffies(timeout)); 80 void ps2_drain(struct ps2dev *ps2dev, int maxbytes, int timeout) argument 96 msecs_to_jiffies(timeout)); 124 * response and tries to reduce remaining timeout to speed up command 128 static int ps2_adjust_timeout(struct ps2dev *ps2dev, int command, int timeout) argument 135 * shorten the timeout. 139 if (timeout > msecs_to_jiffies(100)) 140 timeout = msecs_to_jiffies(100); 154 timeout 185 int timeout; local [all...] |
/drivers/tty/ |
H A D | tty_ldsem.c | 200 down_read_failed(struct ld_semaphore *sem, long count, long timeout) argument 239 if (!timeout) 241 timeout = schedule_timeout(timeout); 246 if (!timeout) { 249 * was no timeout; otherwise, cleanup lock wait */ 268 down_write_failed(struct ld_semaphore *sem, long count, long timeout) argument 296 if (!timeout) 299 timeout = schedule_timeout(timeout); 321 __ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 340 __ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 363 ldsem_down_read(struct ld_semaphore *sem, long timeout) argument 389 ldsem_down_write(struct ld_semaphore *sem, long timeout) argument 443 ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument 449 ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument [all...] |
/drivers/mmc/host/ |
H A D | sdhci-cns3xxx.c | 31 unsigned long timeout; local 64 timeout = 20; 67 if (timeout == 0) { 71 timeout--;
|
/drivers/staging/android/ |
H A D | timed_output.h | 23 void (*enable)(struct timed_output_dev *sdev, int timeout);
|
/drivers/staging/lustre/include/linux/libcfs/ |
H A D | libcfs_time.h | 124 static inline long cfs_timeout_cap(long timeout) argument 126 if (timeout < CFS_TICK) 127 timeout = CFS_TICK; 128 return timeout;
|
/drivers/gpu/host1x/ |
H A D | cdma.c | 180 if (cdma->timeout.client) { 185 cdma->timeout.client = job->client; 186 cdma->timeout.syncpt = host1x_syncpt_get(host, job->syncpt_id); 187 cdma->timeout.syncpt_val = job->syncpt_end; 188 cdma->timeout.start_ktime = ktime_get(); 190 schedule_delayed_work(&cdma->timeout.wq, 191 msecs_to_jiffies(job->timeout)); 200 cancel_delayed_work(&cdma->timeout.wq); 201 cdma->timeout.client = 0; 235 if (job->timeout) [all...] |
/drivers/staging/lustre/lnet/selftest/ |
H A D | console.h | 58 int nd_timeout; /* session timeout */ 94 int bat_arg; /* parameter for run|stop, timeout for run, force for stop */ 133 #define LST_CONSOLE_TIMEOUT 300 /* default console timeout */ 140 int ses_timeout; /* timeout in seconds */ 187 int timeout, int flags, lst_sid_t *sid_up); 191 extern int lstcon_session_debug(int timeout, struct list_head *result_up); 193 extern int lstcon_batch_debug(int timeout, char *name, 195 extern int lstcon_group_debug(int timeout, char *name, 197 extern int lstcon_nodes_debug(int timeout, int nnd, lnet_process_id_t *nds_up, 211 extern int lstcon_batch_run(char *name, int timeout, [all...] |
/drivers/gpu/host1x/hw/ |
H A D | cdma_hw.c | 47 host1x_syncpt_incr(cdma->timeout.syncpt); 50 host1x_syncpt_load(cdma->timeout.syncpt); 100 * state (where DMA GET is set to DMA PUT), on a timeout we restore 228 * If this timeout fires, it indicates the current sync_queue entry has 243 timeout.wq); 251 if (!cdma->timeout.client) { 266 syncpt_val = host1x_syncpt_load(cdma->timeout.syncpt); 269 if ((s32)(syncpt_val - cdma->timeout.syncpt_val) >= 0) { 280 dev_warn(host1x->dev, "%s: timeout: %d (%s), HW thresh %d, done %d\n", 281 __func__, cdma->timeout [all...] |
/drivers/acpi/acpica/ |
H A D | exsystem.c | 56 * timeout - Max time to wait 65 acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout) argument 82 status = acpi_os_wait_semaphore(semaphore, 1, timeout); 101 * timeout - Max time to wait 111 acpi_status acpi_ex_system_wait_mutex(acpi_mutex mutex, u16 timeout) argument 128 status = acpi_os_acquire_mutex(mutex, timeout);
|
/drivers/i2c/algos/ |
H A D | i2c-algo-pcf.c | 107 int timeout = DEF_TIMEOUT; local 112 while (!(status & I2C_PCF_BB) && --timeout) { 117 if (timeout == 0) { 128 int timeout = DEF_TIMEOUT; local 132 while ((*status & I2C_PCF_PIN) && --timeout) { 141 if (timeout == 0) 218 int wrcount, status, timeout; local 224 timeout = wait_for_pin(adap, &status); 225 if (timeout) { 226 if (timeout 314 int ret=0, timeout, status; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-ali1563.c | 69 int timeout; local 88 timeout = ALI1563_MAX_TIMEOUT; 91 } while (((data = inb_p(SMB_HST_STS)) & HST_STS_BUSY) && --timeout); 99 if (timeout && !(data & HST_STS_BAD)) 102 if (!timeout) { 119 /* Issue timeout, hoping it helps */ 134 int timeout; local 158 timeout = ALI1563_MAX_TIMEOUT; 161 } while (!((data = inb_p(SMB_HST_STS)) & HST_STS_DONE) && --timeout); 169 if (timeout 239 int timeout; local [all...] |
/drivers/pcmcia/ |
H A D | pxa2xx_palmtc.c | 69 int timeout = 50; local 81 timeout) { 83 timeout--; 87 if (!timeout) {
|
/drivers/scsi/ |
H A D | gdth_proc.h | 9 int timeout, u32 *info);
|