Home
last modified time | relevance | path

Searched refs:ktime_compare (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.6.21/include/linux/
Dktime.h95 static inline int ktime_compare(const ktime_t cmp1, const ktime_t cmp2) in ktime_compare() function
113 return ktime_compare(cmp1, cmp2) > 0; in ktime_after()
125 return ktime_compare(cmp1, cmp2) < 0; in ktime_before()
Diopoll.h50 ktime_compare(ktime_get(), __timeout) > 0) { \
/linux-6.6.21/drivers/input/tests/
Dinput_test.c77 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-6.6.21/drivers/gpu/drm/lima/
Dlima_device.h134 if (timeout_us && ktime_compare(ktime_get(), timeout) > 0) in lima_poll_timeout()
/linux-6.6.21/drivers/accel/habanalabs/common/pci/
Dpci.c113 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-6.6.21/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.h65 ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dfwio.c164 if (ktime_compare(now, start)) in wait_ncp_status()
194 if (ktime_compare(now, start)) in upload_firmware()
/linux-6.6.21/drivers/media/rc/
Dserial_ir.c232 if (ktime_compare(now, target) >= 0) in send_pulse_homebrew_softcarrier()
241 if (ktime_compare(now, target) >= 0) in send_pulse_homebrew_softcarrier()
364 if (ktime_compare(delkt, ktime_set(15, 0)) > 0) { in serial_ir_irq_handler()
/linux-6.6.21/drivers/net/ethernet/intel/igc/
Digc_tsn.c261 if (ktime_compare(systim, base_time) > 0) { in igc_tsn_enable_offload()
/linux-6.6.21/drivers/usb/host/
Dehci-timer.c418 if (ktime_compare(now, ehci->hr_timeouts[e]) >= 0) in ehci_hrtimer_func()
/linux-6.6.21/drivers/iio/adc/
Dmt6360-adc.c119 if (ktime_compare(ktime_get(), timeout) > 0) { in mt6360_adc_read_channel()
/linux-6.6.21/drivers/staging/vc04_services/bcm2835-audio/
Dbcm2835-pcm.c287 (ktime_compare(alsa_stream->interpolate_start, now) < 0)) { in snd_bcm2835_pcm_pointer()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_drv.h550 if (ktime_compare(*timeout, now) < 0) { in timeout_to_jiffies()
/linux-6.6.21/net/sched/
Dsch_etf.c181 if (ktime_compare(txtime, skb->tstamp) >= 0) { in etf_enqueue_timesortedlist()
Dsch_taprio.c883 if (ktime_compare(entry->end_time, oper->cycle_end_time) == 0) in should_restart_cycle()
903 if (ktime_compare(next_base_time, end_time) <= 0) in should_change_schedules()
917 if (ktime_compare(next_base_time, extension_time) <= 0) in should_change_schedules()
/linux-6.6.21/drivers/media/cec/platform/meson/
Dao-cec.c236 if (ktime_compare(ktime_get(), timeout) > 0) in meson_ao_cec_wait_busy()
/linux-6.6.21/sound/soc/sof/
Dops.h591 ktime_compare(ktime_get(), __timeout) > 0) { \
/linux-6.6.21/drivers/base/power/
Dwakeup.c127 ktime_compare(deleted_ws.max_time, ws->max_time) > 0 ? in wakeup_source_record()
/linux-6.6.21/drivers/usb/chipidea/
Dotg_fsm.c398 if (ktime_compare(now, ci->hr_timeouts[cur_timer]) >= 0) { in ci_otg_hrtimer_func()
/linux-6.6.21/drivers/accel/habanalabs/common/
Dhabanalabs.h2576 if (timeout_us && ktime_compare(ktime_get(), __timeout) > 0) { \
2639 if (timeout_us && ktime_compare(ktime_get(), __timeout) > 0) \
2684 if (timeout_us && ktime_compare(ktime_get(), __timeout) > 0) { \
/linux-6.6.21/drivers/i2c/busses/
Di2c-mv64xxx.c600 ktime_compare(ktime_get(), timeout) < 0) { in mv64xxx_i2c_wait_polling()
Di2c-rk3x.c1051 ktime_compare(ktime_get(), timeout) < 0) { in rk3x_i2c_wait_xfer_poll()
/linux-6.6.21/drivers/input/misc/
Duinput.c588 if (ktime_compare(zero_time, timestamp) >= 0) in is_valid_timestamp()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dselftest_migrate.c842 return ktime_compare(*a, *b); in wrap_ktime_compare()
/linux-6.6.21/drivers/mfd/
Darizona-core.c238 if (ktime_compare(ktime_get(), timeout) > 0) in arizona_poll_reg_delay()

12