Home
last modified time | relevance | path

Searched refs:last_update (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/drivers/iio/chemical/
H A Dams-iaq-core.c32 unsigned long last_update; member
81 if (!time_after(jiffies, data->last_update + HZ)) in ams_iaqcore_get_measurement()
88 data->last_update = jiffies; in ams_iaqcore_get_measurement()
152 data->last_update = jiffies - HZ; in ams_iaqcore_probe()
H A Dvz89x.c49 unsigned long last_update; member
222 if (!time_after(jiffies, data->last_update + HZ)) in vz89x_get_measurement()
226 data->last_update = jiffies; in vz89x_get_measurement()
380 data->last_update = jiffies - HZ; in vz89x_probe()
/openbmc/linux/drivers/hwmon/
H A Dhih6130.c39 unsigned long last_update; member
110 if (time_after(jiffies, hih6130->last_update + HZ) || !hih6130->valid) { in hih6130_update_measurements()
143 hih6130->last_update = jiffies; in hih6130_update_measurements()
H A Dsht21.c41 unsigned long last_update; member
96 if (time_after(jiffies, sht21->last_update + HZ / 2) || !sht21->valid) { in sht21_update_measurements()
107 sht21->last_update = jiffies; in sht21_update_measurements()
H A Dmenf21bmc_hwmon.c38 unsigned long last_update; member
59 if (time_after(jiffies, drv_data->last_update + HZ) in menf21bmc_hwmon_update()
70 drv_data->last_update = jiffies; in menf21bmc_hwmon_update()
H A Dsht3x.c170 unsigned long last_update; /* last update in periodic mode*/ member
270 if (time_after(jiffies, data->last_update + interval_jiffies)) { in sht3x_update_client()
280 data->last_update = jiffies; in sht3x_update_client()
881 data->last_update = jiffies - msecs_to_jiffies(3000); in sht3x_probe()
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dxapic_ipi_test.c258 time_t start_time, last_update, now; in do_migrations() local
298 last_update = start_time; in do_migrations()
335 (now != last_update)) { in do_migrations()
336 last_update = now; in do_migrations()
/openbmc/linux/arch/x86/kernel/cpu/
H A Daperfmperf.c28 unsigned long last_update; member
399 s->last_update = jiffies; in arch_scale_freq_tick()
426 last = s->last_update; in arch_freq_get_on_cpu()
/openbmc/linux/drivers/power/supply/
H A Dcros_peripheral_charger.c35 unsigned long last_update; member
182 time_is_after_jiffies(port->last_update + PCHG_CACHE_UPDATE_DELAY)) in cros_pchg_get_port_status()
189 port->last_update = jiffies; in cros_pchg_get_port_status()
H A Dcros_usbpd-charger.c43 unsigned long last_update; member
314 time_is_after_jiffies(port->last_update + in cros_usbpd_charger_get_port_status()
324 port->last_update = jiffies; in cros_usbpd_charger_get_port_status()
704 charger->ports[i]->last_update = in cros_usbpd_charger_resume()
/openbmc/linux/sound/core/seq/
H A Dseq_timer.c153 ktime_get_ts64(&tmr->last_update); in snd_seq_timer_interrupt()
395 ktime_get_ts64(&tmr->last_update); in seq_timer_start()
423 ktime_get_ts64(&tmr->last_update); in seq_timer_continue()
451 tm = timespec64_sub(tm, tmr->last_update); in snd_seq_timer_get_cur_time()
H A Dseq_timer.h40 struct timespec64 last_update; /* time of last clock update, used for interpolation */ member
/openbmc/qemu/include/hw/rtc/
H A Dmc146818rtc.h32 uint64_t last_update; member
/openbmc/qemu/hw/s390x/
H A Ds390-pci-inst.c1091 pbdev->fmb.last_update *= 2; in fmb_update()
1092 pbdev->fmb.last_update |= UPDATE_U_BIT; in fmb_update()
1093 if (fmb_do_update(pbdev, offsetof(ZpciFmb, last_update), in fmb_update()
1094 pbdev->fmb.last_update, in fmb_update()
1095 sizeof(pbdev->fmb.last_update))) { in fmb_update()
1116 pbdev->fmb.last_update = time2tod(qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL)); in fmb_update()
1117 pbdev->fmb.last_update *= 2; in fmb_update()
1118 if (fmb_do_update(pbdev, offsetof(ZpciFmb, last_update), in fmb_update()
1119 pbdev->fmb.last_update, in fmb_update()
1120 sizeof(pbdev->fmb.last_update))) { in fmb_update()
/openbmc/linux/drivers/s390/cio/
H A Dcmf.c121 unsigned long long last_update; /* when last_block was updated */ member
290 cmb_data->last_update = get_tod_clock(); in cmf_copy_block()
363 cmb_data->last_update = 0; in cmf_generic_reset()
664 if (cmb_data->last_update == 0) { in readall_cmb()
669 time = cmb_data->last_update - cdev->private->cmb_start_time; in readall_cmb()
924 if (cmb_data->last_update == 0) { in readall_cmbe()
928 time = cmb_data->last_update - cdev->private->cmb_start_time; in readall_cmbe()
/openbmc/linux/arch/s390/hypfs/
H A Dinode.c39 time64_t last_update; /* last update, CLOCK_MONOTONIC time */ member
55 sb_info->last_update = ktime_get_seconds(); in hypfs_update_update()
182 if (fs_info->last_update == ktime_get_seconds()) { in hypfs_write_iter()
/openbmc/linux/include/linux/power/
H A Dbq27xxx_battery.h74 unsigned long last_update; member
/openbmc/linux/kernel/sched/
H A Dcpufreq_schedutil.c47 u64 last_update; member
180 s64 delta_ns = time - sg_cpu->last_update; in sugov_iowait_reset()
318 sg_cpu->last_update = time; in sugov_update_single_common()
447 sg_cpu->last_update = time; in sugov_update_shared()
/openbmc/u-boot/cmd/
H A Dsf.c228 ulong last_update = get_timer(0); in spi_flash_update() local
232 if (get_timer(last_update) > 100) { in spi_flash_update()
237 last_update = get_timer(0); in spi_flash_update()
/openbmc/linux/tools/firewire/
H A Dnosy-dump.c831 static struct timeval last_update; in print_stats() local
847 if (now.tv_sec <= last_update.tv_sec && in print_stats()
848 now.tv_usec < last_update.tv_usec + 500000) in print_stats()
851 last_update = now; in print_stats()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.c805 r = vm->update_funcs->commit(&params, &vm->last_update); in amdgpu_vm_update_pdes()
1075 struct dma_fence **last_update; in amdgpu_vm_bo_update() local
1121 last_update = &vm->last_update; in amdgpu_vm_bo_update()
1123 last_update = &bo_va->last_pt_update; in amdgpu_vm_bo_update()
1153 last_update); in amdgpu_vm_bo_update()
2192 vm->last_update = dma_fence_get_stub(); in amdgpu_vm_init()
2310 dma_fence_put(vm->last_update); in amdgpu_vm_make_compute()
2311 vm->last_update = dma_fence_get_stub(); in amdgpu_vm_make_compute()
2399 dma_fence_put(vm->last_update); in amdgpu_vm_fini()
/openbmc/linux/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_mac.c410 mac->beacon.last_update = jiffies; in zd_restore_settings()
1175 mac->beacon.last_update = jiffies; in zd_beacon_done()
1315 mac->beacon.last_update = jiffies; in zd_op_bss_info_changed()
1440 timeout = mac->beacon.last_update + in beacon_watchdog_handler()
1464 mac->beacon.last_update = jiffies; in beacon_watchdog_handler()
1482 mac->beacon.last_update = jiffies; in beacon_enable()
/openbmc/linux/drivers/staging/greybus/
H A Dpower_supply.c39 unsigned long last_update; member
687 if (gbpsy->last_update && in is_cache_valid()
688 time_is_after_jiffies(gbpsy->last_update + in is_cache_valid()
716 gbpsy->last_update = jiffies; in gb_power_supply_status_get()
/openbmc/qemu/hw/rtc/
H A Dmc146818rtc.c91 guest_clock - s->last_update + s->offset; in get_guest_rtc_ns()
607 s->last_update = qemu_clock_get_ns(rtc_clock); in rtc_set_time()
762 s->last_update = qemu_clock_get_ns(rtc_clock); in rtc_set_date_from_host()
842 VMSTATE_UINT64_V(last_update, MC146818RtcState, 3),
/openbmc/linux/drivers/net/wireless/purelifi/plfxlc/
H A Dmac.h108 unsigned long last_update; member

123