Searched refs:delay (Results 151 - 175 of 5964) sorted by relevance

1234567891011>>

/linux-master/net/batman-adv/
H A Dsend.h44 unsigned long delay,
48 unsigned long delay,
/linux-master/arch/arm/mach-omap1/
H A Dsram.S45 delay: sub r4, r4, #1 label
47 bne delay
/linux-master/drivers/staging/most/i2c/
H A Di2c.c42 unsigned int delay; member in struct:hdm_i2c::rx
72 unsigned int delay, pr; local
101 delay = msecs_to_jiffies(MSEC_PER_SEC / polling_rate);
102 dev->rx.delay = delay ? delay : 1;
103 pr = MSEC_PER_SEC / jiffies_to_msecs(dev->rx.delay);
245 schedule_delayed_work(&dev->rx.dwork, dev->rx.delay);
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_engine_pm.h63 unsigned long delay)
65 intel_wakeref_put_delay(&engine->wakeref, delay);
62 intel_engine_pm_put_delay(struct intel_engine_cs *engine, unsigned long delay) argument
/linux-master/arch/riscv/lib/
H A DMakefile2 lib-y += delay.o
/linux-master/arch/arm/lib/
H A DMakefile10 delay.o delay-loop.o findbit.o memchr.o memcpy.o \
/linux-master/drivers/input/
H A Dinput-poller.c28 unsigned long delay; local
30 delay = msecs_to_jiffies(poller->poll_interval);
31 if (delay >= HZ)
32 delay = round_jiffies_relative(delay);
34 queue_delayed_work(system_freezable_wq, &poller->work, delay);
/linux-master/drivers/net/netdevsim/
H A Dpsample.c116 unsigned long delay; local
129 delay = msecs_to_jiffies(NSIM_PSAMPLE_REPORT_INTERVAL_MS);
130 schedule_delayed_work(&psample->psample_dw, delay);
137 unsigned long delay; local
148 delay = msecs_to_jiffies(NSIM_PSAMPLE_REPORT_INTERVAL_MS);
149 schedule_delayed_work(&psample->psample_dw, delay);
/linux-master/drivers/gpu/drm/sun4i/
H A Dsun4i_tcon.h58 #define SUN4I_TCON0_CTL_CLK_DELAY(delay) ((delay << 4) & SUN4I_TCON0_CTL_CLK_DELAY_MASK)
130 #define SUN4I_TCON1_CTL_CLK_DELAY(delay) ((delay << 4) & SUN4I_TCON1_CTL_CLK_DELAY_MASK)
193 #define SUN4I_TCON0_CPU_TRI2_START_DELAY(delay) (((delay) & 0xffff) << 16)
/linux-master/drivers/leds/
H A Dleds-cr0014114.c5 #include <linux/delay.h>
58 unsigned long delay; member in struct:cr0014114
118 if (time_after(priv->delay, now)) {
119 udelay = jiffies_to_usecs(priv->delay - now);
139 priv->delay = jiffies + msecs_to_jiffies(CR_FW_DELAY_MSEC);
240 priv->delay = jiffies -
/linux-master/net/nfc/nci/
H A Dspi.c47 t.delay.value = nspi->xfer_udelay;
48 t.delay.unit = SPI_DELAY_UNIT_USECS;
121 * @delay: delay between transactions in us
125 u8 acknowledge_mode, unsigned int delay,
135 nspi->xfer_udelay = delay;
222 rx.delay.value = nspi->xfer_udelay;
223 rx.delay.unit = SPI_DELAY_UNIT_USECS;
124 nci_spi_allocate_spi(struct spi_device *spi, u8 acknowledge_mode, unsigned int delay, struct nci_dev *ndev) argument
/linux-master/drivers/input/keyboard/
H A Domap-keypad.c19 #include <linux/delay.h>
44 unsigned long delay; member in struct:omap_kp
79 udelay(omap_kp->delay);
205 if (pdata->delay)
206 omap_kp->delay = pdata->delay;
/linux-master/tools/testing/selftests/timers/
H A Dfreq-step.c50 double delay, mindelay = 0.0; local
63 delay = diff_timespec(&ts3, &ts1);
64 if (delay <= 1e-9) {
69 if (!i || delay < mindelay) {
71 sample->offset -= delay / 2.0;
73 mindelay = delay;
/linux-master/drivers/misc/cxl/
H A Dhcalls.c9 #include <linux/delay.h>
51 unsigned int delay, total_delay = 0; \
62 delay = 10; \
64 delay = get_longbusy_msecs(rc); \
66 total_delay += delay; \
73 msleep(delay); \
563 unsigned int delay, total_delay = 0; local
580 delay = get_longbusy_msecs(rc);
581 total_delay += delay;
589 msleep(delay);
[all...]
/linux-master/drivers/hwmon/pmbus/
H A Dzl6100.c17 #include <linux/delay.h>
26 int delay; /* Delay between chip accesses in uS */ member in struct:zl6100_data
55 static ushort delay = ZL6100_WAIT_TIME; variable
56 module_param(delay, ushort, 0644);
57 MODULE_PARM_DESC(delay, "Delay between chip accesses in uS");
125 /* Some chips need a delay between accesses */
128 if (data->delay) {
130 if (delta < data->delay)
131 udelay(data->delay - delta);
366 data->delay
[all...]
/linux-master/net/ipv4/
H A Dtcp_cubic.c43 /* Number of delay samples for detecting the increase of delay */
79 " 1: packet-train 2: delay 3: both packet-train and delay");
94 u32 delay_min; /* min delay (usec) */
369 * not account for long aggregation delay when TSO packets get bigger.
386 static void hystart_update(struct sock *sk, u32 delay) argument
428 /* obtain the minimum delay of more than sampling packets */
429 if (ca->curr_rtt > delay)
430 ca->curr_rtt = delay;
452 u32 delay; local
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dbpf_cubic.c43 /* Number of delay samples for detecting the increase of delay */
89 __u32 delay_min; /* min delay (usec) */
437 * not account for long aggregation delay when TSO packets get bigger.
454 static void hystart_update(struct sock *sk, __u32 delay) argument
485 /* obtain the minimum delay of more than sampling packets */
486 if (ca->curr_rtt > delay)
487 ca->curr_rtt = delay;
507 __u32 delay; local
514 /* Discard delay sample
[all...]
/linux-master/include/linux/
H A Dworkqueue.h550 struct delayed_work *work, unsigned long delay);
552 struct delayed_work *dwork, unsigned long delay);
625 * queue_delayed_work - queue work on a workqueue after delay
628 * @delay: number of jiffies to wait before queueing
634 unsigned long delay)
636 return queue_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay);
640 * mod_delayed_work - modify delay of or queue a delayed work
643 * @delay: number of jiffies to wait before queueing
649 unsigned long delay)
651 return mod_delayed_work_on(WORK_CPU_UNBOUND, wq, dwork, delay);
632 queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) argument
647 mod_delayed_work(struct workqueue_struct *wq, struct delayed_work *dwork, unsigned long delay) argument
759 schedule_delayed_work_on(int cpu, struct delayed_work *dwork, unsigned long delay) argument
773 schedule_delayed_work(struct delayed_work *dwork, unsigned long delay) argument
[all...]
/linux-master/drivers/input/mouse/
H A Dsynaptics_i2c.c18 #include <linux/delay.h>
410 unsigned long delay, nodata_count_thres; local
413 delay = touch->scan_ms;
421 delay = NO_DATA_SLEEP_MSECS;
423 return msecs_to_jiffies(delay);
425 delay = msecs_to_jiffies(THREAD_IRQ_SLEEP_MSECS);
426 return round_jiffies_relative(delay);
436 unsigned long delay; local
441 delay = synaptics_i2c_adjust_delay(touch, have_data);
451 mod_delayed_work(system_wq, &touch->dwork, delay);
[all...]
/linux-master/include/trace/events/
H A Dsched.h61 * delayed work is actually queued (ie: once the delay has been
473 TP_PROTO(struct task_struct *tsk, u64 delay),
475 TP_ARGS(__perf_task(tsk), __perf_count(delay)),
480 __field( u64, delay )
486 __entry->delay = delay;
489 TP_printk("comm=%s pid=%d delay=%Lu [ns]",
491 (unsigned long long)__entry->delay)
499 TP_PROTO(struct task_struct *tsk, u64 delay),
500 TP_ARGS(tsk, delay));
[all...]
/linux-master/drivers/iio/humidity/
H A Dhdc100x.c16 #include <linux/delay.h>
171 int delay = data->adc_int_us[chan->address] + 1*USEC_PER_MSEC; local
183 usleep_range(delay, delay + 1000);
321 int delay = data->adc_int_us[0] + data->adc_int_us[1] + 2*USEC_PER_MSEC; local
331 usleep_range(delay, delay + 1000);
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dfw_common.c108 u8 delay = 100; local
111 delay *= RTL_USB_DELAY_FACTOR;
128 delay--;
129 if (delay == 0)
136 if ((u1b_tmp & (FEN_CPUEN >> 8)) && delay == 0)
140 WARN_ONCE((delay <= 0), "rtl8192de: 8051 reset failed!\n");
142 "=====> 8051 reset success (%d)\n", delay);
/linux-master/drivers/platform/chrome/
H A Dcros_ec_spi.c6 #include <linux/delay.h>
119 * Turn off CS, possibly adding a delay to ensure the rising edge
124 trans.delay.value = ec_spi->end_of_msg_delay;
125 trans.delay.unit = SPI_DELAY_UNIT_USECS;
396 unsigned long delay; local
404 delay = ktime_get_ns() - ec_spi->last_transfer_ns;
405 if (delay < EC_SPI_RECOVERY_TIME_NS)
406 ndelay(EC_SPI_RECOVERY_TIME_NS - delay);
421 trans_delay.delay.value = ec_spi->start_of_msg_delay;
422 trans_delay.delay
541 unsigned long delay; local
[all...]
/linux-master/drivers/fpga/
H A Dmachxo2-spi.c11 #include <linux/delay.h>
160 tx[1].delay.value = MACHXO2_REFRESH_USEC;
161 tx[1].delay.unit = SPI_DELAY_UNIT_USECS;
212 tx[0].delay.value = MACHXO2_LOW_DELAY_USEC;
213 tx[0].delay.unit = SPI_DELAY_UNIT_USECS;
276 tx.delay.value = MACHXO2_HIGH_DELAY_USEC;
277 tx.delay.unit = SPI_DELAY_UNIT_USECS;
326 tx[1].delay.value = MACHXO2_REFRESH_USEC;
327 tx[1].delay.unit = SPI_DELAY_UNIT_USECS;
/linux-master/drivers/md/
H A Ddm-delay.c20 #define DM_MSG_PREFIX "delay"
25 unsigned int delay; member in struct:delay_class
189 if (sscanf(argv[2], "%u%c", &c->delay, &dummy) != 1) {
190 ti->error = "Invalid delay";
205 * <device> <offset> <delay> [<write_device> <write_offset> <write_delay>]
238 max_delay = dc->read.delay;
253 max_delay = max(max_delay, dc->write.delay);
265 max_delay = max(max_delay, dc->flush.delay);
273 dc->worker = kthread_run(&flush_worker_fn, dc, "dm-delay-flush-worker");
306 if (!c->delay)
437 module_dm(delay); variable
[all...]

Completed in 402 milliseconds

1234567891011>>