Home
last modified time | relevance | path

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

12

/drivers/cpufreq/
Dcpufreq_stats.c33 unsigned long long cur_time = local_clock(); in cpufreq_stats_update()
45 stats->last_time = local_clock(); in cpufreq_stats_reset_table()
85 time = local_clock() - READ_ONCE(stats->reset_time); in show_time_in_state()
92 time += local_clock() - stats->last_time; in show_time_in_state()
112 WRITE_ONCE(stats->reset_time, local_clock()); in store_reset()
252 stats->last_time = local_clock(); in cpufreq_stats_create_table()
/drivers/pci/pcie/
Dptm.c92 u8 local_clock; in pci_ptm_init() local
127 local_clock = (cap & PCI_PTM_GRANULARITY_MASK) >> 8; in pci_ptm_init()
139 else if (ups->ptm_granularity > local_clock) in pci_ptm_init()
145 dev->ptm_granularity = local_clock; in pci_ptm_init()
/drivers/cpuidle/
Dpoll_state.c16 u64 time_start = local_clock(); in poll_idle()
33 if (local_clock() - time_start > limit) { in poll_idle()
Dcpuidle.c145 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper()
164 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper()
245 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state()
256 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
/drivers/md/bcache/
Dutil.c169 now = local_clock(); in bch_time_stats_update()
203 uint64_t now = local_clock(); in bch_next_delay()
Dutil.h381 return local_clock() >> 10; in local_clock_us()
406 ? div_s64(local_clock() - (stats)->last, \
448 d->next = local_clock(); in bch_ratelimit_reset()
Dbset.c1254 start_time = local_clock(); in __btree_sort()
1325 uint64_t start_time = local_clock(); in bch_btree_sort_into()
Dbtree.c245 uint64_t start_time = local_clock(); in bch_btree_node_read()
1803 uint64_t start_time = local_clock(); in bch_btree_gc()
2214 uint64_t start_time = local_clock(); in btree_split()
Dwriteback.c130 (error > 0 && time_before64(local_clock(), in __update_writeback_rate()
Dsysfs.c240 next_io = wb ? div64_s64(dc->writeback_rate.next-local_clock(), in SHOW()
/drivers/gpu/drm/i915/
Di915_utils.h361 base = local_clock(); \
363 u64 now = local_clock(); \
382 base = local_clock(); \
Di915_request.c1716 t = local_clock(); in local_clock_ns()
/drivers/cpuidle/governors/
Dteo.c390 cpu_data->time_span_ns = local_clock(); in teo_select()
603 cpu_data->time_span_ns = local_clock() - cpu_data->time_span_ns; in teo_reflect()
/drivers/gpu/drm/i915/gt/
Dselftest_engine_pm.c117 *dt = local_clock(); in __measure_timestamps()
119 *dt = local_clock() - *dt; in __measure_timestamps()
Dintel_gt_irq.c39 timeout_ts = (local_clock() >> 10) + 100; in gen11_gt_engine_identity()
43 !time_after32(local_clock() >> 10, timeout_ts)); in gen11_gt_engine_identity()
/drivers/spi/
Dspi-slave-time.c69 ts = local_clock(); in spi_slave_time_submit()
/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()
/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()
/drivers/misc/cxl/
Dnative.c162 start = local_clock(); in cxl_psl_purge()
194 end = local_clock(); in cxl_psl_purge()
/drivers/usb/typec/tcpm/
Dfusb302.c138 u64 ts_nsec = local_clock(); in _fusb302_log()
/drivers/vhost/
Dnet.c413 return local_clock() >> 10; in busy_clock()
/drivers/ufs/core/
Dufshcd.c2225 lrbp->issue_time_stamp_local_clock = local_clock(); in ufshcd_send_command()
4332 hba->ufs_stats.last_hibern8_exit_tstamp = local_clock(); in ufshcd_uic_hibern8_exit()
4876 e->tstamp[e->pos] = local_clock(); in ufshcd_update_evt_hist()
6894 hba->ufs_stats.last_intr_ts = local_clock(); in ufshcd_intr()
/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_err.c2662 mac_tnl_stats.time = local_clock(); in hclge_handle_mac_tnl()
Dhclge_debugfs.c1664 lc = local_clock(); in hclge_dbg_dump_serv_info()
/drivers/scsi/hisi_sas/
Dhisi_sas_v3_hw.c3720 u64 timestamp = local_clock(); in debugfs_snapshot_regs_v3_hw()

12