/drivers/clocksource/ |
H A D | timer-u300.c | 8 #include <linux/time.h> 24 #include <asm/mach/time.h> 344 * this wraps around for now, since it is just a relative time
|
/drivers/ptp/ |
H A D | ptp_clock.c | 46 /* time stamp event queue operations */ 132 ts.tv_sec = tx->time.tv_sec; 133 ts.tv_nsec = tx->time.tv_usec;
|
/drivers/rtc/ |
H A D | rtc-da9055.c | 2 * Real time clock driver for DA9055 148 dev_err(rtc->da9055->dev, "Failed to read RTC time : %d\n", 183 struct rtc_time *tm = &alrm->time; 199 struct rtc_time *tm = &alrm->time;
|
H A D | rtc-da9063.c | 1 /* rtc-da9063.c - Real time clock device driver for DA9063 115 dev_err(dev, "Failed to read RTC time data: %d\n", ret); 148 dev_err(dev, "Failed to set RTC time data: %d\n", ret); 166 da9063_data_to_tm(data, &alrm->time); 188 da9063_tm_to_data(&alrm->time, data); 351 MODULE_DESCRIPTION("Real time clock device driver for Dialog DA9063");
|
H A D | rtc-imxdi.c | 195 * read the seconds portion of the current time from the dryice time counter 209 * set the seconds portion of dryice time counter and clear the 248 rtc_time_to_tm(dcamr, &alarm->time); 274 rc = rtc_tm_to_time(&alarm->time, &alarm_time); 283 /* write the new alarm time */ 451 /* start keeping time */
|
H A D | rtc-lp8788.c | 171 struct rtc_time *tm = &alarm->time; 196 struct rtc_time *tm = &alarm->time; 269 /* even the alarm IRQ number is not specified, rtc time should work */
|
H A D | rtc-max8925.c | 191 ret = tm_calc(&alrm->time, buf, TIME_NUM); 226 ret = data_calc(buf, &alrm->time, TIME_NUM);
|
H A D | rtc-max8998.c | 153 max8998_data_to_tm(data, &alrm->time); 206 max8998_tm_to_data(&alrm->time, data);
|
H A D | rtc-mc13xxx.c | 105 * already updated while the time isn't yet. 194 rtc_time_to_tm(s1970, &alarm->time); 218 ret = rtc_tm_to_time(&alarm->time, &s1970);
|
H A D | rtc-puv3.c | 93 dev_dbg(dev, "read time %02x.%02x.%02x %02x/%02x/%02x\n", 104 dev_dbg(dev, "set time %02d.%02d.%02d %02d/%02d/%02d\n", 116 struct rtc_time *alm_tm = &alrm->time; 132 struct rtc_time *tm = &alrm->time;
|
H A D | rtc-tps6586x.c | 107 dev_err(dev, "requested time unsupported\n"); 119 /* Disable RTC before changing time */ 128 dev_err(dev, "failed to program new time\n"); 169 rtc_tm_to_time(&alrm->time, &seconds); 172 dev_err(dev, "can't set alarm to requested time\n"); 230 rtc_time_to_tm(seconds, &alrm->time);
|
H A D | rtc-88pm80x.c | 87 * Calculate the next alarm time given the requested alarm time mask 88 * and the current time. 139 "Set time %d out of range. Please set time between 1970 to 2038.\n", 177 rtc_time_to_tm(ticks, &alrm->time); 206 dev_dbg(info->dev, "%s, now time : %lu\n", __func__, ticks); 207 rtc_next_alarm_time(&alarm_tm, &now_tm, &alrm->time); 210 dev_dbg(info->dev, "%s, alarm time: %lu\n", __func__, ticks); 298 dev_err(&pdev->dev, "Failed to read initial time [all...] |
/drivers/hwmon/ |
H A D | ibmaem.c | 38 #include <linux/time.h> 843 u64 before, after, delta, time; local 848 time = ktime_get_ns(); 860 time = ktime_get_ns() - time; 867 (unsigned long long)div64_u64(delta * NSEC_PER_SEC, time));
|
/drivers/input/keyboard/ |
H A D | lm8323.c | 48 #define LM8323_CMD_SET_ACTIVE 0x8b /* Set active time. */ 51 #define LM8323_CMD_SET_DEBOUNCE 0x8f /* Set debouncing time. */ 237 * Set the chip active time (idle time before it enters halt). 239 static void lm8323_set_active_time(struct lm8323_chip *lm, int time) argument 241 lm8323_write(lm, 2, LM8323_CMD_SET_ACTIVE, time >> 2); 300 * during a keypress, so set active time to 0. When it's released, 301 * we can enter halt again, so set the active time back to normal. 341 * Active time must be greater than the debounce time 548 int ret, time; local [all...] |
/drivers/s390/cio/ |
H A D | cmf.c | 115 * reset its time stamp 150 * not accumulated time. 474 * @device_connect_time: time of device connect 475 * @function_pending_time: time of function pending 476 * @device_disconnect_time: time of device disconnect 477 * @control_unit_queuing_time: time of control unit queuing 478 * @device_active_only_time: time of device active only 706 u64 time; local 724 time = cmb_data->last_update - cdev->private->cmb_start_time; 732 data->elapsed_time = (time * 100 969 u64 time; local [all...] |
/drivers/video/fbdev/omap2/dss/ |
H A D | rfbi.c | 358 u32 time; local 361 time = 1000000000 / rfbi.l4_khz; 363 time *= 2; 365 DSSDBG("Tick time %u ps\n", time); 463 static int ps_to_rfbi_ticks(int time, int div) argument 471 ret = (time + tick_ps - 1) / tick_ps;
|
/drivers/s390/crypto/ |
H A D | ap_bus.c | 461 * this time because a segment boundary was reached. Again, the 598 * wait 60sec + reset time (some msec). 1056 int time; local 1058 if (sscanf(buf, "%d\n", &time) != 1 || time < 5 || time > 120) 1060 ap_config_time = time; 1103 unsigned long long time; local 1107 if (sscanf(buf, "%llu\n", &time) != 1 || time < [all...] |
/drivers/media/dvb-frontends/ |
H A D | stb0899_algo.c | 114 * Compute the amount of time needed by the derotator to lock 116 * return: derotator time constant (ms) 171 * internal.Ttiming: time to wait for loop lock 1098 int time = -10, lock = 0, uwp, csm; local 1113 time += 10; 1116 } while ((!lock) && (time <= timeout)); 1132 int time = 0, lock = 0; local 1135 while ((!lock) && (time < timeout)) { 1139 time++; 1151 int time local [all...] |
/drivers/scsi/esas2r/ |
H A D | esas2r_disc.c | 121 * a time because we know the exact count to wait for. 123 * always wait the full time. 128 * bump the minimum wait time to 15 seconds since the 130 * buys us more time). 138 esas2r_trace("disc wait time: %d", a->disc_wait_time); 205 u32 time = currtime - a->disc_start_time; local 208 * Wait until the device wait time is exhausted or the device 211 if (time < a->disc_wait_time 215 if (time >= 3000 227 * We are done waiting...we think. Adjust the wait time t [all...] |
/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 168 * This cannot be called by two threads at the same time and 192 /* called externally at insmod time, and internally on cleanup */ 198 /* external: one-time only things */ 470 static enum si_sm_result bt_event(struct si_sm_data *bt, long time) argument 483 time); 488 * Commands that time out may still (eventually) provide a response. 502 bt->timeout -= time;
|
/drivers/extcon/ |
H A D | extcon-max8997.c | 179 * max8997_muic_set_debounce_time - Set the debounce time of ADC 181 * @time: the debounce time of ADC 184 enum max8997_muic_adc_debounce_time time) 188 switch (time) { 195 time << CONTROL3_ADCDBSET_SHIFT, 198 dev_err(info->dev, "failed to set ADC debounce time\n"); 203 dev_err(info->dev, "invalid ADC debounce time\n"); 740 * Default delay time for detecting cable state 741 * after certain time 183 max8997_muic_set_debounce_time(struct max8997_muic_info *info, enum max8997_muic_adc_debounce_time time) argument [all...] |
/drivers/usb/ |
H A D | usb-skeleton.c | 606 int time; local 608 time = usb_wait_anchor_empty_timeout(&dev->submitted, 1000); 609 if (!time)
|
/drivers/mmc/host/ |
H A D | sh_mmcif.c | 1080 long time; local 1128 time = wait_for_completion_interruptible_timeout(&host->dma_complete, 1145 } else if (!time) { 1148 } else if (time < 0) { 1150 "wait_for_completion_...() error %ld!\n", time); 1151 data->error = time;
|
/drivers/net/hamradio/ |
H A D | dmascc.c | 314 unsigned long time, start[MAX_NUM_DEVS], delay[MAX_NUM_DEVS], local 387 time = jiffies; 392 while (jiffies - time < 13) { 458 unsigned long time; local 535 time = jiffies; 536 while (jiffies - time < 2 + HZ / TMR_0_HZ);
|
/drivers/char/ |
H A D | apm-emulation.c | 42 * One option can be changed at boot time as follows: 437 * 7) Remaining battery life (time units): 451 info.time = -1; 467 info.time, units); 583 * We could time out and the userspace does the ACK 584 * right after we time out but before we enter the
|