Searched refs:delay (Results 1 - 200 of 5361) sorted by relevance

1234567891011>>

/linux-4.1.27/arch/openrisc/lib/
H A DMakefile5 obj-y = string.o delay.o
H A Ddelay.c21 #include <asm/delay.h>
/linux-4.1.27/arch/x86/include/asm/
H A Ddelay.h4 #include <asm-generic/delay.h>
H A Di8259.h4 #include <linux/delay.h>
29 /* the PIC may need a careful delay on some platforms, hence specific calls */ inb_pic()
35 * delay for some accesses to PIC on motherboard or in chipset inb_pic()
47 * delay for some accesses to PIC on motherboard or in chipset outb_pic()
/linux-4.1.27/arch/cris/arch-v32/lib/
H A DMakefile6 csumcpfruser.o delay.o strcmp.o
H A Ddelay.c12 #include <linux/delay.h>
/linux-4.1.27/arch/m32r/lib/
H A DMakefile6 delay.o strlen.o usercopy.o csum_partial_copy.o
/linux-4.1.27/tools/time/
H A Dudelay_test.sh31 delay=$1
32 echo $delay > $UDELAY_PATH
49 for (( delay = 1; delay < 200; delay += 1 )); do
50 test_one $delay
52 for (( delay = 200; delay < 500; delay += 10 )); do
53 test_one $delay
55 for (( delay = 500; delay <= 2000; delay += 100 )); do
56 test_one $delay
62 echo "ERROR: $count delays failed to delay long enough"
/linux-4.1.27/arch/sparc/include/asm/
H A Ddelay_64.h0 /* delay.h: Linux delay routines on sparc64.
H A Ddelay_32.h2 * delay.h: Linux delay routines on the Sparc.
H A Dbarrier_64.h10 * delay slot, but a case has been traced recently wherein the memory barrier
11 * was one instruction after the branch delay slot and the chip still hung.
23 * delay slot to avoid the problem case.
/linux-4.1.27/arch/parisc/lib/
H A DMakefile6 ucmpdi2.o delay.o
H A Ddelay.c19 #include <asm/delay.h>
24 /* CR16 based delay: */ __cr16_delay()
53 * that. The delay must guarantee that we wait "at __cr16_delay()
/linux-4.1.27/arch/arm64/lib/
H A DMakefile1 lib-y := bitops.o clear_user.o delay.o copy_from_user.o \
/linux-4.1.27/sound/pci/hda/
H A Dhda_intel_trace.h36 TP_PROTO(struct azx *chip, struct azx_dev *dev, unsigned int pos, unsigned int delay),
38 TP_ARGS(chip, dev, pos, delay),
44 __field( unsigned int, delay )
51 __entry->delay = delay;
54 TP_printk("[%d:%d] pos=%u, delay=%u", __entry->card, __entry->idx, __entry->pos, __entry->delay)
/linux-4.1.27/arch/sh/include/mach-common/mach/
H A Dsh2007.h24 /* write-read/write-write delay (0-7:0,1,2,3,4,5,6,7) */
27 /* different area, read-write delay (0-7:0,1,2,3,4,5,6,7) */
30 /* same area, read-write delay (0-7:0,1,2,3,4,5,6,7) */
33 /* different area, read-read delay (0-7:0,1,2,3,4,5,6,7) */
36 /* same area, read-read delay (0-7:0,1,2,3,4,5,6,7) */
63 /* CSn assert to RD assert delay for SRAM (0-7:0,1,2,3,4,5,6,7) */
66 /* RD negate to CSn negate delay for SRAM (0-7:0,1,2,3,4,5,6,7) */
69 /* CSn assert to WE assert delay for SRAM (0-7:0,1,2,3,4,5,6,7) */
72 /* WE negate to CSn negate delay for SRAM (0-7:0,1,2,3,4,5,6,7) */
88 /* Address->OE/WE assert delay A (0-7:0,1,2,3,6,9,12,15) */
90 /* Address->OE/WE assert delay B (0-7:0,1,2,3,6,9,12,15) */
92 /* OE/WE negate->Address delay A (0-7:0,1,2,3,6,9,12,15) */
94 /* OE/WE negate->Address delay B (0-7:0,1,2,3,6,9,12,15) */
/linux-4.1.27/arch/mn10300/lib/
H A DMakefile5 lib-y = delay.o usercopy.o checksum.o bitops.o memcpy.o memmove.o memset.o
H A Ddelay.c1 /* MN10300 Short delay interpolation routines
13 #include <linux/delay.h>
17 * basic delay loop
37 * handle a delay specified in terms of microseconds
/linux-4.1.27/arch/cris/include/asm/
H A Ddelay.h10 #include <arch/delay.h>
16 /* May be defined by arch/delay.h. */
/linux-4.1.27/include/linux/usb/
H A Disp116x.h24 /* Inter-io delay (ns). The chip is picky about access timings; it
26 150ns delay between consecutive accesses to DATA_REG,
27 300ns delay between access to ADDR_REG and DATA_REG
30 void (*delay) (struct device *dev, int delay); member in struct:isp116x_platform_data
H A Disp1362.h36 /* Inter-io delay (ns). The chip is picky about access timings; it
38 * 110ns delay between consecutive accesses to DATA_REG,
39 * 300ns delay between access to ADDR_REG and DATA_REG (registers)
40 * 462ns delay between access to ADDR_REG and DATA_REG (buffer memory)
43 void (*delay) (struct device *dev, unsigned int delay); member in struct:isp1362_platform_data
/linux-4.1.27/drivers/input/touchscreen/
H A Dwm9705.c21 #include <linux/delay.h>
57 * Set adc sample delay.
63 * This delay can be set by setting delay = n, where n is the array
64 * position of the delay in the array delay_table below.
68 static int delay = 4; variable
69 module_param(delay, int, 0);
70 MODULE_PARM_DESC(delay, "Set adc sample delay.");
91 * order to minimise this, a signal may be applied to the MASK pin to delay or
94 * 0 = No delay or sync
96 * 2 = Edge triggered, edge on pin delays conversion by delay param (above)
97 * 3 = Edge triggered, edge on pin starts conversion after delay param
104 * ADC sample delay times in uS
122 0 /* No delay, switch matrix always on */
128 * The delay is 3 AC97 link frames + the touchpanel settling delay
160 /* polling mode sample settling delay */ wm9705_phy_init()
161 if (delay != 4) { wm9705_phy_init()
162 if (delay < 0 || delay > 15) { wm9705_phy_init()
163 dev_dbg(wm->dev, "supplied delay out of range."); wm9705_phy_init()
164 delay = 4; wm9705_phy_init()
168 dig1 |= WM97XX_DELAY(delay); wm9705_phy_init()
169 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.", wm9705_phy_init()
170 delay_table[delay]); wm9705_phy_init()
217 int timeout = 5 * delay; wm9705_poll_sample()
231 | WM97XX_POLL | WM97XX_DELAY(delay)); wm9705_poll_sample()
233 /* wait 3 AC97 time slots + delay for conversion */ wm9705_poll_sample()
234 poll_delay(delay); wm9705_poll_sample()
315 WM97XX_DELAY(delay) | wm9705_acc_enable()
H A Dwm9712.c21 #include <linux/delay.h>
70 * Set adc sample delay.
76 * This delay can be set by setting delay = n, where n is the array
77 * position of the delay in the array delay_table below.
81 static int delay = 3; variable
82 module_param(delay, int, 0);
83 MODULE_PARM_DESC(delay, "Set adc sample delay.");
99 * order to minimise this, a signal may be applied to the MASK pin to delay or
102 * 0 = No delay or sync
104 * 2 = Edge triggered, edge on pin delays conversion by delay param (above)
105 * 3 = Edge triggered, edge on pin starts conversion after delay param
122 * ADC sample delay times in uS
140 0 /* No delay, switch matrix always on */
146 * The delay is 3 AC97 link frames + the touchpanel settling delay
192 /* polling mode sample settling delay */ wm9712_phy_init()
193 if (delay < 0 || delay > 15) { wm9712_phy_init()
194 dev_dbg(wm->dev, "supplied delay out of range.\n"); wm9712_phy_init()
195 delay = 4; wm9712_phy_init()
198 dig1 |= WM97XX_DELAY(delay); wm9712_phy_init()
199 dev_dbg(wm->dev, "setting adc sample delay to %d u Secs.\n", wm9712_phy_init()
200 delay_table[delay]); wm9712_phy_init()
257 int timeout = 5 * delay; wm9712_poll_sample()
271 | WM97XX_POLL | WM97XX_DELAY(delay)); wm9712_poll_sample()
273 /* wait 3 AC97 time slots + delay for conversion */ wm9712_poll_sample()
274 poll_delay(delay); wm9712_poll_sample()
321 int timeout = 5 * delay; wm9712_poll_coord()
335 WM97XX_COO | WM97XX_POLL | WM97XX_DELAY(delay)); wm9712_poll_coord()
337 /* wait 3 AC97 time slots + delay for conversion and read x */ wm9712_poll_coord()
338 poll_delay(delay); wm9712_poll_coord()
436 WM97XX_DELAY(delay) | wm9712_acc_enable()
H A Dwm9713.c21 #include <linux/delay.h>
70 * Set adc sample delay.
76 * This delay can be set by setting delay = n, where n is the array
77 * position of the delay in the array delay_table below.
81 static int delay = 4; variable
82 module_param(delay, int, 0);
83 MODULE_PARM_DESC(delay, "Set adc sample delay.");
99 * order to minimise this, a signal may be applied to the MASK pin to delay or
102 * 0 = No delay or sync
104 * 2 = Edge triggered, edge on pin delays conversion by delay param (above)
105 * 3 = Edge triggered, edge on pin starts conversion after delay param
122 * ADC sample delay times in uS
140 0 /* No delay, switch matrix always on */
146 * The delay is 3 AC97 link frames + the touchpanel settling delay
196 /* sample settling delay */ wm9713_phy_init()
197 if (delay < 0 || delay > 15) { wm9713_phy_init()
198 dev_info(wm->dev, "supplied delay out of range."); wm9713_phy_init()
199 delay = 4; wm9713_phy_init()
200 dev_info(wm->dev, "setting adc sample delay to %d u Secs.", wm9713_phy_init()
201 delay_table[delay]); wm9713_phy_init()
204 dig2 |= WM97XX_DELAY(delay); wm9713_phy_init()
263 int timeout = 5 * delay; wm9713_poll_sample()
283 /* wait 3 AC97 time slots + delay for conversion */ wm9713_poll_sample()
284 poll_delay(delay); wm9713_poll_sample()
328 int timeout = 5 * delay; wm9713_poll_coord()
348 /* wait 3 AC97 time slots + delay for conversion */ wm9713_poll_coord()
349 poll_delay(delay); wm9713_poll_coord()
447 dig2 |= WM97XX_SLEN | WM97XX_DELAY(delay) | wm9713_acc_enable()
/linux-4.1.27/arch/mips/include/asm/mach-rc32434/
H A Drc32434.h8 #include <linux/delay.h>
/linux-4.1.27/arch/avr32/lib/
H A DMakefile7 lib-y += delay.o memset.o memcpy.o findbit.o
H A Ddelay.c13 #include <linux/delay.h>
/linux-4.1.27/arch/frv/include/asm/
H A Ddelay.h0 /* delay.h: FRV delay code
19 * delay loop - runs at __core_clock_speed_HZ / 2 [there are 2 insns in the loop]
37 * first constant multiplications gets optimized away if the delay is
/linux-4.1.27/include/linux/input/
H A Dsh_keysc.h10 int delay; member in struct:sh_keysc_info
/linux-4.1.27/arch/s390/include/asm/
H A Ddelay.h6 * Derived from "include/asm-i386/delay.h"
9 * Delay routines calling functions in arch/s390/lib/delay.c
/linux-4.1.27/arch/powerpc/include/asm/
H A Ddelay.h40 * @delay: the number of microseconds to delay between each evaluation of
51 * terminates even if the bit never changes. The delay is for devices that
52 * need a delay in between successive reads.
54 * gcc will optimize out the if-statement if @delay is a constant.
56 #define spin_event_timeout(condition, timeout, delay) \
62 if (delay) \
63 udelay(delay); \
/linux-4.1.27/include/crypto/
H A Dmcryptd.h98 /* return delay in jiffies from current time */ get_delay()
101 long delay; get_delay() local
103 delay = (long) t - (long) jiffies; get_delay()
104 if (delay <= 0) get_delay()
107 return (unsigned long) delay; get_delay()
110 void mcryptd_arm_flusher(struct mcryptd_alg_cstate *cstate, unsigned long delay);
/linux-4.1.27/arch/arm/lib/
H A Ddelay.c23 #include <linux/delay.h>
30 * Default to the loop-based delay implementation.
33 .delay = __loop_delay,
87 pr_err("Ignoring delay timer %ps, which has insufficient resolution of %lluns\n", register_current_timer_delay()
93 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res); register_current_timer_delay()
100 arm_delay_ops.delay = __timer_delay; register_current_timer_delay()
104 pr_info("Ignoring duplicate/late registration of read_current_timer delay\n"); register_current_timer_delay()
H A DMakefile9 delay.o delay-loop.o findbit.o memchr.o memcpy.o \
/linux-4.1.27/drivers/clk/rockchip/
H A Dclk-mmc-phase.c45 * Each fine delay is between 40ps-80ps. Assume each fine delay is 60ps to
82 u64 delay; rockchip_mmc_set_phase() local
93 delay = PSECS_PER_SEC; rockchip_mmc_set_phase()
94 do_div(delay, rate); rockchip_mmc_set_phase()
96 do_div(delay, 16); rockchip_mmc_set_phase()
97 do_div(delay, ROCKCHIP_MMC_DELAY_ELEMENT_PSEC); rockchip_mmc_set_phase()
99 delay *= remainder; rockchip_mmc_set_phase()
100 delay_num = (u8) min(delay, 255ULL); rockchip_mmc_set_phase()
/linux-4.1.27/include/soc/at91/
H A Dat91sam9_ddrsdr.h55 #define AT91_DDRSDRC_TRAS (0xf << 0) /* Active to Precharge delay */
56 #define AT91_DDRSDRC_TRCD (0xf << 4) /* Row to Column delay */
57 #define AT91_DDRSDRC_TWR (0xf << 8) /* Write recovery delay */
58 #define AT91_DDRSDRC_TRC (0xf << 12) /* Row cycle delay */
59 #define AT91_DDRSDRC_TRP (0xf << 16) /* Row precharge delay */
61 #define AT91_DDRSDRC_TWTR (0x7 << 24) /* Internal Write to Read delay */
63 #define AT91_DDRSDRC_TMRD (0xf << 28) /* Load mode to active/refresh delay */
69 #define AT91_DDRSDRC_TXP (0xf << 24) /* Exit power-down delay */
72 #define AT91_DDRSDRC_TXARD (0xf << 0) /* Exit active power down delay to read command in mode "Fast Exit" */
73 #define AT91_DDRSDRC_TXARDS (0xf << 4) /* Exit active power down delay to read command in mode "Slow Exit" */
74 #define AT91_DDRSDRC_TRPA (0xf << 8) /* Row Precharge All delay */
75 #define AT91_DDRSDRC_TRTP (0x7 << 12) /* Read to Precharge delay */
/linux-4.1.27/include/linux/dma/
H A Dxilinx_dma.h20 * @frm_dly: Frame delay
27 * @delay: Delay counter
39 int delay; member in struct:xilinx_vdma_config
/linux-4.1.27/arch/sh/lib/
H A Ddelay.c8 #include <linux/delay.h>
17 * delay slot straddle an 8 byte boundary, this increases __delay()
H A DMakefile5 lib-y = delay.o memmove.o memchr.o \
/linux-4.1.27/arch/blackfin/include/asm/
H A Ddelay.h2 * delay.h - delay functions
H A Dnand.h33 /* RD/WR strobe delay timing information, all times in SCLK cycles */
/linux-4.1.27/arch/arm/kernel/
H A Darch_timer.c15 #include <asm/delay.h>
28 /* Use the architected timer for the delay loop. */ arch_timer_delay_timer_register()
/linux-4.1.27/drivers/net/irda/
H A Dgirbil-sir.c26 #include <linux/delay.h>
121 unsigned delay = 0; girbil_change_speed() local
165 delay = 100; girbil_change_speed()
182 return (delay > 0) ? delay : ret; girbil_change_speed()
203 unsigned delay = 0; girbil_reset() local
212 delay = 20; girbil_reset()
219 delay = 20; girbil_reset()
226 delay = 20; girbil_reset()
243 return (delay > 0) ? delay : ret; girbil_reset()
H A Dmcp2120-sir.c22 #include <linux/delay.h>
97 unsigned delay = 0; mcp2120_change_speed() local
141 delay = 100; mcp2120_change_speed()
158 return (delay > 0) ? delay : ret; mcp2120_change_speed()
182 unsigned delay = 0; mcp2120_reset() local
191 delay = 50; mcp2120_reset()
199 delay = 50; mcp2120_reset()
215 return (delay > 0) ? delay : ret; mcp2120_reset()
H A Dtekram-sir.c28 #include <linux/delay.h>
37 MODULE_PARM_DESC(tekram_delay, "tekram dongle write complete delay");
66 pr_debug("%s - using %d ms delay\n", tekram_sir_init()
125 unsigned delay = 0; tekram_change_speed() local
166 delay = tekram_delay; tekram_change_speed()
183 return (delay > 0) ? delay : ret; tekram_change_speed()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_parallel.h21 #define LIRC_SFH506_DELAY 0 /* delay t_phl in usecs */
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_bma023.c17 .delay = 1,
H A Dplatform_pmic_gpio.c41 .delay = 1,
48 .delay = 1,
H A Dplatform_mpu3050.c32 .delay = 1,
H A Dplatform_msic_battery.c32 .delay = 1,
H A Dplatform_msic_power_btn.c31 .delay = 1,
H A Dplatform_msic_thermal.c32 .delay = 1,
H A Dplatform_max7315.c67 .delay = 1,
74 .delay = 1,
H A Dplatform_emc1403.c39 .delay = 1,
H A Dplatform_msic_audio.c42 .delay = 1,
H A Dplatform_msic_gpio.c43 .delay = 1,
H A Dplatform_msic_ocd.c44 .delay = 1,
H A Dplatform_tca6416.c53 .delay = 1,
/linux-4.1.27/include/uapi/linux/netfilter/
H A Dxt_LED.h9 __u32 delay; /* Delay until LED is switched off after trigger */ member in struct:xt_led_info
/linux-4.1.27/arch/arm/mach-pxa/
H A Dclock.h15 unsigned int delay; member in struct:clk
42 .delay = _delay, \
50 .delay = _delay, \
66 .delay = _delay, \
H A Dclock.c8 #include <linux/delay.h>
24 if (clk->delay) clk_enable()
25 udelay(clk->delay); clk_enable()
H A Dmp900.c28 static void isp116x_pfm_delay(struct device *dev, int delay) isp116x_pfm_delay() argument
33 int cyc = delay / 10; isp116x_pfm_delay()
46 .delay = isp116x_pfm_delay,
/linux-4.1.27/arch/arm/include/asm/
H A Ddelay.h24 void (*delay)(unsigned long); member in struct:arm_delay_ops
30 #define __delay(n) arm_delay_ops.delay(n)
36 * With currently imposed limits, this means that we support a max delay
48 * first constant multiplications gets optimized away if the delay is
/linux-4.1.27/include/asm-generic/
H A Dtimex.h17 * and define this in order to avoid the expensive delay loop
/linux-4.1.27/drivers/clk/mmp/
H A Dclk-apbc.c16 #include <linux/delay.h>
31 unsigned int delay; member in struct:clk_apbc
58 udelay(apbc->delay); clk_apbc_prepare()
70 udelay(apbc->delay); clk_apbc_prepare()
124 void __iomem *base, unsigned int delay, mmp_clk_register_apbc()
142 apbc->delay = delay; mmp_clk_register_apbc()
123 mmp_clk_register_apbc(const char *name, const char *parent_name, void __iomem *base, unsigned int delay, unsigned int apbc_flags, spinlock_t *lock) mmp_clk_register_apbc() argument
/linux-4.1.27/arch/x86/lib/
H A Ddelay.c18 #include <linux/delay.h>
21 #include <asm/delay.h>
28 /* simple loop based delay: */ delay_loop()
49 /* TSC based delay: */ delay_tsc()
73 * that. The delay must guarantee that we wait "at delay_tsc()
H A DMakefile19 lib-y := delay.o misc.o cmdline.o
/linux-4.1.27/sound/pci/emu10k1/
H A Dtimer.c36 unsigned int delay; snd_emu10k1_timer_start() local
39 delay = timer->sticks - 1; snd_emu10k1_timer_start()
40 if (delay < 5 ) /* minimum time is 5 ticks */ snd_emu10k1_timer_start()
41 delay = 5; snd_emu10k1_timer_start()
44 outw(delay & TIMER_RATE_MASK, emu->port + TIMER); snd_emu10k1_timer_start()
/linux-4.1.27/net/netfilter/
H A Dxt_LED.c66 if ((ledinfo->delay > 0) && ledinfo->always_blink && led_tg()
73 /* If there's a positive delay, start/update the timer */ led_tg()
74 if (ledinfo->delay > 0) { led_tg()
76 jiffies + msecs_to_jiffies(ledinfo->delay)); led_tg()
78 /* Otherwise if there was no delay given, blink as fast as possible */ led_tg()
79 } else if (ledinfo->delay == 0) { led_tg()
83 /* else the delay is negative, which means switch on and stay on */ led_tg()
145 if (ledinfo->delay > 0) led_tg_check()
184 if (ledinfo->delay > 0) led_tg_destroy()
/linux-4.1.27/drivers/leds/trigger/
H A Dledtrig-heartbeat.c37 unsigned long delay = 0; led_heartbeat_function() local
57 delay = msecs_to_jiffies(70); led_heartbeat_function()
62 delay = heartbeat_data->period / 4 - msecs_to_jiffies(70); led_heartbeat_function()
66 delay = msecs_to_jiffies(70); led_heartbeat_function()
71 delay = heartbeat_data->period - heartbeat_data->period / 4 - led_heartbeat_function()
78 mod_timer(&heartbeat_data->timer, jiffies + delay); led_heartbeat_function()
/linux-4.1.27/arch/mips/sgi-ip22/
H A Dip22-nvram.c30 #define delay() ({ \ macro
38 delay(); \
67 delay(); eeprom_cmd()
69 delay(); eeprom_cmd()
88 delay(); ip22_eeprom_read()
90 delay(); ip22_eeprom_read()
/linux-4.1.27/init/
H A Dcalibrate.c1 /* calibrate.c: default delay calibration
8 #include <linux/delay.h>
27 * loops per jiffy directly, instead of guessing it using delay().
179 * For the boot cpu we can skip the delay calibration and assign it a value
253 * Check if cpu calibration delay is already known. For example,
255 * with the same calibration delay.
266 * Indicate the cpu delay calibration is done. This can be used by
267 * architectures to stop accepting delay timer registrations after this point.
283 pr_info("Calibrating delay loop (skipped) " calibrate_delay()
288 pr_info("Calibrating delay loop (skipped) " calibrate_delay()
292 pr_info("Calibrating delay loop (skipped), " calibrate_delay()
298 pr_info("Calibrating delay using timer " calibrate_delay()
302 pr_info("Calibrating delay loop... "); calibrate_delay()
/linux-4.1.27/arch/x86/um/
H A Ddelay.c3 * Mostly copied from arch/x86/lib/delay.c
12 #include <linux/delay.h>
H A DMakefile11 obj-y = bug.o bugs_$(BITS).o delay.o fault.o ksyms.o ldt.o \
/linux-4.1.27/arch/metag/lib/
H A Ddelay.c12 #include <linux/delay.h>
20 * but this is only likely with large delay values.
/linux-4.1.27/net/core/
H A Dlink_watch.c117 unsigned long delay = linkwatch_nextevent - jiffies; linkwatch_schedule_work() local
122 /* Minimise down-time: drop delay for up event. */ linkwatch_schedule_work()
126 delay = 0; linkwatch_schedule_work()
129 /* If we wrap around we'll delay it by at most HZ. */ linkwatch_schedule_work()
130 if (delay > HZ) linkwatch_schedule_work()
131 delay = 0; linkwatch_schedule_work()
140 schedule_delayed_work(&linkwatch_work, delay); linkwatch_schedule_work()
183 /* Limit wrap-around effect on delay. */ __linkwatch_run_queue()
H A Dnet-traces.c17 #include <linux/delay.h>
/linux-4.1.27/samples/pktgen/
H A Dpktgen.conf-1-131 # delay 0 means maximum speed.
40 DELAY="delay 0"
H A Dpktgen.conf-1-1-flows31 # delay 0
41 DELAY="delay 0"
H A Dpktgen.conf-1-1-ip632 # delay 0
41 DELAY="delay 0"
H A Dpktgen.conf-1-1-ip6-rdos32 # delay 0 means maximum speed.
43 DELAY="delay 0"
H A Dpktgen.conf-1-1-rdos31 # delay 0
42 DELAY="delay 0"
H A Dpktgen.conf-1-233 # delay 0 means maximum speed.
42 DELAY="delay 0"
H A Dpktgen.conf-2-138 # delay 0 means maximum speed.
47 DELAY="delay 0"
H A Dpktgen.conf-2-237 # delay 0 means maximum speed.
46 DELAY="delay 0"
/linux-4.1.27/include/linux/
H A Ddelay.h14 #include <asm/delay.h>
21 * specific values can be defined in asm-???/delay.h as an override.
H A Dworkqueue.h431 struct delayed_work *work, unsigned long delay);
433 struct delayed_work *dwork, unsigned long delay);
476 * queue_delayed_work - queue work on a workqueue after delay
479 * @delay: number of jiffies to wait before queueing
485 unsigned long delay) queue_delayed_work()
487 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); queue_delayed_work()
491 * mod_delayed_work - modify delay of or queue a delayed work
494 * @delay: number of jiffies to wait before queueing
500 unsigned long delay) mod_delayed_work()
502 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay); mod_delayed_work()
534 * schedule_delayed_work_on - queue work in global workqueue on CPU after delay
537 * @delay: number of jiffies to wait
543 unsigned long delay) schedule_delayed_work_on()
545 return queue_delayed_work_on(cpu, system_wq, dwork, delay); schedule_delayed_work_on()
549 * schedule_delayed_work - put work task in global workqueue after delay
551 * @delay: number of jiffies to wait or 0 for immediate execution
557 unsigned long delay) schedule_delayed_work()
559 return queue_delayed_work(system_wq, dwork, delay); schedule_delayed_work()
483 queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) queue_delayed_work() argument
498 mod_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) mod_delayed_work() argument
542 schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay) schedule_delayed_work_on() argument
556 schedule_delayed_work(struct delayed_work *dwork, unsigned long delay) schedule_delayed_work() argument
H A Dyam.h69 unsigned int mode; /* mode 0 (simp), 1(Dupl), 2(Dupl+delay) */
70 unsigned int holddly; /* PTT delay in FullDuplex 2 mode */
/linux-4.1.27/arch/x86/kernel/
H A Dio_delay.c2 * I/O delay strategies for inb_p/outb_p
10 #include <linux/delay.h>
34 * 2 usecs is an upper-bound for the outb delay but native_io_delay()
50 pr_notice("%s: using 0xed I/O delay port\n", id->ident); dmi_io_delay_0xed_port()
/linux-4.1.27/arch/sparc/kernel/
H A Dsparc_ksyms_32.c12 #include <asm/delay.h>
/linux-4.1.27/arch/tile/lib/
H A DMakefile5 lib-y = cacheflush.o checksum.o cpumask.o delay.o uaccess.o \
H A Ddelay.c16 #include <linux/delay.h>
/linux-4.1.27/arch/unicore32/lib/
H A DMakefile7 lib-y := backtrace.o delay.o findbit.o
/linux-4.1.27/include/linux/platform_data/
H A Dtouchscreen-s3c2410.h13 int delay; member in struct:s3c2410_ts_mach_info
H A Di2c-davinci.h18 unsigned int bus_delay; /* post-transaction delay (usec) */
H A Dmmc-pxamci.h12 unsigned long detect_delay_ms; /* delay in millisecond before detecting cards after interrupt */
/linux-4.1.27/arch/sh/boards/mach-se/7343/
H A Dsetup.c7 #include <linux/delay.h>
97 static void isp116x_delay(struct device *dev, int delay) isp116x_delay() argument
99 ndelay(delay); isp116x_delay()
125 .delay = isp116x_delay,
/linux-4.1.27/arch/mn10300/include/asm/
H A Ddelay.h1 /* MN10300 Uninterruptible delay routines
/linux-4.1.27/arch/nios2/include/asm/
H A Ddelay.h13 #include <asm-generic/delay.h>
/linux-4.1.27/arch/powerpc/kernel/
H A Drtas-rtc.c6 #include <linux/delay.h>
44 * and if a delay is needed to read the clock. In this case we just
64 "would delay interrupt\n"); rtas_get_rtc_time()
65 return; /* delay not allowed */ rtas_get_rtc_time()
/linux-4.1.27/arch/metag/include/asm/
H A Ddelay.h7 * Delay routines calling functions in arch/metag/lib/delay.c
/linux-4.1.27/arch/unicore32/include/asm/
H A Ddelay.h2 * linux/arch/unicore32/include/asm/delay.h
25 * With currently imposed limits, this means that we support a max delay
37 * first constant multiplications gets optimized away if the delay is
/linux-4.1.27/arch/arm/plat-samsung/
H A Dwatchdog-reset.c18 #include <linux/delay.h>
38 /* delay to allow the serial port to show the message */ samsung_wdt_reset()
63 /* delay to allow the serial port to show the message */ samsung_wdt_reset()
/linux-4.1.27/include/linux/amba/
H A Dpl022.h198 * enum ssp_clkdelay - an optional clock delay on the feedback clock
200 * @SSP_FEEDBACK_CLK_DELAY_NONE: no delay, the data coming in from the
203 * a delay of T-dt
204 * @SSP_FEEDBACK_CLK_DELAY_2T: dito with a delay if 2T-dt
205 * @SSP_FEEDBACK_CLK_DELAY_3T: dito with a delay if 3T-dt
206 * @SSP_FEEDBACK_CLK_DELAY_4T: dito with a delay if 4T-dt
207 * @SSP_FEEDBACK_CLK_DELAY_5T: dito with a delay if 5T-dt
208 * @SSP_FEEDBACK_CLK_DELAY_6T: dito with a delay if 6T-dt
209 * @SSP_FEEDBACK_CLK_DELAY_7T: dito with a delay if 7T-dt
242 * @autosuspend_delay: delay in ms following transfer completion before the
244 * indicates no delay and the device will be suspended immediately.
275 * @clkdelay: on the PL023 variant, the delay in feeback clock cycles
/linux-4.1.27/include/trace/events/
H A Dsched.h314 TP_PROTO(struct task_struct *tsk, u64 delay),
316 TP_ARGS(__perf_task(tsk), __perf_count(delay)),
321 __field( u64, delay )
327 __entry->delay = delay;
330 TP_printk("comm=%s pid=%d delay=%Lu [ns]",
332 (unsigned long long)__entry->delay)
341 TP_PROTO(struct task_struct *tsk, u64 delay),
342 TP_ARGS(tsk, delay));
349 TP_PROTO(struct task_struct *tsk, u64 delay),
350 TP_ARGS(tsk, delay));
357 TP_PROTO(struct task_struct *tsk, u64 delay),
358 TP_ARGS(tsk, delay));
364 TP_PROTO(struct task_struct *tsk, u64 delay),
365 TP_ARGS(tsk, delay));
/linux-4.1.27/arch/m68k/include/asm/
H A Ddelay.h15 * The ColdFire runs the delay loop at significantly different speeds
20 * cycle not three and doesn't allow for an arbitrary delay waiting
74 * the delay is a const.
89 * first constant multiplications gets optimized away if the delay is
96 * nanosecond delay:
/linux-4.1.27/drivers/staging/sm750fb/
H A Dddk750_display.c7 #define primaryWaitVerticalSync(delay) waitNextVerticalSync(0,delay)
45 * until a few delay. Need to write setDisplayControl()
132 static void waitNextVerticalSync(int ctrl,int delay) waitNextVerticalSync() argument
148 while (delay-- > 0) waitNextVerticalSync()
181 while (delay-- > 0) waitNextVerticalSync()
204 static void swPanelPowerSequence(int disp,int delay) swPanelPowerSequence() argument
212 primaryWaitVerticalSync(delay); swPanelPowerSequence()
218 primaryWaitVerticalSync(delay); swPanelPowerSequence()
223 primaryWaitVerticalSync(delay); swPanelPowerSequence()
229 primaryWaitVerticalSync(delay); swPanelPowerSequence()
/linux-4.1.27/arch/m32r/platforms/oaks32r/
H A Dio.c26 static inline void delay(void) delay() function
93 delay(); _inb_p()
100 delay(); _inw_p()
107 delay(); _inl_p()
135 delay(); _outb_p()
141 delay(); _outw_p()
147 delay(); _outl_p()
/linux-4.1.27/arch/m32r/platforms/usrv/
H A Dio.c52 static inline void delay(void) delay() function
90 delay(); _inb_p()
97 delay(); _inw_p()
104 delay(); _inl_p()
135 delay(); _outb_p()
141 delay(); _outw_p()
147 delay(); _outl_p()
/linux-4.1.27/net/ipv4/
H A Dtcp_cubic.c40 /* Number of delay samples for detecting the increase of delay */
76 " 1: packet-train 2: delay 3: both packet-train and delay");
92 u32 delay_min; /* min delay (msec << 3) */
389 static void hystart_update(struct sock *sk, u32 delay) hystart_update() argument
416 /* obtain the minimum delay of more than sampling packets */ hystart_update()
418 if (ca->curr_rtt == 0 || ca->curr_rtt > delay) hystart_update()
419 ca->curr_rtt = delay; hystart_update()
444 u32 delay; bictcp_acked() local
450 /* Discard delay samples right after fast recovery */ bictcp_acked()
454 delay = (rtt_us << 3) / USEC_PER_MSEC; bictcp_acked()
455 if (delay == 0) bictcp_acked()
456 delay = 1; bictcp_acked()
458 /* first time call or link delay decreases */ bictcp_acked()
459 if (ca->delay_min == 0 || ca->delay_min > delay) bictcp_acked()
460 ca->delay_min = delay; bictcp_acked()
465 hystart_update(sk, delay); bictcp_acked()
H A Dtcp_illinois.c111 /* Maximum queuing delay */ max_delay()
117 /* Average queuing delay */ avg_delay()
130 * For larger windows, adjust based on average delay.
131 * A. If average delay is at minimum (we are uncongested),
133 * B. If average delay is at maximum (getting congested)
143 /* If never got out of low delay zone, then use max */ alpha()
186 * If delay is small (10% of max) then beta = 1/8
187 * If delay is up to 80% of max then beta = 1/2
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
H A Dgpmi-lib.c21 #include <linux/delay.h>
382 * as the largest possible delay. This is not what's intended by a zero gpmi_nfc_compute_hardware_timing()
393 * The clock's period affects the sample delay in a number of ways: gpmi_nfc_compute_hardware_timing()
395 * (1) The NFC HAL tells us the maximum clock period the sample delay gpmi_nfc_compute_hardware_timing()
399 * (2) We need to convert from an ideal sample delay, in ns, to a gpmi_nfc_compute_hardware_timing()
400 * "sample delay factor," which the NFC uses. This factor depends on gpmi_nfc_compute_hardware_timing()
408 * AD is the applied delay, in ns. gpmi_nfc_compute_hardware_timing()
409 * SDF is the sample delay factor, which is dimensionless. gpmi_nfc_compute_hardware_timing()
459 * Compute the maximum sample delay the NFC allows, under current gpmi_nfc_compute_hardware_timing()
460 * conditions. If the clock is running too slowly, no sample delay is gpmi_nfc_compute_hardware_timing()
467 * Compute the delay implied by the largest sample delay factor gpmi_nfc_compute_hardware_timing()
475 * Check if the implied sample delay larger than the NFC gpmi_nfc_compute_hardware_timing()
489 * sample delay. gpmi_nfc_compute_hardware_timing()
495 * The ideal sample delay may be greater than the maximum gpmi_nfc_compute_hardware_timing()
496 * allowed by the NFC. If so, we can trade off sample delay time gpmi_nfc_compute_hardware_timing()
501 * the sample delay until we've satisified the constraints or gpmi_nfc_compute_hardware_timing()
516 * Compute the sample delay factor that corresponds most closely gpmi_nfc_compute_hardware_timing()
517 * to the ideal sample delay. If the result is too large for the gpmi_nfc_compute_hardware_timing()
521 * sample delay factor. We do this because the form of the gpmi_nfc_compute_hardware_timing()
543 * propagation delay. gpmi_nfc_compute_hardware_timing()
624 * (1) The *ideal* sample delay time must not be negative. If it is, we gpmi_nfc_compute_hardware_timing()
627 * (2) The *ideal* sample delay time must not be greater than that gpmi_nfc_compute_hardware_timing()
629 * time, which will reduce the delay between the end of the data gpmi_nfc_compute_hardware_timing()
633 * (3) The *quantized* sample delay time must not fall either before the gpmi_nfc_compute_hardware_timing()
638 /* Jam a negative ideal sample delay to zero. */ gpmi_nfc_compute_hardware_timing()
643 * Extend the data setup as needed to reduce the ideal sample delay gpmi_nfc_compute_hardware_timing()
657 * Decrease the ideal sample delay by one half cycle, to keep it gpmi_nfc_compute_hardware_timing()
662 /* Jam a negative ideal sample delay to zero. */ gpmi_nfc_compute_hardware_timing()
668 * Compute the sample delay factor that corresponds to the ideal sample gpmi_nfc_compute_hardware_timing()
669 * delay. If the result is too large, then use the maximum allowed gpmi_nfc_compute_hardware_timing()
673 * delay factor. We do this because the form of the computation is the gpmi_nfc_compute_hardware_timing()
685 * continuously evaluate whether or not the data sample delay is inside gpmi_nfc_compute_hardware_timing()
700 * sample delay or extend the data setup to move the sampling point back gpmi_nfc_compute_hardware_timing()
707 * If control arrives here, the quantized sample delay falls gpmi_nfc_compute_hardware_timing()
713 * If control arrives here, the quantized sample delay gpmi_nfc_compute_hardware_timing()
715 * delay time and then go back to re-evaluate. gpmi_nfc_compute_hardware_timing()
723 * If control arrives here, the quantized sample delay falls gpmi_nfc_compute_hardware_timing()
736 * Decrease the ideal sample delay by one half cycle, to keep it gpmi_nfc_compute_hardware_timing()
741 /* ...and one less period for the delay time. */ gpmi_nfc_compute_hardware_timing()
744 /* Jam a negative ideal sample delay to zero. */ gpmi_nfc_compute_hardware_timing()
749 * We have a new ideal sample delay, so re-compute the quantized gpmi_nfc_compute_hardware_timing()
750 * delay. gpmi_nfc_compute_hardware_timing()
817 * D stands for delay, set in the HW_GPMI_CTRL1:RDN_DELAY.
828 * C : a constant for adjust the delay. default is 4.
865 unsigned long delay; gpmi_compute_edo_timing() local
912 delay = (((t_rea + c - t_rp) * 8) * 10) / rp; gpmi_compute_edo_timing()
913 delay = (delay + 5) / 10; gpmi_compute_edo_timing()
915 hw->sample_delay_factor = delay; gpmi_compute_edo_timing()
1043 /* If no sample delay is called for, return immediately. */ gpmi_begin()
/linux-4.1.27/drivers/input/misc/
H A Dpmic8xxx-pwrkey.c85 unsigned int delay; pmic8xxx_pwrkey_probe() local
96 dev_err(&pdev->dev, "invalid power key trigger delay\n"); pmic8xxx_pwrkey_probe()
125 delay = (kpd_delay << 10) / USEC_PER_SEC; pmic8xxx_pwrkey_probe()
126 delay = 1 + ilog2(delay); pmic8xxx_pwrkey_probe()
135 pon_cntl |= (delay & PON_CNTL_TRIG_DELAY_MASK); pmic8xxx_pwrkey_probe()
/linux-4.1.27/drivers/block/paride/
H A Dparide.h41 int delay; /* adapter delay setting */ member in struct:pi_adapter
67 int delay, /* -1 to use adapter specific default */
100 #define delay_p (pi->delay?udelay(pi->delay):(void)0)
143 int default_delay; /* delay parameter if not specified */
H A Dktti.c16 #include <linux/delay.h>
95 { printk("%s: ktti %s, KT adapter at 0x%x, delay %d\n", ktti_log_adapter()
96 pi->device,KTTI_VERSION,pi->port,pi->delay); ktti_log_adapter()
H A Dbpck.c12 1.01 GRG 1998.05.05 init_proto, release_proto, pi->delay
13 1.02 GRG 1998.08.15 default pi->delay returned to 4
21 #include <linux/delay.h>
354 om = pi->mode; od = pi->delay; bpck_read_eeprom()
355 pi->mode = 0; pi->delay = 6; bpck_read_eeprom()
397 pi->mode = om; pi->delay = od; bpck_read_eeprom()
442 printk(" at 0x%x, mode %d (%s), delay %d\n",pi->port, bpck_log_adapter()
443 pi->mode,mode_string[pi->mode],pi->delay); bpck_log_adapter()
H A Daten.c22 #include <linux/delay.h>
129 printk("mode %d (%s), delay %d\n",pi->mode, aten_log_adapter()
130 mode_string[pi->mode],pi->delay); aten_log_adapter()
H A Dfit2.c20 #include <linux/delay.h>
118 { printk("%s: fit2 %s, FIT 2000 adapter at 0x%x, delay %d\n", fit2_log_adapter()
119 pi->device,FIT2_VERSION,pi->port,pi->delay); fit2_log_adapter()
H A Don20.c19 #include <linux/delay.h>
120 printk("mode %d (%s), delay %d\n",pi->mode, on20_log_adapter()
121 mode_string[pi->mode],pi->delay); on20_log_adapter()
/linux-4.1.27/drivers/staging/rtl8723au/hal/
H A Dodm_RegConfig8723A.c42 /* Add 1us delay between BB/RF register setting. */ odm_ConfigRFReg_8723A()
57 /* Add 1us delay between BB/RF register setting. */ odm_ConfigBB_AGC_8723A()
83 /* Add 1us delay between BB/RF register setting. */ odm_ConfigBB_PHY_8723A()
/linux-4.1.27/drivers/md/
H A Ddm-delay.c18 #define DM_MSG_PREFIX "delay"
122 * <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
153 ti->error = "Invalid delay"; delay_ctr()
174 ti->error = "Invalid write delay"; delay_ctr()
228 static int delay_bio(struct delay_c *dc, int delay, struct bio *bio) delay_bio() argument
233 if (!delay || !atomic_read(&dc->may_delay)) delay_bio()
239 delayed->expires = expires = jiffies + msecs_to_jiffies(delay); delay_bio()
334 .name = "delay",
371 MODULE_DESCRIPTION(DM_NAME " delay target");
/linux-4.1.27/drivers/input/keyboard/
H A Domap-keypad.c32 #include <linux/delay.h>
57 unsigned long delay; member in struct:omap_kp
120 udelay(omap_kp->delay); omap_kp_scan_keypad()
181 int delay = HZ / 20; omap_kp_tasklet() local
185 delay = 2 * HZ; omap_kp_tasklet()
186 mod_timer(&omap_kp_data->timer, jiffies + delay); omap_kp_tasklet()
278 if (pdata->delay) omap_kp_probe()
279 omap_kp->delay = pdata->delay; omap_kp_probe()
/linux-4.1.27/arch/mips/include/asm/
H A Dbugs.h13 #include <linux/delay.h>
/linux-4.1.27/arch/mips/include/asm/mach-jazz/
H A Dmc146818rtc.h14 #include <linux/delay.h>
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dsi21xx.h12 /* minimum delay before retuning */
/linux-4.1.27/drivers/power/reset/
H A Dgpio-restart.c20 #include <linux/delay.h>
95 of_property_read_u32(pdev->dev.of_node, "active-delay", gpio_restart_probe()
97 of_property_read_u32(pdev->dev.of_node, "inactive-delay", gpio_restart_probe()
99 of_property_read_u32(pdev->dev.of_node, "wait-delay", gpio_restart_probe()
/linux-4.1.27/include/linux/power/
H A Dgeneric-adc-battery.h18 * @jitter_delay: delay required after the interrupt to check battery
/linux-4.1.27/arch/openrisc/include/asm/
H A Ddelay.h20 #include <asm-generic/delay.h>
/linux-4.1.27/arch/ia64/hp/sim/
H A Dhpsim_setup.c18 #include <asm/delay.h>
/linux-4.1.27/drivers/md/bcache/
H A Dwriteback.c14 #include <linux/delay.h>
218 unsigned delay = 0; read_dirty() local
240 jiffies_to_msecs(delay) > 50) read_dirty()
241 while (!kthread_should_stop() && delay) read_dirty()
242 delay = schedule_timeout_interruptible(delay); read_dirty()
270 delay = writeback_delay(dc, KEY_SIZE(&w->key)); read_dirty()
457 unsigned delay = dc->writeback_delay * HZ; bch_writeback_thread() local
459 while (delay && bch_writeback_thread()
462 delay = schedule_timeout_interruptible(delay); bch_writeback_thread()
/linux-4.1.27/drivers/hwmon/pmbus/
H A Dzl6100.c29 #include <linux/delay.h>
38 int delay; /* Delay between chip accesses in uS */ member in struct:zl6100_data
60 static ushort delay = ZL6100_WAIT_TIME; variable
61 module_param(delay, ushort, 0644);
62 MODULE_PARM_DESC(delay, "Delay between chip accesses in uS");
130 /* Some chips need a delay between accesses */ zl6100_wait()
133 if (data->delay) { zl6100_wait()
135 if (delta < data->delay) zl6100_wait()
136 udelay(data->delay - delta); zl6100_wait()
364 data->delay = delay; zl6100_probe()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-tiny-usb.c35 /* i2c bit delay, default is 10us -> 100kHz max
38 static unsigned short delay = 10; variable
39 module_param(delay, ushort, 0);
40 MODULE_PARM_DESC(delay, "bit delay in microseconds "
242 if (usb_write(&dev->adapter, CMD_SET_DELAY, delay, 0, NULL, 0) != 0) { i2c_tiny_usb_probe()
244 "failure setting delay to %dus\n", delay); i2c_tiny_usb_probe()
/linux-4.1.27/drivers/iio/adc/
H A Dcc10001_adc.c11 #include <linux/delay.h>
53 * activate START. Since adding two more clock cycles delay does not
54 * impact the performance too much, we are adding two additional cycles delay
111 unsigned int delay) cc10001_adc_poll_done()
119 ndelay(delay); cc10001_adc_poll_done()
128 ndelay(delay); cc10001_adc_poll_done()
158 /* Calculate delay step for eoc and sampled data */ cc10001_adc_trigger_h()
201 /* Calculate delay step for eoc and sampled data */ cc10001_adc_read_raw_voltage()
109 cc10001_adc_poll_done(struct iio_dev *indio_dev, unsigned int channel, unsigned int delay) cc10001_adc_poll_done() argument
/linux-4.1.27/include/sound/
H A Dmax98095.h60 /* Slew amount for jack detection. Calculated as 4 * (delay + 1).
61 * Default delay is 24 to get a time of 100ms.
/linux-4.1.27/include/uapi/linux/
H A Dhdlcdrv.h26 int tx_delay; /* the transmitter keyup delay in 10ms units */
27 int tx_tail; /* the transmitter keyoff delay in 10ms units */
/linux-4.1.27/arch/mips/kernel/
H A Djump_label.c31 * delay-slot instruction, either 256MB or 128MB,
48 /* Jump only works within an aligned region its delay slot is in. */ arch_jump_label_transform()
H A Dcrash.c7 #include <linux/delay.h>
H A Dreset.c14 #include <linux/delay.h>
/linux-4.1.27/arch/avr32/boards/hammerhead/
H A Dflash.c18 #include <linux/delay.h>
126 * The platform delay function is only used to enforce the strange
127 * read to write delay. This can not be configured in the SMC. All other
131 void isp116x_delay(struct device *dev, int delay) isp116x_delay() argument
133 if (delay > 150) isp116x_delay()
134 ndelay(delay - 150); isp116x_delay()
142 .delay = isp116x_delay, /* platform delay function */
/linux-4.1.27/arch/avr32/kernel/
H A Davr32_ksyms.c10 #include <linux/delay.h>
51 /* Delay loops (lib/delay.S) */
/linux-4.1.27/arch/arm/mach-prima2/
H A Drstc.c12 #include <linux/delay.h>
41 * delay between the set and clear of reset bit. it could sirfsoc_reset_module()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dsram.S48 delay: sub r4, r4, #1 label
50 bne delay
/linux-4.1.27/include/linux/iio/common/
H A Dssp_sensors.h74 u32 delay);
81 u32 delay);
/linux-4.1.27/drivers/iio/common/ssp_sensors/
H A Dssp_dev.c224 * @delay: delay in ms
229 u32 delay) ssp_enable_sensor()
234 to_send.a = cpu_to_le32(delay); ssp_enable_sensor()
261 "Changing sensor delay failed\n"); ssp_enable_sensor()
270 data->delay_buf[type] = delay; ssp_enable_sensor()
286 * @delay: delay in ms
291 u32 delay) ssp_change_delay()
296 to_send.a = cpu_to_le32(delay); ssp_change_delay()
303 dev_err(&data->spi->dev, "Changing sensor delay failed\n"); ssp_change_delay()
307 data->delay_buf[type] = delay; ssp_change_delay()
430 int ssp_queue_ssp_refresh_task(struct ssp_data *data, unsigned int delay) ssp_queue_ssp_refresh_task() argument
436 msecs_to_jiffies(delay)); ssp_queue_ssp_refresh_task()
228 ssp_enable_sensor(struct ssp_data *data, enum ssp_sensor_type type, u32 delay) ssp_enable_sensor() argument
290 ssp_change_delay(struct ssp_data *data, enum ssp_sensor_type type, u32 delay) ssp_change_delay() argument
/linux-4.1.27/drivers/char/hw_random/
H A Dtimeriomem-rng.c70 s32 delay; timeriomem_rng_data_read() local
76 delay = cur - priv->expires; timeriomem_rng_data_read()
77 delay = priv->period - (delay % priv->period); timeriomem_rng_data_read()
79 priv->expires = cur + delay; timeriomem_rng_data_read()
H A Dnomadik-rng.c28 * A subsequent read will delay the core for 400ns, so we just read nmk_rng_read()
29 * once and accept the very unlikely very small delay, even if wait==0. nmk_rng_read()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dcpufreq_spudemand.c61 int delay; spu_gov_work() local
72 delay = usecs_to_jiffies(info->poll_int); spu_gov_work()
73 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); spu_gov_work()
78 int delay = usecs_to_jiffies(info->poll_int); spu_gov_init_work() local
80 schedule_delayed_work_on(info->policy->cpu, &info->work, delay); spu_gov_init_work()
/linux-4.1.27/arch/mips/pci/
H A Dops-rc32434.c28 #include <linux/delay.h>
98 int delay = 1; read_config_dword() local
117 if (delay > 4) read_config_dword()
119 delay *= 2; read_config_dword()
120 msleep(delay); read_config_dword()
/linux-4.1.27/drivers/media/pci/pt1/
H A Dva1j5jf8007t.c268 unsigned int mode_flags, unsigned int *delay, va1j5jf8007t_tune()
282 *delay = 3 * HZ; va1j5jf8007t_tune()
292 *delay = 0; va1j5jf8007t_tune()
302 *delay = (HZ + 999) / 1000; va1j5jf8007t_tune()
308 *delay = 0; va1j5jf8007t_tune()
318 *delay = 0; va1j5jf8007t_tune()
330 *delay = 3 * HZ; va1j5jf8007t_tune()
334 *delay = (HZ + 999) / 1000; va1j5jf8007t_tune()
343 *delay = 3 * HZ; va1j5jf8007t_tune()
348 *delay = 3 * HZ; va1j5jf8007t_tune()
266 va1j5jf8007t_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mode_flags, unsigned int *delay, fe_status_t *status) va1j5jf8007t_tune() argument
H A Dva1j5jf8007s.c389 unsigned int mode_flags, unsigned int *delay, va1j5jf8007s_tune()
403 *delay = 3 * HZ; va1j5jf8007s_tune()
413 *delay = 0; va1j5jf8007s_tune()
423 *delay = (HZ + 99) / 100; va1j5jf8007s_tune()
433 *delay = 0; va1j5jf8007s_tune()
443 *delay = (HZ + 999) / 1000; va1j5jf8007s_tune()
449 *delay = 0; va1j5jf8007s_tune()
459 *delay = 0; va1j5jf8007s_tune()
469 *delay = (HZ + 49) / 50; va1j5jf8007s_tune()
475 *delay = 0; va1j5jf8007s_tune()
493 *delay = (HZ + 99) / 100; va1j5jf8007s_tune()
502 *delay = 3 * HZ; va1j5jf8007s_tune()
387 va1j5jf8007s_tune(struct dvb_frontend *fe, bool re_tune, unsigned int mode_flags, unsigned int *delay, fe_status_t *status) va1j5jf8007s_tune() argument
/linux-4.1.27/drivers/leds/
H A Dleds-lm3533.c213 * Returns time code corresponding to *delay (in ms) and updates *delay to
214 * reflect actual hardware delay.
216 * Hardware supports 256 discrete delay times, divided into three groups with
223 * Note that delay group 3 is only available for delay_off.
225 static u8 lm3533_led_get_hw_delay(unsigned *delay) lm3533_led_get_hw_delay() argument
230 t = *delay * 1000; lm3533_led_get_hw_delay()
252 *delay = (t + 500) / 1000; lm3533_led_get_hw_delay()
258 * Set delay register base to *delay (in ms) and update *delay to reflect
259 * actual hardware delay used.
262 unsigned long *delay) lm3533_led_delay_set()
269 t = (unsigned)*delay; lm3533_led_delay_set()
271 /* Delay group 3 is only available for low time (delay off). */ lm3533_led_delay_set()
278 *delay, t, val); lm3533_led_delay_set()
282 dev_err(led->cdev.dev, "failed to set delay (%02x)\n", reg); lm3533_led_delay_set()
284 *delay = t; lm3533_led_delay_set()
261 lm3533_led_delay_set(struct lm3533_led *led, u8 base, unsigned long *delay) lm3533_led_delay_set() argument
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-bcm-kona.c16 #include <linux/delay.h>
85 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) sdhci_bcm_kona_sd_reset()
86 * Back-to-Back writes to same register needs delay when SD bus clock sdhci_bcm_kona_sd_reset()
110 * Back-to-Back register write needs a delay of 1ms at bootup (min 10uS) sdhci_bcm_kona_sd_init()
111 * Back-to-Back writes to same register needs delay when SD bus clock sdhci_bcm_kona_sd_init()
132 * Back-to-Back register write needs a delay of min 10uS. sdhci_bcm_kona_sd_card_emulate()
133 * Back-to-Back writes to same register needs delay when SD bus clock sdhci_bcm_kona_sd_card_emulate()
H A Dsdhci-of-hlwd.c22 #include <linux/delay.h>
32 * We need a small delay after each write, or things go horribly wrong.
/linux-4.1.27/arch/m32r/platforms/m32104ut/
H A Dio.c69 static inline void delay(void) delay() function
132 delay(); _inb_p()
139 delay(); _inw_p()
146 delay(); _inl_p()
174 delay(); _outb_p()
180 delay(); _outw_p()
186 delay(); _outl_p()
/linux-4.1.27/arch/m32r/platforms/mappi/
H A Dio.c41 static inline void delay(void) delay() function
133 delay(); _inb_p()
140 delay(); _inw_p()
147 delay(); _inl_p()
196 delay(); _outb_p()
202 delay(); _outw_p()
208 delay(); _outl_p()
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_cmx.c41 * - Echo generation to benchmark the delay of audio processing.
42 * - Use hardware to minimize cpu load, disable FIFO load and minimize delay.
59 * clock, we will have a delay. The delay will dynamically be increased and
125 /* delay.h is required for hw_lock.h */
128 #include <linux/delay.h>
141 /*#define CMX_DELAY_DEBUG * gives rx-buffer delay overview */
1161 showdelay(struct dsp *dsp, int samples, int delay) showdelay() argument
1171 sdelay = delay * 50 / (dsp_poll << 2); showdelay()
1173 printk(KERN_DEBUG "DELAY (%s) %3d >%s\n", dsp->name, delay, showdelay()
1204 * also add delay if requested by PH_SIGNAL dsp_cmx_receive()
1237 "maximum delay), adjusting read pointer! " dsp_cmx_receive()
1239 /* flush rx buffer and set delay to dsp_poll / 2 */ dsp_cmx_receive()
1257 /* if we have reached double delay, jump back to middle */ dsp_cmx_receive()
1264 "twice the delay is reached), adjusting " dsp_cmx_receive()
1346 /* preload if we have delay set */
1639 int jittercheck = 0, delay, i; local
1755 delay = (dsp->rx_W-dsp->rx_R) & CMX_BUFF_MASK;
1756 if (delay >= CMX_BUFF_HALF)
1757 delay = 0; /* will be the delay before next write */
1758 /* check for lower delay */
1759 if (delay < dsp->rx_delay[0])
1760 dsp->rx_delay[0] = delay;
1762 delay = (dsp->tx_W-dsp->tx_R) & CMX_BUFF_MASK;
1763 if (delay >= CMX_BUFF_HALF)
1764 delay = 0; /* will be the delay before next write */
1765 /* check for lower delay */
1766 if (delay < dsp->tx_delay[0])
1767 dsp->tx_delay[0] = delay;
1770 delay = dsp->rx_delay[0];
1773 if (delay > dsp->rx_delay[i])
1774 delay = dsp->rx_delay[i];
1778 * remove rx_delay only if we have delay AND we
1780 * the delay is greater dsp_poll
1782 if (delay > dsp_poll && !dsp->cmx_delay) {
1787 __func__, delay,
1790 rr = (r + delay - (dsp_poll >> 1))
1802 delay = dsp->tx_delay[0];
1805 if (delay > dsp->tx_delay[i])
1806 delay = dsp->tx_delay[i];
1810 * remove delay only if we have delay AND we
1813 if (delay > dsp_poll && dsp->tx_dejitter) {
1818 __func__, delay,
1821 rr = (r + delay - (dsp_poll >> 1))
1839 dsp->tx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
1840 dsp->rx_delay[0] = CMX_BUFF_HALF; /* (infinite) delay */
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-imx6q.c16 #include <linux/delay.h>
46 /* min rx data delay */ ksz9021rn_phy_fixup()
51 /* max rx/tx clock delay, min rx/tx control delay */ ksz9021rn_phy_fixup()
73 * min rx data delay, max rx/tx clock delay, ksz9031rn_phy_fixup()
74 * min rx/tx control delay ksz9031rn_phy_fixup()
125 /* introduce tx clock delay */ ar8031_phy_fixup()
153 * Also, introduce a tx clock delay. ar8035_phy_fixup()
/linux-4.1.27/drivers/staging/iio/resolver/
H A Dad2s1200.c18 #include <linux/delay.h>
56 /* delay (6 * AD2S1200_TSCLK + 20) nano seconds */ ad2s1200_read_raw()
79 /* delay (2 * AD2S1200_TSCLK + 20) ns for sample pulse */ ad2s1200_read_raw()
/linux-4.1.27/drivers/rtc/
H A Drtc-max6902.c108 /* Compulab used a delay here. However, the datasheet max6902_set_time()
109 * does not mention a delay being required anywhere... */ max6902_set_time()
110 /* delay(2000); */ max6902_set_time()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
H A Dps.c58 unsigned long delay; wl1251_ps_elp_sleep() local
61 delay = msecs_to_jiffies(ELP_ENTRY_DELAY); wl1251_ps_elp_sleep()
62 ieee80211_queue_delayed_work(wl->hw, &wl->elp_work, delay); wl1251_ps_elp_sleep()
H A Dboot.h36 /* delay between retries */
/linux-4.1.27/drivers/input/mouse/
H A Dsynaptics_i2c.c18 #include <linux/delay.h>
373 unsigned long delay) synaptics_i2c_reschedule_work()
379 mod_delayed_work(system_wq, &touch->dwork, delay); synaptics_i2c_reschedule_work()
423 unsigned long delay, nodata_count_thres; synaptics_i2c_adjust_delay() local
426 delay = touch->scan_ms; synaptics_i2c_adjust_delay()
434 delay = NO_DATA_SLEEP_MSECS; synaptics_i2c_adjust_delay()
436 return msecs_to_jiffies(delay); synaptics_i2c_adjust_delay()
438 delay = msecs_to_jiffies(THREAD_IRQ_SLEEP_MSECS); synaptics_i2c_adjust_delay()
439 return round_jiffies_relative(delay); synaptics_i2c_adjust_delay()
449 unsigned long delay; synaptics_i2c_work_handler() local
454 delay = synaptics_i2c_adjust_delay(touch, have_data); synaptics_i2c_work_handler()
464 synaptics_i2c_reschedule_work(touch, delay); synaptics_i2c_work_handler()
372 synaptics_i2c_reschedule_work(struct synaptics_i2c *touch, unsigned long delay) synaptics_i2c_reschedule_work() argument
/linux-4.1.27/drivers/video/backlight/
H A Dlms283gf05.c13 #include <linux/delay.h>
30 unsigned char delay; member in struct:lms283gf05_seq
123 mdelay(seq[i].delay); lms283gf05_toggle()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dtsi108_dev.c17 #include <linux/delay.h>
136 * "txc-rxc-delay-disable" property enables this tsi108_eth_of_init()
141 if (of_get_property(phy, "txc-rxc-delay-disable", NULL)) tsi108_eth_of_init()
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dtimer.c18 #include <linux/delay.h>
26 * __delay() implementation in arch/arm/lib/delay.S shmobile_setup_delay_hz()
28 * this will result in a longer delay than expected shmobile_setup_delay_hz()
/linux-4.1.27/tools/power/cpupower/debug/kernel/
H A Dcpufreq-test_tsc.c2 * test module to check whether the TSC-based delay routine continues
19 * TSC-based delay routine on the Linux kernel does not correctly
27 #include <linux/delay.h>
/linux-4.1.27/drivers/scsi/
H A Dscsi_transport_srp.c27 #include <linux/delay.h>
66 * @reconnect_delay: Reconnect delay in seconds.
226 int res, delay; store_reconnect_delay() local
228 res = srp_parse_tmo(&delay, buf); store_reconnect_delay()
231 res = srp_tmo_valid(delay, rport->fast_io_fail_tmo, store_reconnect_delay()
236 if (rport->reconnect_delay <= 0 && delay > 0 && store_reconnect_delay()
239 delay * HZ); store_reconnect_delay()
240 } else if (delay <= 0) { store_reconnect_delay()
243 rport->reconnect_delay = delay; store_reconnect_delay()
384 int delay, res; srp_reconnect_work() local
391 delay = rport->reconnect_delay * srp_reconnect_work()
393 if (delay > 0) srp_reconnect_work()
395 &rport->reconnect_work, delay * HZ); srp_reconnect_work()
492 int delay, fast_io_fail_tmo, dev_loss_tmo; __srp_start_tl_fail_timers() local
496 delay = rport->reconnect_delay; __srp_start_tl_fail_timers()
504 if (delay > 0) __srp_start_tl_fail_timers()
506 1UL * delay * HZ); __srp_start_tl_fail_timers()
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_83xx.c924 if (p_hdr->delay) qla4_83xx_write_list()
925 udelay((uint32_t)(p_hdr->delay)); qla4_83xx_write_list()
940 if (p_hdr->delay) qla4_83xx_read_write_list()
941 udelay((uint32_t)(p_hdr->delay)); qla4_83xx_read_write_list()
948 long delay; qla4_83xx_poll_list() local
962 delay = (long)p_hdr->delay; qla4_83xx_poll_list()
963 if (!delay) { qla4_83xx_poll_list()
965 qla4_83xx_poll_reg(ha, p_entry->arg1, delay, qla4_83xx_poll_list()
971 if (qla4_83xx_poll_reg(ha, p_entry->arg1, delay, qla4_83xx_poll_list()
986 long delay; qla4_83xx_poll_write_list() local
995 delay = (long)p_hdr->delay; qla4_83xx_poll_write_list()
1002 if (delay) { qla4_83xx_poll_write_list()
1003 if (qla4_83xx_poll_reg(ha, p_entry->ar_addr, delay, qla4_83xx_poll_write_list()
1030 if (p_hdr->delay) qla4_83xx_read_modify_write()
1031 udelay((uint32_t)(p_hdr->delay)); qla4_83xx_read_modify_write()
1038 if (p_hdr->delay) qla4_83xx_pause()
1039 mdelay((uint32_t)((long)p_hdr->delay)); qla4_83xx_pause()
1045 long delay; qla4_83xx_poll_read_list() local
1056 delay = (long)p_hdr->delay; qla4_83xx_poll_read_list()
1061 if (delay) { qla4_83xx_poll_read_list()
1062 if (qla4_83xx_poll_reg(ha, p_entry->ar_addr, delay, qla4_83xx_poll_read_list()
1109 * of entries in sub-sequence and delay in microsecs or timeout in millisecs.
/linux-4.1.27/drivers/staging/fbtft/
H A Dfb_st7735r.c35 -2, 150, /* delay */
39 -2, 500, /* delay */
87 -2, 100, /* delay */
91 -2, 10, /* delay */
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
H A Dpmu.c17 #include <linux/delay.h>
103 uint delay = PMU_MAX_TRANSITION_DLY; si_pmu_fast_pwrup_delay() local
109 delay = 3700; si_pmu_fast_pwrup_delay()
115 return (u16) delay; si_pmu_fast_pwrup_delay()
/linux-4.1.27/drivers/devfreq/
H A Dgovernor.h36 unsigned int *delay);
/linux-4.1.27/arch/sh/kernel/
H A Dlocaltimer.c19 #include <linux/delay.h>
H A Dnmi_debug.c8 #include <linux/delay.h>
H A Dsh_ksyms_64.c24 #include <asm/delay.h>
/linux-4.1.27/arch/unicore32/kernel/
H A Dksyms.c16 #include <linux/delay.h>
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
H A Dos.h15 #include <linux/delay.h>
/linux-4.1.27/arch/microblaze/kernel/
H A Dmicroblaze_ksyms.c13 #include <linux/delay.h>
/linux-4.1.27/drivers/w1/masters/
H A Dw1-gpio.c21 #include <linux/delay.h>
26 static u8 w1_gpio_set_pullup(void *data, int delay) w1_gpio_set_pullup() argument
30 if (delay) { w1_gpio_set_pullup()
31 pdata->pullup_duration = delay; w1_gpio_set_pullup()
/linux-4.1.27/drivers/watchdog/
H A Dmax63xx_wdt.c52 * these values with a grain of salt. Same goes for the initial delay
54 * delay (selected with the "nodelay" parameter).
194 dev_info(&pdev->dev, "using %ds heartbeat with %ds initial delay\n", max63xx_wdt_probe()
254 "Force selection of a timeout setting without initial delay "
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmpc836x_mds.c29 #include <linux/delay.h>
123 * IMMR + 0x14A8[4:5] = 11 (clk delay for UCC 2) mpc836x_mds_setup_arch()
124 * IMMR + 0x14A8[18:19] = 11 (clk delay for UCC 1) mpc836x_mds_setup_arch()
130 * (data delay for both UCC's) mpc836x_mds_setup_arch()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dsmp.c16 #include <linux/delay.h>
/linux-4.1.27/arch/sh/include/asm/
H A Dromimage-macros.h47 /* The WAIT command is used to delay the execution */
/linux-4.1.27/arch/mips/jz4740/
H A Dpm.c18 #include <linux/delay.h>
/linux-4.1.27/arch/openrisc/kernel/
H A Dor32_ksyms.c31 #include <asm/delay.h>
/linux-4.1.27/arch/arm64/include/asm/
H A Dtimex.h23 * the delay loop.
/linux-4.1.27/arch/frv/kernel/
H A Dpm-mb93093.c19 #include <linux/delay.h>
/linux-4.1.27/arch/m68k/kernel/
H A Dmachine_kexec.c7 #include <linux/delay.h>
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dmtd-xip.h27 * xip_cpu_idle() is used when waiting for a delay equal or larger than
/linux-4.1.27/arch/arm/mach-mmp/
H A Davengers_lite.c27 #include <linux/delay.h>
/linux-4.1.27/arch/alpha/lib/
H A Dudelay.c11 #include <linux/delay.h>
/linux-4.1.27/sound/soc/ux500/
H A Dux500_msp_dai.h69 int ux500_msp_dai_set_data_delay(struct snd_soc_dai *dai, int delay);
/linux-4.1.27/sound/synth/emux/
H A Demux_proc.c68 snd_iprintf(buf, "mod delay=%x, atkhld=%x, dcysus=%x, rel=%x\n", snd_emux_proc_info_read()
73 snd_iprintf(buf, "vol delay=%x, atkhld=%x, dcysus=%x, rel=%x\n", snd_emux_proc_info_read()
78 snd_iprintf(buf, "lfo1 delay=%x, lfo2 delay=%x, pefe=%x\n", snd_emux_proc_info_read()
/linux-4.1.27/sound/usb/line6/
H A Dplayback.h23 * the next period (sounds like a delay effect). As a workaround, the output
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-mod0.c195 u8 delay; mmc_get_phase() local
198 delay = (value >> phase->offset) & 0x3; mmc_get_phase()
200 if (!delay) mmc_get_phase()
227 return delay * step; mmc_get_phase()
237 u8 delay; mmc_set_phase() local
279 delay = DIV_ROUND_CLOSEST(degrees, step); mmc_set_phase()
281 delay = 0; mmc_set_phase()
287 value |= delay << phase->offset; mmc_set_phase()
/linux-4.1.27/include/linux/phy/
H A Domap_control_phy.h82 void omap_control_pcie_pcs(struct device *dev, u8 delay);
94 static inline void omap_control_pcie_pcs(struct device *dev, u8 delay) omap_control_pcie_pcs() argument
/linux-4.1.27/include/video/
H A Dudlfb.h90 #define DL_DEFIO_WRITE_DELAY 5 /* fb_deferred_io.delay in jiffies */
91 #define DL_DEFIO_WRITE_DISABLE (HZ*60) /* "disable" with long delay */
/linux-4.1.27/arch/arm64/kernel/
H A Dtime.c35 #include <linux/delay.h>
86 /* Calibrate the delay loop directly */ time_init()
/linux-4.1.27/arch/cris/arch-v10/lib/
H A Dold_checksum.c47 #include <asm/delay.h>
62 __delay(900); /* extra delay of 90 us to test performance hit */ csum_partial()
/linux-4.1.27/include/linux/mfd/samsung/
H A Ds2mps13.h182 * Default ramp delay in uv/us. Datasheet says that ramp delay can be
H A Ds2mps14.h129 * Default ramp delay in uv/us. Datasheet says that ramp delay can be

Completed in 3452 milliseconds

1234567891011>>