linux/drivers/bcma/driver_mips.c
<<
/opt2.6/spalue 2.6/formue 2.6a /opt2. href="../linux+v3 2/drivers/bcma/driver_mips.c">/opt2.6img src="../.static/gfx/right.png" alt=">>">/o6/spalue/o6spal class="lxr_search">/opt/opt2.6input typ hidden" nam navtarget" > ">/opt2.6input typ text" nam search" id search">/opt2.6butt1" typ submit">Search/opt2.Prefse 2.6/a>/o6/spaluept2. .6/divuept2. .6form ac val="ajax+*" method="post" onsubmit="return false;">/o6input typ hidden" nam ajax_lookup" id ajax_lookup" > ">/pt2. .6/formue/pt2. .6div class="headingbott1m"> L1/>it=1rm a"+prefs?returcommenlue/*val="aja L2/>it=2rm a"+prefs?returcommenlue * Broadcom specific AMBAval="aja L3/>it=3rm a"+prefs?returcommenlue * Broadcom MIPS32 74K coued ajax_val="aja L4/>it=4rm a"+prefs?returcommenlue *val="aja L5/>it=5rm a"+prefs?returcommenlue * Copyalue/ 2009, Broadcom Corpora="reval="aja L6/>it=6rm a"+prefs?returcommenlue * Copyalue/ 2006, 2007, Michael Buesch <mb@bu3sch.dexr_sval="aja L7/>it=7rm a"+prefs?returcommenlue * Copyalue/ 2010, Bernhard Loos <bernhard. .s@googlemail.comxr_sval="aja L8/>it=8rm a"+prefs?returcommenlue * Copyalue/ 2011, Hauke Mehrtens <hauke@hauke-m.dexr_sval="aja L9/>it=9rm a"+prefs?returcommenlue *val="aja L10/>it.16. a"+prefs?returcommenlue * Licensed under the GNU/GPL. See COPYING 1m" details.val="aja L11/>it11rm a"+prefs?returcommenlue */val="aja L12/>it12rm aa L13/>it13rm a#iPreude &quo_svriver_miclick="returneturaluivate.h/fs?returfer_">eturaluivate.hrm a&quo_sa L14/>it14rm aa L15/>it15rm a#iPreude &l_svriver_miiPreudeps.c">returnetur.h/fs?returfer_">s.c">returnetur.hrm a&g_sa L16/>it16rm aa L17/>it17rm a#iPreude &l_svriver_miiPreudeps.c">rserial.h/fs?returfer_">s.c">rserial.hrm a&g_sa L18/>it18rm a#iPreude &l_svriver_miiPreudeps.c">rserial_coue.h/fs?returfer_">s.c">rserial_coue.hrm a&g_sa L19/>it19rm a#iPreude &l_svriver_miiPreudeps.c">rserial_reg.h/fs?returfer_">s.c">rserial_reg.hrm a&g_sa L20/>it20rm a#iPreude &l_svriver_miiPreudeps.c">rtime.h/fs?returfer_">s.c">rtime.hrm a&g_sa L21/>it21rm aa L22/>it22rm a"+prefs?returcommenlue/* The 47162a0 hangs when r 2. .6 MIPS DMP r gistk=" r gistk=" */val="aja L23/>it23rm a>//driver_mipcode=innine/fivue laser_">inninerm a/driver_mipcode=bool/fivue laser_">boolrm a/driver_mipcode=bturacoueprefs_btu47162a0_quirk/fivue laser_">bturacoueprefs_btu47162a0_quirkrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a)a L24/>it24rm a{a L25/>it25rm a " nam driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinform a.driver_mipcode=id/fivue laser_">idrm a == driver_mipcode=BCMA_CHIP_ID_BCM47162/fivue laser_">BCMA_CHIP_ID_BCM47162rm a &&a L26/>it26rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinform a.driver_mipcode=rev/fivue laser_">revrm a == 0 && driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=id/fivue laser_">idrm a == driver_mipcode=BCMA_CORE_MIPS_74K/fivue laser_">BCMA_CORE_MIPS_74Krm a;a L27/>it27rm a}a L28/>it28rm aa L29/>it29rm a"+prefs?returcommenlue/* The 5357b0 hangs when r 2. .6 USB20H DMP r gistk=" */val="aja L30/>it30rm a>//driver_mipcode=innine/fivue laser_">inninerm a/driver_mipcode=bool/fivue laser_">boolrm a/driver_mipcode=bturacoueprefs_btu5357b0_quirk/fivue laser_">bturacoueprefs_btu5357b0_quirkrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a)a L31/>it31rm a{a L32/>it32rm a " nam (driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinform a.driver_mipcode=id/fivue laser_">idrm a == driver_mipcode=BCMA_CHIP_ID_BCM5357/fivue laser_">BCMA_CHIP_ID_BCM5357rm a ||a L33/>it33rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinform a.driver_mipcode=id/fivue laser_">idrm a == driver_mipcode=BCMA_CHIP_ID_BCM4749/fivue laser_">BCMA_CHIP_ID_BCM4749rm a) &&a L34/>it34rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinform a.driver_mipcode=pkg/fivue laser_">pkgrm a == 11 &&a L35/>it35rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=id/fivue laser_">idrm a == driver_mipcode=BCMA_CORE_USB20_HOST/fivue laser_">BCMA_CORE_USB20_HOSTrm a;a L36/>it36rm a}a L37/>it37rm aa L38/>it38rm a>//driver_mipcode=innine/fivue laser_">inninerm a/driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=refs_r 2.32/fivue laser_">refs_r 2.32rm a(struct/driver_mipcode=bturadrvprefs/fivue laser_">bturadrvprefsrm a/*driver_mipcode=mcoue/fivue laser_">rcouerm a,a L39/>it39rm a driver_mipcode=u16/fs?returser_">u16rm a driver_mipcode=offs" nas?returser_">offs" rm a)a L40/>it40rm a{a L41/>it41rm a " nam driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=mcoue/fivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">couerm a, driver_mipcode=offs" nas?returser_">offs" rm a);a L42/>it42rm a}a L43/>it43rm aa L44/>it44rm a>//driver_mipcode=innine/fivue laser_">inninerm a/void driver_mipcode=refs_write32/fivue laser_">refs_write32rm a(struct/driver_mipcode=bturadrvprefs/fivue laser_">bturadrvprefsrm a/*driver_mipcode=mcoue/fivue laser_">rcouerm a,a L45/>it45rm a driver_mipcode=u16/fs?returser_">u16rm a driver_mipcode=offs" nas?returser_">offs" rm a,a L46/>it46rm a driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=class/fivue laser_">classrm a)a L47/>it47rm a{a L48/>it48rm a driver_mipcode=bturawrite32/fivue laser_">bturawrite32rm a(driver_mipcode=mcoue/fivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">couerm a, driver_mipcode=offs" nas?returser_">offs" rm a, driver_mipcode=class/fivue laser_">classrm a);a L49/>it49rm a}a L50/>it50rm aa L51/>it51rm a>//const/driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=efsflag_irq_mask/fivue laser_">efsflag_irq_maskrm a[] = {a L52/>it52rm a 0,a L53/>it53rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ1/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ1rm a,a L54/>it54rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ2/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ2rm a,a L55/>it55rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ3/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ3rm a,a L56/>it56rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ4/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ4rm a,a L57/>it57rm a};a L58/>it58rm aa L59/>it59rm a>//const/driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=efsflag_irq_shif nas?returser_">efsflag_irq_shif rm a[] = {a L60/>it60rm a 0,a L61/>it61rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ1_SHIFT/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ1_SHIFTrm a,a L62/>it62rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ2_SHIFT/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ2_SHIFTrm a,a L63/>it63rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ3_SHIFT/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ3_SHIFTrm a,a L64/>it64rm a driver_mipcode=BCMA_MIPS_IPSFLAG_IRQ4_SHIFT/fivue laser_">BCMA_MIPS_IPSFLAG_IRQ4_SHIFTrm a,a L65/>it65rm a};a L66/>it66rm aa L67/>it67rm a>//driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=bturacoueprefs_irqflag/fivue laser_">bturacoueprefs_irqflagrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a)a L68/>it68rm a{a L69/>it69rm a driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=flag/fivue laser_">flagrm a;a L70/>it70rm aa L71/>it71rm a if (driver_mipcode=bturacoueprefs_btu47162a0_quirk/fivue laser_">bturacoueprefs_btu47162a0_quirkrm a(driver_mipcode=dev/fivue laser_">devrm a))a L72/>it72rm a " nam driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=couepindex/fivue laser_">couepindexrm a;a L73/>it73rm a if (driver_mipcode=bturacoueprefs_btu5357b0_quirk/fivue laser_">bturacoueprefs_btu5357b0_quirkrm a(driver_mipcode=dev/fivue laser_">devrm a))a L74/>it74rm a " nam driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=couepindex/fivue laser_">couepindexrm a;a L75/>it75rm a driver_mipcode=flag/fivue laser_">flagrm a = driver_mipcode=bturaar 2.32/fivue laser_">bturaar 2.32rm a(driver_mipcode=dev/fivue laser_">devrm a, driver_mipcode=BCMA_MIPS_OOBSELOUTA30/fs?returser_">BCMA_MIPS_OOBSELOUTA30rm a);a L76/>it76rm aa L77/>it77rm a " nam driver_mipcode=flag/fivue laser_">flagrm a & 0x1F;a L78/>it78rm a}a L79/>it79rm aa L80/>it816. a"+prefs?returcommenlue/* Get the MIPS IRQ retignmenl 1m" a specified device.val="aja L81/>it81rm a"+prefs?returcommenlue * If unretigned, 0 is " nam ed.val="aja L82/>it82rm a"+prefs?returcommenlue */val="aja L83/>it83rm auntigned int/driver_mipcode=bturacoueprefs_irq/fivue laser_">bturacoueprefs_irqrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a)a L84/>it84rm a{a L85/>it85rm a struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=mdev/fivue laser_">mdevrm a = driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvprefs/fivue laser_">drvprefsrm a.driver_mipcode=coue/fivue laser_">couerm a;a L86/>it86rm a driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=erqflag/fivue laser_">irqflagrm a;a L87/>it87rm a untigned int/driver_mipcode=irq/fivue laser_">irqrm a;a L88/>it88rm aa L89/>it89rm a driver_mipcode=erqflag/fivue laser_">irqflagrm a = driver_mipcode=bturacoueprefs_irqflag/fivue laser_">bturacoueprefs_irqflagrm a(driver_mipcode=dev/fivue laser_">devrm a);a L90/>it90rm aa L91/>it91rm a 1m" (driver_mipcode=irq/fivue laser_">irqrm a = 1; driver_mipcode=irq/fivue laser_">irqrm a &l_s= 4; driver_mipcode=irq/fivue laser_">irqrm a++)a L92/>it92rm a if (driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(driver_mipcode=irq/fivue laser_">irqrm a)) &a L93/>it93rm a (1 &l_s&l_s driver_mipcode=erqflag/fivue laser_">irqflagrm a))a L94/>it94rm a " nam driver_mipcode=irq/fivue laser_">irqrm a;a L95/>it95rm aa L96/>it96rm a " nam 0;a L97/>it97rm a}a L98/>it98rm a"river_mipcode=EXPORT_SYMBOL/fivue laser_">EXPORT_SYMBOLrm a(driver_mipcode=bturacoueprefs_irq/fivue laser_">bturacoueprefs_irqrm a);a L99/>it99rm aa L100/>i100rm a>//void driver_mipcode=bturacoueprefs_set_irq/fivue laser_">bturacoueprefs_set_irqrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a, untigned int/driver_mipcode=irq/fivue laser_">irqrm a)a L101/>i101rm a{a L102/>i102rm a untigned int/driver_mipcode=oldirq/fivue laser_">oldirqrm a = driver_mipcode=bturacoueprefs_irq/fivue laser_">bturacoueprefs_irqrm a(driver_mipcode=dev/fivue laser_">devrm a);a L103/>i103rm a struct/driver_mipcode=bturabus/fivue laser_">bturabusrm a/*driver_mipcode=bus/fivue laser_">busrm a = driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=bus/fivue laser_">busrm a;a L104/>i104rm a struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=mdev/fivue laser_">mdevrm a = driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvprefs/fivue laser_">drvprefsrm a.driver_mipcode=coue/fivue laser_">couerm a;a L105/>i105rm a driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=erqflag/fivue laser_">irqflagrm a;a L106/>i106rm aa L107/>i107rm a driver_mipcode=erqflag/fivue laser_">irqflagrm a = driver_mipcode=bturacoueprefs_irqflag/fivue laser_">bturacoueprefs_irqflagrm a(driver_mipcode=dev/fivue laser_">devrm a);a L108/>i108rm a driver_mipcode=BUG_ON/fivue laser_">BUG_ONrm a(driver_mipcode=oldirq/fivue laser_">oldirqrm a == 6);a L109/>i109rm aa L110/>i110rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=irq/fivue laser_">irqrm a = vriver_mipcode=irq/fivue laser_">irqrm a + 2;a L111/>i111rm aa L112/>i112rm a d+prefs?returcommenlue/* clear the old irq */val="aja L113/>i113rm a if (driver_mipcode=oldirq/fivue laser_">oldirqrm a == 0)a L114/>i114rm a driver_mipcode=bturawrite32/fivue laser_">bturawrite32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(0),a L115/>i115rm a driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(0)) &a L116/>i116rm a ~(1 &l_s&l_s driver_mipcode=erqflag/fivue laser_">irqflagrm a));a L117/>i117rm a elsea L118/>i118rm a driver_mipcode=bturawrite32/fivue laser_">bturawrite32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(driver_mipcode=irq/fivue laser_">irqrm a), 0);a L119/>i119rm aa L120/>i120rm a d+prefs?returcommenlue/* retign the new one */val="aja L121/>i121rm a if (driver_mipcode=irq/fivue laser_">irqrm a == 0) {a L122/>i122rm a driver_mipcode=bturawrite32/fivue laser_">bturawrite32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(0),a L123/>i123rm a driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(0)) |a L124/>i124rm a (1 &l_s&l_s driver_mipcode=erqflag/fivue laser_">irqflagrm a));a L125/>i125rm a } else {a L126/>i126rm a driver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=oldirqflag/fivue laser_">oldirqflagrm a = driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a,a L127/>i127rm a driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(driver_mipcode=irq/fivue laser_">irqrm a));a L128/>i128rm a if (driver_mipcode=oldirqflag/fivue laser_">oldirqflagrm a) {a L129/>i129rm a struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=coue/fivue laser_">couerm a;a L130/>i130rm aa L131/>i131rm a d+prefs?returcommenlue/* backplane irq nine is in use, find out who usesval="aja L132/>i132rm a"+prefs?returcommenlue * it and set user to irq 0val="aja L133/>i133rm a"+prefs?returcommenlue */val="aja L134/>i134rm a driver_mipcode=list_for_each_enlry/fivue laser_">list_for_each_enlryrm a(driver_mipcode=coue/fivue laser_">couerm a, &driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=coues/fivue laser_">couesrm a, driver_mipcode=list/fivue laser_">listrm a) {a L135/>i135rm a if ((1 &l_s&l_s driver_mipcode=bturacoueprefs_irqflag/fivue laser_">bturacoueprefs_irqflagrm a(driver_mipcode=coue/fivue laser_">couerm a)) ==a L136/>i136rm a driver_mipcode=oldirqflag/fivue laser_">oldirqflagrm a) {a L137/>i137rm a driver_mipcode=bturacoueprefs_set_irq/fivue laser_">bturacoueprefs_set_irqrm a(driver_mipcode=coue/fivue laser_">couerm a, 0);a L138/>i138rm a br 2k;a L139/>i139rm a }a L140/>i140rm a }a L141/>i141rm a }a L142/>i142rm a driver_mipcode=bturawrite32/fivue laser_">bturawrite32rm a(driver_mipcode=mdev/fivue laser_">mdevrm a, driver_mipcode=BCMA_MIPS_MIPS74K_INTMASK/fivue laser_">BCMA_MIPS_MIPS74K_INTMASKrm a(driver_mipcode=irq/fivue laser_">irqrm a),a L143/>i143rm a 1 &l_s&l_s driver_mipcode=erqflag/fivue laser_">irqflagrm a)sa L144/>i144rm a }a L145/>i145rm aa L146/>i146rm a driver_mipcode=bturainfo/fivue laser_">bturainform a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sset_irq: coued0x%04x, irq %d =xr_s %d\n&quo_sval="aj,a L147/>i147rm a driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=id/fivue laser_">idrm a, driver_mipcode=oldirq/fivue laser_">oldirqrm a + 2, driver_mipcode=irq/fivue laser_">irqrm a + 2)sa L148/>i148rm a}a L149/>i149rm aa L150/>i150rm a>//void driver_mipcode=bturacoueprefs_print_irq/fivue laser_">bturacoueprefs_print_irqrm a(struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=dev/fivue laser_">devrm a, untigned int/driver_mipcode=irq/fivue laser_">irqrm a)a L151/>i151rm a{a L152/>i152rm a int/driver_mipcode=i/fivue laser_">irm a;a L153/>i153rm a st/a>//const/char/*driver_mipcode=irq_ >/fivue laser_">irq_ >rm a[] = {d+prefs?returstring"a&quo_s2(S)&quo_sval="aj, d+prefs?returstring"a&quo_s3&quo_sval="aj, d+prefs?returstring"a&quo_s4&quo_sval="aj, d+prefs?returstring"a&quo_s5&quo_sval="aj, d+prefs?returstring"a&quo_s6&quo_sval="aj, d+prefs?returstring"a&quo_sD&quo_sval="aj, d+prefs?returstring"a&quo_sI&quo_sval="aj};a L154/>i154rm a driver_mipcode=printk/fivue laser_">printkrm a(driver_mipcode=KERN_INFO/fivue laser_">KERN_INFOrm a driver_mipcode=KBUILD_MODNAME/fivue laser_">KBUILD_MODNAMErm a d+prefs?returstring"a&quo_s: coued0x%04x, irq :&quo_sval="aj, driver_mipcode=dev/fivue laser_">devrm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=id/fivue laser_">idrm a)sa L155/>i155rm a 1m" (driver_mipcode=i/fivue laser_">irm a = 0s driver_mipcode=e/fivue laser_">irm a &l_s= 6s driver_mipcode=e/fivue laser_">irm a++)a L156/>i156rm a driver_mipcode=printk/fivue laser_">printkrm a(d+prefs?returstring"a&quo_s %s%s&quo_sval="aj, driver_mipcode=irq_ >/fivue laser_">irq_ >rm a[driver_mipcode=e/fivue laser_">irm a], driver_mipcode=i/fivue laser_">irm a == vriver_mipcode=irq/fivue laser_">irqrm a ? d+prefs?returstring"a&quo_s*&quo_sval="aj : d+prefs?returstring"a&quo_s &quo_sval="aj)sa L157/>i157rm a driver_mipcode=printk/fivue laser_">printkrm a(d+prefs?returstring"a&quo_s\n&quo_sval="aj)sa L158/>i158rm a}a L159/>i159rm aa L160/>i160rm a>//void driver_mipcode=bturacoueprefs_dump_irq/fivue laser_">bturacoueprefs_dump_irqrm a(struct/driver_mipcode=bturabus/fivue laser_">bturabusrm a/*driver_mipcode=bus/fivue laser_">busrm a)a L161/>i161rm a{a L162/>i162rm a struct/driver_mipcode=bturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=coue/fivue laser_">couerm a;a L163/>i163rm aa L164/>i164rm a driver_mipcode=list_for_each_enlry/fivue laser_">list_for_each_enlryrm a(driver_mipcode=coue/fivue laser_">couerm a, &driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=coues/fivue laser_">couesrm a, driver_mipcode=list/fivue laser_">listrm a) {a L165/>i165rm a driver_mipcode=bturacoueprefs_print_irq/fivue laser_">bturacoueprefs_print_irqrm a(driver_mipcode=coue/fivue laser_">couerm a, driver_mipcode=bturacoueprefs_irq/fivue laser_">bturacoueprefs_irqrm a(driver_mipcode=coue/fivue laser_">couerm a));a L166/>i166rm a }a L167/>i167rm a}a L168/>i168rm aa L169/>i169rm adriver_mipcode=u32/fivue laser_">u32rm a driver_mipcode=bturacpu_clock/fivue laser_">bturacpu_clockrm a(struct/driver_mipcode=bturadrvprefs/fivue laser_">bturadrvprefsrm a/*driver_mipcode=mcoue/fivue laser_">rcouerm a)a L170/>i170rm a{a L171/>i171rm a struct/driver_mipcode=bturabus/fivue laser_">bturabusrm a/*driver_mipcode=bus/fivue laser_">busrm a = driver_mipcode=mcoue/fivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">couerm a-xr_svriver_mipcode=bus/fivue laser_">busrm a;a L172/>i172rm aa L173/>i173rm a if (driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=capabilities/fivue laser_">capabilitiesrm a & driver_mipcode=BCMA_CC_CAP_PMU/fivue laser_">BCMA_CC_CAP_PMUrm a)a L174/>i174rm a " nam driver_mipcode=bturapmu_get_clockcpu/fivue laser_">bturapmu_get_clockcpurm a(&driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a);a L175/>i175rm aa L176/>i176rm a driver_mipcode=bturaerr/fivue laser_">bturaerrrm a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sNo PMU available, need this to get the cpu clock\n&quo_sval="aj)sa L177/>i177rm a " nam 0;a L178/>i178rm a}a L179/>i179rm adriver_mipcode=EXPORT_SYMBOL/fivue laser_">EXPORT_SYMBOLrm a(driver_mipcode=bturacpu_clock/fivue laser_">bturacpu_clockrm a)sa L180/>i180rm aa L181/>i181rm a>//void driver_mipcode=bturacoueprefs_f?rehadetect/fivue laser_">bturacoueprefs_f?rehadetectrm a(struct/driver_mipcode=bturadrvprefs/fivue laser_">bturadrvprefsrm a/*driver_mipcode=mcoue/fivue laser_">rcouerm a)a L182/>i182rm a{a L183/>i183rm a struct/driver_mipcode=bturabus/fivue laser_">bturabusrm a/*driver_mipcode=bus/fivue laser_">busrm a = driver_mipcode=mcoue/fivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">couerm a-xr_svriver_mipcode=bus/fivue laser_">busrm a;a L184/>i184rm aa L185/>i185rm a switch (driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=capabilities/fivue laser_">capabilitiesrm a & driver_mipcode=BCMA_CC_CAP_FLASHT/fivue laser_">BCMA_CC_CAP_FLASHTrm a) {a L186/>i186rm a case driver_mipcode=BCMA_CC_FLASHT_STSER/fivue laser_">BCMA_CC_FLASHT_STSERrm a:a L187/>i187rm a case driver_mipcode=BCMA_CC_FLASHT_ATSER/fivue laser_">BCMA_CC_FLASHT_ATSERrm a:a L188/>i188rm a driver_mipcode=bturadebug/fivue laser_">bturadebugrm a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sFound serial f?reh\n&quo_sval="aj)sa L189/>i189rm a driver_mipcode=bturasf?rehainit/fivue laser_">bturasf?rehainitrm a(&driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a);a L190/>i190rm a br 2k;a L191/>i191rm a case driver_mipcode=BCMA_CC_FLASHT_PARA/fivue laser_">BCMA_CC_FLASHT_PARArm a:a L192/>i192rm a driver_mipcode=bturadebug/fivue laser_">bturadebugrm a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sFound parallel f?reh\n&quo_sval="aj)sa L193/>i193rm a driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=pf?reh/fivue laser_">pf?rehrm a.driver_mipcode=window/fivue laser_">windowrm a = 0x1c000000sa L194/>i194rm a driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=pf?reh/fivue laser_">pf?rehrm a.driver_mipcode=window_size/fivue laser_">window_sizerm a = 0x02000000sa L195/>i195rm aa L196/>i196rm a if ((driver_mipcode=bturar 2.32/fivue laser_">bturar 2.32rm a(driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=coue/fivue laser_">couerm a, driver_mipcode=BCMA_CC_FLASH_CFG/fivue laser_">BCMA_CC_FLASH_CFGrm a) &a L197/>i197rm a driver_mipcode=BCMA_CC_FLASH_CFG_DS/fivue laser_">BCMA_CC_FLASH_CFG_DSrm a) == 0)a L198/>i198rm a driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=pf?reh/fivue laser_">pf?rehrm a.driver_mipcode=buswidth/fivue laser_">buswidthrm a = 1;a L199/>i199rm a elsea L200/>i200rm a driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=pf?reh/fivue laser_">pf?rehrm a.driver_mipcode=buswidth/fivue laser_">buswidthrm a = 2;a L201/>i201rm a br 2k;a L202/>i202rm a default:a L203/>i203rm a driver_mipcode=bturaerr/fivue laser_">bturaerrrm a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sF?reh type not supported\n&quo_sval="aj)sa L204/>i204rm a }a L205/>i205rm aa L206/>i206rm a if (driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=coue/fivue laser_">couerm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=rev/fivue laser_">revrm a == 38 ||a L207/>i207rm a driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=chipinfo/fivue laser_">chipinfolick="return ajax_pr_iver_mebc/fP30/fs?returnine/f > L130/>irm a, d+prefs?returstring"a&qu laser_47 L206/>i206G_DSrm a) ==&qu laser_47 L="return ajax_prefs()#L186/formuL186/fs?retur2ine/f >2 L108/>i108rm a d2iver_20f (driver_mipcode=oldirqflag/fivue laserm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a.driver_mipcode=capabilities/fivue laser_">capabilitiesrm a & driver_mipcode=BCMA_CC_CAP_FLASHT/fivue laser_">BN)abturadebugrm a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sFound parallel f?reh\n&quo_sNANDsa2 L110/>i110rm a d2iver_21 driver_mipcode=bus/fivue laser_">busrmipcon_">bturasf?rehainitrm a(&dniver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a);a2 L111/>i111rm aa2 L112/>i112rm a d2prefs2returcommenluern ajax_prefs()#L142/formuL142/fs?retur2ine/f > L113/>i113rm a i2 (dri2er_miprn ajax_prefs()#L142/formuL142/fs?retur2ine/f > L114/>i114rm a 2 21return ajax_prefs()#L185/formuL185/fs?retur2ine/f >2 L115/>i115rm a 2 2 uracoueprefs_f?rehadetect/fivue lasrasf?rehainitrm a(&d/fivue lasrasfcode=bturadrvprefs/fivue laser_">bturadrvprefsrm a/*driver_mipcode=mcoue/fivue laser_">rcouerm a)a2 L116/>i116rm a 2 2 rn ajax_prefs()#L186/formuL186/fs?retur2ine/f >2 L117/>i117rm a e2seabturabusrm a/*driver_mipcode=bus/fivue laser_">busrm a = driver_mipcode=mcourn ajax_prefs()#L190/formuL190/fs?retur2ine/f >2 L118/>i118rm a 2 2driver_mipcodebturadevice/fivue laser_">bturadevicerm a/*driver_mipcode=coue/fivue laser_">couerm a;a2 L119/>i119rm aam a = driver_mipcode=mcoue/fivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">couerm a-xr_svriver_mipcode=bus/fivue laser_">busrm a;a2 L120/>i120rm a d2prefs22return ajax_prefs()#L181/formuL181/fs?retur2ine/f >2 L121/>i121rm a i2 (dri2er_mipcode=irqvice/fivue laser_">brainform a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sset_irq: coued0x%0Iasfializuedm" a spcod...er_miclick="return ajax_prefs()#L193/formuL193/fs?retur2ine/f >2 L122/>i122rm a 2 22return ajax_prefs()#L173/formuL173/fs?retur2ine/f >2 L123/>i123rm a 2 2 drirqf!ivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">cousetup_donm a-xr_svriver_msetup_donmreturn ajax_prefs()#L182/formuL182/fs?retur2ine/f >2 L124/>i124rm a 2 2 (1 &l_s&l_ivue laser_">rcouerm a-xr_svriver_mipcode=coue/fivue laser_">coua.val="ae=coa, d+prefs?retura.val="ae=coack="return ajax_prefs()#L199/formuL199/fs?retur2ine/f >2 L125/>i125rm a }2else 22return ajax_prefs()#L206/formuL206/fs?returnine/f >2 L126/>i126rm a 2 2driver_mipcode/* backplane irq nine is Al="ajaIRQ\n&quallspcods oja2 L127/>i127rm a 2 22pcode=printk/fivue laser_">pvue laser_">list_for_each_enlryrm a(driver_mipcode=coue/fivue laser_">couerm a, &driver_mipcode=bus/fivue laser_">busrm a-xr_svriver_mipcode=coues/fivue laser_">couesrm a, driver_mipcode=list/fivue laser_">listrm a) {a2 L128/>i128rm a 2 2if (driver_mipcode=oldivue laser_">irm a;>bturacoueprefs_irqrm apcode=coue/frn ajax_prefs()#L199/formuL199/fs?retur2ine/f >2 L129/>i129rm a 2 2 struct/driver_irqflag/fivue lasererm a-xr_svriver_mipcode=id/fivue laser_">idrm a a)a2 L130/>i130rm aa2 L131/>i131rm a 2 23return ajax_prefs()#L112/formuL112/fs?retur2ine/f >2 L132/>i132rm a"+prefs?r2turco23river_mipcode=bturadebug/fivue laser>bturacoueprefs_irqrm apcode=coue/facoueprefs_irq/fivue laser_">bturacoueprefs_irqrm a(driver_mipcode=dev/fivue laser_">devrerm a));a2 L133/>i133rm a"+prefs?r2turco23river_mipcode=bturaerirqflag/fivue laser>bturacoueprefs_irqrm apcode=coue/fa="aj,4rn ajax_prefs()#L151/formuL151/fs?retur2ine/f >2 L134/>i134rm a 2 2 driver_mipcode=list_for_each_enlry/fierm a-xr_svriver_mipcode=id/fivue laser_">idrm a a)a2 L135/>i135rm a 2 2 if ((1eturn ajax_prefs()#L200/formuL200/fs?returnine/f >2 L136/>i136rm a 2 2 driver_mipr_each_enlry/fierm a-xr_svriver_mipcode=id/fivue laser_">idrm a a)abturacoueprefs_irqrm apcode=coue/faeturn ajax_prefs()#L111/formuL111/fs?retur2ine/f >2 L137/>i137rm a 2 2 irqflag/fivue lasererm a-xr_svriver_mipcode=id/fivue laser_">idrm a a)a2 L138/>i138rm a 2 2 br 2k;continuern ajax_prefs()#L199/formuL199/fs?retur2ine/f >2 L139/>i139rm a 2 2 }abusrerm a-xr_svriver_mipcode=id/fivue laser_">idrm a.driver_mipcode=rev/fivue laser_">revra)sa2 L140/>i140rm a 2 2 }a2 L141/>i141rm a 2 2}a2 L142/>i142rm a 2 2driver_mipcode=bturawrMA_CC_FLASHT_PARA/fivue laORE_ETHERNEC_CAP_FLASHTrm a) {a2 L143/>i143rm a 2 2 1 &l_s&l_MA_CC_FLASHT_PARA/fivue laORE_ETHERNEC_GBIC_CAP_FLASHTrm a) {a2 L144/>i144rm a }22 L145/>i145rm aai111HTrm a) {a2 L146/>i146rm a d2iver_24 drMA_CC_FLASHT_PARA/fivue laORE_USB20_HOSC_CAP_FLASHTrm a) {a2 L147/>i147rm a 2 2 driver_mipcode=dev/fivvvvvvv/* backplane irq nine is The_CCcode=csuo_sval=ir owjaIRQout whofto get the ="return ajax_prefs()#L134/formuL134/fs?retur2ine/f 2rstring"a&quo_s6&quo_sva249/fo2ck="reue * it and set user to ija L150/>i150rm a>//2oid d2523 driver_mipcode=bus/ferirqflag/fivue lasecouerm a-xr_svriver_mipcode=coue/fivue laser_">coua.val="ae=coa, d+prefs?retura.val="ae=coack=ode=irq,5rn ajax_prefs()#L151/formuL151/fs?returnine/f 2> L151/>i151rm a{abt">bturacoueprefs_set_irqrm a(driver_mipcode=coue/fivue laser_">couerm a, 0);a L152/>i152rm a 2int/d252driver_mipcode=bturaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaqflag/fivue lasecouerm a-xr_svriver_mipcode=coue/fivue laser_">coua.val="ae=coa, d+prefs?retura.val="ae=coack++retrn ajax_prefs()#L199/formuL199/fs?returnine/f 2> L153/>i153rm a 2st/a>252 1 &l_s&&&&&&&&&k="return ajax_prefs()#L202/formuL202/fs?returnine/f 2> L154/>i154rm a 2drive2524 driver_mipcoiprn ajax_prefs()#L142/formuL142/fs?returnine/f 2> L155/>i155rm a 21m" (2river_mipcode=iprn ajax_prefs()#L142/formuL142/fs?returnine/f > L156/>i156rm a 2 25mipcode=bturainfo/fivue laser_">bturainform a(driver_mipcode=bus/fivue laser_">busrm a, d+prefs?returstring"a&quo_sset_irq: coued0x%jaIRrek;cfiguratis op_do..er_miclick="return ajax_prefs()#L193/formuL193/fs?returnine/f 2> L157/>i157rm a 2drive2_mipcode=printk/fivue laser_"rqrm a(driver_m_">bturacoueprefs_dump_irqrm a(struct/driver_mipcodivue laser_">busrm a, d+prefs?returstrineturn ajax_prefs()#L193/formuL193/fs?retur2ine/f 2> L158/>i158rm a}a L159/>i159rm aacousetup_donm a-xr_svriver_msetup_donmreturn ajax_prefs()#L182/formuL182/fs?returnine/f 2> L160/>i160rm a>//2oid d2623 driver_mipcolick="turn ajax_prefs()#L193/formuL193/fs?returnine/f 2> L161/>i161rm a{a L162/>i162rm a 2struc2/driver_mipcodk/fivue laser_"rqrm ahipco_val="alasrasf?rehainitrm a(&hipco_val="alasracode=bus/fivue laser_">busrm a-xr_svriver_mipcode=drvpcc/fivue laser_">drvpccrm a);a L163/>i163rm aabturacoueprefs_f?rehadetectrm a(struct/driver_mipcod/fivue laser_">rcouerm a)a L164/>i164rm a 2drive2_mipcode=list_for_each_enlry/ecouerm a-xr_svriver_mipcode=coue/fivue laser_">cousetup_donm a-xr_svriver_msetup_donmretu/filag/fivue lastruonm a-xr_svrivertruocoue/frn ajax_prefs()#L199/formuL199/fs?returnine/f 2> L165/>i165rm a 2 2 driviprn ajax_prefs()#L142/formuL142/fs?returnine/f 2> L166/>i166rm a 2}a
i1footer"> TaLXR usraytring"clockexpal= al s()#is obyirn ajax_pmo gto:lxr@66rux.no">lxr@66rux.norev/f
i1subfooter"> lxr.66rux.no kindly hostedobyirn ajax_phttp://www.redpill-66rpro.no">Redpill L6rpro AString"provide=irf L6ruxmipcoultizue0valopalatis ssvalcode=csince 5.