/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-s3c.c | 129 /* Read time from RTC and convert it from BCD */ 169 /* Convert time to BCD and write it to RTC */ 199 /* Convert internal representation to actual date/time */ in s3c_rtc_gettime() 203 dev_dbg(dev, "read time %ptR\n", tm); in s3c_rtc_gettime() 212 dev_dbg(dev, "set time %ptR\n", tm); in s3c_rtc_settime() 215 * Convert actual date/time to internal representation. in s3c_rtc_settime() 227 struct rtc_time *alm_tm = &alrm->time; in s3c_rtc_getalarm() 277 struct rtc_time *tm = &alrm->time; in s3c_rtc_setalarm()
|
H A D | rtc-sh.c | 394 struct rtc_time *tm = &wkalrm->time; in sh_rtc_read_alarm() 428 struct rtc_time *tm = &wkalrm->time; in sh_rtc_set_alarm() 438 /* set alarm time */ in sh_rtc_set_alarm()
|
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | lockdep_proc.c | 441 static void seq_time(struct seq_file *m, s64 time) in seq_time() argument 445 snprint_time(num, sizeof(num), time); in seq_time()
|
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A D | debugfs.c | 408 unsigned long time, in calc_expire_secs() 411 expire = time + expire; in calc_expire_secs() 407 calc_expire_secs(unsigned long now, unsigned long time, unsigned long expire) calc_expire_secs() argument
|
/kernel/linux/linux-6.6/drivers/net/fddi/skfp/h/ |
H A D | cmtdef.h | 380 * convert MIB time in units of 80nS to uS 390 u_long tm_delta ; /* delta time */ 504 void smt_timer_start(struct s_smc *smc, struct smt_timer *timer, u_long time, 525 void hwt_start(struct s_smc *smc, u_long time);
|
/kernel/linux/linux-6.6/arch/x86/platform/efi/ |
H A D | efi.c | 43 #include <linux/time.h> 51 #include <asm/time.h> 572 * A first-time allocation doesn't have anything to copy. in realloc_pages()
|
/kernel/linux/linux-6.6/drivers/iio/light/ |
H A D | opt3001.c | 66 * sect. 6.5 states results are ready after total integration time plus 3ms. 282 /* Sleep for result ready time */ in opt3001_get_lux() 355 static int opt3001_set_int_time(struct opt3001 *opt, int time) in opt3001_set_int_time() argument 369 switch (time) { in opt3001_set_int_time() 639 /* Reflect status of the device's integration time setting */ in opt3001_configure()
|
/kernel/linux/linux-6.6/scripts/kconfig/ |
H A D | conf.c | 11 #include <time.h> 14 #include <sys/time.h>
|
/kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
H A D | timerlat_top.c | 13 #include <time.h> 349 " -d/--duration time[m|h|d]: duration of the session in seconds", in timerlat_top_usage() 869 top->start_time = time(NULL); in timerlat_top_main()
|
H A D | osnoise_hist.c | 14 #include <time.h> 453 " -d/--duration time[s|m|h|d]: duration of the session", in osnoise_hist_usage() 902 tool->start_time = time(NULL); in osnoise_hist_main()
|
/kernel/linux/linux-6.6/sound/core/seq/oss/ |
H A D | seq_oss_midi.c | 605 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_synth_event() 620 snd_seq_oss_readq_put_timestamp(dp->readq, ev->time.tick, dp->seq_mode); in send_midi_event()
|
/kernel/liteos_a/fs/proc/os_adapt/ |
H A D | process_proc.c | 91 count = snprintf_s(buffer, bufLen, bufLen - 1, "'time:[%u]'", containerID); in ProcessContainerLink() 224 #define TIME_CYCLE_TO_US(time) ((((UINT64)time) * OS_NS_PER_CYCLE) / OS_SYS_NS_PER_US) 567 .name = "container/time",
|
/kernel/linux/linux-6.6/sound/drivers/vx/ |
H A D | vx_core.c | 35 * @time: time-out of loop in msec 39 int snd_vx_check_reg_bit(struct vx_core *chip, int reg, int mask, int bit, int time) in snd_vx_check_reg_bit() argument 41 unsigned long end_time = jiffies + (time * HZ + 999) / 1000; in snd_vx_check_reg_bit() 528 /* The start on time code conditions are filled (ie the time code in snd_vx_threaded_irq_handler()
|
/kernel/liteos_m/components/cpup/ |
H A D | los_cpup.c | 173 /* The calculation time unit is changed to us to decouple the influence of
178 UINT64 time = LOS_SysCycleGet();
in CpupTimeUsGet() local 179 return OS_SYS_CYCLE_TO_US(time);
in CpupTimeUsGet() 324 // get end time of current task
in LOS_SysCpuUsage() 363 // get end time of current task
in LOS_HistorySysCpuUsage()
|
/test/ostest/wukong/test_flow/src/ |
H A D | random_test_flow.cpp | 46 " -T, --time test time\n" 62 {"time", required_argument, nullptr, 'T'}, // test time 218 time_t tempSeed = time(nullptr); in EnvInit() 220 seedArgs_ = (int)time(nullptr); in EnvInit() 228 // if time test flow, register timer. in EnvInit() 648 // check if the '-c' and 'T' is exist at the same time in CheckArgumentOptionOfc() 669 // check if the '-c' and 'T' is exist at the same time in CheckArgumentOptionOfT()
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/environment/ |
H A D | device_lite.py | 21 import time namespace 421 time.sleep(2)
|
/test/testfwk/developer_test/src/core/driver/ |
H A D | openharmony.py | 23 import time namespace 494 serial = "{}_{}".format(str(self.config.device.__get_serial__()), time.time_ns())
|
/test/xts/acts/kernel_lite/time_posix/src/ |
H A D | AlarmTest.cpp | 19 #include <time.h>
21 #include <sys/time.h>
386 * @tc.name timer_gettime function create a timer and get time test
447 * @tc.name timer_getoverrun function create a timer for SIGALRM signal and get overrun time test
609 * @tc.name getitimer function create a timer and get time test
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
H A D | event_manager.cpp | 197 int64_t currentEventTime = static_cast<int64_t>(touchPoint.time.time_since_epoch().count()); in CheckRefereeStateAndReTouchTest() 267 hitEmptyMessage->Put("currentTime", static_cast<int64_t>(touchPoint.time.time_since_epoch().count())); in RecordHitEmptyMessage() 413 .downTime = axisEvent.time, in ConvertAxisEventToTouchEvent() 424 .SetTime(axisEvent.time) in ConvertAxisEventToTouchEvent() 761 lastEventTime_ = point.time; in DispatchTouchEvent() 792 lastEventTime_ = point.time; in UpdateInfoWhenFinishDispatch() 976 lastEventTime_ = event.time; in DispatchTouchEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | drag_drop_manager_test_ng_coverage.cpp | 569 * @tc.desc: Test isTimeLimited when time interval is less than the limit 584 * @tc.desc: Test isTimeLimited when time interval is equal to the limit 593 pointerEvent.time += std::chrono::milliseconds(1000); // 1000ms after preTimeStamp_ in HWTEST_F() 600 * @tc.desc: Test isTimeLimited when time interval is greater than the limit 609 pointerEvent.time += std::chrono::milliseconds(2500); // 1500ms after preTimeStamp_ in HWTEST_F() 616 * @tc.desc: Test isTimeLimited when time is the same as preTimeStamp 625 pointerEvent.time += std::chrono::milliseconds(1000); // Same as preTimeStamp_ in HWTEST_F() 632 * @tc.desc: Test isTimeLimited when current time is less than preTimeStamp 641 pointerEvent.time += std::chrono::milliseconds(1500); // Less than preTimeStamp_ in HWTEST_F() 648 * @tc.desc: Test ReachMoveLimit when current time i [all...] |
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | protocol.c | 609 * it's time to ack the DATA_FIN and change socket state, but in move_skbs_to_msk() 1258 * at selection time, if possible. in mptcp_sendmsg() 1280 * been acked at mptcp level in the mean time, so there is in mptcp_sendmsg() 1385 u32 time, advmss = 1; in mptcp_rcv_space_adjust() local 1396 time = tcp_stamp_us_delta(mstamp, msk->rcvq_space.time); in mptcp_rcv_space_adjust() 1399 if (rtt_us && time < (rtt_us >> 3)) in mptcp_rcv_space_adjust() 1418 if (time < (rtt_us >> 3) || rtt_us == 0) in mptcp_rcv_space_adjust() 1472 msk->rcvq_space.time = mstamp; in mptcp_rcv_space_adjust() 2111 msk->rcvq_space.time in mptcp_rcv_space_init() [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac.c | 530 /* this prevent excessive time wait when we in rtllib_softmac_scan_syncro() 1530 /* Join the network for the first time */ in rtllib_softmac_new_net() 1719 static short rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) in rtllib_sta_ps_sleep() argument 1751 if (time) { in rtllib_sta_ps_sleep() 1794 *time = ieee->current_network.last_dtim_sta_time in rtllib_sta_ps_sleep() 1806 u64 time; in rtllib_sta_ps() local 1822 sleep = rtllib_sta_ps_sleep(ieee, &time); in rtllib_sta_ps() 1828 ieee->enter_sleep_state(ieee->dev, time); in rtllib_sta_ps() 1836 ieee->ps_time = time; in rtllib_sta_ps() 2175 * So the driver receives a fragment per time an [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-inject.c | 848 sample_sw.time = sample->time; in perf_inject__sched_stat() 1407 gs->ev.sample.time = 0; in guest_session__fetch() 1425 guest_session__convert_time(gs, gs->ev.sample.time, &gs->ev.sample.time); in guest_session__fetch() 1489 if (sample->time > timestamp) in guest_session__inject_events() 1581 ret = guest_session__inject_events(&inject->guest_session, sample->time); in host__repipe() 1642 * which flushes host events to file up until the last flush time. Then inject 1643 * guest events up to the same time. Finally write out the FINISHED_ROUND event 2253 OPT_CALLBACK_OPTARG(0, "vm-time in cmd_inject() [all...] |
/foundation/graphic/graphic_surface/surface/src/ |
H A D | buffer_queue_producer.cpp | 710 int64_t time = 0; in GetPresentTimestampRemote() local 711 GSError sRet = GetPresentTimestamp(sequence, type, time); in GetPresentTimestampRemote() 715 if (sRet == GSERROR_OK && !reply.WriteInt64(time)) { in GetPresentTimestampRemote() 1381 GSError BufferQueueProducer::GetPresentTimestamp(uint32_t sequence, GraphicPresentTimestampType type, int64_t &time) in GetPresentTimestamp() argument 1386 return bufferQueue_->GetPresentTimestamp(sequence, type, time); in GetPresentTimestamp()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_single_ver_natural_store.cpp | 240 int SQLiteSingleVerNaturalStore::SetAutoLifeCycleTime(uint32_t time) in SetAutoLifeCycleTime() argument 244 autoLifeTime_ = time; in SetAutoLifeCycleTime() 250 LOGI("[SingleVer] Set life cycle to %u", time); in SetAutoLifeCycleTime() 251 int errCode = runtimeCxt->ModifyTimer(lifeTimerId_, time); in SetAutoLifeCycleTime() 255 autoLifeTime_ = time; in SetAutoLifeCycleTime() 565 errCode = handle->PutKvData(SingleVerDataType::META_TYPE, key, value, 0, nullptr); // meta doesn't need time. in PutMetaData() 761 // Get delete time next. in GetSyncDataForQuerySync() 1587 // Save create db time. in Import() 1821 // Delay a little time to ensure the completion of the delegate callback in AsyncDataMigration()
|