| /linux/drivers/net/ethernet/engleder/ |
| H A 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/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
| H A D | cec-splitter.c | 116 p->out_give_device_power_status_ts = ktime_set(0, 0); in cec_splitter_unconfigured_output() 118 p->out_request_current_latency_ts = ktime_set(0, 0); in cec_splitter_unconfigured_output() 198 p->out_request_current_latency_ts = ktime_set(0, 0); in cec_out_report_current_latency() 231 p->out_request_current_latency_ts = ktime_set(0, 0); in cec_out_request_current_latency() 302 p->out_give_device_power_status_ts = ktime_set(0, 0); in cec_out_report_power_status() 451 p->out_give_device_power_status_ts = ktime_set(0, 0); in cec_splitter_nb_transmit_canceled_output() 462 p->out_request_current_latency_ts = ktime_set(0, 0); in cec_splitter_nb_transmit_canceled_output() 505 p->out_give_device_power_status_ts = ktime_set(0, 0); in cec_splitter_received_output() 525 p->out_request_current_latency_ts = ktime_set(0, 0); in cec_splitter_received_output() 615 p->lost_sink_ts = ktime_set(0, 0); in cec_splitter_poll() [all …]
|
| /linux/include/linux/ |
| H A D | ktime.h | 36 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() function 71 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime()
|
| /linux/net/can/ |
| H A D | isotp.c | 275 so->lastrxcf_tstamp = ktime_set(0, 0); in isotp_send_fc() 278 hrtimer_start(&so->rxtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_send_fc() 403 so->tx_gap = ktime_set(0, 0); in isotp_rcv_fc() 425 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_rcv_fc() 432 hrtimer_start(&so->txtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_fc() 637 hrtimer_start(&so->rxtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_cf() 892 hrtimer_start(&so->txtimer, ktime_set(ISOTP_FC_TIMEOUT, 0), in isotp_rcv_echo() 900 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_rcv_echo() 940 hrtimer_start(&so->txtimer, ktime_set(ISOTP_ECHO_TIMEOUT, 0), in isotp_txfr_timer_handler() 1078 so->tx_gap = ktime_set(0, so->force_tx_stmin); in isotp_sendmsg() [all …]
|
| /linux/drivers/net/wwan/iosm/ |
| H A 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/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | ptp.c | 132 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - ptp_clock_hi)); in ptp_reset_thresh() 135 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - delta_ns)); in ptp_reset_thresh() 148 period_ns = ktime_set(0, (NSEC_PER_SEC + 100 - start_ns)); in ptp_hrtimer_start()
|
| /linux/drivers/rtc/ |
| H A D | lib.c | 192 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
| H A D | interface.c | 615 onesec = ktime_set(1, 0); in rtc_update_irq_enable() 618 rtc->uie_rtctimer.period = ktime_set(1, 0); in rtc_update_irq_enable()
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_ptp.c | 293 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp() 323 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_txstamp()
|
| /linux/drivers/iio/light/ |
| H A D | vcnl4000.c | 393 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init() 395 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init() 399 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init() 401 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init() 624 data->vcnl4200_al.sampling_rate = ktime_set(0, val * 1200); in vcnl4040_write_als_it() 681 data->vcnl4200_ps.sampling_rate = ktime_set(0, val * 60 * NSEC_PER_USEC); in vcnl4040_write_ps_it()
|
| /linux/net/netfilter/ |
| H A D | xt_IDLETIMER.c | 227 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1() 274 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1()
|
| /linux/drivers/input/tests/ |
| H A D | input_test.c | 69 const ktime_t invalid_timestamp = ktime_set(0, 0); in input_test_timestamp()
|
| /linux/arch/powerpc/kvm/ |
| H A D | emulate.c | 59 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 625 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload() 644 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload()
|
| H A D | igc_ptp.c | 440 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp() 468 timestamp = ktime_set(secs, nsecs); in igc_ptp_rx_pktstamp() 1077 t1 = ktime_set(rd32(IGC_PTM_T1_TIM0_H), rd32(IGC_PTM_T1_TIM0_L)); in igc_phc_get_syncdevicetime()
|
| /linux/drivers/net/ethernet/microchip/sparx5/lan969x/ |
| H A D | lan969x.c | 287 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in lan969x_ptp_irq_handler()
|
| /linux/drivers/pps/generators/ |
| H A D | pps_gen_tio.c | 73 return ktime_set(ktime_get_real_seconds() + 1, MAGIC_CONST); in first_event()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 556 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in lan966x_ptp_irq_handler() 611 time = ktime_set(s, ns); in lan966x_ptp_ext_irq_handler() 1123 full_ts_in_ns = ktime_set(ts.tv_sec, ts.tv_nsec); in lan966x_ptp_rxtstamp()
|
| /linux/drivers/input/misc/ |
| H A D | uinput.c | 622 zero_time = ktime_set(0, 0); in is_valid_timestamp() 627 offset = ktime_set(UINPUT_TIMESTAMP_ALLOWED_OFFSET_SECS, 0); in is_valid_timestamp() 656 timestamp = ktime_set(ev.input_event_sec, ev.input_event_usec * NSEC_PER_USEC); in uinput_inject_events()
|
| /linux/drivers/net/phy/ |
| H A D | microchip_rds_ptp.c | 394 shhwtstamps->hwtstamp = ktime_set(rx_ts->seconds, rx_ts->nsec); in mchp_rds_ptp_match_skb() 437 shhwtstamps->hwtstamp = ktime_set(rx_ts->seconds, rx_ts->nsec); in mchp_rds_ptp_match_rx_skb() 956 shhwtstamps.hwtstamp = ktime_set(seconds, nsec); in mchp_rds_ptp_match_tx_skb()
|
| /linux/drivers/dma-buf/ |
| H A D | sync_file.c | 288 ktime_set(0, 0); in sync_fill_fence_info()
|
| /linux/kernel/time/ |
| H A D | ntp.c | 383 return ktime_set(ntpdata->ntp_next_leap_sec, 0); in ntp_get_next_leap() 508 ktime_t exp = ktime_set(ktime_get_real_seconds(), 0); in sched_sync_hw_clock()
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | sched_policy.c | 352 ktime_set(GVT_SCHED_VGPU_PRI_TIME, 0)); in tbs_sched_start_schedule()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | ptp.c | 451 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction() 494 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime() 530 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
|
| /linux/lib/ |
| H A D | test_objpool.c | 192 item->hrtcycle = ktime_set(0, hrtimer * 1000000UL); in ot_init_hrtimer()
|