Home
last modified time | relevance | path

Searched refs:current_time (Results 1 – 16 of 16) sorted by relevance

/drivers/rtc/
Drtc-cros-ec.c131 u32 current_time, alarm_offset; in cros_ec_rtc_read_alarm() local
138 ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &current_time); in cros_ec_rtc_read_alarm()
150 rtc_time64_to_tm(current_time + alarm_offset, &alrm->time); in cros_ec_rtc_read_alarm()
162 u32 current_time, alarm_offset; in cros_ec_rtc_set_alarm() local
170 ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &current_time); in cros_ec_rtc_set_alarm()
190 if ((u32)alarm_time <= current_time) in cros_ec_rtc_set_alarm()
193 alarm_offset = (u32)alarm_time - current_time; in cros_ec_rtc_set_alarm()
211 u32 current_time, alarm_offset, alarm_value; in cros_ec_rtc_alarm_irq_enable() local
213 ret = cros_ec_rtc_get(cros_ec, EC_CMD_RTC_GET_VALUE, &current_time); in cros_ec_rtc_alarm_irq_enable()
221 if (cros_ec_rtc->saved_alarm < current_time) in cros_ec_rtc_alarm_irq_enable()
[all …]
/drivers/staging/comedi/drivers/
Dcomedi_test.c103 unsigned int current_time) in fake_sawtooth() argument
117 value = current_time; in fake_sawtooth()
135 unsigned int current_time) in fake_squarewave() argument
149 if (current_time < devpriv->wf_period / 2) { in fake_squarewave()
165 unsigned int current_time) in fake_flatline() argument
173 unsigned int current_time) in fake_waveform() argument
181 return fake_sawtooth(dev, range, current_time); in fake_waveform()
183 return fake_squarewave(dev, range, current_time); in fake_waveform()
188 return fake_flatline(dev, range, current_time); in fake_waveform()
/drivers/android/
Dbinderfs.c143 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in binderfs_binder_device_create()
441 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in binderfs_binder_ctl_create()
482 ret->i_atime = ret->i_mtime = ret->i_ctime = current_time(ret); in binderfs_make_inode()
706 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in binderfs_fill_super()
/drivers/staging/exfat/
Dexfat_super.c2378 dir->i_ctime = dir->i_mtime = dir->i_atime = current_time(dir); in exfat_create()
2392 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in exfat_create()
2542 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_unlink()
2549 inode->i_mtime = inode->i_atime = current_time(inode); in exfat_unlink()
2600 dir->i_ctime = dir->i_mtime = dir->i_atime = current_time(dir); in exfat_symlink()
2614 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in exfat_symlink()
2659 dir->i_ctime = dir->i_mtime = dir->i_atime = current_time(dir); in exfat_mkdir()
2674 inode->i_mtime = inode->i_atime = inode->i_ctime = current_time(inode); in exfat_mkdir()
2713 dir->i_mtime = dir->i_atime = current_time(dir); in exfat_rmdir()
2721 inode->i_mtime = inode->i_atime = current_time(inode); in exfat_rmdir()
[all …]
/drivers/usb/core/
Ddevio.c2525 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2532 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2539 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2551 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2578 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2586 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2593 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2605 inode->i_mtime = current_time(inode); in usbdev_do_ioctl()
2687 inode->i_atime = current_time(inode); in usbdev_do_ioctl()
/drivers/oprofile/
Doprofilefs.c34 inode->i_atime = inode->i_mtime = inode->i_ctime = current_time(inode); in oprofilefs_get_inode()
/drivers/scsi/
D3w-9xxx.c652 ktime_t current_time; in twa_chrdev_ioctl() local
843 current_time = ktime_get(); in twa_chrdev_ioctl()
846 ktime_after(current_time, tw_dev->ioctl_time)) { in twa_chrdev_ioctl()
848 tw_dev->ioctl_time = ktime_add_ms(current_time, tw_lock->timeout_msec); in twa_chrdev_ioctl()
853 tw_lock->time_remaining_msec = ktime_ms_delta(tw_dev->ioctl_time, current_time); in twa_chrdev_ioctl()
Dips.c5983 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time64_t current_time) in ips_fix_ffdc_time() argument
5989 time64_to_tm(current_time, 0, &tm); in ips_fix_ffdc_time()
/drivers/misc/ibmasm/
Dibmasmfs.c142 ret->i_atime = ret->i_mtime = ret->i_ctime = current_time(ret); in ibmasmfs_make_inode()
/drivers/infiniband/hw/qib/
Dqib_fs.c68 inode->i_atime = current_time(inode); in qibfs_mknod()
/drivers/char/
Dsonypi.c923 inode->i_atime = current_time(inode); in sonypi_misc_read()
/drivers/misc/
Dibmvmc.c1125 file->f_path.dentry->d_inode->i_mtime = current_time(file_inode(file)); in ibmvmc_write()
/drivers/usb/gadget/legacy/
Dinode.c1957 = current_time(inode); in gadgetfs_make_inode()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c6150 ktime_t current_time; in _base_send_ioc_init() local
6201 current_time = ktime_get_real(); in _base_send_ioc_init()
6202 mpi_request.TimeStamp = cpu_to_le64(ktime_to_ms(current_time)); in _base_send_ioc_init()
/drivers/usb/gadget/function/
Df_fs.c1397 struct timespec64 ts = current_time(inode); in ffs_sb_make_inode()
/drivers/platform/x86/
Dsony-laptop.c4107 inode->i_atime = current_time(inode); in sonypi_misc_read()