/linux-4.1.27/include/linux/ |
D | ktime.h | 50 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() function 83 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime() 89 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime() 95 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in timeval_to_ktime()
|
D | skbuff.h | 2839 return ktime_set(0, 0); in net_invalid_timestamp()
|
/linux-4.1.27/net/mac802154/ |
D | util.c | 82 ktime_set(0, hw->phy->lifs_period * NSEC_PER_USEC), in ieee802154_xmit_complete() 86 ktime_set(0, hw->phy->sifs_period * NSEC_PER_USEC), in ieee802154_xmit_complete()
|
/linux-4.1.27/arch/powerpc/oprofile/cell/ |
D | spu_profiler.c | 183 kt = ktime_set(0, profiling_interval); in profile_spus() 207 kt = ktime_set(0, profiling_interval); in start_spu_profiling_cycles()
|
/linux-4.1.27/drivers/pps/generators/ |
D | pps_gen_parport.c | 147 ktime_set(expire_time.tv_sec + 1, in hrtimer_event() 187 return ktime_set(ts.tv_sec + in next_intr_time()
|
/linux-4.1.27/drivers/power/reset/ |
D | ltc2952-poweroff.c | 173 data->wde_interval = ktime_set(0, 300L*1E6L); in ltc2952_poweroff_default() 174 data->trigger_delay = ktime_set(2, 500L*1E6L); in ltc2952_poweroff_default()
|
/linux-4.1.27/drivers/rtc/ |
D | interface.c | 401 rtc->aie_timer.period = ktime_set(0, 0); in rtc_set_alarm() 429 rtc->aie_timer.period = ktime_set(0, 0); in rtc_initialize_alarm() 498 onesec = ktime_set(1, 0); in rtc_update_irq_enable() 501 rtc->uie_rtctimer.period = ktime_set(1, 0); in rtc_update_irq_enable() 594 period = ktime_set(0, NSEC_PER_SEC/rtc->irq_freq); in rtc_pie_update_irq() 705 ktime_t period = ktime_set(0, NSEC_PER_SEC / rtc->irq_freq); in rtc_update_hrtimer()
|
D | rtc-lib.c | 131 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
/linux-4.1.27/drivers/staging/ozwpan/ |
D | ozproto.c | 540 hrtimer_forward_now(timer, ktime_set(pd->pulse_period / in oz_pd_heartbeat_event() 570 hrtimer_set_expires(&pd->timeout, ktime_set(due_time / in oz_timer_add() 575 hrtimer_start(&pd->timeout, ktime_set(due_time / in oz_timer_add() 583 hrtimer_start(&pd->heartbeat, ktime_set(due_time / in oz_timer_add()
|
/linux-4.1.27/drivers/staging/android/ |
D | timed_gpio.c | 79 ktime_set(value / 1000, (value % 1000) * 1000000), in gpio_enable()
|
/linux-4.1.27/drivers/net/ieee802154/ |
D | at86rf230.c | 623 tim = ktime_set(0, c->t_off_to_aack * NSEC_PER_USEC); in at86rf230_async_state_delay() 632 tim = ktime_set(0, c->t_off_to_tx_on * NSEC_PER_USEC); in at86rf230_async_state_delay() 652 tim = ktime_set(0, (c->t_frame + c->t_p_ack) * in at86rf230_async_state_delay() 665 tim = ktime_set(0, c->t_reset_to_off * NSEC_PER_USEC); in at86rf230_async_state_delay() 676 tim = ktime_set(0, NSEC_PER_USEC); in at86rf230_async_state_delay()
|
/linux-4.1.27/drivers/media/pci/cx88/ |
D | cx88-input.c | 179 ktime_set(0, ir->polling * 1000000)); in cx88_ir_work() 200 ktime_set(0, ir->polling * 1000000), in __cx88_ir_start()
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | emulate.c | 77 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
|
D | book3s_hv.c | 1715 hrtimer_start(&vcpu->arch.dec_timer, ktime_set(0, dec_nsec), in kvmppc_set_timer()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | ec_bhf.c | 256 hrtimer_forward_now(timer, ktime_set(0, polling_frequency)); in ec_bhf_timer_fun() 430 hrtimer_start(&priv->hrtimer, ktime_set(0, polling_frequency), in ec_bhf_open()
|
/linux-4.1.27/kernel/time/ |
D | tick-common.c | 187 tick_period = ktime_set(0, NSEC_PER_SEC / HZ); in tick_setup_device()
|
D | alarmtimer.c | 231 freezer_delta = ktime_set(0, 0); in alarmtimer_suspend() 269 ret = rtc_timer_start(rtc, &rtctimer, now, ktime_set(0, 0)); in alarmtimer_suspend()
|
D | timekeeping.c | 111 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono() 1014 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
|
D | posix-timers.c | 481 ktime_t kj = ktime_set(0, NSEC_PER_SEC / HZ); in posix_timer_fn()
|
D | timer.c | 1705 kmin = ktime_set(0, min * NSEC_PER_USEC); in do_usleep_range()
|
D | hrtimer.c | 302 res = ktime_set(KTIME_SEC_MAX, 0); in ktime_add_safe()
|
/linux-4.1.27/drivers/platform/x86/ |
D | msi-wmi.c | 285 last_pressed = ktime_set(0, 0); in msi_wmi_input_setup()
|
/linux-4.1.27/drivers/net/can/softing/ |
D | softing_fw.c | 393 card->ts_overflow = ktime_add_us(ktime_set(0, 0), ovf); in softing_initialize_timestamp() 650 softing_netdev_rx(netdev, &msg, ktime_set(0, 0)); in softing_startstop()
|
D | softing_main.c | 195 softing_netdev_rx(netdev, &msg, ktime_set(0, 0)); in softing_handle_1()
|
/linux-4.1.27/drivers/usb/musb/ |
D | musb_cppi41.c | 216 ktime_set(0, 20 * NSEC_PER_USEC)); in cppi41_recheck_tx_req() 301 ktime_set(0, usecs * NSEC_PER_USEC), in cppi41_dma_callback()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-timer.c | 91 ktime_set(0, event_delays_ns[event])); in ehci_enable_event()
|
D | fusbh200-hcd.c | 1077 ktime_set(0, event_delays_ns[event])); in fusbh200_enable_event()
|
D | fotg210-hcd.c | 1110 ktime_set(0, event_delays_ns[event])); in fotg210_enable_event()
|
/linux-4.1.27/sound/drivers/pcsp/ |
D | pcsp_lib.c | 169 hrtimer_start(&pcsp_chip.timer, ktime_set(0, 0), HRTIMER_MODE_REL); in pcsp_start_playing()
|
/linux-4.1.27/drivers/input/joystick/ |
D | walkera0701.c | 168 hrtimer_start(&w->timer, ktime_set(0, BIN_SAMPLE), HRTIMER_MODE_REL); in walkera0701_irq_handler()
|
/linux-4.1.27/sound/sh/ |
D | sh_dac_audio.c | 90 chip->wakeups_per_second = ktime_set(0, 1000000000 / chip->rate); in dac_audio_set_rate()
|
/linux-4.1.27/drivers/power/ |
D | abx500_chargalg.c | 461 ktime_set(timer_expiration * ONE_HOUR_IN_SECONDS, 0), in abx500_chargalg_start_safety_timer() 462 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in abx500_chargalg_start_safety_timer() 491 ktime_set(duration * ONE_HOUR_IN_SECONDS, 0), in abx500_chargalg_start_maintenance_timer() 492 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in abx500_chargalg_start_maintenance_timer()
|
D | charger-manager.c | 1113 add = ktime_set(wakeup_ms / MSEC_PER_SEC, in cm_setup_timer()
|
/linux-4.1.27/net/xfrm/ |
D | xfrm_state.c | 446 tasklet_hrtimer_start(&x->mtimer, ktime_set(next, 0), HRTIMER_MODE_REL); in xfrm_timer_handler() 863 tasklet_hrtimer_start(&x->mtimer, ktime_set(net->xfrm.sysctl_acq_expires, 0), HRTIMER_MODE_REL); in xfrm_state_find() 960 tasklet_hrtimer_start(&x->mtimer, ktime_set(1, 0), HRTIMER_MODE_REL); in __xfrm_state_insert() 1064 tasklet_hrtimer_start(&x->mtimer, ktime_set(net->xfrm.sysctl_acq_expires, 0), HRTIMER_MODE_REL); in __find_acq_core() 1353 tasklet_hrtimer_start(&x1->mtimer, ktime_set(1, 0), HRTIMER_MODE_REL); in xfrm_state_update() 1377 tasklet_hrtimer_start(&x->mtimer, ktime_set(0, 0), HRTIMER_MODE_REL); in xfrm_state_check_expire()
|
/linux-4.1.27/drivers/net/ethernet/tile/ |
D | tilegx.c | 452 shhwtstamps->hwtstamp = ktime_set(idesc->time_stamp_sec, in tile_rx_timestamp() 469 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in tile_tx_timestamp() 750 ktime_set(0, TX_TIMER_DELAY_USEC * 1000UL), in tile_net_schedule_tx_wake_timer() 769 ktime_set(0, EGRESS_TIMER_DELAY_USEC * 1000UL), in tile_net_schedule_egress_timer()
|
/linux-4.1.27/drivers/net/wireless/rt2x00/ |
D | rt2800usb.c | 180 ktime_set(0, TXSTATUS_READ_INTERVAL), in rt2800usb_tx_sta_fifo_read_completed() 207 ktime_set(0, 2*TXSTATUS_READ_INTERVAL), in rt2800usb_async_read_tx_status()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nouveau_fence.c | 333 kt = ktime_set(0, sleep_time); in nouveau_fence_wait_legacy()
|
/linux-4.1.27/drivers/base/power/ |
D | wakeup.c | 865 active_time = ktime_set(0, 0); in print_wakeup_source_stats()
|
D | main.c | 192 ktime_t calltime = ktime_set(0, 0); in initcall_debug_start()
|
/linux-4.1.27/fs/ |
D | timerfd.c | 158 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
|
/linux-4.1.27/net/can/ |
D | bcm.c | 623 op->kt_lastmsg = ktime_set(0, 0); in bcm_rx_thr_handler() 1148 op->kt_lastmsg = ktime_set(0, 0); in bcm_rx_setup()
|
/linux-4.1.27/drivers/block/ |
D | null_blk.c | 258 ktime_t kt = ktime_set(0, completion_nsec); in null_cmd_end_timer()
|
/linux-4.1.27/drivers/s390/crypto/ |
D | ap_bus.c | 1159 hr_time = ktime_set(0, poll_timeout); in poll_timeout_store() 1533 hr_time = ktime_set(0, poll_timeout); in __ap_schedule_poll_timer()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
D | msm_fb.c | 287 ktime_set(0, NSEC_PER_SEC/60), in msmfb_pan_update()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | otg_fsm.c | 222 ktime_set(timer_sec, timer_nsec)); in ci_otg_add_timer()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | ptp.c | 415 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() 458 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
|
/linux-4.1.27/drivers/media/pci/pt3/ |
D | pt3.c | 465 delay = ktime_set(0, PT3_FETCH_DELAY * NSEC_PER_MSEC); in pt3_fetch_thread()
|
/linux-4.1.27/fs/ubifs/ |
D | io.c | 1062 wbuf->softlimit = ktime_set(WBUF_TIMEOUT_SOFTLIMIT, 0); in ubifs_wbuf_init()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 191 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igb_ptp_systim_to_hwtstamp()
|
/linux-4.1.27/sound/drivers/ |
D | dummy.c | 455 dpcm->period_time = ktime_set(sec, nsecs); in dummy_hrtimer_prepare()
|
/linux-4.1.27/drivers/usb/gadget/function/ |
D | f_ncm.c | 1044 ktime_set(0, TX_TIMEOUT_NSECS), in ncm_wrap_ntb()
|
/linux-4.1.27/drivers/net/usb/ |
D | cdc_ncm.c | 1233 ktime_set(0, ctx->timer_interval), in cdc_ncm_tx_timeout_start()
|
/linux-4.1.27/arch/x86/kvm/ |
D | lapic.c | 954 remaining = ktime_set(0, 0); in apic_get_tmcct()
|
/linux-4.1.27/fs/gfs2/ |
D | glock.c | 751 gl->gl_dstamp = ktime_set(0, 0); in gfs2_glock_get()
|
/linux-4.1.27/drivers/scsi/ufs/ |
D | ufshcd.c | 774 scaling->busy_start_t = ktime_set(0, 0); in ufshcd_clk_scaling_update_busy() 5418 scaling->busy_start_t = ktime_set(0, 0); in ufshcd_devfreq_get_dev_status()
|
/linux-4.1.27/net/sched/ |
D | sch_cbq.c | 618 time = ktime_set(0, 0); in cbq_undelay()
|
/linux-4.1.27/net/core/ |
D | sock.c | 2346 sk->sk_stamp = ktime_set(-1L, 0); in sock_init_data()
|
/linux-4.1.27/arch/s390/kvm/ |
D | interrupt.c | 864 hrtimer_start(&vcpu->arch.ckc_timer, ktime_set (0, sltime) , HRTIMER_MODE_REL); in kvm_s390_handle_wait()
|
/linux-4.1.27/drivers/pci/ |
D | quirks.c | 2997 ktime_t calltime = ktime_set(0, 0); in fixup_debug_start()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_debug.c | 4023 ktime_t kt = ktime_set(0, scsi_debug_ndelay); in schedule_resp()
|
/linux-4.1.27/fs/dlm/ |
D | lock.c | 1398 ktime_t zero = ktime_set(0, 0); in dlm_scan_waiters()
|
/linux-4.1.27/kernel/sched/ |
D | core.c | 1257 ktime_t to = ktime_set(0, NSEC_PER_SEC/HZ); in wait_task_inactive()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_main.c | 13377 ktime_t fw_ready_time = ktime_set(5, 0); in bnx2x_init_one()
|