Searched refs:kt (Results 1 – 10 of 10) sorted by relevance
/drivers/rtc/ |
D | rtc-lib.c | 136 struct rtc_time rtc_ktime_to_tm(ktime_t kt) in rtc_ktime_to_tm() argument 141 ts = ktime_to_timespec64(kt); in rtc_ktime_to_tm()
|
/drivers/ptp/ |
D | ptp_clock.c | 133 ktime_t kt; in ptp_clock_adjtime() local 145 kt = timespec64_to_ktime(ts); in ptp_clock_adjtime() 146 delta = ktime_to_ns(kt); in ptp_clock_adjtime()
|
/drivers/net/ethernet/sfc/ |
D | ptp.c | 412 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() local 414 kt = ktime_add_ns(kt, (u64)correction); in efx_ptp_s_ns_to_ktime_correction() 416 kt = ktime_sub_ns(kt, (u64)-correction); in efx_ptp_s_ns_to_ktime_correction() 417 return kt; in efx_ptp_s_ns_to_ktime_correction() 1860 ktime_t kt; in efx_phc_gettime() local 1870 kt = ptp_data->nic_to_kernel_time( in efx_phc_gettime() 1873 *ts = ktime_to_timespec64(kt); in efx_phc_gettime()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 320 ktime_t kt; in nouveau_fence_wait_legacy() local 332 kt = ktime_set(0, sleep_time); in nouveau_fence_wait_legacy() 333 schedule_hrtimeout(&kt, HRTIMER_MODE_REL); in nouveau_fence_wait_legacy()
|
/drivers/video/fbdev/omap2/omapfb/ |
D | omapfb-ioctl.c | 381 enum omap_dss_trans_key_type kt; in _omapfb_set_color_key() local 401 kt = OMAP_DSS_COLOR_KEY_GFX_DST; in _omapfb_set_color_key() 404 kt = OMAP_DSS_COLOR_KEY_VID_SRC; in _omapfb_set_color_key() 412 info.trans_key_type = kt; in _omapfb_set_color_key()
|
/drivers/xen/events/ |
D | events_base.c | 1581 ktime_t kt = ktime_get(); in handle_irq_for_port() local 1584 kt = ktime_add_ms(kt, in handle_irq_for_port() 1586 ctrl->timeout = kt; in handle_irq_for_port() 1587 } else if (kt.tv64 > ctrl->timeout.tv64) { in handle_irq_for_port()
|
/drivers/block/ |
D | null_blk.c | 259 ktime_t kt = ktime_set(0, completion_nsec); in null_cmd_end_timer() local 261 hrtimer_start(&cmd->timer, kt, HRTIMER_MODE_REL); in null_cmd_end_timer()
|
/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 1773 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_and_t_formula() local 1788 kt = drm_fixp_exp(drm_fixp_mul(tmp, temperature)); in si_calculate_leakage_for_v_and_t_formula() 1789 kt = drm_fixp_div(kt, drm_fixp_exp(drm_fixp_mul(tmp, t_ref))); in si_calculate_leakage_for_v_and_t_formula() 1792 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_and_t_formula() 1811 s64 kt, kv, leakage_w, i_leakage, vddc; in si_calculate_leakage_for_v_formula() local 1816 kt = div64_s64(drm_int2fixp(fixed_kt), 100000000); in si_calculate_leakage_for_v_formula() 1820 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in si_calculate_leakage_for_v_formula()
|
D | ni_dpm.c | 745 s64 kt, kv, leakage_w, i_leakage, vddc, temperature; in ni_calculate_leakage_for_v_and_t_formula() local 751 kt = drm_fixp_mul(div64_s64(drm_int2fixp(coeff->at), 1000), in ni_calculate_leakage_for_v_and_t_formula() 756 leakage_w = drm_fixp_mul(drm_fixp_mul(drm_fixp_mul(i_leakage, kt), kv), vddc); in ni_calculate_leakage_for_v_and_t_formula()
|
/drivers/scsi/ |
D | scsi_debug.c | 4024 ktime_t kt = ktime_set(0, scsi_debug_ndelay); in schedule_resp() local 4037 hrtimer_start(&sd_hp->hrt, kt, HRTIMER_MODE_REL); in schedule_resp()
|