/drivers/extcon/ |
H A D | extcon-max14577.c | 181 * 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 D | hdlc_cisco.c | 47 __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 D | main.c | 239 /* 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 D | rtc-at91sam9.c | 17 #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 D | rtc-pxa.c | 266 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 D | libata-transport.c | 497 struct timespec time; local 499 jiffies_to_timespec(ent->timestamp,&time); 502 time.tv_sec, time.tv_nsec);
|
/drivers/clocksource/ |
H A D | bcm_kona_timer.c | 23 #include <asm/mach/time.h> 110 * This way, we are potentially losing the time between
|
H A D | metag_generic.c | 20 * as a free-running time base (hz clocksource), and the interrupt timer 31 #include <linux/time.h>
|
/drivers/cpufreq/ |
H A D | blackfin-cpufreq.c | 18 #include <asm/time.h> 51 * used in time-ts cycles clock source, but could be used
|
H A D | maple-cpufreq.c | 26 #include <linux/time.h> 43 #define PCR_TARGET_TIME_MASK 0x00006000U /* target time */
|
H A D | pasemi-cpufreq.c | 36 #include <asm/time.h> 57 * the idle time.
|
/drivers/gpu/drm/msm/ |
H A D | msm_gpu.h | 73 ktime_t time; member in struct:msm_gpu::__anon740
|
/drivers/lguest/ |
H A D | hypercalls.c | 152 * 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 D | demux.h | 32 #include <linux/time.h>
|
/drivers/media/firewire/ |
H A D | firedtv.h | 16 #include <linux/time.h>
|
/drivers/net/irda/ |
H A D | ali-ircc.h | 25 #include <linux/time.h>
|
/drivers/oprofile/ |
H A D | oprof.c | 16 #include <linux/time.h>
|
/drivers/pps/clients/ |
H A D | pps_parport.c | 34 #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 D | kapi.c | 28 #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 D | fsm.h | 7 #include <linux/time.h>
|
/drivers/staging/rts5208/ |
H A D | rtsx.h | 40 #include <linux/time.h>
|
/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 904 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 D | booke_wdt.c | 22 #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 D | charger-manager.c | 78 /* 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 D | efirtc.c | 9 * 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
|