/linux-2.4.37.9/include/asm-ppc/ |
D | rtc.h | 47 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument 54 to_tm(nowtime, time); in get_rtc_time() 56 time->tm_year -= 1900; in get_rtc_time() 57 time->tm_mon -= 1; /* Make sure userland has a 0-based month */ in get_rtc_time() 64 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument 69 nowtime = mktime(time->tm_year+1900, time->tm_mon+1, in set_rtc_time() 70 time->tm_mday, time->tm_hour, time->tm_min, in set_rtc_time() 71 time->tm_sec); in set_rtc_time()
|
/linux-2.4.37.9/drivers/net/skfp/ |
D | hwt.c | 63 void hwt_start(smc, time) in hwt_start() argument 65 u_long time ; 69 if (time > HWT_MAX) 70 time = HWT_MAX ; 72 smc->hw.t_start = time ; 75 cnt = (u_short)time ; 245 u_long time ; local 249 time = inpd(ADDR(B2_TI_VAL)) ; 250 outpd(ADDR(B2_TI_INI),time) ; 254 return(time) ;
|
D | smttimer.c | 73 void smt_timer_start(smc,timer,time,token) in smt_timer_start() argument 76 u_long time ; 83 time /= 16 ; /* input is uS, clock ticks are 16uS */ 84 if (!time) 85 time = 1 ; 93 timer->tm_delta = time ; 94 hwt_start(smc,time) ; 107 if (delta + tm->tm_delta > time) { 115 timer->tm_delta = time - delta ;
|
/linux-2.4.37.9/drivers/sound/ |
D | sys_timer.c | 134 long time; in def_tmr_event() local 139 time = parm; in def_tmr_event() 140 next_event_time = prev_event_time = time; in def_tmr_event() 263 def_tmr_arm(int dev, long time) in def_tmr_arm() argument 265 if (time < 0) in def_tmr_arm() 266 time = curr_ticks + 1; in def_tmr_arm() 267 else if (time <= curr_ticks) /* It's the time */ in def_tmr_arm() 270 next_event_time = prev_event_time = time; in def_tmr_arm()
|
D | sound_timer.c | 124 long time; in timer_event() local 128 time = parm; in timer_event() 129 next_event_time = prev_event_time = time; in timer_event() 254 static void timer_arm(int dev, long time) in timer_arm() argument 256 if (time < 0) in timer_arm() 257 time = curr_ticks + 1; in timer_arm() 258 else if (time <= curr_ticks) /* It's the time */ in timer_arm() 261 next_event_time = prev_event_time = time; in timer_arm()
|
/linux-2.4.37.9/arch/mips/vr41xx/common/ |
D | rtc.c | 104 static inline void write_elapsedtime_counter(uint64_t time) in write_elapsedtime_counter() argument 106 write_rtc1((uint16_t)time, ETIMELREG); in write_elapsedtime_counter() 107 write_rtc1((uint16_t)(time >> 16), ETIMEMREG); in write_elapsedtime_counter() 108 write_rtc1((uint16_t)(time >> 32), ETIMEHREG); in write_elapsedtime_counter() 111 static inline void write_elapsedtime_compare(uint64_t time) in write_elapsedtime_compare() argument 113 write_rtc1((uint16_t)time, ECMPLREG); in write_elapsedtime_compare() 114 write_rtc1((uint16_t)(time >> 16), ECMPMREG); in write_elapsedtime_compare() 115 write_rtc1((uint16_t)(time >> 32), ECMPHREG); in write_elapsedtime_compare() 258 void vr41xx_set_epoch_time(unsigned long time) in vr41xx_set_epoch_time() argument 260 epoch_time = time; in vr41xx_set_epoch_time()
|
/linux-2.4.37.9/drivers/char/rio/ |
D | riotime.h | 56 #define RioTimeToLow(time) (time*(100000 / 64)) argument 57 #define RioLowToTime(time) ((time*64)/100000) argument
|
D | link.h | 114 #define LED_TIMEOUT(time) (link->led_timeout = RioTimePlus(RioTime(),(time))) argument 118 #define LED_TIMEOUT(time) argument
|
/linux-2.4.37.9/include/asm-m68k/ |
D | rtc.h | 31 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument 39 mach_hwclk(0, time); in get_rtc_time() 43 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument 45 return mach_hwclk(1, time); in set_rtc_time()
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-calibr.c | 208 unsigned int time; in ftape_calibrate() local 248 time = ftape_timediff(0, multiple - once); in ftape_calibrate() 249 tc = (1000 * time) / (count - 1); in ftape_calibrate() 257 if (time >= 100*1000) in ftape_calibrate() 265 time = old_time; in ftape_calibrate() 271 old_time = time; in ftape_calibrate() 276 *calibr_time = time; in ftape_calibrate()
|
D | fdc-io.c | 192 unsigned int time; in fdc_command() local 260 time = ftape_timediff(last_time, ftape_timestamp()); in fdc_command() 261 if (time < 6000) { in fdc_command() 263 time); in fdc_command() 386 int fdc_interrupt_wait(unsigned int time) in fdc_interrupt_wait() argument 405 timeout = (1000 * time + FT_USPT - 1) / FT_USPT; in fdc_interrupt_wait() 781 unsigned int time; in fdc_seek() local 789 time = ftape_timestamp(); in fdc_seek() 812 time = ftape_timediff(time, ftape_timestamp()) / ABS(track - ftape_current_cylinder); in fdc_seek() 813 if ((time < 900 || time > 3100) && ABS(track - ftape_current_cylinder) > 5) { in fdc_seek() [all …]
|
/linux-2.4.37.9/Documentation/mips/ |
D | time.README | 1 README for MIPS time services 9 This file describes the new arch/mips/kernel/time.c, related files and the 12 If you are short in patience and just want to know how to use time.c for a 19 The old arch/mips/kernel/time.c is renamed to old-time.c. 21 A new time.c is put there, together with include/asm-mips/time.h. 26 1) old time.c (CONFIG_OLD_TIME_C) 27 2) new time.c (CONFIG_NEW_TIME_C) 28 3) neither (their own private time.c) 30 However, it is expected every board will move to the new time.c in the near 38 The new time code provide the following services: [all …]
|
/linux-2.4.37.9/drivers/char/ipmi/ |
D | ipmi_kcs_sm.c | 217 long time) in check_ibf() argument 220 kcs->ibf_timeout -= time; in check_ibf() 234 long time) in check_obf() argument 237 kcs->obf_timeout -= time; in check_obf() 316 enum kcs_result kcs_event(struct kcs_data *kcs, long time) in kcs_event() argument 327 if (!check_ibf(kcs, status, time)) in kcs_event() 407 if (! check_obf(kcs, status, time)) in kcs_event() 443 if (! check_obf(kcs, status, time)) in kcs_event() 458 if (! check_obf(kcs, status, time)) in kcs_event()
|
/linux-2.4.37.9/arch/ppc/xmon/ |
D | adb.c | 22 unsigned int time; member 32 adb_log[0].time = get_dec(); in init_adb_log() 44 t0 = ap->time; in dump_adb_log() 46 t = t0 - ap->time; in dump_adb_log() 62 ap->time = get_dec(); in adb_chklog()
|
/linux-2.4.37.9/drivers/char/ |
D | eurotechwdt.c | 270 int time; in eurwdt_ioctl() local 284 if (copy_from_user(&time, (int *) arg, sizeof(int))) in eurwdt_ioctl() 287 if (time < 0 || time > 255) in eurwdt_ioctl() 289 eurwdt_timeout = time; in eurwdt_ioctl() 290 eurwdt_set_timeout(time); in eurwdt_ioctl()
|
/linux-2.4.37.9/Documentation/ia64/ |
D | efirtc.txt | 22 at first, the time of day service. This is required in order to access, in a 24 to initialize the system view of the time during boot. 33 EFI uses a slightly different way of representing the time, noticeably 36 expose this new way of representing time. Instead we use something very 47 To allow for a uniform interface between the legacy RTC and EFI time service, 55 The part of the driver gives access to the time of day service of EFI. 77 The driver takes care of converting back an forth between the EFI time and 89 Root privileges are required to be able to set the time of day. 115 struct rtc_time time;
|
/linux-2.4.37.9/fs/smbfs/ |
D | proc.c | 363 utc2local(struct smb_sb_info *server, time_t time) in utc2local() argument 365 return time - server->opt.serverzone*60; in utc2local() 369 local2utc(struct smb_sb_info *server, time_t time) in local2utc() argument 371 return time + server->opt.serverzone*60; in local2utc() 377 date_dos2unix(struct smb_sb_info *server, __u16 date, __u16 time) in date_dos2unix() argument 386 secs = (time & 31) * 2 + 60 * ((time >> 5) & 63) + (time >> 11) * 3600 + 86400 * in date_dos2unix() 398 int unix_date, __u16 *date, __u16 *time) in date_unix2dos() argument 406 *time = (unix_date % 60) / 2 + in date_unix2dos() 2023 __u16 date, time; in smb_decode_long_dirent() local 2038 time = WVAL(p, 2); in smb_decode_long_dirent() [all …]
|
/linux-2.4.37.9/Documentation/input/ |
D | joystick-api.txt | 33 __u32 time; /* event timestamp in milliseconds */ 114 2.4 js_event.time 117 The time an event was generated is stored in ``js_event.time''. It's a time 120 presses happened at the same time, and similar. 129 admittedly, a long time;) 167 mentioned, or because too much time elapses from one read to another 171 If time between reads is enough to fill the queue and loose an event, 172 the driver will switch to startup mode and next time you read it, 182 at a time using the typical read(2) functionality. For that, you would 216 JSIOGCVERSION is a good way to check in run-time whether the running [all …]
|
/linux-2.4.37.9/arch/m68k/mac/ |
D | misc.c | 50 long time; in adb_read_time() local 56 time = (req.reply[3] << 24) | (req.reply[4] << 16) in adb_read_time() 58 return time - RTC_OFFSET; in adb_read_time() 258 static void via_write_time(long time) in via_write_time() argument 271 data.idata = time + RTC_OFFSET; in via_write_time() 522 static void unmktime(unsigned long time, long offset, in unmktime() argument 537 days = time / SECS_PER_DAY; in unmktime() 538 rem = time % SECS_PER_DAY; in unmktime()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ipt_recent.c | 66 u_int32_t time; member 231 curr_table->time_info[count].time = 0; in ip_recent_ctrl() 516 time_info[curr_table->time_pos].time = r_list[location].last_seen; in match() 567 time_info[time_loc].time = now; in match() 569 …while((time_info[(time_loc+1) % ip_list_tot].time < time_info[time_loc].time) && ((time_loc+1) % i… in match() 570 time_temp = time_info[time_loc].time; in match() 571 time_info[time_loc].time = time_info[(time_loc+1)%ip_list_tot].time; in match() 572 time_info[(time_loc+1)%ip_list_tot].time = time_temp; in match() 620 time_info[time_loc].time = 0; in match() 622 …while((time_info[(time_loc+1) % ip_list_tot].time < time_info[time_loc].time) && ((time_loc+1) % i… in match() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | hp100.c | 1443 unsigned long time; in hp100_BM_shutdown() local 1467 for (time = 0; time < 5000; time++) { in hp100_BM_shutdown() 1478 for (time = 0; time < 32000; time++) { in hp100_BM_shutdown() 1488 for (time = 0; time < 10000; time++) { in hp100_BM_shutdown() 1495 if (time >= 10000) in hp100_BM_shutdown() 1503 for (time = 0; time < 10000; time++) { in hp100_BM_shutdown() 2574 unsigned long time; in hp100_down_vg_link() local 2583 time = jiffies + (HZ / 4); in hp100_down_vg_link() 2591 } while (time_after(time, jiffies)); in hp100_down_vg_link() 2593 if (time_after_eq(jiffies, time)) /* no signal->no logout */ in hp100_down_vg_link() [all …]
|
/linux-2.4.37.9/Documentation/ |
D | ftape.txt | 42 C. Boot and load time configuration 43 1. Setting boot time parameters 44 2. Module load time parameters 45 3. Ftape boot- and load time options 177 The amount of debugging output maps to the "tracing" boot time 195 i) trim the debugging output at run-time with 201 ii) trim the debugging output at module load time with 208 iii) trim the debugging output during system boot time. Add the 214 set boot time parameters. 218 C. Boot and load time configuration [all …]
|
D | smp.txt | 9 The next time you compile the kernel, when running a SMP kernel, 15 Of course you should time how long each build takes :-) 18 time -v sh -c 'make dep ; make clean install modules modules_install'
|
/linux-2.4.37.9/include/linux/ |
D | hfs_sysdep.h | 78 static inline hfs_u32 hfs_from_utc(hfs_s32 time) in hfs_from_utc() argument 80 return time - sys_tz.tz_minuteswest*60; in hfs_from_utc() 83 static inline hfs_s32 hfs_to_utc(hfs_u32 time) in hfs_to_utc() argument 85 return time + sys_tz.tz_minuteswest*60; in hfs_to_utc()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | rtc.c | 389 unsigned long time; in iSeries_get_boot_time() local 415 time = mktime(year, mon, day, hour, min, sec); in iSeries_get_boot_time() 416 time += ( jiffies / HZ ); in iSeries_get_boot_time() 424 time -= lastsec; in iSeries_get_boot_time() 428 to_tm(time, tm); in iSeries_get_boot_time()
|