--../.st spgnnid="XRn_priel"./.st p f= ) br a.targ="+priel=drLvers/rtc/rtc-imxdi.c"ethod=='"= me"nid="priel_) br".. entbuttrgese_ajasubmie"nclass="priel"../.st st img> Search" .div idp3file_contents"5
. .1./a>.spa1 class="comment">/*./spa15". .2./a>.spa1 class="comment"> * Copyright 2008-2009 Freescale Semiconductor, Inc. All Rights Reserved../spa15". .3./a>.spa1 class="comment"> * Copyright 2010 Orex Computed Radiography./spa15". .4./a>.spa1 class="comment"> */./spa15". .5./a><. .6./a>.spa1 class="comment">/*./spa15". .6./a>.spa1 class="comment">/*./spa15"6rtc-rg72.te1./op ..6a>.spa1 class="  ../.v4.9. .6./a>.spa8 class=8comment">/*./spa15"6rt8-rg728te1./op ..6a>.spa1 class="  .Lpoens.. You may oba38/ a/oppy of t/.vGNU General Pub"po.Lpoens.g72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa9 class=9comment">/*./spa15"6rt9-rg729te1./op ..6a>.spa1 class="  .Vamoinux2 or later at t/.vfollowdiv locaookus:g72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa10#L2" idp03L2" class="line" namop0-rg7rg721./op ..6a>.spa1 class="  g72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa1c#L2" idpp3L2" class="line" namopp3L2"1. .2./a>.spa1 class="commen  .http://www.opensource.org/"poens.s/gpl-"poens..htmlg72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa1uctor, I1nc. All Rights Reserved1../sp115". .6./a>.spa1hy./spa115". 1.6./a>.spa1 class="comm1ent">15 . href="../livers/rtc/rtc-r bas.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3L6" class="line" namo1c#L7" id1p3LcLcLr"	 ../form5"	 .1.a /*./spa15"6rt1c-rg71.te1./op ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa18 class=18comment">/*./spa15"6rt18-rg718te1./op ..6a>.spa1 class="  .Tarc ue="am us.s t/.v47-bit 32 kHz/opunter 8/ t/.vass="line"DryIce blockg72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa19 class=19comment">/*./spa15"6rt19-rg719te1./op ..6a>.spa1 class="  .to implelass a/La15" RTC. Tim.s andt="arms aidptruncao.27to seop3Ls"> * Copyright 2010 Orex Computed Radiograp20#L2" id203L2" class="line" namo20-rg72g721./op ..6a>.spa1 class="   Since t/.vRTC fr" nwork per_ress API lockdiv viaxtc/rdo_sops_lock t/.> * Copyright 2010 Orex Computed Radiograp2c#L2" id2p3L2" class="line" namo2p3L2"2. .2./a>.spa1 class="commen  .only sim862aneous access.s we ne.27to deal with9is updaooiv DryIce> * Copyright 2010 Orex Computed Radiograp2uctor, Innc. All Rights Reserved.../sp215" * Copyright 2010 Orex Computed Radiograp2hy./spa125". .5./a><. 2.6./a>.spa1 class="comm2ent">25 . href="../livers/rtc/rtc  .t/.vWCF (Write spa1lete Flag)>.spa1DryIce writes aidpsynchroniz.27to t/.> * Copyright 2010 Orex Computed Radiograp2c#L7" id2p3LcLcLr"	 ../form5"	 .2.a  * Copyright 2010 Orex Computed Radiograp21 class=2"comment">/*./spa15"6rt2c-rg72.te1./op ..6a>.spa1 class="  .DIER (DryIce Interrupt Enabtc "cgister) are t/.vonly exceptoku. ./.s.g72.te1e="v4.8.15ue="amop3L6">. .6./a>.spa9 cl2ass=18co4.9.11"g src="../.stateputed Radp3L3" cu"  .Vn/.vcceb t/sp2anass a/doVn/tLow P) d.  Period t/iss="  .Dag)>.only exceptoku. ./.s.g72.te1e="v4.8.15ue="amop3L6">2 .6./a>.spa19 class=19c2mment2>/*./spa15"6rt19-rg719te1./op n/tLoupporandtby Enabhardw)>.>.spa1 class="comment"> * Copyright 2010 Orex Comput3d Radiograp20#L2" id20332" cl3ss="line" namo20-rg72g721./op.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp33x Comput3d Radiograp2c#L2" id2p332" cl31 ../form5"	 .1.a =">/io.hghts APIform5"	 .1.a =">/clk.hghts APIform5"	 .1.a =">/delay.hghts APIform5"	 .1.a . 2.63/a>.s35ghts#.6aluspa<orm5"	 .1.6aluspt=">/module.h Radiograf"	 ">=">/module.hghts APIform5"	 .1.a =">/passt/.v_deimre.hghts APIform5"	 .1.a =">/15".hghts APIform5"	 .1.a 3 .6./a>.spa9 cl2ass=18c34.9.138ghts#.6aluspa<orm5"	 .1.6aluspt=">/sched.h Radiograf"	 ">=">/sched.hghts APIform5"	 .1.a 3 .6./a>.spa19 class=19c3mment39ghts#.6aluspa<orm5"	 .1.6aluspt=">/spinkdiv.h Radiograf"	 ">=">/spinkdiv.hghts APIform5"	 .1.a =">/  Siqueue.hghts APIform5"	 .1.a =">/of.hghts APIform5"	 .1.a . 2.64/a>.s45ghts#define">.sp=DTCMRs"5
DTCMRghts/993e0x00           vers/rtc/2rtc-i2xdi.c#/*eplel/rt t/.v4MSBeIceop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp34x Comput4d Radiograp2c#L7" id2p34cLcLr46ghts#define">.sp=DTCLRs"5
DTCLRghts/993e0x04           vers/rtc/2rtc-i2xdi.c#/*eplel/rt t/.v4LSBeIceop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp34x Comput4d Radiograp21 class=2"c4mment47ss="line" nam1op3L514./spa15"4 .6./a>.spa9 cl2ass=18c44.9.148ghts#define">.sp=DCAMRs"5
DCAMRghts/993e0x08           vers/rtc/2rtc-i2xdi.c#/*eCkdiv A whr4MSBeIceop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp34mop3L6">4 .6./a>.spa19 class=19c4mment49ghts#define">.sp=DCALRs"5
DCALRghts/993e0x0c           vers/rtc/2rtc-i2xdi.c#/*eCkdiv A whr4LSBeIceop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35x Comput5d Radiograp20#L2" id20352" cl50ghts#define">.sp=DCAMR_UNSETs"5
DCAMR_UNSETghts/90xFFFFFFFF  vers/rtc/2rtc-i2xdi.c#/*edoomsday - 1armsop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35x Comput5d Radiograp2c#L2" id2p352" cl51 ../form5"	 .1.a .sp=DCRs"5
DCRghts/993e/90x10           vers/rtc/2rtc-i2xdi.c#/*eControleIceop.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35ex Compu5ted Radiography./spa15"5a hre53ghts#define">.sp=DCR_TCEs"5
DCR_TCEghts/99(1a<< 3)       vers/rtc/2rtc-i2xdi.c#/*eplel/rt t/.v4ER (Dryp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35drivers/5rtc/rtc-imxdi.c#L5" idp5L5" c5ass="line" nam1op3L514./spa15". .6./a>.s55ghts#define">.sp=DSRs"5
DSRghts/993e/90x14           vers/rtc/2rtc-i2xdi.c#/*e.div t/.vDyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35x Comput5d Radiograp2c#L7" id2p35cLcLr56ghts#define">.sp=DSR_WBFs"5
DSR_WBFghts/99(1a<< 10)      vers/rtc/2rtc-i2xdi.c#/*es/rtc/Busy.vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35x Comput5d Radiograp21 class=2"c5mment57ghts#define">.sp=DSR_WNFs"5
DSR_WNFghts/99(1a<< 9)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/Next.vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35mop3L6">5 .6./a>.spa9 cl2ass=18c54.9.158ghts#define">.sp=DSR_WCFs"5
DSR_WCFghts/99(1a<< 8)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/rtc  .t/.vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp35mop3L6">5 .6./a>.spa19 class=19c5mment59ghts#define">.sp=DSR_WEFs"5
DSR_WEFghts/99(1a<< 7)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/Error.vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36x Comput6d Radiograp20#L2" id20362" cl60ghts#define">.sp=DSR_CAFs"5
DSR_CAFghts/99(1a<< 4)       vers/rtc/2rtc-i2xdi.c#/*eCkdiv A whr4vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36x Comput6d Radiograp2c#L2" id2p362" cl61ghts#define">.sp=DSR_NVFs"5
DSR_NVFghts/99(1a<< 1)       vers/rtc/2rtc-i2xdi.c#/*eNon-Valid4vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36x Comput6d Radiograp2uctor, Innc6 All 62ghts#define">.sp=DSR_SVFs"5
DSR_SVFghts/99(1a<< 0)       vers/rtc/2rtc-i2xdi.c#/*eSecu/rty Viol at t4vWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36ex Compu6ted Radiography./spa15"6a hre63a1 class="comment">/*./spa15".sp=DIERs"5
DIERghts/993e/0x18           vers/rtc/2rtc-i2xdi.c#/*eass="  .DIER (DryIceyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36L6" clas6s="line" namop3L6">. .66/a>.s65ghts#define">.sp=DIER_WNIEs"5
DIER_WNIEghts/(1a<< 9)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/Next.ass="  .DIER (Dryp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36rivers/rttc/rtc-imxdi.c#L7" idp3LcLcLr66ghts#define">.sp=DIER_WCIEs"5
DIER_WCIEghts/(1a<< 8)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/rtc  .t/.ass="  .DIER (Dryp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36x Comput6d Radiograp21 class=2"c6mment67ghts#define">.sp=DIER_WEIEs"5
DIER_WEIEghts/(1a<< 7)       vers/rtc/2rtc-i2xdi.c#/*es/rtc/Error.ass="  .DIER (Dryp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36mop3L6">6 .6./a>.spa9 cl2ass=18c64.9.168ghts#define">.sp=DIER_CAIEs"5
DIER_CAIEghts/(1a<< 4)       vers/rtc/2rtc-i2xdi.c#/*eCkdiv A whr4ass="  .DIER (Dryp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp36mop3L6">6 .6./a>.spa19 class=19c6mment69a1 class="comment">/*./spa15".struct .8.15_dei - pc-ratc/.8.15_res data="../livers/rtc/rtc-rg72.te1e="v4.8.15ue="ax Comput7d Radiograp2uctor, Innc7 All 7ights Reserved.../sp215". .5./a>@ioaddr: IOef="driverspoit/.v="../livers/rtc/rtc-rg72.te1e="v4.8.15ue="aL6" clas7s="line" namop3L6">. .67/a>.s7a1 class="comm2ent">25 . href=@irq: dryiceVn/.vcceiss="  .D="../livers/rtc/rtc-rg72.te1e="v4.8.15ue="arivers/r7tc/rtc-imxdi.c#L7" idp37cLcLr7	 ../form5"	 .2.a .c/.vass="line"DryIce blockg72.te1e="v4.8.15ue="7amop3L6">>. .6./a>.spa1 class="comment7>/*./spa15"6rt2c-rg72.te1./op @dsr: s.. You may ote f="drivess="line"DryIce blockg72.te1e="v4.8.15ue="7mop3L6">7 .6./a>.spa9 cl2ass=18c74.9.17"g src="../.stateputed Radp3L3@irqckdiv:eiss="  .D eR (Dryf="drive (DIER) /.vass="line"DryIce blockg72.te1e="v4.8.15ue="7mop3L6">7 .6./a>.spa19 class=19c7mment7>/*./spa15"6rt19-rg719te1./op @te Fl_wait:ef="drivers//rtc/ctc  .t/.queue/.vGNU General Pub"pog72.te1e="v4.8.15ue="ax Comput8d Radiograp20#L2" id20382" cl8ss="line" namo20-rg72g721./op @te Fl_mutex:rtc-ializeef="drivers//rtc/.vGNU General Pub"pog72.te1e="v4.8.15ue="ax Comput8d Radiograp2c#L2" id2p382" cl8ss="line" namo2p3L2"2. .2./a>.@  Si:rtcheduDrys whr   Si/.vGNU General Pub"pog72.te1e="v4.8.15ue="ax Comput8d Radiograp2uctor, Innc8 All 8ights Reserved.../sp215".8.15_deights/{/rmc13892.cnec/rtc-imxdi.c#L6" idp38drivers/8rtc/rtc-imxdi.c#L5" idp8L5" c84ghts/993e/9 struct >.sp=passt/.v_deimres"5
passt/.v_deimreghts/*>.sp=pdeis"5
pdeightsIform5"	 .1.a . .68/a>.s85ghts/993e/9 struct >.sp=15"_deimres"5
15"_deimreghts/*>.sp=15"s"5
15"ghtsIform5"	 .1.a .sp=__iomems"5
__iomemghts/*>.sp=ioaddrs"5
.oaddrghtsIform5"	 .1.a . .6./a>.spa1 class="c8mment87ghts/993e/9 iss >.sp=.rqs"5
.rqghtsIform5"	 .1.a >. .6./a>.spa8 class=8co4.9.188ghts/993e/9 struct >.sp=clks"5
clkghts/*>.sp=clks"5
clkghtsIform5"	 .1.a 8 .6./a>.spa19 class=19c8mment89ghts/993e/9 >.sp=u3d Radiogral"	 ">u3ights >.sp=dsr Radiogral"	 ">dsrghtsIform5"	 .1.a .sp=spinkdiv_t Radiogral"	 ">spinkdiv_tghts >.sp=irqckdivs"5
.rq_/.vasstsIform5"	 .1.a .sp=wait_queue_ults_t Radiogral"	 ">wait_queue_ults_tghts >.sp=te Fl_wait Radiogral"	 ">we Fl_waitsstsIform5"	 .1.a .sp=mutex Radiogral"	 ">mutexghts >.sp=te Fl_mutex Radiogral"	 ">te Fl_mutexsstsIform5"	 .1.a .sp=  Si_struct Radiogral"	 ">t Si_structghts >.sp=t Si Radiogral"	 ">t SisstsIform5"	 .1.a . .69/a>.s9pa1 class="comment">/*./spa15". .6./a>.spa1 class="c9mment9>/*./spa15"6rt2c-rg72.te1./op eR (Drya dryiceViss="  .D="../livers/rtc/rtc-rg72.te1e="v4.8.15ue="9amop3L6"9>. .6./a>.spa8 class=8c94.9.19"g src="../.stateputed Radp3L.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp39amop3L6">>. .6./a>.spa9 class=9comment99="drsttatu void4>.sp=15_iss_eR (Dr Radiogral"	 ">d5_iss_eR (Dr="dr(struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts, >.sp=u3d Radiogral"	 ">u3ights >.sp=issrs"5
.ssrghts)div locaookus:g72.te1e="v4.8.15ue="ammop3L6">.  .6./a>.spa10#L2" idp03L22" cL22ghts{/rmc13892.cnec/rtc-imxdi.c#L6" idp310mop3L6">.0 .6./a>.spa1c#L2" idpp3L01" cL21ghts/993e/9 unsigs=" long >.sp=flagss"5
flagssstsIform5"	 .1.a .0 .6./a>.spa1uctor, I1nc.02" cL22 ../form5"	 .1.a .0 .6./a>.spa1hy./spa115"<03" cL23ghts/993e/9 >.sp=spin_/.va_.rqsavr Radiogral"	 ">spin_/.va_.rqsavr="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=irqckdivs"5
.rq_/.vassts, >.sp=flagss"5
flagsssts)Iform5"	 .1.a .sp=__raw_te Flls"5
__raw_te Fll="dr(>.sp=__raw_drivls"5
__raw_drivl="dr(>.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DIERs"5
DIERghts) | >.sp=issrs"5
.ssrghts,form5"	 .1.a . 1.6.05" cL25ghts/993e/9                 >.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DIERs"5
DIERghts)Iform5"	 .1.a .sp=spin_un/.va_.rqrestorr Radiogral"	 ">spin_un/.va_.rqrestorr="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=irqckdivs"5
.rq_/.vassts, >.sp=flagss"5
flagsssts)Iform5"	 .1.a /*./}form5"	 .1.a .0 .6./a>.spa18 class=18co08" cL28 ../form5"	 .1.a .0 .6./a>.spa19 class=19co09" cL2>/*./spa15"6rt19-rg719te1./op ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="aamop3L6">.. .6./a>.spa10#L2" idp03LL2" c1ass="line" namop0-rg7rg721./op dis (Drya dryiceViss="  .D="../livers/rtc/rtc-rg72.te1e="v4.8.15ue="1amop3L6">.  .6./a>.spa1c#L2" idpp3L21" cLass="line" namopp3L2"1. .2./a>.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3Lamop3L6">.. .6./a>.spa1uctor, I1nc.. All1Rightssttatu void4>.sp=15_iss_dis (Dr Radiogral"	 ">d5_iss_dis (Dr="dr(struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts, >.sp=u3d Radiogral"	 ">u3ights >.sp=issrs"5
.ssrghts)div locaookus:g72.te1e="v4.8.15ue="aamop3L6">.. .6./a>.spa1hy./spa115"<flagssstsIform5"	 .1.a . 1.6../a>.11pa1 class="comment">/*./spa15".sp=spin_/.va_.rqsavr Radiogral"	 ">spin_/.va_.rqsavr="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=irqckdivs"5
.rq_/.vassts, >.sp=flagss"5
flagsssts)Iform5"	 .1.a .sp=__raw_te Flls"5
__raw_te Fll="dr(>.sp=__raw_drivls"5
__raw_drivl="dr(>.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DIERs"5
DIERghts) & ~>.sp=issrs"5
.ssrghts,form5"	 .1.a .. .6./a>.spa18 class=18coommen118ghts/993e/9                 >.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DIERs"5
DIERghts)Iform5"	 .1.a .. .6./a>.spa19 class=19coommen119ghts/993e/9 >.sp=spin_un/.va_.rqrestorr Radiogral"	 ">spin_un/.va_.rqrestorr="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=irqckdivs"5
.rq_/.vassts, >.sp=flagss"5
flagsssts)Iform5"	 .1.a .spa1 class="-rg72.te1e="v4.8.15ue="aex Comput1ed Radiograp2hy./spa125"1 * Copyright 2010 Or1ex Comput1ed Radiograp2.c#L5" i2dp13L5" 1lass="line" nam2op3L52>. .5./a.spa1 class="comment"> * Copyright 2010 Or1eivers/rtced Radiograp2p3L6">. 2.61./a>.1pa1 class="comm2ent">25 . href=A dryiceVte Fl error.6a>similav4to aeb t/faultLP (Lohould n/tL" cu" in.spa1 class="comment"> * Copyright 2010 Or1e6" class=ed Radiograp2c#L7" id2p31LcLcL1"	 ../form5"	 .2.a /*./spa15"6rt2c-rg72.te1./op causeYou may pro(Drmlass=62aneousb Nfixndtbefopt Enabflag c15"be ister/a>.spa1 class="comment"> * Copyright 2010 Or1amop3L6">1. .6./a>.spa9 cl2ass=18c1o4.9.11"g src="../.stateputed Radp3L.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3Lamop3L6">12 .6./a>.spa19 class=19c12mmen129="drsttatu void4>.sp=ister_te Fl_errors"5
clter_te Fl_error="dr(struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts)div locaookus:g72.te1e="v4.8.15ue="aex Comput13d Radiograp20#L2" id203132" c132ghts{/rmc13892.cnec/rtc-imxdi.c#L6" idp313x Comput13d Radiograp2c#L2" id2p3132" c131ghts/993e/9 iss >.sp=cnt Radiogral"	 ">cntsstsIform5"	 .1.a .  .6./a>.spa1hy./spa115".sp=dei_warn Radiogral"	 ">dei_warn="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=pdeis"5
pdeightss API>.sp=deis"5
deights, vers/rtc/2rtcstrers">"WARNING:eIce Inte te Fl error!\n"27nuxtc)Iform5"	 .1.a . 2.613/a>.135ghts/993e/9 vers/rtc/2rtc-i2xdi.c#/*eister may te Fl error.fWCFyp.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp313x Comput13d Radiograp2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te Flls"5
__raw_te Fll="dr(>.sp=DSR_WEFs"5
DSR_WEFghts, >.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DSRs"5
DSRghts)Iform5"	 .1.a 13 .6./a>.spa9 cl2ass=18c134.9.138ghts/993e/9 vers/rtc/2rtc-i2xdi.c#/*ewait for.6tnuxcpakl effect p.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp313mop3L6">13 .6./a>.spa19 class=19c13mmen139ghts/993e/9 for.(>.sp=cnt Radiogral"	 ">cntssts = 0; >.sp=cnt Radiogral"	 ">cntssts < 1000; >.sp=cnt Radiogral"	 ">cntssts++)/{/rmc13892.cnec/rtc-imxdi.c#L6" idp314x Comput14d Radiograp20#L2" id203142" c140ghts/993e/9 /993e/9 if ((>.sp=__raw_drivls"5
__raw_drivl="dr(>.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DSRs"5
DSRghts) & >.sp=DSR_WEFs"5
DSR_WEFghts) == 0)div locaookus:g72.te1e="v4.8.15ue="a4x Comput14d Radiograp2c#L2" id2p3142" c141ghts/993e/9 /993e/9         op . .Iform5"	 .1.a .sp=udelay Radiogral"	 ">udelay="dr(10)Iform5"	 .1.a .sp=dei_err Radiogral"	 ">dei_err="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=pdeis"5
pdeightss API>.sp=deis"5
deights,form5"	 .1.a . 2.614/a>.145ghts/993e/9                 >ers/rtc/2rtcstrers">"ERROR: Cann/tLister te Fl-error.flag!\n"27nuxtc)Iform5"	 .1.a 14 .6./a>.spa9 cl2ass=18c144.9.14"g src="../.stateputed Radpop ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="a4mop3L6">14 .6./a>.spa19 class=19c14mmen14>/*./spa15"6rt19-rg719te1./op s/rtc/a dryiceVf="drive P (Lwait until.6tnctc  .t/dptruncao.27to seop3Ls"> * Copyright 2010 Or15x Comput15d Radiograp20#L2" id203152" c15ss="line" namop0-rg7rg721./op ..6a>.spa1 class="  g72.te1e="v4.8.15ue="a5x Comput15d Radiograp2c#L2" id2p3152" c15ss="line" namo2p3L2"2. .2./a>...6a>funjax_l lass=iss="  .Dagous as="mine"whencpa1letoku. Writes to t/.> * Copyright 2010 Or15x Comput15d Radiograp2uctor, Innc15 All15ights Reserved.../sp215".spa1 class="comment"> * Copyright 2010 Or15ex Compu15ted Radiography./spa15"15a hr15="drivers/rtc/1rtc-i1xdi.c#L4" idp3L4" class="linec/rtc-imxdi.c#L6" idp3L5drivers/15rtc/rtc-imxdi.c#L5" idp15L5" 15ass="sttatu iss >.sp=15_te Fl_wait Radiogral"	 ">15_te Fl_wait="dr(struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts, >.sp=u3d Radiogral"	 ">u3ights >.sp=vals"5
valghts, iss >.sp=f="s"5
f="ghts)div locaookus:g72.te1e="v4.8.15ue="a5L6" clas1ss="line" namop3L6">. .61./a>.155ghts{/rmc13892.cnec/rtc-imxdi.c#L6" idp315x Comput15d Radiograp2c#L7" id2p315cLcL156ghts/993e/9 iss >.sp=f=t Radiogral"	 ">f=tsstsIform5"	 .1.a .sp=r"s"5
1cssts = 0;form5"	 .1.a 15 .6./a>.spa9 cl2ass=18c154.9.158 ../form5"	 .1.a 15 .6./a>.spa19 class=19c15mmen159ghts/993e/9 >ers/rtc/2rtc-i2xdi.c#/*etc-ializeef="driveete Flags.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3L6x Comput16d Radiograp20#L2" id203162" c160ghts/993e/9 >.sp=mutexckdivs"5
mutexckdiv="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=te Fl_mutex Radiogral"	 ">te Fl_mutexssts)Iform5"	 .1.a ers/rtc/2rtc-i2xdi.c#/*eeR (Drymay te Fl-ctc  .t/.iss="  .D s.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3L6ex Compu16ted Radiography./spa15"16a hr163ghts/993e/9 >.sp=d5_iss_eR (Dr Radiogral"	 ">d5_iss_eR (Dr="dr(>.sp=i8.15s"5
.8.15ghts, >.sp=DIER_WCIEs"5
DIER_WCIEghts)Iform5"	 .1.a . .616/a>.165ghts/993e/9 >.sp=i8.15s"5
.8.15ghtss API>.sp=dsr Radiogral"	 ">dsrghts = 0;form5"	 .1.a ers/rtc/2rtc-i2xdi.c#/*edxcpa1 rce Inte te Fl s.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3L6mop3L6">16 .6./a>.spa9 cl2ass=18c164.9.168ghts/993e/9 >.sp=__raw_te Flls"5
__raw_te Fll="dr(>.sp=vals"5
valghts, >.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=f="s"5
f="ghts);form5"	 .1.a 16 .6./a>.spa19 class=19c16mmen169a1 class="comment">/*./spa15"ers/rtc/2rtc-i2xdi.c#/*ewait for.may te Fl ousfinish s.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3Lax Comput17d Radiograp2c#L2" id2p3172" c171ghts/993e/9 >.sp=f=t Radiogral"	 ">f=tssts = >.sp=tait_evdi._iss="  .Di(Dr_timeout Radiogral"	 ">wait_evdi._iss="  .Di(Dr_timeout="dr(>.sp=i8.15s"5
.8.15ghtss API>.sp=te Fl_wait Radiogral"	 ">we Fl_waitssts,form5"	 .1.a .sp=i8.15s"5
.8.15ghtss API>.sp=dsr Radiogral"	 ">dsrghts & (>.sp=DSR_WCFs"5
DSR_WCFghts/| >.sp=DSR_WEFs"5
DSR_WEFghts), >.sp=msecs_to_jiffiess"5
msecs_to_jiffies="dr(1));form5"	 .1.a .sp=f=t Radiogral"	 ">f=tssts < 0) {/rmc13892.cnec/rtc-imxdi.c#L6" idp31adrivers/17rtc/rtc-imxdi.c#L5" idp17L5" 174ghts/993e/9 /993e/9 >.sp=r"s"5
1cssts = >.sp=f=t Radiogral"	 ">f=tsstsIform5"	 .1.a . .617/a>.175ghts/993e/9         goous>.sp=out Radiogral"	 ">out="drIform5"	 .1.a .sp=f=t Radiogral"	 ">f=tssts == 0) {/rmc13892.cnec/rtc-imxdi.c#L6" idp31aivers/rtc//rtc-imxdi.11 class=1"commmen177ghts/993e/9 /993e/9 >.sp=dei_warn Radiogral"	 ">dei_warn="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=pdeis"5
pdeightss API>.sp=deis"5
deights,/rmc13892.cnec/rtc-imxdi.c#L6" idp31amop3L6">17 .6./a>.spa9 cl2ass=18c174.9.178ghts/993e/9                 /993e/9 >ers/rtc/2rtcstrers">"We Fl-wait timeout "27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp31amop3L6">17 .6./a>.spa19 class=19c17mmen179ghts/993e/9                 /993e/9 >ers/rtc/2rtcstrers">"val = 0x%08x rce = 0x%08x\n"27nuxtc, >.sp=vals"5
valghts, >.sp=f="s"5
f="ghts);form5"	 .1.a ers/rtc/2rtc-i2xdi.c#/*echeck for.te Fl error.s.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp3L8ex Compu18ted Radiography./spa15"18a hr183ghts/993e/9 if (>.sp=i8.15s"5
.8.15ghtss API>.sp=dsr Radiogral"	 ">dsrghts & >.sp=DSR_WEFs"5
DSR_WEFghts) {/rmc13892.cnec/rtc-imxdi.c#L6" idp318drivers/18rtc/rtc-imxdi.c#L5" idp18L5" 184ghts/993e/9 /993e/9 >.sp=ister_te Fl_errors"5
clter_te Fl_error="dr(>.sp=i8.15s"5
.8.15ghts);form5"	 .1.a . .618/a>.185ghts/993e/9         >.sp=r"s"5
1cssts = ->.sp=EIOs"5
EIO="drIform5"	 .1.a . .6./a>.spa1 class="c18mmen187ss="line" nam1op3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>.sp=out Radiogral"	 ">out="dr:line" nam1op3L514./spa15"18 .6./a>.spa19 class=19c18mmen189ghts/993e/9 >.sp=mutexcun/.vas"5
mutexcun/.va="dr(&>.sp=i8.15s"5
.8.15ghtss API>.sp=te Fl_mutex Radiogral"	 ">te Fl_mutexssts)Iform5"	 .1.a .sp=r"s"5
1csstsIform5"	 .1.a /*./spa15". .5.op ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="a9L6" clas19s="line" namop3L6">. .619/a>.19a1 class="comm2ent">25 . href=driv.may rms aid porax_l ou may curr1 cltime from may dryiceVtime .s t/.v ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="a9rivers/r19tc/rtc-imxdi.c#L7" idp319cLcL19"	 ../form5"	 ..a . .6./a>.spa1 class="c19mmen19>/*./sttatu iss >.sp=1ryice_di._driv_time Radiogral"	 ">dryice_di._driv_time="dr(struct >.sp=deimres"5
deimreghts/*>.sp=deis"5
deights, struct >.sp=15"_time Radiogral"	 ">15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amop3L6"19>. .6./a>.spa8 class=8c194.9.19"g sr{/rmc13892.cnec/rtc-imxdi.c#L6" idp319amop3L6"1>>. .6./a>.spa9 class=9c1ommen199ghts/993e/9 struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=dei_get_drvdata Radiogral"	 ">dei_get_drvdata="dr(>.sp=deis"5
deights)Iform5"	 .1.a 2  .6./a>.spa10#L2" idp03222" c200ghts/993e/9 unsigs=" long >.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 20 .6./a>.spa1uctor, I1nc202" c202ghts/993e/9 >.sp=nows"5
nowssts = >.sp=__raw_drivls"5
__raw_drivl="dr(>.sp=i8.15s"5
.8.15ghtss API>.sp=ioaddrs"5
.oaddrghts +">.sp=DTCMRs"5
DTCMRghts)Iform5"	 .1.a .spa1hy./spa115"203" c223ghts/993e/9 >.sp=15"_time_to_tms"5
15"_time_to_tm="dr(>.sp=nows"5
nowssts, >.sp=tms"5
tmghts)Iform5"	 .1.a . 1.6205" c225ghts/993e/9 op . ..0;form5"	 .1.a 20 .6./a>.spa18 class=18c208" c20"g src="../.stateputed Radpop ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="20mop3L6">20 .6./a>.spa19 class=19c209" c22>/*./spa15"6rt19-rg719te1./a>.sw Powerrms aid porax_l ou dryiceVtime .s t/.v P (Lister mayxtc/rdo_sops_lock t/.> * Copyright 2010 Orexmop3L6">2. .6./a>.spa10#L2" idp032L2" c2ass="line" namop0-rg7rg721./op frajax_lal parttc ommeicoiv ef=="arm"> * Copyright 2010 Oreamop3L6">2  .6./a>.spa1c#L2" idpp3221" c2ass="line" namopp3L2"1. .2./a>.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp32amop3L6">2. .6./a>.spa1uctor, I1nc2. All2Rightssttatu iss >.sp=1ryice_di._sw _mmsss"5
1ryice_di._sw _mmss="dr(struct >.sp=deimres"5
deimreghts/*>.sp=deis"5
deights, unsigs=" long >.sp=secss"5
secsghts)div locaookus:g72.te1e="v4.8.15ue="2amop3L6">2. .6./a>.spa1hy./spa115"2.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=dei_get_drvdata Radiogral"	 ">dei_get_drvdata="dr(>.sp=deis"5
deights)Iform5"	 .1.a . 1.62./a>.215ghts/993e/9 iss >.sp=r"s"5
1csstsIform5"	 .1.a ers/rtc/2rtc-i2xdi.c#/*ezerxcpa1 frajax_lal part firsD s.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp32amop3L6">2. .6./a>.spa18 class=18c2ommen218ghts/993e/9 >.sp=r"s"5
1cssts = >.sp=15_te Fl_wait Radiogral"	 ">15_te Fl_wait="dr(>.sp=i8.15s"5
.8.15ghts, 0, >.sp=DTCLRs"5
DTCLRghts)Iform5"	 .1.a 2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
1cssts == 0)div locaookus:g72.te1e="v4.8.15ue="2ex Comput2ed Radiograp20#L2" id2032L2" c220ghts/993e/9 /993e/9 >.sp=r"s"5
1cssts = >.sp=15_te Fl_wait Radiogral"	 ">15_te Fl_wait="dr(>.sp=i8.15s"5
.8.15ghts, >.sp=secss"5
secsghts, >.sp=DTCMRs"5
DTCMRghts)Iform5"	 .1.a .sp=r"s"5
1csstsIform5"	 .1.a . 2.62./a>.2pa1 clsttatu iss >.sp=1ryice_di._s whr_.rq_eR (Dr Radiogral"	 ">dryice_di._s whr_.rq_eR (Dr="dr(struct >.sp=deimres"5
deimreghts/*>.sp=deis"5
deights,line" nam1op3L514./spa15"eR (Drdghts)div locaookus:g72.te1e="v4.8.15ue="2ex Comput2ed Radiograp21 class=2"c2ommen2">/*./{/rmc13892.cnec/rtc-imxdi.c#L6" idp32amop3L6">2. .6./a>.spa9 cl2ass=18c2o4.9.228ghts/993e/9 struct >.sp=.8.15_deis"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=dei_get_drvdata Radiogral"	 ">dei_get_drvdata="dr(>.sp=deis"5
deights)Iform5"	 .1.a 22 .6./a>.spa19 class=19c22mmen229a1 class="comment">/*./spa15".sp=eR (Drds"5
eR (Drdghts)div locaookus:g72.te1e="v4.8.15ue="23x Comput23d Radiograp2c#L2" id2p3232" c231ghts/993e/9 /993e/9 >.sp=15_iss_eR (Dr Radiogral"	 ">d5_iss_eR (Dr="dr(>.sp=i8.15s"5
.8.15ghts, >.sp=DIER_CAIEs"5
DIER_CAIEghts)Iform5"	 .1.a .spa1hy./spa115"2aa hr233ghts/993e/9 /993e/9 >.sp=15_iss_dis (Dr Radiogral"	 ">d5_iss_dis (Dr="dr(>.sp=i8.15s"5
.8.15ghts, >.sp=DIER_CAIEs"5
DIER_CAIEghts)Iform5"	 .1.a . 2.623/a>.235ghts/993e/9 op . ..0;form5"	 .1.a 23 .6./a>.spa9 cl2ass=18c234.9.23"g src="../.stateputed Radpop ..6a>.spa1 class="-rg72.te1e="v4.8.15ue="23mop3L6">23 .6./a>.spa19 class=19c23mmen23>/*./spa15"6rt19-rg719te1./a>.driv.may rms aid porax_l ou may s whr rce Intetc ommeicoiv ef=="arm"> * Copyright 2010 Ore4x Comput24d Radiograp20#L2" id203242" c24.1.a 2  .6./a>.spa1c#L2" idpp3221" c2ass="line" namopp3L2"1. .2./a  op . .I2orm5"	 .1.a 2. .6./a>.spa1uctor, I1nc2. Alryicepa/*>ttatu iss >.sp=1ryicepa/*>_driv_time Radiogral"	 ">dryice_di._driv_time="dr(struct >.sp=deimres"5
deimreghts/*>.sp=deis"5ttatu iss >ct >.sp=deipa/*>ttatu iss >_driop .Pre>.sp=eR (Drds"5
eR ="dr(10)I2orm5"	 .1.a 2. .6./a>.spa1hy./spa115"2<2op .P24/op .Pre>.sp=i8.15s"5
>. .6./a>.spa8 clascamRadiograp2uctor, camR/op .Pre>.sp=DTCMRs"5
DTCMRght.Pre>.sp=2eis"5
deights2form524="dr(>.sp=deis"5
deiRadiograp2p3L6">. 2.614/a>.145ghts2993e/24al"	 ">spin_/.va_.rqsavr="drscamRadiograp2uctor, camR/op ong >.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2CAadiograp20#L2" id2CAadL6" idp31L6" class=="line" namo1/nuxtcimxdi23d Radioann/tLister te Fl-error.2lag!\241c#L7" id1p32LcLcL21	 ../formivl="dr(>.sp=i8.15s"5
.8.15ghtss API>. .6.spa1 clidp31L6" class=="line" namo1/nuxtcimxdic#L7" id2p314cLcL146ghts}form5"	 21.a <24
.8.15_deights/*>.sp9 cl2ass=28c144.9.14"g src="../.st2teput25tss API>.sp=ioaddrs"5
.sr(>.sr(>/*./spa15"6rt29-rg725pa19 class=19c16mmen169a1 clatu iss >.sp=1ryicec#L2" idpp3201" c201	 ">dei_get_drvdata="dr(>.sp=cnt Radiogral"	 ">cntssts = 0; >.sp=cnt Radiogral"	 ">cntssts < 1000; >.sp=cnt Radiogral"	 ">cntssts++)/{/rmc13892.cnec/rlass=1"coommen117ghts/993e/9 >...6a2funja253ss API>.sp=ioaddrs"5
we Ftopyright 2010 Ore4x Comput24d Radiograp20#L2"1sp=deis"5x Comput15d Radiograp2uc2or, I25tor, Innc14 All142ghts/993e/./form5"	 .1.a 15 .6./a>.spa19 class=19c15mmen159ghts/993e/9 >ers/rtc/2rtc-i2xdi.c#/*etc-ializeef="driveete Flags.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L6" idp2 .Pre>.sp2.8.15_deis"5
28.15_25>.spa1hy./spa115"<u3ights >.sp=ioaddrs"5
.spend2p3Lie="23mop3L6"Ice Iror.ere>.sp=r"s"5
1csstsIform5"	 .1.a spin_/.va_.rqsavr="dratu iss >.sp=1ryicec#L2" idpp3201" c201pend2p3ss >.pend2p3 .Prong/993e/9 for.(>.sp=cnt Radiogral"	 ">cntssts = 0; >.sp=cnt Radiogral"	 ">cntssts < 1000; >.sp=cnt Radiogral"	 ">cntssts++)/{/rmc13892.cnec/rtc-imxdi.c#L6" idp314x Comput14d Radiograp20#L2" idCA2rtc-i2xdi.c#/*echecCA2lsefo !"	 .1.a .sp=f=t Radiogral"	 ">f=tss2sIform5"	2.1.a . .6./a>.spa1 class="c18mmen187ss="line" nam1op3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>.sp=out Radiogral"	 ">out="dr:line" nam1op3L514./spa15"25 .6.26ts/993e/9 >.sp=mutexcun/.vas"52L6x Compu216d Radiograp20#L2" id202162" 26e>.sp=i8.15s"5
mutexckdiv="dr(&>2/op .26Comput19d Radiograp20#L2" id203192" c190g2a15"1csstsIform5"	 .1.a d5_iss_eR (D2="dr(266./spa15"23 .6./16./spa15". .619/a>.19a216s="line2 namop3L6">. .616/a>.1652hts/926id porax_l ou may curr1 cltime from may drarm"hr rce InteDrdghts)div locaookuarm"hr rc="v2.8.1524Oreamop3L6">2  .6./a>.spa1c#L2" idpp3221" c2ass="line" namopp3L2"1. .2./a  op . .I2orm5"	 .1.a 2. .6./a>.spa1uctor, I1nc2. Alryicepa/*>ttatu iss >.sp=1ryicepa/*>_driv_time Radiogral"	 ">dryice_ .1.a .sp=deimres"5
deimreghts/*2aw_te Fll2"5
__raw_te F2l="dr26truct >.sp=15"_time Radiogral"	 ">15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amop3L6"19>. .6./a>.spa8 class=8c194.9.19"g sr{/rmc13892.cnec/rtc-imxdi.c#L6" idp319amop3L6"1>>. .6./a>.spa9 class=9c1ommen1hts/*2>.sp=i8.15s"5
.8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=dei_get_drvdata/16./spa12"16 26./a>27">.8.15ghts, >.sp=u3d Radiogral"2. .62.sp=dei_get_drvdata/
.sp2tait_2vdi._iss="  .D8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=deiPI>.sp=dsr Radiogral"	 "2dsrgh27omput19d Radiograp2c#L2" id2p3192" c191g2ghts), ><2op .Pre>.sp=msecs_to_jif2iess"27tor, Innc14 All142ghts/993e/form5"	 .1.a . .6./a>.mcl"	 3L9op3L514./spa15". .6.spa1 cl, 14./spa15". .62>. .6./a>.spa9 class=9c1ommen1hts/*2>eR (Dr R2 Radiogral"	 ">f=tssts &2t; 0)2{/rmc13892.cne ">1cssts = >.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice_p .Pre>.s2=r"s"5
1cssts2= >.sp=1ryice_di. .Pre>.sp=secss"5
secsghts, >.sp=DTCMRs"5
DTCMRght/a>.175gh2s/993e/9         goous><2op .P27e" nam1op3L514./spa15"ns=ed RaPre>.sp=r"s"5
1csstsIform5"	 .1.a 2/op .Pre>.sp=deis"5
.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 20 .6./a>.spa1uctor, I1nc202" c202ghts/993e/9 >.sp1.a .spa19 c2ass=19c17mmen179ghts/9932/9   28e>.sp=dei_get_drvdata Radiogral"atu irp3L9amop3L6"19>. .62. .6./200ghts/993e/9 unsigs=" lpa/*>_driv_time Radiogral"	 ">dryice_ = 0x酘x rce = 0x%08x\n&q2ot;27282 .6./a>.spa19 class= .Pre>.e/9 >.spNVALghts/993e/9 unsspNVAL/op .Pre>.sp=DTCMRs"5
DTCMRghtghts, >.sp=f="s"5
f28Comput13d Radiograp20#L2" id203132" c1322 .1.a .sp=ioaddrs"5
1csstsIform5"	 .1.a 2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
hts/993e/9 if (>15">.)data Radiogral"atu irp3L9amop3L6"19>. .621cssts = >.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice_ .Pre>.sp2i8.15s"5
.8.12ghts)28p .Pre>.sp=1ryice_di. .Pre>.sp=secss"5
secsghts, >.sp=DTCMRs"5
DTCMRghtine" namo23L6">. .618/a>.185ghts/923e/9 2       >.sp=r"s"5
1c2sts = -><2op .Pre>.sp=EIOs"5
288>.sp=dei_get_drvdata Radiogral"atu iss >.sp=1ryicec#L2" idpp3201" c201	 ">dei_get_drvdata="dr(>_driv_time Radiogral"	 ">dryice_ tss API>23e/9 }form5"	 .1.a /*./spa15".sp=eR (Drds"5
eR (Drdghts)ds"5
.8.15ghtss API>ntiograp20#L2" id203182" c180ghts/993e/9 }form5"2p3L6">18 26./a>.spa19 class=19c18m2en18929e>.sp=dei_get993e/9 >.sp=15_iss_eR (Dr Radipre cl"	 2>mutexcun/.va="dr(&>2/op .292 .6./a>.spa19 class=19c22mmen229a1 class=".sp=DIER_CAIEs"5
DIER_CAIEghts)Iform5"	 .1.a .sp=ioaddrs"5
.p3L6">ntiograp20#L2" id203182" c180ghts/993e/9 }form5"2phts, >.spa1hy./spa115"<. .5.op ..6a>2spa1 2lass="rax_l o1.a >. .6./a>.spa8 clasv locaookuopcaookus:g72.te1esv locaookuopcspa15"deimreghts/*2 class="c2mm2ent">25 . href=driv.m2y rms29al"	 ">spin_/.6./spa15"2a hre2iceVtime .s t/.v ..6a>."-rg72.te1e=">.spa19 class="dryice2di._driv_time="dr(struct2>spin_/.6./spa15"2a hre frajax_lal parttc ommearm"> * Copy >.spa19 class=" * Copyspa15"de2ghts,2struct >..6./spa15"2a hre2iceVatu iss >.s:g72.te1e="v2.spa19 class="3>spin_/.6./spa15"2a hre frahr rce InteDrdghts)darm"hr rc="v2>.spa19 class="23 .6./a}.1.a nowssts = >.3p=__r30omput19d Radiograp2c#L2" id2p3192" c191g31csstsIform5"	 .1.a .sp315"_time_to_tms"5
1306./spa15"tm3hts)I30ass="-rg72.te1e="v4.8.15ue="a9L6" clas19s="line" namop3L6">. .619/a>.19a3te0"line"3namo1.c#L5" i1dp204" c203ss="l30id porax_l o)Iform5"	 .1.a <5ghtpre _ .6./a>.spa19 cl<5ghtpre _ ">>. .6./a>.spa8 clasv locar1eir2f=e InteDrdghts)div locar1eir2f=Eghts8.15_deights/*>_driv_time Radiogral"	 ">dryice3t20/rtc-i3xdi.1p3L6">. 1.6205" c223ghts/30Pre>.sp=deimres"5
deimreghts/*31c#L7" id3p3206" c206ghts}form5"	 31.a <30truct >.sp=15"_time Radiogral"	 ">15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amop3Lii_get_drvdata="d"1._ii .Pr.1.a .spa9 cl2ass=18c154.9.158 .15">. .6./a>.spa8 clas Radiograp2uctor, Innc18put23d Radiograp2dieRadiograp2uctor, ieR/op .Pre>.sp=DTCMRs"5
DTCMRgh3spa15"6rt39-rg719te1./a>.sw Powerr3s aid31pa19 class=19c16mmen169a1 cl<5ghtpre _ .6./a>.spa19 cl<5ghtpre _ ">>. .6./a>.spa8 claform5"	 .1.a .sp=DTCMRs"5
DTCMRgh3s293e/9 s3Orexmop3L6">2. .6./a>.sp310#L231Comput13d Radiograp20#L2" id203132" c1323p .Pre>.s3=1ryice_di._sw _mmsss"5<3re cl31" id2p3162" c161 ../form5"	 .1eRadiograp2uctor, ieR/op ong >.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2lass=1"coommen117ghts/993e/.Pre>.sp=DTCMRs"5
DTCMRgh3s/16./spa3mres"5
deimre3hts/*31ts/993e/9 /993e/9 >.sp=15_iss_3/993e/9 s3ruct >.sp=.8.13_deis35
..Pre>.sp=ioaddrs"5
te Fl_mut14mmeut18d Radiocas.Pre>.sp=r"s"5
1cssts = 0;form5"	 .13_get_drvd3ta Radiogral"	 ">dei_get3drvda31">u3ights >.sp=ioaddrs"5
e cl"queuer>.srmptyddrgns=edrer>.sno pend2p3 .p=r"s"5
1cssts = 0;form5"	 .13_20/rtc-i3a href="d2r6" class2="li3e" na313e/9 op . ..0;form5"	 .1.a out Radiogral"	   operas=1"s. It meansr"23mex Radiogr>.s ComDryI07s-Secus +y19c23mmen23>/*./spa15"6rt19-rg719te1./a>.dr3s=18c2omm3n218ghts/993e/9 >.sp316./spa15"1cssts = 0;form5"	 .13.sp=i8.153"5
.8.15ghts,30, ><3op .Pre>.sp=DTCLRs"5nowsstslist_rmpty_ca Raueop3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>. .6.ask_list .D se"5
1cssts = 0;form5"	 .13.pa15"6rt3cl"	 ">1cssts = >.sp32s"5
.8.15ghtss API>secsghts, >.sp=DTCMRs"5
DTCMRgh3"dr(>.sp=i8.15s"5
.32Comput13d Radiograp20#L2" id203132" c1323s)Iform5"3 .1.a .Pre>.sp=ioaddrs"5
we Ft514./s itself onrs/rtc/a ie>.sp=r"s"5
1cssts = 0;form5"	 .13./16./spa3.1.a DIER_WCIEghts)Iform5"	 >.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2rap2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te F3ts/993e/93op . ..>.sp=r"3"5.8.15ghtss API>.sp=te Fl_wait Radiogral"	 ">we Fl_waitssts,form5"	 .1.a 3 2.62./a>.2pa1 clsttatu 3ss ><3op .Pre>.sp=1ryice_di. cl"	 ">.Pre>.sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .13.hts)Ifor3eimreghts/*>.s3=deis32>.sp=out Radiogral"	 hr183ghts/993e/9 if (>DIER_CAIEghts)Iform5"	 .1.a .sp=f=t Radiogral"	 ">f=tss3/993e/9 s3ruct >.sp=.8.13_deis32eights,/rmc13892.cnec/rtc-imxograp21 class=2"c15mmen157av">.8 valuer.oaddrght cl"queuere>.sp=r"s"5
1cssts = 0;form5"	 .13=i8.15s"53pre cl"	 ">.8.15ghts = >3/op .33p .Pre>.sp=DTCLRs"520 .6./a>.spa1c#L2" idpp3201" c201..15s"5
.8.15gh|="v4.8.15ue="a9amo.15s"5
.8.15g.27nuxtc/rmc13892.cnec/rtc-imxdi.c#L35"	 .1.a 3/16./spa15"15_te Fl_wait3x Comput23d Radiograp2c#L2" id2p3232" c231ghts/993e/9 /CLRs"5>. .6./a>.spa8 class=8c1o4.9.188ghts>hr183ghts/993e/9 if (>d5_iss_dis (D3="dr(3.sp=t19d Radiograp20#L2" id203192" c190g3ip2p3L6">3s"5
DIER_CAIE3hts)I33="dr(>.sp=deis"5
de3t23d Radi3grap2.c#L5" i2dp23L5" 233ss="l33rivers/rt2c/rtc-imxdi.1p3L6">. 1.62./ahandl.l"23mop3L6"cas.re>.sp=r"s"5
1cssts = 0;form5"	 .13=5". 2.623/a>.233ghts/338>.sp=dei_get_drv/993e/9 for.(>.sp=ioaddrs"5
we Ft514./s itself onrs/rtc/a ie>.sp=r"s"5
1cssts = 0;form5"	 .13>.spa9 cl3ass=18c234.9.23"g src=".3/.sta34p .Pre>.sp=DTCLRs"5
DTCLRl"	 ">DIER_WCIEghts)Iform5"	 >.sp=nows"5
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2rap2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te.13>"	 .1.a 3aid porax_l ou may s whr3rce I34s"5
.8.15g_drvdata Radiogral"d Radiograp2uctor, Innc18 All182ghts/993e/9 >ers/rtCA2rtc-i2xdi.c#/*echecCA2lsefo Fl error.s.27nuxtc/rmc13892.cnec/rtc3 id2032423 c24.1.a .sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .13di._driv_3ime="dr(struct >.sp=34=i8.15s"5
hr183ghts/993e/9 if (>DIER_CAIEghts)Iform5"	 .1.a 1cssts = 0;form5"	 .13d/16./spa3ttatu iss >.sp=15_iss_3i.c#L5" i3p13L5" 144ghts/993e/9 ><3op .P34p318drivers/18rtc/rtchr183ghtsPre>.sp=ioaddrs"5
op3L6">nsuser cox Rxgre>.sp=r"s"5
1cssts = 0;form5"	 .13dp2p3L6">3eis"5
deights3form534p .Pre>.sp=1ryice_di. cl"	 ">../spa15"2a hre chedul2p3orss="c18mmen187ss chedul2p3orsop3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>1cssts = 0;form5"	 .13d23d Radi3p3L6">. 2.614/a>.145ghts3993e/34>.sp=out Radiogral"	 hr183ghts/993e/9 if (>.sp=t19d Radiograp20#L2" id203192" c190g39 cl2ass=38c144.9.14"g src="../.st3teput35tss API>secsghts, >.sp=DTCMRs"5
DTCMRgh319 class=39c14mmen14>/*./spa15"6rt39-rg735pa19 t19d Radiograp20#L2" id203192" c190g39id2032423203152" c15ss="line" nam3p0-rg35Comput13d Radiograp20#L2" id203132" c1323ss="line"3namo2p3L2"2. .2./a>...6a3funja353ss A">1csstsIform5"	 .1.a 1csstsIform5"	 .1.a  * postl"23mop3L6"rtc/2ommentuser cox Rxgrso it"can sleep16./spa15"38.15_356./spa15"te Fl_mion19c23mmen23>/*./spa15"6rt19-rg719te1./a>.dr3.8.15ghts3 >.sp=u3d Radi3gral"35ass="-rg72.te1e="v4.8.15ue="a9L6" clas19s="line" namop3L6">. .619/a>.19a3ts)div lo3aookus:g72.te1e="v4.8.153e="a535id porax_l o2aneo.6./a>.spa8 clasv loca.sp=15"_time Radio.ss="c18mmen187ss3ors_Pre>.s>.sp=tms"5
. .619/a>.19a3t23d Radi3L7" id2p315cLcL156ghts/933e/9 35Pre>.sp=deimres"5
deimreghts/*3sIform5"	3.1.a .sp=15"_time Radiogral"	 ">15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amcox apa1r_ofts)div locaookucox apa1r_ofEghts)Iform5"	 .1.a 35 .6.36p .Pre>.sp=DTCLRs"5.sp=15"_time Radiogral"	 ">15"_timeghts/*>.spput23d Radiograp21cssts = 0;form5"	 .13L6x Compu316d Radiograp20#L2" id203162" 365_te Fl_wait Radiogral"	 ">15_te Fl_wait35
mutexckdiv="dr(&>3/op .36ghts);form5"	 .1.a . .619/a>.19a3a15"2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
1cssts == 0)divs/rtCA2rtc-i2xdi.c#/*echecCA2lsef">1cssts == 0)divs/rp2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te.13" idp3L6e3 Compu16ted Radiography.3spa1536ts/993e/9 /993e/9 >.sp=15_iss_3_eR (Dr R3diogral"	 ">d5_iss_eR (D3="dr(36
..Pre>.sp=ioaddrs"5
.g72.me3ors."a9L6" clas19s="line" namop3L6">. .619/a>.19a3a8.15ghts3imxdi.c#L5" idp16L5" 16a3s="li366 id2p3162" c161 ../form5"	 . ._updac2o2f=e InteDrdghts)d. ._updac2o2f=.a 20 .6./a>.spa1c#L2" idpp3201" c201. .e InteDrdghts)d. .lsef">1">1cssts == 0)divRTC_A2rtc-i2xdi.c#/*eRTC_A2l_waitssts,form5"	 .1.RTC_IRQ2rtc-i2xdi.c#/*eRTC_IRQ2L136ghts/993e/9 >.sp=__raw_te.13"s)div lo3 namop3L6">. .616/a>.1653hts/936id pot19d Radiograp20#L2" id203192" c190g3 .1.a .sp=f=t Radiogral"	 ">f=tss3aw_te Fll3"5
__raw_te F3l="dr366./spa15".spa1 class=prober.oad" c207se>.g221" c2a./spa15"16 36./a>37etc ommeicoiv ef=="arm"> * Copyright 2010 Ore4x Comput24d Radiograp20#L23/
.sp3tait_37s=always2ommeriv.may rms aid po__in. .6./a>.spa19 cl__in. l_wai.6./a>.spa8 clasv loca. ._probes="c18mmen187sssv loca. ._probeop3L5Pre>.sp=15"_time Radioplatf1eir6./a>.spa1c#L2" idpp3platf1eir6./a>.>.sp=tms"5
15"_timeghts/*>pmop3L6"12010 Ore4x Comput24d Radiograp20#L23/15".sp=dsr Radiogral"	 "3dsrgh37imres"5
deimreghts/*><3op .Pre>.sp=msecs_to_jif3iess"37>ct >.sp=deipa/*>ttatu isresour>.spa1c#L2" idpp3resour>.>.sp=tms"5
.sp=DTCMRs"5
DTCMRgh3>eR (Dr R3 Radiogral"	 ">f=tssts &3t; 0)3{/rmc13892.cnePre>.sp=15"_time Radiogral"	 ">15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1.Pre>.sp=DTCMRs"5
DTCMRgh3>8.15ghts3=r"s"5
1cssts3= >.sp=1r8.15_deights/*>.sp=i8.15s"5
.8.15ghts = >.sp=de3/a>.175gh3s/993e/9         goous><3op .P37e" nam1op3L514./spa15".spa1c#L2" idpp3platf1eir.9.1resour>..a 15"_timeghts/*>pmop3L6"">1cssts == 0)divIORESOURCE_MEMnc23 All232ghtsIORESOURCE_MEM3L6"">0ghts/993e/9 >.sp=__raw_te.13htss API>3/op .Pre>.sp=deis"5
.spa19 c3ass=19c17mmen179ghts/9933/9   38p .Pre>.sp=DTCLRs"5

.e/9 >.sNODEVspa1c#L2" idpp3sNODEVpre cl" ">.8.15ghts = >.sp=de3 = 0x醼x rce = 0x%08x\n&q3ot;27385_te Fl_wait Radiogral" ">15_te Fl_wait3ghts, >.sp=f="s"5

f38.6./a>.spa10#L2" idp03222" c>tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amop3m_kzoplo.Pre>.sp=i8.15s"op3m_kzoplo.op3L514./spa15"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .1izeof(tms"5
tmghts)div locaookus:g72.te1)">1cssts == 0)divGFP_KERNELghts/993e/9 unsGFP_KERNELL136ghts/993e/9 >.sp=__raw_te.13 .1.a tmghts)div locaookus:g72.te1)ts/993e/9 >.sp=__raw_te.13 hts), ><3" idp3L8ex Compu18ted Ra3iogra38y./spa15"18a hr183ght .Pre>.e/9 >.sNOMEMnc23 All232ghtssNOMEMpre cl"	 ">.8.15ghts = >.sp=de3 eR (Dr R3rmc13892.cnec/rtc-imxdi.3#L6" 38>.spa1hy./spa115"<.8.13ghts)386 id2p3162" c161 ../form5"	 ef="d20mop3L6">20 .6./a>.spa1c#L2" idpp3201" c201p ">15"_timeghts/*>pmop3L6"e="v4.8.15ue="a9amp ">15"_timeghts/*>pmop3L6"cl"	 ">.8.15ghts = >.sp=de3 a>.175gh33L6">. .618/a>.185ghts/933e/9 3       >.sp=r"s"5
1c3sts = -><3op .Pre>.sp=EIOs"5
388>.sp=dei_get_drv!LcLcL21	 ../forop3m_request_mem_regionPre>.sp=i8.15s"op3m_request_mem_regionop3L514./spa15"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .LcLcL21	 ../formesspa1c#L2" idpp3res/op c#L2" idpp3201" c201aysr .6./a>.spa19 claysr m5"	 .LcLcL21	 ../formesour>._1izespa1c#L2" idpp3resour>._1ize.a 33e/9 }form5"	 .1.a 15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201a a 18 36./a>.spa19 class=19c18m3en18939p .Pre>.sp=DTCLRs"5

.e/9 >.sBUSYnc23 All232ghtssBUSY3L6"cl" ">.8.15ghts = >.sp=de3pre cl" 3>mutexcun/.va="dr(&>3/op .395_te Fl_wait Radiogral" ">15_te Fl_wait3phts, >.spa10#L2" idp03222" c>tmghts)div locaookus:g72.te1c#L2" idpp3201" c201 ../form5" .1.a .sp=i8.15s"op3m_ioremapop3L514./spa15"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a op . .I2orm5" .LcLcL21 ../formesspa1c#L2" idpp3res/op c#L2" idpp3201" c201aysr .6./a>.spa19 claysr m5" Fl_wait Radiogral" ">15_te Fl_wait3p.1.a hr183ghts/993e/9 if (>._1izespa1c#L2" idpp3resour>._1ize.a .sp=__raw_te.13ts/993e/93op . ..>.sp=r"3"5.sp=dei_get_drvL2" idp03222" c>tmghts)div locaookus:g72.te1c#L2" idpp3201" c201 ../form5" .1.a .sp=__raw_te.132uctor, I3nc19 All192ghts}form5" 31.a <39p318drivers/18rtc/rtc .Pre>.e/9 >.sNOMEMnc23 All232ghtssNOMEMpre cl" ">.8.15ghts = >.sp=de3ss="line"3nam2op3L52>. .5.op ..6a>3spa1 39="dr(>.sp=deis"5

de3 class="c3mm2ent">25 . href=driv.m3y rms39al"	 ">spin_/.va_.rqsavr="drspinhref=_in. .6./a>.spa19 clspinhref=_in. op3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>2f="class="c18mmen187ss2f="clasL136ghts/993e/9 >.sp=__raw_te.13 ">dryice3di._driv_time="dr(struct3>.sp=f=t Radiogral"	 ">f=tss3 tss API>3.sp=deis"5
de3ghts,3struct >>. .6./a>.spa8 class=8c1o4.9.188ghts>2f=s="c18mmen187ss2f=/op e="v4.8.15ue="a9amplatf1eir.9.12f=s="c18mmen187ssplatf1eir.9.12f=.a 15"_timeghts/*>pmop3L6"">0ghts/993e/9 >.sp=__raw_te.14/993e/9 s4ruct >.sp=.8.14_deis40e>.sp=dei_get_drvdata Radiogral"18amop3L6"1>>. .6./a>.spa8 class=8c1o4.9.188ghts>2f=s="c18mmen187ss2f=/op e >15_te Fl_wait="dr(>>. .6./a>.spa8 class=8c1o4.9.188ghts>2f=s="c18mmen187ss2f=/op hts/993e/9 >.sp=__raw_te.14/293e/9 s4r.1.a 240Comput13d Radiograp20#L2" id203132" c1324
nowssts = >.4p=__r40" id2p3162" c161 ../form5"	 in. ommenqueue_heai_get_drvdata="din. ommenqueue_heaiop3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>140/op .Pre>.sp=i8.15s"5
>. .6./a>.spa8 class=8c1o4.9.188ghts>.spa8 clasv loca.sp41am2op3L52>. .5.op ..6a>4hts)I40="dr(>.sp=deis"5
de4te0"line"4namo1.c#L5" i1dp204" c204ss="l40al"	 ">spin_/.va_.rqsavr="dr="linein. .6./a>.spa19 cl="linein. op3L514./spa15">. .6./a>.spa8 class=8c1o4.9.188ghts>.sp=out Radiogral"	 ">out="dr:line" nam1op3L514./spa15". 1.6205" c224ghts/40s >.sp=f=t Radiogral"	 ">f=tss41c#L7" id4p3206" c206ghts}form5"	 41.a <40truct >>. .6./a>.spa8 class=8c1o4.9.188ghts>clss="c18mmen187sscls5"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .LcLcL21	 ../forNULLghts/993e/9 unsNULL.te1)ne" nam1op3L514./spa15"20 .6./a>.spa1c#L2" idpp3201" c201clss="c18mmen187sscls5".sw Powerr4s aid412 .6./a>.spa19 class= .Pre>.data Radiogral"PTR_ERrp2c#L7" id2p313PTR_ERr.a 20 .6./a>.spa1c#L2" idpp3201" c201clss="c18mmen187sscls5"2. .6./a>.sp410#L241.6./a>.spa10#L2" idp03222" cclsrpreparex Comput2ed Radiograp2clsrpreparex Compu.a 20 .6./a>.spa1c#L2" idpp3201" c201clss="c18mmen187sscls5"deimre4hts/*41tor, Innc14 Al15"dei_get4drvda41ass="-rg72.te1e="v4.8.15ue="pppppppp*pyright 2010 Ore4x Comput24d Radiograp20#L24ghts)Ifor45"	 .1.a .sp=r"s"5
1c4_20/rtc-i4a href="d2r6" class2="li4e" na41tss API>.sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .14s=18c2omm4n218ghts/993e/9 >.sp41truct >nowsstsIform5l"	 "e.a tmghts)div locaookus:g72.te1c#L2" idpp3201" c201 ../form5"	 .1.a 2lass=1"coommen117ghts/993e/.Pre>.sp=DTCMRs"5
DTCMRgh4.sp=i8.154"5
.8.15ghts,40, ><42ts/993e/9 >.sp=mutexcun/.vas"54.pa15"6rt4cl"	 ">1cssts = >.sp42pa19 class=19c16mmen169a1 clform5"	 .1.a 15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .LcLcL21	 ../for18amop3L6"1>>. .6./a>.spa8 class=8c1o4.9.188ghts>2f=s="c18mmen187ss2f=/op so.6./a>.spa8 clasv locar1eir2f=e InteDrdghts)div locar1eir2f=Eght Fl_wait Radiogral"	 ">15_te Fl_wait4"dr(>.sp=i8.15s"5
.42ghts/993e/9 /CLRs"5.spa8 clap ">15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201a a >. .6./a>.spa8 cl/.Pre>.sp=DTCMRs"5
DTCMRgh4.pre cl"	4 .1.a .sp=i8.15s"op3p31rnop3L514./spa15"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .LPre>.sp=ioadstr2p3s>      ex Radiogrnot availompu.\n      .sp=r"s/.Pre>.sp=DTCMRs"5
DTCMRgh4.993e/9 s4op . ..>.sp=r"4"5.sp=__raw_te.14ap2p3L6">4 2.62./a>.2pa1 clsttatu 4ss ><4op .Pre>.sp=1rt19d Radiograp20#L2" id203192" c190g4.hts)Ifor4eimreghts/*>.s4=deis42      >.sp=r"s"5
1c415".sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .14/993e/9 s4ruct >.sp=.8.14_deis42a href="d1aiv_drvpa15"nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2rap2c#L7" id2p313cLcL136g All182ghts/993e/9 >ers/rtNV2rtc-i2xdi.c#/*echecNV2spa1o Fl error.s.27nuxtc/rmc13892.cnec/rtc4=i8.15s"54pre cl"	 ">.8.15ghts = >4/op .43p .Pre>.sp=DTCLRs"52. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
1cssts == 0)divs/rtNV2rtc-i2xdi.c#/*echecNV2spa1itssts,form5"	 .1.a 1cssts == 0)divs/rp2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te.145"	 .1.a 4/16./spa15".8.15g_drvdata Radiogral"Pre>.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice4x Comput24d Radiograp2c#L2" id2p3242" c241ghts/993e/9 /CLRs"5.sp=__raw_te.14ogral"	 "4d5_iss_eR (Dr="dr(>.4p=i8.15s"5.spa1hy./spa115"2aa4hr23343ts/993e/9 /993e/9 >.sp=15_iss_4is (Dr Ra4iogral"	 ">d5_iss_dis (D4="dr(43
..Pre>.sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .14ip2p3L6">4s"5
DIER_CAIE4hts)I436 id2p3162" c161 ../form5"	 .orm5"	 .1.a 2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
1cssts == 0)divsCAad_UNSETp2c#L7" id2p313cCAad_UNSETl"	 ">1cssts == 0)divsCAadp2c#L7" id2p313cCAadL136ghts/993e/9 >.sp=__raw_te.145hts)Ifor4grap2.c#L5" i2dp23L5" 234ss="l43rivers/rt2c/r_drvdata Radiogral"Pre>.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice4x5". 2.623/a>.234ghts/43sp=dei_warn Radiogralgotots/993e/9 if (>.sp=__raw_te.14o993e/9 s4p323cLcL236ghts}form5"	 41.a <43truct >2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
0 .LcLcL21	 ../forcCALdp2c#L7" id2p313cCALdL136ghts/993e/9 >.sp=__raw_te.14>.spa9 cl4ass=18c234.9.23"g src=".4/.sta44e>.sp=dei_get_drvdata Radiogral"Pre>.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice4>"	 .1.a 4aid porax_l ou may s whr4rce I44s"5
.8.15ggotots/993e/9 if (>.sp=__raw_te.14 id2032424 c24.1.a .sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .14d/16./spa4ttatu iss >.sp=dei_get_drvL2" idp03222" cIform55
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2rap2c#L7" id2p313cLcL136g All182ghts/993e/9 >ers/rtCA2rtc-i2xdi.c#/*echecCA2lsefo Fl error.s.27nuxtc/rmc13892.cnec/rtc4i.c#L5" i4p13L5" 144ghts/993e/9 ><4op .P44p318drivers/18rtc/rtcpa15"2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
ghts/993e/9 >ers/rtCA2rtc-i2xdi.c#/*echecCA2lsef">1cssts == 0)divs/rp2c#L7" id2p313cLcL136ghts/993e/9 >.sp=__raw_te.14dp2p3L6">4eis"5
deights4form544p .Pre>.sp=1ryice_di._drvdata Radiogral"Pre>.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice4>hts)Ifor4p3L6">. 2.614/a>.145ghts4993e/44>.sp=out Radiogral"	 hr183ghtgotots/993e/9 if (>.sp=__raw_te.14 5".sp=r"s"5
1cssts = 0;form5"	 .1419 class=49c14mmen14>/*./spa15"6rt49-rg7451>.sp=dei_get_drvL2" idp03222" cIform55
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 20 .6./a>.spa1uctor, I1nc202"  =="0o Fl error.s.27nuxtc/rmc13892.cnec/rtc49id2032424203152" c15ss="line" nam4p0-rg45ghts/993e/9 /CLRs"52. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
0 .LcLcL21	 ../forc0 .6./a>.spa1uctor, I1nc202" c202ghts/993e/9 >.sp1.a ...6a4funja45=i8.15s"5
_drvdata Radiogral"Pre>.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice41sp=deis"4x Comput15d Radiograp2uc4or, I45y./spa15"18a hr183ghthr183ghtgotots/993e/9 if (>.sp=__raw_te.141.c#L5" i4.8.15_deis"5
48.15_45/op .Pre>.sp=t19d Radiograp20#L2" id203192" c190g4.8.15ghts4 >.sp=u3d Radi4gral"45="dr(>.sp=deis"5
de4ts)div lo4aookus:g72.te1e="v4.8.154e="a545rivers/rt2c/rtc-imxdi.1p3L6">. 1.62./aaysr  keeping"s="li>.sp=r"s"5
1csstsIform5"	 .1.a .sp=dei_get_drv!vL2" idp03222" cIform55
nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2Cdp2c#L7" id2p313cCcL136g All182ghts/993e/9 >ersCR_TCEp2c#L7" id2p313cCc_TCE5"2. .6./a>.spa19 class=19c2ommen219ghts/993e/9 if (>.sp=f"s"5
45 .6.46p .Pre>.sp=DTCLRs"5nowsstsIform5"	 .1.a 20 .6./a>.spa1c#L2" idpp3201" c201 ../form5"	 .1.a 2Cdp2c#L7" id2p313cCcL136g tssts,form5"	 .1.aCR_TCEp2c#L7" id2p313cCc_TCE5".8.15ghtss APICLRs"5.sp=__raw_te.145
mutexckdiv="dr(&>4/op .46ghts/993e/9 /CLRs"5.sp=15_te Fl_wait Rpa/*>_driv_time Radiogral"	 ">dryice4a15"hr183ghtgotots/993e/9 if (>.sp=__raw_te.14" idp3L6e4 Compu16ted Radiography.4spa15464op .Pre>.sp=t19d Radiograp20#L2" id203192" c190g4_eR (Dr R4diogral"	 ">d5_iss_eR (D4="dr(46>.spa1hy./spa115"<platf1eirarm"drvdata.a 15"_timeghts/*>pmop3L6"">1cssts == 0)div18amop3L6"1>>. .6./a>.spa8 cl/.Pre>.sp=DTCMRs"5
DTCMRgh4"s)div lo4 namop3L6">. .616/a>.1654hts/946al"	 ">spin_/.va_.rqsavr="dref="d20mop3L6">20 .6./a>.spa1c#L2" idpp3201" c201r .e InteDrdghts)d. .lsef5"15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201.1. .2./a  op . .I2orm5"	 .L6./a>.spa8 clap ">15"_timeghts/*>pmop3L6"c#L2" idpp3201" c201a a .sp=DTCMRs"5
DTCMRgh4"23d Radi4./spa15".sp=DTCMRs"5
DTCMRgh4"c#L7" id4"5
__raw_te F4l="dr46a href="d1aiv_drvpa15"20 .6./a>.spa1c#L2" idpp3201" c201r .e InteDrdghts)d. .lsefoe Fl error.s.27nuxtc/rmc13892.cnec/rtc4>.sp=i8.15s"5
.sp=DTCLRs"520 .6./a>.spa1c#L2" idpp3201" c201r .e InteDrdghts)d. .lsefo.Pre>.sp=DTCMRs"5
DTCMRgh4>6x Compu4"16 46./a>47s"5
.8.15ggotots/993e/9 if (>.sp=__raw_te.14/
.sp4tait_472op .Pre>.sp=t19d Radiograp20#L2" id203192" c190g4/15".sp=dsr Radiogral"	 "4dsrgh47omput19d Radiograp2c#L2" id2p3192" c191g4ghts), ><4op .Pre>.sp=msecs_to_jif4iess"47>ct >.0hts/993e/9 >.sp=__raw_te.14/eR (Dr R4 Radiogral"	 ">f=tssts &4t; 0)47>.spa1hy./spa115"<1cssts4= >spin_/.va_.rqsavr="drclsrIER_CAI_unprepare .2./a  op . .IclsrIER_CAI_unprepare.a 20 .6./a>.spa1c#L2" idpp3201" c201clss="c18mmen187sscls5"f=tss4htss API>4/op .Pre>.sp=deis"5
secsghts, >.sp=DTCMRs"5
DTCMRgh4>.spa19 c4ass=19c17mmen179ghts/9934/9   48p .Prt19d Radiograp20#L2" id203192" c190g4 = 0x鈠x rce = 0x%08x\n&q4ot;27485_te Fl_wait Radiogral"	 ">15_te Fl_wait4ghts, >.sp=f="s"5
f48s=always2ommeriv.may rms aid po__ex. .6./a>.spa19 cl__ex.  hrefpa15".spa1c#L2" idpp3platf1eir6./a>.>.sp=tms"5
15"_timeghts/*>pmop3L6"12010 Ore4x Comput24d Radiograp20#L24 .1.a deimreghts/*><4" idp3L8ex Compu18ted Ra4iogra48>ct >.sp=deipa/*>ttatu is15"_timeghts/*>.sp=tms"5
tmghts)div locaookus:g72.te1e="v4.8.15ue="a9amplatf1eir.9.1drvdata15"_timeghts/*>platf1eirgrm"drvdata.a 15"_timeghts/*>pmop3L6"one" nam1op3L514./spa15".spa1hy./spa115"<.8.14ghts)486 id2p3162" c161 ../form5"	 flusha20 .6./a>.spa1c#L2" idpp3201" c2011cssts = 0;form5"	 .14 a>.175gh43L6">. .618/a>.185ghts/943e/9 4       >.sp=r"s"5
1c4sts = -><4op .Pre>.sp=EIOs"5
48tss API>.sp=ioaddrs"5
.sp=r"s"5
1cssts = 0;form5"	 .14 tss API>43e/9 }form5"	 .1.a nowsstsIform5l"	 "e.a tmghts)div locaookus:g72.te1c#L2" idpp3201" c201 ../form5"	 .1.a 2lass=1"coommen117ghts/993e/.Pre>.sp=DTCMRs"5
DTCMRgh4p3L6">18 46./a>.spa19 class=19c18m4en18949ts/993e/9 >.sp=mutexcun/.vas"54pre cl"	 4>mutexcun/.va="dr(&>4/op .49pa19 class=19c16mmen169a1 clclsrIER_CAI_unprepare .2./a  op . .IclsrIER_CAI_unprepare.a 20 .6./a>.spa1c#L2" idpp3201" c201clss="c18mmen187sscls5".0hts/993e/9 >.sp=__raw_te.14ts/993e/94op . ..>.sp=r"4"5.spt19d Radiograp20#L2" id203192" c190g42uctor, I4nc19 All192ghts}form5"	 41.a <49>.spa1hy./spa115"<. .5.op ..6a>4spa1 49="dr(#ifdef9c16mmen169a1 clCONFIG_O2rtc-i2xdi.c#/*eCONFIG_O2.spa1hy./spa115"<25 . href=driv.m4y rms49id porax_l oconstre>.sp=deipa/*>ttatu isof_6./a>._ii_get_drvdata="dof_6./a>._ii hrefpa15"deimreghts/*>dryice4di._driv_time="dr(struct4>.sp=DTCMRs"5
DTCMRgh4 tss API>4.sp=deis"5
de4ghts,4struct >. 1.62./aa 1.re lre>.sp=r"s=t19d Radiograp20#L2" id203192" c190g5/993e/9 s5ruct >.sp=.8.15_deis50e>.sp}hts/993e/9 >.sp=__raw_te.15/193e/9 s5rmutexcun/.va="dr(&>5>15_te Fl_wait5/293e/9 s5r.1.a 250Compu6./spa15"2a hreMODULE_DEVICE_TABLEp2c#L7" id2p313MODULE_DEVICE_TABLE.a .spa8 clasv locadt_iicaookus:g72.te1esv locadt_iic hreone" nam1op3L514./spa15"nowssts = >.5p=__r50" id2#endife" nam1op3L514./spa15".sp=r"5.6./a50ts/993e/9 /993e/9 >.sp=15_iss_5 .Pre>.sp515"_time_to_tms"5
150/op .rax_l oPre>.sp=15"_time Radioplatf1eir69 >deimreghts/*>.sp51am2op3L52>. .5.op ..6a>5hts)I506 id2p3162" c.6./spa15"2a hre69 >deimreghts/*>.sp51m2ent">25 . href=driv.m5ss="l50>.sp=out Radiogral"	 hr1.6./spa15"2a hrea a .sp=ioadstr2p3s>      .sp=DTCMRs"5
DTCMRgh5t20/rtc-i5xdi.1p3L6">. 1.6205" c225ghts/50sp=dei_warn Radiograllll.6./spa15"2a hreown.sp=DTCMRs"5
DTCMRgh5t90/rtc-i5xsp=deis"5
de51.a <50truct >.sp=DTCMRs"5
DTCMRgh5=18c208" 520"g src="../.stateputed5Radpo51p .Pre>.sp=DTCLRs"5.sp=DTCMRs"5
DTCMRgh5spa15"6rt59-rg719te1./a>.sw Powerr5s aid512 .6./a>.spa1.6./spa15"2a hreremove .2./a  op . .Iremove.a <5"	 >.sp=nex. _pPre>.sp=i8.15s"=nex. _p.a .sp=DTCMRs"5
DTCMRgh5=293e/9 s5Orexmop3L6">2. .6./a>.sp510#L251.6./a}hts/993e/9 >.sp=__raw_te.15=pre cl"	5=1ryice_di._sw _mmsss"5<5re cl51omput19d Radiograp2c#L2" id2p3192" c191g5s/16./spa5mres"5
deimre5hts/*51tor, 16./spa15".spa8 clasv locar ._probes="c18mmen187sssv loca. ._probeop3Lone" nam1op3L514./spa15"dei_get5drvda51p .Prs/993e/9 if (>.sp=ioadstr2p3s>      Freescale Semicond>.sor, Inc.      .sp=r"s/.Pre>.sp=DTCMRs"5
DTCMRgh5ts)Ifor455a9amNULLghts/993e/9 unsN5e4x C51     s/993e/9 if (>.sp=ioadstr2p3s>      Bae>.h Sia.h  >.h@tkos.co.il#L2"      .sp=r"s/.Pre>.sp=DTCMRs"5
DTCMRgh5t20/rtc-i5a href="d2r6" class2="li5e" na51tss A6./spa15"2a hreMODULE_DESCRIPTIONp2c#L7" id2p313MODULE_DESCRIPTION.a .sp=ioadstr2p3s>      IMX DryIce Reals="liCclas DrRs"5 (RTC)      .sp=r"s/.Pre>.sp=DTCMRs"5
DTCMRgh5t90/rtc-i5n218ghts/993e/9 >.sp51truct6./spa15"2a hreMODULE_LICENSEp2c#L7" id2p313MODULE_LICENSE.a .sp=ioadstr2p3s>      GPL      .sp=r"s/.Pre>.sp=DTCMRs"5
DTCMRgh5.sp=i8.155"5
.8.15ghts,50, ><52ts/99





The original LXR software bylghtsre>.sp=DThttp://sour>.f1ege.net/projects/lxRa>LXR 6">.unity.te1sothis experi. 1.al s"5.sp=DTmailto:lxR@ ">ux.no">lxR@ ">ux.no.te1.


lxR. ">ux.no kindly hosted bylre>.sp=DThttp://www.redpill- ">pro.no">Redpill L">pro AS.te1soprovid"5 of L">uxoconsuls=ng and operamionsaa r/a>.saaince 1995.