linux/drivers/rtc/hctosys.c
<<
>>
Prefs
   1/*
   2 * RTC subsystem, initialize system time on startup
   3 *
   4 * Copyright (C) 2005 Tower Technologies
   5 * Author: Alessandro Zummo <a.zummo@t_search(this);">
	    
  
  
   2 * RTC subsystem,the beretgu &l np to add 0.5s.f="drivers/rtc/hctosys.c#L5" id="L5" cla2ss="line2" name="L3">   3 *
   4   5__tem s="cfs?return=dcode=L5"_id="L5"h_results"ref">L5"_id="L5"s="c(void)ers/rtc/hctosys.c#L5" id="L5" cla2="hiddea2sspv2.6.16.5
 2 
  <2ption{ers/rtc/hctosys.c#L5" id="L5" cla2>c.6.16.25
  > * RTC subsys2tem,s2="&          i;tfs?return=dcode=errh_results"ref">err"&   = -s?return=dcode=ENODEVh_results"ref">ENODEV"&   ers/rtc/hctosys.c#L5" id="L5" cla28c.6.16.28
  > * RTC subsys28em,s28"&          structfs?return=dcode=L5"_pL5"_ptm"&   ers/rtc/hctosys.c#L5" id="L5" cla29c.6.16.29
  > * RTC subsys29em,s29"&          structfs?return=dcode=pttv"&   = {ers/rtc/hctosys.c#L5" id="L5" cla30s="line30 name="L1">   1tv"nsec"&   = s?return=dcode=NSEC_PER_SECh_results"ref">NSEC_PER_SEC"&   
	   1   2L5"_device"&   *s?return=dcode=L5"h_results"ref">L5""&   = s?return=dcode=L5"_resul_op_looresults"ref">L5"_resul_op_ls="c(s?return=dcode=CONFIG_ in_HCTOSYS_DEVICEooresults"ref">CONFIG_ in_HCTOSYS_DEVICEs="c) ers/rtc/hctosys.c#L5" id="L5" cla3ss="line"" name="L3">   3   4L5""&   == s?return=dcode=NULLh_results"ref">NULLs="c) {ers/rtc/hctosys.c#L5" id="L5" cla3ss="line3" name="L5">   5pr_errs="c(smment"> *&quo__FILE__"&  , s?return=dcode=CONFIG_ in_HCTOSYS_DEVICEooresults"ref">CONFIG_ in_HCTOSYS_DEVICEs="c) ers/rtc/hctosys.c#L5" id="L5" cla3>c.6.16.35
  > * RTC subsys3tem,s37"&                  goto s?return=dcode=err_op_looresults"ref">err_op_l"&   ers/rtc/hctosys.c#L5" id="L5" cla38c.6.16.38
  > * RTC subsys38em,s38"&          }ers/rtc/hctosys.c#L5" id="L5" cla39c.6.16.39
  > * RTC subsys39em,s39s="cers/rtc/hctosys.c#L5" id="L5" cla40s="line40 name="L1">   1err"&   = s?return=dcode=L5"_r6da_pL5"_r6da_pL5""&  , &s?return=dcode=tmh_results"ref">tm"&  ) ers/rtc/hctosys.c#L5" id="L5" cla4ss="line4" name="L1">   1err"&  ) {ers/rtc/hctosys.c#L5" id="L5" cla4ss="line4" name="L2">   2dev_errs="c(s?return=dcode=L5"h_results"ref">L5""&  -put t?return=dcode=devh_results"ref">dev"&  .s?return=dcode=par
par
   3 *&quoock\n&quo   4err_r6daf=   ers/rtc/hctosys.c#L5" id="L5" cla4ss="line4" name="L5">   5c.6.16.45
  > * RTC subsys4tem,s47s="cers/rtc/hctosys.c#L5" id="L5" cla48c.6.16.48
  > * RTC subsys48em,s48"&          s?return=dcode=errh_results"ref">err"&   = s?return=dcode=L5"_valia_pmh_results"ref">L5"_valia_pms="c(&s?return=dcode=tmh_results"ref">tm"&  ) ers/rtc/hctosys.c#L5" id="L5" cla49c.6.16.49
  > * RTC subsys49em,s49"&          if (s?return=dcode=errh_results"ref">err"&  ) {ers/rtc/hctosys.c#L5" id="L5" cla50s="line50 name="L1">   1dev_errs="c(s?return=dcode=L5"h_results"ref">L5""&  -put t?return=dcode=devh_results"ref">dev"&  .s?return=dcode=par
par
   1 *&quo   2err_invaliaf=   ers/rtc/hctosys.c#L5" id="L5" cla5ss="line5" name="L3">   3   4   5L5"_pm_to_ptm"&  , &s?return=dcode=tvh_results"ref">tv"&  .s?return=dcode=tv"sech_results"ref">tv"sec"&  ) ers/rtc/hctosys.c#L5" id="L5" cla5="hiddea5sspv2.6.16.5
 5 
  <56s="cers/rtc/hctosys.c#L5" id="L5" cla5>c.6.16.55
  > * RTC subsys5tem,s57"&          s?return=dcode=errh_results"ref">err"&   = s?return=dcode=);">
tpd;">
tptv"&  ) ers/rtc/hctosys.c#L5" id="L5" cla58c.6.16.58
  > * RTC subsys58em,s58s="cers/rtc/hctosys.c#L5" id="L5" cla59c.6.16.59
  > * RTC subsys59em,s59"&          s?return=dcode=dev_infoh_results"ref">dev_infos="c(s?return=dcode=L5"h_results"ref">L5""&  -put t?return=dcode=devh_results"ref">dev"&  .s?return=dcode=par
par
   1 *&quo
tpock to &quo   1 *&quo   2tm"&  .s?return=dcode=tm_yearh_results"ref">tm_year"&   + 1900, s?return=dcode=tmh_results"ref">tm"&  .s?return=dcode=tm_molooresults"ref">tm_mol"&   + 1, s?return=dcode=tmh_results"ref">tm"&  .s?return=dcode=tm_mdayh_results"ref">tm_mday"&  ,ers/rtc/hctosys.c#L5" id="L5" cla6ss="line6" name="L3">   3tm"&  .s?return=dcode=tm_hourh_results"ref">tm_hour"&  , s?return=dcode=tmh_results"ref">tm"&  .s?return=dcode=tm_milooresults"ref">tm_min"&  , s?return=dcode=tmh_results"ref">tm"&  .s?return=dcode=tm_sech_results"ref">tm"sec"&  ,ers/rtc/hctosys.c#L5" id="L5" cla6ss="line6" name="L4">   4tv"&  .s?return=dcode=tv"sech_results"ref">tv"sec"&  ) ers/rtc/hctosys.c#L5" id="L5" cla6ss="line6" name="L5">   5err_invaliaf=  :ers/rtc/hctosys.c#L5" id="L5" cla6>c.6.16.65
  > * RTC subsys6tem,s67tion ?return=dcode=err_r6daooresults"ref">err_r6daf=  :ers/rtc/hctosys.c#L5" id="L5" cla68c.6.16.68
  > * RTC subsys68em,s68"&          s?return=dcode=L5"_resul_">oseooresults"ref">L5"_resul_">oses="c(s?return=dcode=L5"h_results"ref">L5""&  ) ers/rtc/hctosys.c#L5" id="L5" cla69c.6.16.69
  > * RTC subsys69em,s69s="cers/rtc/hctosys.c#L5" id="L5" cla70s="line70 name="L1">   1err_op_l"&  :ers/rtc/hctosys.c#L5" id="L5" cla7ss="line7" name="L1">   1L5"_id="L5"_r6a"&   = s?return=dcode=errh_results"ref">err"&   ers/rtc/hctosys.c#L5" id="L5" cla7ss="line7" name="L2">   2   3
	err"&   ers/rtc/hctosys.c#L5" id="L5" cla7ss="line7" name="L4">   4   5late_tem calls="c(s?return=dcode=L5"_id="L5"h_results"ref">L5"_id="L5"s="c) ers/rtc/hctosys.c#L5" id="L5" cla7>c.6.16.55
  > * RTC subsysttem,s77tion /prediv>
   

d="content">
  >
  >footer">
Thf oLXRnpan>uem y"&  , 
lxr@river.no"&  .
d="contnt">
  >
  >subfooter">
lxr.river.no kindly hosted by/rs/rtc/hchttp://www.redpill-rivpro.no">Redpill Livpro AS"&  , provids