Searched refs:time (Results 151 - 175 of 441) sorted by relevance

1234567891011>>

/drivers/extcon/
H A Dextcon-max14577.c181 * max14577_muic_set_debounce_time - Set the debounce time of ADC
183 * @time: the debounce time of ADC
186 enum max14577_muic_adc_debounce_time time)
190 switch (time) {
198 time << CTRL3_ADCDBSET_SHIFT);
200 dev_err(info->dev, "failed to set ADC debounce time\n");
205 dev_err(info->dev, "invalid ADC debounce time\n");
773 /* Set ADC debounce time */
185 max14577_muic_set_debounce_time(struct max14577_muic_info *info, enum max14577_muic_adc_debounce_time time) argument
/drivers/net/wan/
H A Dhdlc_cisco.c47 __be32 time; member in struct:cisco_packet
118 data->time = htonl((jiffies - INITIAL_JIFFIES) * (1000 / HZ));
231 sec = ntohl(cisco_data->time) / 1000;
/drivers/net/wireless/iwlwifi/dvm/
H A Dmain.c239 /* new beacon skb is allocated every time; dispose previous.*/
349 u32 ev, time, data; /* event log data */ local
374 * "time" is actually "data" for mode 0 (no timestamp).
379 time = iwl_read32(priv->trans, HBUS_TARG_MEM_RDAT);
382 priv->trans->dev, 0, time, ev);
386 priv->trans->dev, time, data, ev);
1582 IWL_ERR(priv, "0x%08X | beacon time\n", table.bcon_time);
1585 IWL_ERR(priv, "0x%08X | time gp1\n", table.gp1);
1586 IWL_ERR(priv, "0x%08X | time gp2\n", table.gp2);
1587 IWL_ERR(priv, "0x%08X | time gp
1622 u32 ev, time, data; /* event log data */ local
[all...]
/drivers/rtc/
H A Drtc-at91sam9.c17 #include <linux/time.h>
34 * - A "Real-time Timer" (RTT) counts up in seconds from a base time.
38 * base time, normally an offset from the beginning of the POSIX
76 * Read current time and date in RTC
84 /* read current time offset */
105 * Set current time and date in RTC
127 /* read current time offset */
130 /* store the new base time in a battery backup register */
134 /* adjust the alarm time fo
[all...]
H A Drtc-pxa.c266 tm_calc(ryar, rdar, &alrm->time);
281 rtc_writel(pxa_rtc, RYAR1, ryxr_calc(&alrm->time));
282 rtc_writel(pxa_rtc, RDAR1, rdxr_calc(&alrm->time));
/drivers/ata/
H A Dlibata-transport.c497 struct timespec time; local
499 jiffies_to_timespec(ent->timestamp,&time);
502 time.tv_sec, time.tv_nsec);
/drivers/clocksource/
H A Dbcm_kona_timer.c23 #include <asm/mach/time.h>
110 * This way, we are potentially losing the time between
H A Dmetag_generic.c20 * as a free-running time base (hz clocksource), and the interrupt timer
31 #include <linux/time.h>
/drivers/cpufreq/
H A Dblackfin-cpufreq.c18 #include <asm/time.h>
51 * used in time-ts cycles clock source, but could be used
H A Dmaple-cpufreq.c26 #include <linux/time.h>
43 #define PCR_TARGET_TIME_MASK 0x00006000U /* target time */
H A Dpasemi-cpufreq.c36 #include <asm/time.h>
57 * the idle time.
/drivers/gpu/drm/msm/
H A Dmsm_gpu.h73 ktime_t time; member in struct:msm_gpu::__anon740
/drivers/lguest/
H A Dhypercalls.c152 * We remember where we were up to from last time. This makes
198 * Last of all, we look at what happens first of all. The very first time the
224 * We write the current time into the Guest's data page once so it can
302 * This routine supplies the Guest with time: it's used for wallclock time at
303 * initial boot and as a rough time source if the TSC isn't available.
309 if (copy_to_user(&cpu->lg->lguest_data->time,
/drivers/media/dvb-core/
H A Ddemux.h32 #include <linux/time.h>
/drivers/media/firewire/
H A Dfiredtv.h16 #include <linux/time.h>
/drivers/net/irda/
H A Dali-ircc.h25 #include <linux/time.h>
/drivers/oprofile/
H A Doprof.c16 #include <linux/time.h>
/drivers/pps/clients/
H A Dpps_parport.c34 #include <linux/time.h>
75 /* first of all we get the time stamp... */
90 * Interrupts won't be disabled for a long time because the
95 /* check the signal (no signal means the pulse is lost this time) */
/drivers/pps/
H A Dkapi.c28 #include <linux/time.h>
92 pr_err("%s: unspecified time format\n",
201 /* Save the time stamp */
215 /* Save the time stamp */
/drivers/s390/net/
H A Dfsm.h7 #include <linux/time.h>
/drivers/staging/rts5208/
H A Drtsx.h40 #include <linux/time.h>
/drivers/usb/host/
H A Dr8a66597-hcd.c904 u16 time = 1; local
909 time = IITV;
911 time = interval ? interval - 1 : 0;
914 time = IITV;
920 time = 1 << i;
925 return time;
931 unsigned long time = 1; local
938 time *= 2;
939 time = time * 12
1259 unsigned long time; local
[all...]
/drivers/watchdog/
H A Dbooke_wdt.c22 #include <asm/time.h>
29 * first time nothing will happen, the second time a watchdog exception will
30 * occur, and the final time the board will reset.
50 * corresponding to the reset time. There will be a watchdog
51 * exception at approximately 3/5 of this time.
/drivers/power/
H A Dcharger-manager.c78 /* Backup RTC alarm time in terms of seconds since 01-01-1970 00:00:00 */
86 static unsigned long next_polling; /* Next appointed polling time */
364 * Save start time of charging to limit
365 * maximum possible charging time.
382 * Save end time of charging to maintain fully charged state
1084 unsigned long time, now; local
1090 * However, the alarm time should be NOW +
1094 rtc_read_time(rtc_dev, &tmp.time);
1095 rtc_tm_to_time(&tmp.time, &now);
1098 time
[all...]
/drivers/char/
H A Defirtc.c9 * This code provides an architected & portable interface to the real time
17 * when used to get/set the time.
183 printk(KERN_ERR "efitime: can't read time\n");
217 || copy_from_user(&wtime, &ewp->time, sizeof(struct rtc_time)) )
252 return copy_to_user(&ewp->time, &wtime,
259 * We enforce only one user at a time here with the open/close.
268 * We do accept multiple open files at the same time as we

Completed in 504 milliseconds

1234567891011>>