Home
last modified time | relevance | path

Searched refs:local_clock (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pci/pcie/
Dptm.c36 u8 local_clock; in pci_ptm_init() local
69 local_clock = (cap & PCI_PTM_GRANULARITY_MASK) >> 8; in pci_ptm_init()
81 else if (ups->ptm_granularity > local_clock) in pci_ptm_init()
87 dev->ptm_granularity = local_clock; in pci_ptm_init()
/kernel/linux/linux-5.10/include/linux/sched/
Dclock.h48 static inline u64 local_clock(void) in local_clock() function
82 static inline u64 local_clock(void) in local_clock() function
/kernel/linux/linux-5.10/drivers/cpuidle/
Dpoll_state.c16 u64 time_start = local_clock(); in poll_idle()
33 if (local_clock() - time_start > limit) { in poll_idle()
Dcpuidle.c143 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper()
162 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper()
232 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state()
243 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
/kernel/linux/linux-5.10/lib/
Dtest_lockup.c174 wait_start = local_clock(); in test_lock()
231 s64 cur_wait = local_clock() - wait_start; in test_lock()
351 u64 lockup_start = local_clock(); in test_lockup()
396 local_clock() - lockup_start); in test_lockup()
456 u64 test_start = local_clock(); in test_lockup_init()
590 pr_notice("FINISH in %llu ns\n", local_clock() - test_start); in test_lockup_init()
Dplist.c223 unsigned int r = local_clock(); in plist_test()
/kernel/linux/linux-5.10/arch/arm/mach-bcm/
Dplatsmp.c199 start_clock = local_clock(); in kona_boot_secondary()
201 timeout = local_clock() - start_clock > SECONDARY_TIMEOUT_NS; in kona_boot_secondary()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_utils.h356 base = local_clock(); \
358 u64 now = local_clock(); \
377 base = local_clock(); \
/kernel/linux/linux-5.10/drivers/md/bcache/
Dutil.c169 now = local_clock(); in bch_time_stats_update()
203 uint64_t now = local_clock(); in bch_next_delay()
Dutil.h383 return local_clock() >> 10; in local_clock_us()
408 ? div_s64(local_clock() - (stats)->last, \
450 d->next = local_clock(); in bch_ratelimit_reset()
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_clock.c59 return local_clock(); in trace_clock()
/kernel/linux/linux-5.10/include/net/
Dbusy_poll.h64 return (unsigned long)(local_clock() >> 10); in busy_loop_current_time()
/kernel/linux/linux-5.10/net/rds/
Dtcp_recv.c184 local_clock(); in rds_tcp_data_recv()
211 local_clock(); in rds_tcp_data_recv()
Drecv.c385 inc->i_rx_lat_trace[RDS_MSG_RX_END] = local_clock(); in rds_recv_incoming()
579 inc->i_rx_lat_trace[RDS_MSG_RX_CMSG] = local_clock(); in rds_cmsg_recv()
Dib_recv.c928 local_clock(); in rds_ib_process_recv()
932 local_clock(); in rds_ib_process_recv()
/kernel/linux/linux-5.10/drivers/cpuidle/governors/
Dteo.c255 cpu_data->time_span_ns = local_clock(); in teo_select()
458 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-slave-time.c69 ts = local_clock(); in spi_slave_time_submit()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_irq.c81 timeout_ts = (local_clock() >> 10) + 100; in gen11_gt_engine_identity()
85 !time_after32(local_clock() >> 10, timeout_ts)); in gen11_gt_engine_identity()
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
Drepaper.c456 u64 start = local_clock(); in repaper_frame_fixed_repeat()
461 } while (local_clock() < end); in repaper_frame_fixed_repeat()
467 u64 start = local_clock(); in repaper_frame_data_repeat()
472 } while (local_clock() < end); in repaper_frame_data_repeat()
/kernel/linux/linux-5.10/mm/
Dpage_owner.c152 u64 free_ts_nsec = local_clock(); in __reset_page_owner()
182 page_owner->ts_nsec = local_clock(); in __set_page_owner_handle()
/kernel/linux/linux-5.10/kernel/sched/
Dclock.c481 return local_clock(); in running_clock()
/kernel/linux/linux-5.10/drivers/firmware/tegra/
Dbpmp.c167 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
173 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
/kernel/linux/linux-5.10/kernel/irq/
Dinternals.h388 irq_timings_push(local_clock(), irq_desc_get_irq(desc)); in record_irq_time()
/kernel/linux/linux-5.10/kernel/
Dtorture.c334 trsp->trs_state += (unsigned long)local_clock(); in torture_random()
/kernel/linux/linux-5.10/arch/nds32/kernel/
Dperf_event_cpu.c724 start_clock = local_clock(); in nds32_pmu_dispatch_irq()
726 finish_clock = local_clock(); in nds32_pmu_dispatch_irq()

12