| /linux/include/linux/ |
| H A D | ktime.h | 93 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() function 111 return ktime_compare(cmp1, cmp2) > 0; in ktime_after() 123 return ktime_compare(cmp1, cmp2) < 0; in ktime_before()
|
| /linux/drivers/input/tests/ |
| H A D | input_test.c | 77 KUNIT_ASSERT_EQ(test, ktime_compare(time, invalid_timestamp), 1); in input_test_timestamp() 84 KUNIT_ASSERT_EQ(test, ktime_compare(timestamp[INPUT_CLK_MONO], time), 0); in input_test_timestamp()
|
| /linux/drivers/accel/habanalabs/common/pci/ |
| H A D | pci.c | 113 if (ktime_compare(ktime_get(), timeout) > 0) { in hl_pci_elbi_read() 178 if (ktime_compare(ktime_get(), timeout) > 0) { in hl_pci_elbi_write()
|
| /linux/drivers/gpu/drm/lima/ |
| H A D | lima_device.h | 134 if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) in lima_poll_timeout()
|
| /linux/drivers/media/rc/ |
| H A D | serial_ir.c | 233 if (ktime_compare(now, target) >= 0) in send_pulse_homebrew_softcarrier() 242 if (ktime_compare(now, target) >= 0) in send_pulse_homebrew_softcarrier() 365 if (ktime_compare(delkt, ktime_set(15, 0)) > 0) { in serial_ir_irq_handler()
|
| /linux/io_uring/ |
| H A D | wait.c | 77 ktime_compare(iowq->min_timeout, iowq->timeout) >= 0) in io_cqring_min_timer_wakeup()
|
| /linux/drivers/usb/host/ |
| H A D | ehci-timer.c | 418 if (ktime_compare(now, ehci->hr_timeouts[e]) >= 0) in ehci_hrtimer_func()
|
| /linux/drivers/iio/adc/ |
| H A D | mt6360-adc.c | 119 if (ktime_compare(ktime_get(), timeout) > 0) { in mt6360_adc_read_channel()
|
| /linux/drivers/staging/vc04_services/bcm2835-audio/ |
| H A D | bcm2835-pcm.c | 287 (ktime_compare(alsa_stream->interpolate_start, now) < 0)) { in snd_bcm2835_pcm_pointer()
|
| /linux/net/sched/ |
| H A D | sch_etf.c | 181 if (ktime_compare(txtime, skb->tstamp) >= 0) { in etf_enqueue_timesortedlist()
|
| H A D | sch_taprio.c | 878 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle() 898 if (ktime_compare(next_base_time, end_time) <= 0) in should_change_schedules() 912 if (ktime_compare(next_base_time, extension_time) <= 0) in should_change_schedules()
|
| /linux/drivers/iommu/arm/arm-smmu/ |
| H A D | arm-smmu-qcom-debug.c | 238 if (ktime_compare(ktime_get(), timeout) > 0) { in qcom_tbu_trigger_atos()
|
| /linux/drivers/net/ethernet/intel/igc/ |
| H A D | igc_tsn.c | 626 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload()
|
| /linux/drivers/usb/chipidea/ |
| H A D | otg_fsm.c | 398 if (ktime_compare(now, ci->hr_timeouts[cur_timer]) >= 0) { in ci_otg_hrtimer_func()
|
| /linux/drivers/base/power/ |
| H A D | wakeup.c | 126 ktime_compare(deleted_ws.max_time, ws->max_time) > 0 ? in wakeup_source_record()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mv64xxx.c | 593 ktime_compare(ktime_get(), timeout) < 0) { in mv64xxx_i2c_wait_polling()
|
| /linux/drivers/gpu/drm/i915/gt/ |
| H A D | selftest_migrate.c | 847 return ktime_compare(*a, *b); in wrap_ktime_compare()
|
| /linux/drivers/input/misc/ |
| H A D | uinput.c | 623 if (ktime_compare(zero_time, timestamp) >= 0) in is_valid_timestamp()
|
| H A D | iqs7222.c | 1554 } while (ktime_compare(ktime_get(), irq_timeout) < 0); in iqs7222_irq_poll() 1827 } while (ktime_compare(ktime_get(), ati_timeout) < 0); in iqs7222_ati_trigger()
|
| /linux/arch/mips/kvm/ |
| H A D | emulate.c | 892 if (ktime_compare(now, expire) >= 0) in kvm_mips_set_count_ctl()
|
| /linux/drivers/media/platform/chips-media/coda/ |
| H A D | coda-jpeg.c | 1179 if (ktime_compare(ktime_get(), timeout) > 0) { in coda9_jpeg_prepare_encode()
|
| /linux/drivers/accel/habanalabs/common/ |
| H A D | command_submission.c | 2826 (ktime_compare(fence->timestamp, first_cs_time) < 0)) in hl_cs_poll_fences() 2851 (ktime_compare(first_cs_time, max_ktime) != 0)) in hl_cs_poll_fences()
|
| H A D | habanalabs_ioctl.c | 374 if (ktime_compare(hdev->clk_throttling.timestamp[i].end, zero_time)) in clk_throttle_info()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_vblank.c | 2308 if (drm_WARN_ON(crtc->dev, !ktime_compare(*vblank_time, cur_time))) in drm_crtc_vblank_get_vblank_timeout()
|
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek.c | 1692 if (ktime_compare(current_time, base_time) > 0) { in hellcreek_start_schedule()
|