/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | renesas_wdt.c | 10 #include <linux/delay.h> 78 unsigned int delay; in rwdt_wait_cycles() local 80 delay = DIV_ROUND_UP(cycles * 1000000, priv->clk_rate); in rwdt_wait_cycles() 82 usleep_range(delay, 2 * delay); in rwdt_wait_cycles()
|
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvc_vio.c | 28 #include <linux/delay.h> 287 volatile unsigned long delay; in udbg_hvc_getc() local 288 for (delay=0; delay < 2000000; delay++) in udbg_hvc_getc()
|
/kernel/linux/linux-6.6/drivers/clk/pxa/ |
H A D | clk-pxa25x.c | 119 #define PXA25X_PBUS95_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ 122 #define PXA25X_PBUS147_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay)\ 125 #define PXA25X_OSC3_CKEN(dev_id, con_id, bit, mult_hp, div_hp, delay) \ 129 #define PXA25X_CKEN_1RATE(dev_id, con_id, bit, parents, delay) \ 132 #define PXA25X_CKEN_1RATE_AO(dev_id, con_id, bit, parents, delay) \
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fan.c | 89 u64 delay; in nvkm_fan_update() local 92 delay = slow_down_period; in nvkm_fan_update() 94 delay = min(bump_period, slow_down_period) ; in nvkm_fan_update() 96 delay = bump_period; in nvkm_fan_update() 98 nvkm_timer_alarm(tmr, delay * 1000 * 1000, &fan->alarm); in nvkm_fan_update()
|
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-tiny-usb.c | 31 /* i2c bit delay, default is 10us -> 100kHz max 34 static unsigned short delay = 10; variable 35 module_param(delay, ushort, 0); 36 MODULE_PARM_DESC(delay, "bit delay in microseconds " 257 if (usb_write(&dev->adapter, CMD_SET_DELAY, delay, 0, NULL, 0) != 0) { in i2c_tiny_usb_probe() 259 "failure setting delay to %dus\n", delay); in i2c_tiny_usb_probe()
|
/kernel/linux/linux-6.6/drivers/leds/ |
H A D | leds-el15203000.c | 5 #include <linux/delay.h> 19 * (*) LEDs MCU board expects 20 msec delay per byte. 81 unsigned long delay; member 100 if (time_after(led->priv->delay, jiffies)) { in el15203000_cmd() 124 led->priv->delay = jiffies + usecs_to_jiffies(EL_FW_DELAY_USEC); in el15203000_cmd() 310 priv->delay = jiffies - in el15203000_probe()
|
/kernel/linux/linux-6.6/drivers/input/misc/ |
H A D | pmic8xxx-pwrkey.c | 337 unsigned int delay; in pmic8xxx_pwrkey_probe() local 347 /* Valid range of pwr key trigger delay is 1/64 sec to 2 seconds. */ in pmic8xxx_pwrkey_probe() 349 dev_err(&pdev->dev, "invalid power key trigger delay\n"); in pmic8xxx_pwrkey_probe() 380 delay = (kpd_delay << 6) / USEC_PER_SEC; in pmic8xxx_pwrkey_probe() 381 delay = ilog2(delay); in pmic8xxx_pwrkey_probe() 390 pon_cntl |= (delay & PON_CNTL_TRIG_DELAY_MASK); in pmic8xxx_pwrkey_probe()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nf_conntrack_ecache.c | 109 int ret, delay = -1; in ecache_work() local 114 delay = ECACHE_RETRY_JIFFIES; in ecache_work() 117 delay = 0; in ecache_work() 123 if (delay >= 0) in ecache_work() 124 schedule_delayed_work(&cnet->ecache.dwork, delay); in ecache_work()
|
/third_party/ffmpeg/libavcodec/ |
H A D | aacpsdsp_template.c | 103 static void ps_decorrelate_c(INTFLOAT (*out)[2], INTFLOAT (*delay)[2], in ps_decorrelate_c() argument 120 INTFLOAT in_re = AAC_MSUB30(delay[n][0], phi_fract[0], delay[n][1], phi_fract[1]); in ps_decorrelate_c() 121 INTFLOAT in_im = AAC_MADD30(delay[n][0], phi_fract[1], delay[n][1], phi_fract[0]); in ps_decorrelate_c()
|
/third_party/node/lib/internal/ |
H A D | abort_controller.js | 121 function setWeakAbortSignalTimeout(weakRef, delay) { 132 }, delay); 181 * @param {number} delay 184 static timeout(delay) { 185 validateUint32(delay, 'delay', false); 190 setWeakAbortSignalTimeout(new WeakRef(signal), delay));
|
/kernel/linux/linux-5.10/sound/soc/samsung/ |
H A D | s3c-i2s-v2.c | 14 #include <linux/delay.h> 531 snd_pcm_sframes_t delay; in s3c2412_i2s_delay() local 534 delay = S3C2412_IISFIC_TXCOUNT(reg); in s3c2412_i2s_delay() 536 delay = S3C2412_IISFIC_RXCOUNT(reg); in s3c2412_i2s_delay() 538 return delay; in s3c2412_i2s_delay() 672 if (!ops->delay) in s3c_i2sv2_register_component() 673 ops->delay = s3c2412_i2s_delay; in s3c_i2sv2_register_component()
|
/kernel/linux/linux-5.10/net/dccp/ |
H A D | output.c | 213 * @delay: timeout in jiffies 215 * This is used by CCIDs which need to delay the send time in process context. 217 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) in dccp_wait_for_ccid() argument 226 remaining = schedule_timeout(delay); in dccp_wait_for_ccid() 308 long delay, rc; in dccp_flush_write_queue() local 323 delay = msecs_to_jiffies(rc); in dccp_flush_write_queue() 324 if (delay > *time_budget) in dccp_flush_write_queue() 326 rc = dccp_wait_for_ccid(sk, delay); in dccp_flush_write_queue() 329 *time_budget -= (delay - rc); in dccp_flush_write_queue()
|
/kernel/linux/linux-6.6/net/dccp/ |
H A D | output.c | 215 * @delay: timeout in jiffies 217 * This is used by CCIDs which need to delay the send time in process context. 219 static int dccp_wait_for_ccid(struct sock *sk, unsigned long delay) in dccp_wait_for_ccid() argument 228 remaining = schedule_timeout(delay); in dccp_wait_for_ccid() 315 long delay, rc; in dccp_flush_write_queue() local 330 delay = msecs_to_jiffies(rc); in dccp_flush_write_queue() 331 if (delay > *time_budget) in dccp_flush_write_queue() 333 rc = dccp_wait_for_ccid(sk, delay); in dccp_flush_write_queue() 336 *time_budget -= (delay - rc); in dccp_flush_write_queue()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_stereotools.c | 44 double delay; member 89 { "delay", "set delay", OFFSET(delay), AV_OPT_TYPE_DOUBLE, {.dbl=0}, -20, 20, A }, 151 const double delay = s->delay; in filter_frame() local 160 int nbuf = inlink->sample_rate * (fabs(delay) / 1000.); in filter_frame() 281 if (delay > 0.) { in filter_frame() 283 } else if (delay < 0.) { in filter_frame()
|
/third_party/node/deps/uv/src/unix/ |
H A D | tcp.c | 392 int uv__tcp_keepalive(int fd, int on, unsigned int delay) { in uv__tcp_keepalive() argument 400 if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &delay, sizeof(delay))) in uv__tcp_keepalive() 412 /* FIXME(bnoordhuis) That's possibly because sizeof(delay) should be 1. */ in uv__tcp_keepalive() 414 if (on && setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &delay, sizeof(delay))) in uv__tcp_keepalive() 440 int uv_tcp_keepalive(uv_tcp_t* handle, int on, unsigned int delay) { in uv_tcp_keepalive() argument 444 err =uv__tcp_keepalive(uv__stream_fd(handle), on, delay); in uv_tcp_keepalive() 454 /* TODO Store delay if uv__stream_fd(handle) == -1 but don't want to enlarge in uv_tcp_keepalive()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 24 #include <linux/delay.h> 87 /** @delay: Structure containing various delay values for this panel. */ 90 * @delay.prepare: Time for the panel to become ready. 98 * @delay.enable: Time for the panel to display a valid frame. 107 * @delay.disable: Time for the panel to turn the display off. 115 * @delay.unprepare: Time to power down completely. 126 } delay; member 295 if (p->desc->delay.disable) in panel_simple_disable() 296 msleep(p->desc->delay in panel_simple_disable() [all...] |
/foundation/arkui/ace_engine/adapter/preview/osal/task/ |
H A D | task_runner_adapter_impl.cpp | 38 std::function<void()> task, uint32_t delay, const std::string& caller, PriorityType priorityType) in PostDelayedTask() 42 postTask(std::move(task), delay); in PostDelayedTask() local 37 PostDelayedTask( std::function<void()> task, uint32_t delay, const std::string& caller, PriorityType priorityType) PostDelayedTask() argument
|
/foundation/arkui/ace_engine/frameworks/component_test/ |
H A D | component_test_manager_impl.h | 36 uint32_t delay = 0) override; 38 uint32_t delay = 0) override;
|
H A D | test_task_scheduler.cpp | 40 TaskExecutor::TaskType taskType, void* data, uint32_t delay) in PushTask() 70 delay, {}); in PushTask() 39 PushTask(std::function<void(void*)>&& task, std::function<void(void*)>&& onFinish, TaskExecutor::TaskType taskType, void* data, uint32_t delay) PushTask() argument
|
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
H A D | platform_max7315.c | 65 .delay = 1, 72 .delay = 1,
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
H A D | txtimestamp.sh | 5 # Verify that timestamps correspond to netem delay 10 # set 1ms delay on lo egress 11 tc qdisc add dev lo root netem delay 1ms 13 # set 2ms delay on ifb0 egress 17 tc qdisc add dev ifb_netem0 root netem delay 2ms
|
/kernel/linux/linux-5.10/drivers/iio/common/ms_sensors/ |
H A D | ms_sensors_i2c.h | 43 int ms_sensors_reset(void *cli, u8 cmd, unsigned int delay); 46 unsigned int delay, u32 *adc);
|
/kernel/linux/linux-5.10/samples/ftrace/ |
H A D | sample-trace-array.c | 67 unsigned long delay = msecs_to_jiffies(5000); in simple_thread() local 76 * delay seconds. in simple_thread() 80 mod_timer(&mytimer, jiffies+delay); in simple_thread()
|
/kernel/linux/linux-5.10/include/linux/phy/ |
H A D | omap_control_phy.h | 72 void omap_control_pcie_pcs(struct device *dev, u8 delay); 84 static inline void omap_control_pcie_pcs(struct device *dev, u8 delay) in omap_control_pcie_pcs() argument
|
/kernel/linux/linux-6.6/include/linux/phy/ |
H A D | omap_control_phy.h | 72 void omap_control_pcie_pcs(struct device *dev, u8 delay); 84 static inline void omap_control_pcie_pcs(struct device *dev, u8 delay) in omap_control_pcie_pcs() argument
|