/linux-6.6.21/drivers/net/ethernet/engleder/ |
D | tsnep_selftests.c | 364 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 386 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 410 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio() 461 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 480 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 486 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 494 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 507 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 517 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() 533 qopt->base_time = ktime_set(0, 0); in tsnep_test_taprio_change() [all …]
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | time-sync.c | 79 shwt->hwtstamp = ktime_set(0, adj_time); in iwl_mvm_time_sync_msmt_event() 84 rx_status->ack_tx_hwtstamp = ktime_set(0, adj_time); in iwl_mvm_time_sync_msmt_event() 114 shwt->hwtstamp = ktime_set(0, adj_time); in iwl_mvm_time_sync_msmt_confirm_event() 119 status.ack_hwtstamp = ktime_set(0, adj_time); in iwl_mvm_time_sync_msmt_confirm_event()
|
/linux-6.6.21/arch/riscv/kvm/ |
D | vcpu_timer.c | 51 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_hrtimer_expired() 96 hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL); in kvm_riscv_vcpu_update_hrtimer() 118 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_vstimer_expired() 150 hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL); in kvm_riscv_vcpu_timer_blocking()
|
/linux-6.6.21/drivers/watchdog/ |
D | softdog.c | 137 hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0), in softdog_ping() 143 ktime_set(w->timeout - w->pretimeout, 0), in softdog_ping()
|
D | watchdog_hrtimer_pretimeout.c | 35 ktime_set(wdd->timeout - wdd->pretimeout, 0), in watchdog_hrtimer_pretimeout_start()
|
/linux-6.6.21/include/linux/ |
D | ktime.h | 38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() function 73 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime()
|
/linux-6.6.21/net/can/ |
D | isotp.c | 269 so->lastrxcf_tstamp = ktime_set(0, 0); in isotp_send_fc() 272 hrtimer_start(&so->rxtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_send_fc() 394 so->tx_gap = ktime_set(0, 0); in isotp_rcv_fc() 416 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_rcv_fc() 423 hrtimer_start(&so->txtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_fc() 628 hrtimer_start(&so->rxtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_cf() 877 hrtimer_start(&so->txtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_echo() 885 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_rcv_echo() 925 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_txfr_timer_handler() 1056 so->tx_gap = ktime_set(0, so->force_tx_stmin); in isotp_sendmsg() [all …]
|
/linux-6.6.21/drivers/power/reset/ |
D | ltc2952-poweroff.c | 163 data->trigger_delay = ktime_set(2, 500L * NSEC_PER_MSEC); in ltc2952_poweroff_default() 182 data->trigger_delay = ktime_set(trigger_delay_ms / MSEC_PER_SEC, in ltc2952_poweroff_init()
|
/linux-6.6.21/drivers/pps/generators/ |
D | pps_gen_parport.c | 131 ktime_set(expire_time.tv_sec + 1, in hrtimer_event() 171 return ktime_set(ts.tv_sec + in next_intr_time()
|
/linux-6.6.21/drivers/net/wwan/iosm/ |
D | iosm_ipc_imem.c | 77 ktime_set(0, IPC_TD_ALLOC_TIMER_PERIOD_MS * 1000 * 1000ULL); in ipc_imem_tq_td_alloc_timer() 190 ktime_set(0, TD_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_td_update_timer_start() 212 ktime_set(0, IOSM_AGGR_MUX_ADB_FINISH_TIMEOUT_NSEC); in ipc_imem_adb_timer_start() 384 ktime_set(0, FORCE_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_dl_pipe_process() 498 ipc_imem->hrtimer_period = ktime_set(0, 100 * 1000UL * 1000ULL); in ipc_imem_tq_startup_timer_cb() 761 ktime_set(0, TD_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_handle_irq() 784 ktime_set(0, IPC_TD_ALLOC_TIMER_PERIOD_MS * 1000 * 1000ULL); in ipc_imem_handle_irq() 1291 ipc_imem->hrtimer_period = ktime_set(0, 1000 * 1000 * 1000ULL); in ipc_imem_config()
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
D | igc_tsn.c | 260 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 287 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload()
|
D | igc_ptp.c | 450 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 489 timestamp = ktime_set(secs, nsecs); in igc_ptp_rx_pktstamp() 1009 t1 = ktime_set(rd32(IGC_PTM_T1_TIM0_H), rd32(IGC_PTM_T1_TIM0_L)); in igc_phc_get_syncdevicetime()
|
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/ |
D | ptp.c | 131 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - ptp_clock_hi)); in ptp_reset_thresh() 134 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - delta_ns)); in ptp_reset_thresh() 147 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - start_ns)); in ptp_hrtimer_start()
|
/linux-6.6.21/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.h | 65 ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
|
/linux-6.6.21/drivers/rtc/ |
D | lib.c | 180 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
/linux-6.6.21/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 291 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp() 321 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_txstamp()
|
/linux-6.6.21/drivers/iio/light/ |
D | vcnl4000.c | 377 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init() 379 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init() 383 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init() 385 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init() 590 data->vcnl4200_al.sampling_rate = ktime_set(0, val * 1200); in vcnl4040_write_als_it() 647 data->vcnl4200_ps.sampling_rate = ktime_set(0, val * 60 * NSEC_PER_USEC); in vcnl4040_write_ps_it()
|
/linux-6.6.21/drivers/input/tests/ |
D | input_test.c | 69 const ktime_t invalid_timestamp = ktime_set(0, 0); in input_test_timestamp()
|
/linux-6.6.21/drivers/media/pci/cx88/ |
D | cx88-input.c | 175 ktime_set(0, ir->polling * 1000000)); in cx88_ir_work() 196 ktime_set(0, ir->polling * 1000000), in __cx88_ir_start()
|
/linux-6.6.21/net/netfilter/ |
D | xt_IDLETIMER.c | 229 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1() 276 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1()
|
/linux-6.6.21/drivers/net/phy/ |
D | bcm-phy-ptp.c | 407 hwts->hwtstamp = ktime_set(sec, nsec); in bcm_ptp_rxtstamp() 454 capts->hwtstamp = ktime_set(sec, nsec); in bcm_ptp_get_tstamp() 604 pulse = ktime_to_ns(ktime_set(req->on.sec, req->on.nsec)); in bcm_ptp_perout_locked()
|
/linux-6.6.21/drivers/hwmon/ |
D | bt1-pvt.c | 686 kt = ktime_set(0, 0); in pvt_write_timeout() 1011 pvt->timeout = ktime_set(PVT_SENSORS_NUM * PVT_TOUT_DEF, 0); in pvt_init_iface() 1015 pvt->timeout = ktime_set(PVT_TOUT_DEF, 0); in pvt_init_iface()
|
/linux-6.6.21/include/net/ |
D | pkt_sched.h | 275 skb->tstamp = ktime_set(0, 0); in skb_txtime_consumed()
|
/linux-6.6.21/arch/powerpc/kvm/ |
D | emulate.c | 59 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_ptp.c | 382 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in sparx5_ptp_irq_handler() 678 full_ts_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in sparx5_ptp_rxtstamp()
|