Searched refs:delay (Results 51 - 75 of 5964) sorted by relevance

1234567891011>>

/linux-master/arch/s390/lib/
H A Ddelay.c10 #include <linux/delay.h>
/linux-master/drivers/leds/rgb/
H A Dleds-ncp5623.c34 unsigned long delay; member in struct:ncp5623
51 if (ncp->delay && time_is_after_jiffies(ncp->delay))
54 ncp->delay = 0;
90 if (ncp->delay && time_is_after_jiffies(ncp->delay))
93 ncp->delay = 0;
137 ncp->delay = NCP5623_MAX_BRIGHTNESS + brightness_diff;
139 ncp->delay = abs(brightness_diff);
141 ncp->delay
[all...]
/linux-master/arch/powerpc/platforms/cell/
H A Dcpufreq_spudemand.c49 int delay; local
60 delay = usecs_to_jiffies(info->poll_int);
61 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
66 int delay = usecs_to_jiffies(info->poll_int); local
68 schedule_delayed_work_on(info->policy->cpu, &info->work, delay);
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drng.c57 u32 delay; local
60 delay = 10;
62 delay = 1000;
64 delay = 10000;
66 return delay;
/linux-master/arch/x86/lib/
H A Ddelay.c19 #include <linux/delay.h>
22 #include <asm/delay.h>
33 * Calibration and selection of the delay mechanism happens only once
39 /* simple loop based delay: */
62 /* TSC based delay: */
84 * that. The delay must guarantee that we wait "at
115 * small compared to the "microseconds" that usleep() will delay.
127 u64 delay; local
129 delay = min_t(u64, MWAITX_MAX_WAIT_CYCLES, cycles);
138 * enter any deep C-state and we use it here in delay() t
[all...]
/linux-master/tools/testing/selftests/net/
H A Dcmsg_time.sh69 [ "$KSFT_MACHINE_SLOW" = yes ] && delay=8000 || delay=1000
71 ts=$(ip netns exec $NS ./cmsg_sender -p $p $i 1234 -t -d $delay |
74 END { if (snd - sch > '$((delay/2))') print "OK";
75 else print snd, "-", sch, "<", '$((delay/2))'; }')
/linux-master/drivers/clk/mmp/
H A Dclk-apbc.c12 #include <linux/delay.h>
27 unsigned int delay; member in struct:clk_apbc
54 udelay(apbc->delay);
66 udelay(apbc->delay);
120 void __iomem *base, unsigned int delay,
138 apbc->delay = delay;
119 mmp_clk_register_apbc(const char *name, const char *parent_name, void __iomem *base, unsigned int delay, unsigned int apbc_flags, spinlock_t *lock) argument
/linux-master/kernel/trace/
H A Dpreemptirq_delay_test.c3 * Preempt / IRQ disable delay thread to test latency tracers
9 #include <linux/delay.h>
21 static ulong delay = 100; variable
26 module_param_named(delay, delay, ulong, 0444);
30 MODULE_PARM_DESC(delay, "Period in microseconds (100 us default)");
57 busy_wait(delay);
64 busy_wait(delay);
218 MODULE_DESCRIPTION("Preempt / IRQ disable delay thread to test latency tracers");
/linux-master/drivers/input/touchscreen/
H A Dwm9713.c16 #include <linux/delay.h>
65 * Set adc sample delay.
71 * This delay can be set by setting delay = n, where n is the array
72 * position of the delay in the array delay_table below.
76 static int delay = 4; variable
77 module_param(delay, int, 0);
78 MODULE_PARM_DESC(delay, "Set adc sample delay.");
94 * order to minimise this, a signal may be applied to the MASK pin to delay o
[all...]
/linux-master/drivers/iio/imu/
H A Dadis.c9 #include <linux/delay.h>
45 .delay.value = adis->data->write_delay,
46 .delay.unit = SPI_DELAY_UNIT_USECS,
52 .delay.value = adis->data->write_delay,
53 .delay.unit = SPI_DELAY_UNIT_USECS,
59 .delay.value = adis->data->write_delay,
60 .delay.unit = SPI_DELAY_UNIT_USECS,
65 .delay.value = adis->data->write_delay,
66 .delay.unit = SPI_DELAY_UNIT_USECS,
71 .delay
[all...]
/linux-master/drivers/iio/common/ms_sensors/
H A Dms_sensors_i2c.c11 #include <linux/delay.h>
41 * @delay: usleep minimal delay after reset command is issued
47 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay) argument
57 usleep_range(delay, delay + 1000);
94 * @delay: usleep minimal delay after conversion command is issued
99 * The function will issue conversion command, sleep appopriate delay, and
105 unsigned int delay, u3
104 ms_sensors_convert_and_read(void *cli, u8 conv, u8 rd, unsigned int delay, u32 *adc) argument
422 u16 delay; local
463 u16 delay; local
626 u16 *prom = dev_data->prom, delay; local
[all...]
/linux-master/net/rxrpc/
H A Dcall_event.c26 ktime_t delay = ms_to_ktime(READ_ONCE(rxrpc_idle_ack_delay)); local
28 ktime_t ping_at = ktime_add(now, delay);
33 trace_rxrpc_timer_set(call, delay, rxrpc_timer_trace_ping);
43 ktime_t now = ktime_get_real(), delay; local
48 delay = (call->peer->srtt_us >> 3) * NSEC_PER_USEC;
50 delay = ms_to_ktime(READ_ONCE(rxrpc_soft_ack_delay));
51 ktime_add_ms(delay, call->tx_backoff);
53 call->delay_ack_at = ktime_add(now, delay);
54 trace_rxrpc_timer_set(call, delay, rxrpc_timer_trace_delayed_ack);
75 ktime_t resend_at = KTIME_MAX, now, delay; local
451 ktime_t next = READ_ONCE(call->expect_term_by), delay; local
[all...]
/linux-master/drivers/leds/trigger/
H A Dledtrig-heartbeat.c39 unsigned long delay = 0; local
64 delay = msecs_to_jiffies(70);
70 delay = heartbeat_data->period / 4 - msecs_to_jiffies(70);
76 delay = msecs_to_jiffies(70);
82 delay = heartbeat_data->period - heartbeat_data->period / 4 -
91 mod_timer(&heartbeat_data->timer, jiffies + delay);
/linux-master/drivers/iio/chemical/
H A Datlas-ezo-sensor.c10 #include <linux/delay.h>
33 int delay; member in struct:atlas_ezo_device
89 .delay = ATLAS_INT_TIME_IN_MS,
94 .delay = ATLAS_INT_TIME_IN_MS,
99 .delay = ATLAS_INT_HUM_TIME_IN_MS,
137 msleep(data->chip->delay);
/linux-master/drivers/clk/rockchip/
H A Dclk-mmc-phase.c40 * Each fine delay is between 44ps-77ps. Assume each fine delay is 60ps to
81 u32 delay; local
104 * Due to the inexact nature of the "fine" delay, we might
112 * On one extreme (if delay is actually 44ps):
114 * The other (if delay is actually 77ps):
117 * It's possible we might make a delay that is up to 25
123 * Convert to delay; do a little extra work to make sure we
126 delay = 10000000; /* PSECS_PER_SEC / 10000 / 10 */
127 delay *
[all...]
/linux-master/arch/arm/lib/
H A Ddelay.c11 #include <linux/delay.h>
18 * Default to the loop-based delay implementation.
21 .delay = __loop_delay,
75 pr_err("Ignoring delay timer %ps, which has insufficient resolution of %lluns\n",
81 pr_info("Switching to timer-based delay loop, resolution %lluns\n", res);
88 arm_delay_ops.delay = __timer_delay;
92 pr_info("Ignoring duplicate/late registration of read_current_timer delay\n");
/linux-master/drivers/ata/pata_parport/
H A Dpata_parport.h19 int delay; /* adapter delay setting */ member in struct:pi_adapter
33 #define delay_p (pi->delay ? udelay(pi->delay) : (void)0)
/linux-master/arch/alpha/lib/
H A Dudelay.c12 #include <linux/delay.h>
/linux-master/arch/parisc/lib/
H A Ddelay.c19 #include <asm/delay.h>
23 /* CR16 based delay: */
52 * that. The delay must guarantee that we wait "at
/linux-master/arch/sh/boards/mach-se/7343/
H A Dsetup.c8 #include <linux/delay.h>
98 static void isp116x_delay(struct device *dev, int delay) argument
100 ndelay(delay);
126 .delay = isp116x_delay,
/linux-master/samples/livepatch/
H A Dlivepatch-callbacks-busymod.c28 #include <linux/delay.h>
/linux-master/drivers/net/ethernet/brocade/bna/
H A Dcna.h19 #include <linux/delay.h>
/linux-master/arch/nios2/lib/
H A Ddelay.c6 #include <asm/delay.h>
/linux-master/arch/x86/um/
H A Ddelay.c4 * Mostly copied from arch/x86/lib/delay.c
9 #include <linux/delay.h>
/linux-master/arch/mips/sgi-ip30/
H A Dip30-power.c15 #include <linux/delay.h>

Completed in 667 milliseconds

1234567891011>>