/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/ |
H A D | chan.c | 313 u32 delay; in rtw89_queue_chanctx_work() local 320 delay = ieee80211_tu_to_usec(RTW89_CHANCTX_TIME_MCC_PREPARE); in rtw89_queue_chanctx_work() 325 "queue chanctx work for mode %d with delay %d us\n", in rtw89_queue_chanctx_work() 326 mode, delay); in rtw89_queue_chanctx_work() 328 usecs_to_jiffies(delay)); in rtw89_queue_chanctx_work()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | bh1750.c | 20 #include <linux/delay.h> 110 unsigned long delay = chip_info->mtreg_to_usec * data->mtreg; in bh1750_read() local 120 usleep_range(delay + 15000, delay + 40000); in bh1750_read()
|
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | cc10001_adc.c | 7 #include <linux/delay.h> 48 * activate START. Since adding two more clock cycles delay does not 49 * impact the performance too much, we are adding two additional cycles delay 107 unsigned int delay) in cc10001_adc_poll_done() 115 ndelay(delay); in cc10001_adc_poll_done() 124 ndelay(delay); in cc10001_adc_poll_done() 155 /* Calculate delay step for eoc and sampled data */ in cc10001_adc_trigger_h() 200 /* Calculate delay step for eoc and sampled data */ in cc10001_adc_read_raw_voltage() 105 cc10001_adc_poll_done(struct iio_dev *indio_dev, unsigned int channel, unsigned int delay) cc10001_adc_poll_done() argument
|
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | windfarm_core.c | 87 unsigned long next, delay; in wf_thread_func() local 115 delay = next - jiffies; in wf_thread_func() 116 if (delay <= HZ) in wf_thread_func() 117 schedule_timeout_interruptible(delay); in wf_thread_func()
|
/kernel/linux/linux-6.6/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 59 " -d : delay time to keep tasks alive.\n" 236 int delay = 0; in main() local 251 delay = (int)strtol(optarg, NULL, 10); in main() 271 delay = -1; in main() 353 sleep(delay); in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | nf-queue.c | 259 static void sleep_ms(uint32_t delay) in sleep_ms() argument 261 struct timespec ts = { .tv_sec = delay / 1000 }; in sleep_ms() 263 delay %= 1000; in sleep_ms() 265 ts.tv_nsec = delay * 1000llu * 1000llu; in sleep_ms() 359 fprintf(stderr, "Expected nonzero delay (in milliseconds)\n"); in parse_opts()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_aresample.c | 174 int64_t delay; in filter_frame() local 180 delay = swr_get_delay(aresample->swr, outlink->sample_rate); in filter_frame() 181 if (delay > 0) in filter_frame() 182 n_out += FFMIN(delay, FFMAX(4096, n_out)); in filter_frame()
|
/third_party/backends/backend/ |
H A D | canon_pp-io.c | 109 int mask, unsigned int delay); 550 /* A timed version of expect, which will wait for delay before erroring 553 int mask, unsigned int delay) in expect() 557 tv.tv_sec = delay / 1000000; in expect() 558 tv.tv_usec = delay % 1000000; in expect() 552 expect(struct parport *port, const char *msg, int s, int mask, unsigned int delay) expect() argument
|
/third_party/node/deps/undici/src/lib/mock/ |
H A D | mock-utils.js | 230 const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch 244 // Handle the request with a delay if necessary 245 if (typeof delay === 'number' && delay > 0) { 248 }, delay)
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/ |
H A D | kvdb_service_impl.cpp | 244 auto delay = GetSyncDelayTime(syncInfo.delay, storeId); in Sync() local 260 return KvStoreSyncManager::GetInstance()->AddSyncOperation(uintptr_t(metaData.tokenId), delay, in Sync() 265 Status KVDBServiceImpl::NotifyDataChange(const AppId &appId, const StoreId &storeId, uint64_t delay) in NotifyDataChange() argument 280 executors_->Schedule(std::chrono::milliseconds(delay), [this, meta]() { in NotifyDataChange() 523 auto delay = GetSyncDelayTime(syncInfo.delay, storeId); in AddSubscribeInfo() local 524 return KvStoreSyncManager::GetInstance()->AddSyncOperation(uintptr_t(metaData.tokenId), delay, in AddSubscribeInfo() 533 auto delay = GetSyncDelayTime(syncInfo.delay, storeI in RmvSubscribeInfo() local 1148 GetSyncDelayTime(uint32_t delay, const StoreId &storeId) GetSyncDelayTime() argument [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_cbq.c | 46 incomplete, delay may actually be estimated even if class 397 psched_tdiff_t delay = cl->undertime - q->now; in cbq_overlimit() local 400 delay += cl->offtime; in cbq_overlimit() 410 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log); in cbq_overlimit() 413 if (delay <= 0) in cbq_overlimit() 414 delay = 1; in cbq_overlimit() 415 cl->undertime = q->now + delay; in cbq_overlimit() 420 if (q->wd_expires == 0 || q->wd_expires > delay) in cbq_overlimit() 421 q->wd_expires = delay; in cbq_overlimit() 432 delay in cbq_overlimit() 485 psched_tdiff_t delay = 0; cbq_undelay() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 23 #include <linux/delay.h> 260 int delay; in vnic_dev_cmd1() local 291 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd1() 326 int delay; in vnic_dev_cmd2() local 387 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd2()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-max77686.c | 12 #include <linux/delay.h> 66 unsigned long delay; member 193 .delay = 16000, 211 .delay = 16000, 261 .delay = 200, 333 unsigned long delay = info->drv_data->delay; in max77686_rtc_update() local 347 /* Minimum delay required before RTC update. */ in max77686_rtc_update() 348 usleep_range(delay, delay * in max77686_rtc_update() [all...] |
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | adp5588-keys.c | 12 #include <linux/delay.h> 172 * Early pre 4.0 Silicon required to delay readout by at least 25ms, 185 unsigned long delay; member 565 unsigned long delay; in adp5588_thread_irq() local 572 if (kpad->delay) { in adp5588_thread_irq() 573 target_time = ktime_add_ms(kpad->irq_time, kpad->delay); in adp5588_thread_irq() 576 delay = ktime_to_us(ktime_sub(target_time, now)); in adp5588_thread_irq() 577 usleep_range(delay, delay + 1000); in adp5588_thread_irq() 766 kpad->delay in adp5588_probe() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H A D | vnic_dev.c | 11 #include <linux/delay.h> 248 int delay; in vnic_dev_cmd1() local 279 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd1() 314 int delay; in vnic_dev_cmd2() local 375 for (delay = 0; delay < wait; delay++) { in vnic_dev_cmd2()
|
/kernel/linux/linux-6.6/net/netfilter/ipvs/ |
H A D | ip_vs_est.c | 395 int delay = est->ktrow; in ip_vs_enqueue_estimator() local 417 if (kd->est_count >= 2 * kd->tick_max || delay < IPVS_EST_NTICKS - 1) in ip_vs_enqueue_estimator() 421 crow += delay; in ip_vs_enqueue_estimator() 424 /* Assume initial delay ? */ in ip_vs_enqueue_estimator() 425 if (delay >= IPVS_EST_NTICKS - 1) { in ip_vs_enqueue_estimator() 426 /* Preserve initial delay or decrease it if no space in tick */ in ip_vs_enqueue_estimator() 435 /* Preserve delay or increase it if no space in tick */ in ip_vs_enqueue_estimator() 491 est->ktrow = IPVS_EST_NTICKS - 1; /* Initial delay */ in ip_vs_start_estimator() 742 int id, row, cid, delay; in ip_vs_est_calc_phase() local 773 /* Order entries in est_temp_list in ascending delay, s in ip_vs_est_calc_phase() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_sched.c | 62 * Where possible, it tries to pick instructions that avoid nop delay 127 unsigned delay; member 322 unsigned delay = (unsigned)(uintptr_t)edge->data; in schedule() local 325 child->earliest_ip = MAX2(child->earliest_ip, ctx->ip + delay); in schedule() 712 * delay. in choose_instr_dec() 787 /* Pick the max delay of the remaining ready set. */ in choose_instr_inc() 1065 n->delay = MAX2(n->delay, d_soft); in sched_node_add_dep() 1153 n->max_delay = MAX2(n->max_delay, max_delay + n->delay); in sched_dag_max_delay_cb() 1234 unsigned delay in sched_block() local [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_qpu_schedule.c | 59 uint32_t delay; member 558 * will handle pairing it along with filling the delay slots. in choose_instruction_to_schedule() 576 * last one, if the remaining instructions fit in the delay in choose_instruction_to_schedule() 616 * other instructions, allowing us to delay the in choose_instruction_to_schedule() 645 if (n->delay > chosen->delay) { in choose_instruction_to_schedule() 648 } else if (n->delay < chosen->delay) { in choose_instruction_to_schedule() 768 /** Recursive computation of the delay member of a node. */ 774 n->delay in compute_delay() [all...] |
/foundation/multimodalinput/input/service/key_command/src/ |
H A D | key_command_handler.cpp | 956 if (item.delay > tempDelay) { in ParseRepeatKeyMaxCount() 957 tempDelay = item.delay; in ParseRepeatKeyMaxCount() 1064 MMI_HILOGD("keyCode:%d, keyAction:%{public}d, delay:%{public}" PRId64, in PrintExcludeKeys() 1065 excludeKeys_[i].keyCode, excludeKeys_[i].keyAction, excludeKeys_[i].delay); in PrintExcludeKeys() 1076 MMI_HILOGI("keyCode:%d, keyAction:%{public}d, delay:%{public}" PRId64, in PrintSeq() 1077 sequenceKey.keyCode, sequenceKey.keyAction, sequenceKey.delay); in PrintSeq() 1409 } else if (downActionTime_ - lastDownActionTime_ < item.delay) { in HandleRepeatKeyOwnCount() 1412 } else if (downActionTime_ - upActionTime_ < item.delay) { in HandleRepeatKeyOwnCount() 1705 int32_t delay = GetKeyDownDurationFromXml(shortcutKey.businessId); in MatchShortcutKey() local 1706 if (delay > in MatchShortcutKey() 1946 int64_t delay = sequence.sequenceKeys[i].delay; HandleSequence() local 2086 LaunchAbility(const Ability &ability, int64_t delay) LaunchAbility() argument 2254 UpdateSettingsXml(const std::string &businessId, int32_t delay) UpdateSettingsXml() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/hyper_graphic_manager/core/utils/ |
H A D | hgm_one_shot_timer.cpp | 212 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>( in Loop() local 214 if (delay > ZERO) { in Loop() 217 handler_->PostTask([this] () { Loop(); }, name_, delay.count()); in Loop()
|
/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/ |
H A D | slide_recognizer.cpp | 139 }, {}, {}, ffrt::task_attr().delay(listFlingEndTime_)); in HandleListFlingStart() 145 }, {}, {}, ffrt::task_attr().delay(listFlingTimeOutTime_)); in HandleListFlingStart() 169 }, {}, {}, ffrt::task_attr().delay(listFlingEndTime_)); in HandleSendFrameEvent()
|
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | vtp_instance.cpp | 223 std::thread delay(WaitForDestroy, DESTROY_TIMEOUT_SECOND); in DestroyVtp() 224 pthread_setname_np(delay.native_handle(), threadName.c_str()); in DestroyVtp() 225 delay.detach(); in DestroyVtp()
|
/kernel/linux/linux-5.10/drivers/clocksource/ |
H A D | timer-atcpit100.c | 82 static void atcpit100_clkevt_time_setup(void __iomem *base, unsigned long delay) in atcpit100_clkevt_time_setup() argument 84 writel(delay, base + CH0_CNT); in atcpit100_clkevt_time_setup() 85 writel(delay, base + CH0_REL); in atcpit100_clkevt_time_setup()
|
/kernel/linux/linux-5.10/drivers/hv/ |
H A D | hyperv_vmbus.h | 394 enum delay { enum 453 void hv_debug_delay_test(struct vmbus_channel *channel, enum delay delay_type); 460 enum delay delay_type) {}; in hv_debug_delay_test()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | ti-tlc4541.c | 16 #include <linux/delay.h> 192 st->scan_single_xfer[1].delay.value = 3; in tlc4541_probe() 193 st->scan_single_xfer[1].delay.unit = SPI_DELAY_UNIT_NSECS; in tlc4541_probe()
|