Searched refs:time (Results 101 - 125 of 441) sorted by relevance

1234567891011>>

/drivers/pps/clients/
H A Dpps-ktimer.c27 #include <linux/time.h>
46 /* First of all we get the time stamp... */
/drivers/ptp/
H A Dptp_private.h29 #include <linux/time.h>
49 struct timestamp_event_queue tsevq; /* simple fifo for time stamps */
50 struct mutex tsevq_mux; /* one process at a time reading the fifo */
/drivers/rtc/
H A Drtc-as3722.c31 #include <linux/time.h>
127 as3722_reg_to_time(as_time_array, &alrm->time);
138 if (alrm->time.tm_year < (AS3722_RTC_START_YEAR - 1900))
147 as3722_time_to_reg(as_time_array, &alrm->time);
H A Drtc-ab8500.c216 rtc_time_to_tm(secs, &alarm->time);
218 return rtc_valid_tm(&alarm->time);
235 if (alarm->time.tm_year < (AB8500_RTC_EPOCH - 1900)) {
242 rtc_tm_to_time(&alarm->time, &secs);
249 ab8500_rtc_read_time(dev, &curtm); /* Read current time */
268 /* Set the alarm time */
285 if (alarm->time.tm_year < (AB8500_RTC_EPOCH - 1900)) {
292 rtc_tm_to_time(&alarm->time, &secs);
305 /* Set the alarm time */
H A Drtc-ds1511.c11 * Real time clock driver for the Dallas 1511 chip, which also
181 * set the rtc chip's idea of the time.
283 dev_err(dev, "retrieved date/time is not valid.\n");
329 pdata->alrm_mday = alrm->time.tm_mday;
330 pdata->alrm_hour = alrm->time.tm_hour;
331 pdata->alrm_min = alrm->time.tm_min;
332 pdata->alrm_sec = alrm->time.tm_sec;
349 alrm->time.tm_mday = pdata->alrm_mday < 0 ? 0 : pdata->alrm_mday;
350 alrm->time.tm_hour = pdata->alrm_hour < 0 ? 0 : pdata->alrm_hour;
351 alrm->time
[all...]
H A Drtc-bfin.c23 * would have to sleep for up to 1 second every time we wanted to write a
27 * time userspace would take this penalty is when they try and do multiple
83 /* Some helper functions to convert between the common RTC notion of time
294 alrm->time = rtc->rtc_alarm;
307 if (rtc_tm_to_time(&alrm->time, &rtc_alarm))
310 rtc->rtc_alarm = alrm->time;
H A Drtc-sirfsoc.c48 /* Overflow for every 8 years extra time */
79 | rtc_alarm >> RTC_SHIFT, &(alrm->time));
83 | rtc_alarm >> RTC_SHIFT, &(alrm->time));
100 rtc_tm_to_time(&(alrm->time), &rtc_alarm);
/drivers/platform/x86/
H A Dtoshiba_acpi.c542 /* Get the current time (1-60 seconds) */
548 static int toshiba_kbd_illum_status_set(struct toshiba_acpi_dev *dev, u32 time) argument
555 result = sci_write(dev, SCI_KBD_ILLUM_STATUS, time);
568 static int toshiba_kbd_illum_status_get(struct toshiba_acpi_dev *dev, u32 *time) argument
575 result = sci_read(dev, SCI_KBD_ILLUM_STATUS, time);
1182 /* better luck next time */
1364 int time; local
1385 * Auto - KBD backlight turns off automatically in given time
1393 /* Shift the time to "base time" (
1426 u32 time; local
1462 int time; local
1505 u32 time; local
[all...]
/drivers/staging/bcm/
H A Dled_control.c103 INT *time,
117 *time = (*time_tx > *time_rx ? *time_rx : *time_tx);
119 if (*time > 0) {
122 *time, currdriverstate) == EVENT_SIGNALED) ||
124 *time, currdriverstate) == EVENT_SIGNALED))
128 if (*time == *time_tx) {
131 *time_rx - *time,
135 *time = *time_rx;
139 *time_tx - *time,
143 *time
102 blink_in_normal_bandwidth(struct bcm_mini_adapter *ad, INT *time, INT *time_tx, INT *time_rx, UCHAR GPIO_Num_tx, UCHAR uiTxLedIndex, UCHAR GPIO_Num_rx, UCHAR uiRxLedIndex, enum bcm_led_events currdriverstate, ulong *timeout) argument
[all...]
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.c205 u16 i, time; local
224 for (i = 0, time = FM10K_QUEUE_DISABLE_TIMEOUT; time;) {
239 /* decrement time and wait 1 usec */
240 time--;
241 if (time)
/drivers/net/ethernet/hp/
H A Dhp100.c1386 unsigned long time; local
1406 /* Wait 1.3ms (10Mb max packet time) to ensure MAC is idle so
1410 for (time = 0; time < 5000; time++) {
1421 for (time = 0; time < 32000; time++) {
1431 for (time = 0; time < 1000
2497 unsigned long time; local
2603 unsigned long time; local
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c83 u64 time = 0; local
89 0, &time, NULL);
94 hw->nvm.hw_semaphore_timeout = I40E_MS_TO_GTIME(time) + gtime;
98 if (time > I40E_MAX_NVM_TIMEOUT)
108 access, 0, &time,
112 I40E_MS_TO_GTIME(time) + gtime;
120 I40E_MS_TO_GTIME(time) + gtime;
122 time);
/drivers/watchdog/
H A Dwm8350_wdt.c31 unsigned int time; /* Seconds */ member in struct:__anon7295
47 if (wm8350_wdt_cfgs[i].time == timeout)
H A Dwm831x_wdt.c42 unsigned int time; /* Seconds */ member in struct:__anon7294
150 if (wm831x_wdt_cfgs[i].time == timeout)
230 wm831x_wdt->timeout = wm831x_wdt_cfgs[i].time;
/drivers/gpu/drm/nouveau/core/include/subdev/
H A Dtimer.h38 void (*alarm)(struct nouveau_timer *, u64 time, struct nouveau_alarm *);
/drivers/isdn/sc/
H A Dcard.h27 #include <linux/time.h>
34 * Amount of time to wait for a reset to complete
39 * Amount of time between line status checks
44 * The maximum amount of time to wait for a message response
/drivers/macintosh/
H A Dapm_emu.c94 info->time = time_units;
/drivers/net/irda/
H A Dirda-usb.h32 #include <linux/time.h>
/drivers/scsi/
H A Dscsi_netlink.c21 #include <linux/time.h>
/drivers/staging/gdm724x/
H A Dgdm_usb.h20 #include <linux/time.h>
/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlinux-time.h34 * libcfs/include/libcfs/linux/linux-time.h
36 * Implementation of portable time API for Linux (kernel and user-level).
53 #include <linux/time.h>
/drivers/gpu/drm/nouveau/core/subdev/timer/
H A Dnv04.c56 /* reschedule interrupt for next alarm time */
74 nv04_timer_alarm(struct nouveau_timer *ptimer, u64 time, argument
81 alarm->timestamp = ptimer->read(ptimer) + time;
85 if (!time) {
202 /* restore the time before suspend */
211 nv_debug(priv, "time low : 0x%08x\n", lo);
212 nv_debug(priv, "time high : 0x%08x\n", hi);
/drivers/net/fddi/skfp/
H A Dsmt.c213 u_long time; local
216 time = smt_get_time();
217 count = ((time - smc->sm.last_tok_time[mac_index]) *
230 /* Remember current time */
231 smc->sm.last_tok_time[mac_index] = time;
239 u_long time ; local
278 time = smt_get_time() ;
280 if (time - smc->sm.smt_last_lem >= TICKS_PER_SECOND*8) {
282 * Use 8 sec. for the time intervall, it simplifies the
295 smc->sm.smt_last_lem = time ;
1231 u_long time ; local
[all...]
/drivers/gpu/drm/msm/
H A Dmsm_gpu.c349 ktime_t time; local
357 time = ktime_get();
358 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time));
365 gpu->last_sample.time = time;
378 gpu->last_sample.time = ktime_get();
/drivers/md/
H A Ddm-thin-metadata.c30 * dev id, virtual block) -> block_time. Block time is a 64-bit
31 * field holding the time in the low 24 bits, and block in the top 48
103 __le32 time; member in struct:thin_disk_superblock
116 * 2-level btree mapping (dev_id, (dev block, time)) -> data block
180 uint32_t time; member in struct:dm_pool_metadata
504 disk_super->time = 0;
716 * We re-read the superblock every time. Shouldn't need to do this
725 pmd->time = le32_to_cpu(disk_super->time);
812 disk_super->time
1026 __set_snapshot_details(struct dm_pool_metadata *pmd, struct dm_thin_device *snap, dm_thin_id origin, uint32_t time) argument
1381 __snapshotted_since(struct dm_thin_device *td, uint32_t time) argument
[all...]

Completed in 919 milliseconds

1234567891011>>