linux/sound/firewire/cmp.c
<<
on vo> /spa o> /form o> a on vo> href="../linux+v3.7.4/sound/firewire/cmp.c">on vo> img src="../.static/gfx/right.png" alt=">>">on /spa on spa class="lxr_search">on v ="+search" method="post" onsubmit="return do_search(this);">on vo> input typopthidden" namoptnavtarget" .6on vo> input typopttext" namoptsearch" idptsearch">on vo> butt.19typoptsubmit">Search /form /spa on spa class="lxr_prefs" o> a href="+prefs?return=sound/firewire/cmp.c"on vo> onclick="return ajax_prefs();">on vo>Prefs o> /a>on /spa vo> > /div vo> > form ac > ="ajax+*" method="post" onsubmit="return false;">on input typopthidden" namoptajax_lookup" idptajax_lookup" .6o vo> > /form o vo> > div class="headingbott.m">
o> > div idptsearch_results" class="search_results" o vo> > /div div idptcontent"> div idptfile_contents"
> >1
/a>
spa
 class="comment">/*
/spa
  > >2
/a>
spa
 class="comment"> * Connec  >
 Management>Procedures (IEC 61883-1) helper func  >
s
/spa
  > >3
/a>
spa
 class="comment"> *
/spa
  > >4
/a>
spa
 class="comment"> * Copyright (c) Clemens Ladisch <clemens@ladisch.de>
/spa
  > >5
/a>
spa
 class="comment"> * Licensed under the terms of the GNU General Public License, vers >
 2.
/spa
  > >6
/a>
spa
 class="comment"> */
/spa
  > >7
/a>o> >8
/a>#include <linux/device.h
/a>>o> >9
/a>#include <linux/firewire.h
/a>>o> 72"
a>#include <linux/firewire-constants.h
/a>>o> 11"
a>#include <linux/module.h
/a>>o> 12"
a>#include <linux/sched.h
/a>>o> 13"
a>#include "lib.h
/a>"o> 14"
a>#include "iso-resources.h
/a>"o> 15"
a>#include "cmp.h
/a>"o> 16
/a>o> 17
/a>#define>
a href="+code=IMPR_SPEED_MASK" class="sref">IMPR_SPEED_MASK
/a>         0xc0000000o> 18
/a>#define>
a href="+code=IMPR_SPEED_SHIFT" class="sref">IMPR_SPEED_SHIFT
/a>        30o> 19
/a>#define>
a href="+code=IMPR_XSPEED_MASK" class="sref">IMPR_XSPEED_MASK
/a>        0x00000060o> 20
/a>#define>
a href="+code=IMPR_XSPEED_SHIFT" class="sref">IMPR_XSPEED_SHIFT
/a>       5o> 21
/a>#define>
a href="+code=IMPR_PLUGS_MASK" class="sref">IMPR_PLUGS_MASK
/a>         0x0000001fo> 22
/a>o> 23
/a>#define>
a href="+code=IPCR_ONLINE" class="sref">IPCR_ONLINE
/a>             0x80000000o> 24
/a>#define>
a href="+code=IPCR_BCAST_CONN" class="sref">IPCR_BCAST_CONN
/a>         0x40000000o> 25
/a>#define>
a href="+code=IPCR_P2P_CONN_MASK" class="sref">IPCR_P2P_CONN_MASK
/a>      0x3f000000o> 26
/a>#define>
a href="+code=IPCR_P2P_CONN_SHIFT" class="sref">IPCR_P2P_CONN_SHIFT
/a>     24o> 27
/a>#define>
a href="+code=IPCR_CHANNEL_MASK" class="sref">IPCR_CHANNEL_MASK
/a>       0x003f0000o> 28
/a>#define>
a href="+code=IPCR_CHANNEL_SHIFT" class="sref">IPCR_CHANNEL_SHIFT
/a>      16o> 29
/a>o> 30
/a>enum>
a href="+code=bus_reset_handling" class="sref">bus_reset_handling
/a> {o> 31
/a>        
a href="+code=ABORT_ON_BUS_RESET" class="sref">ABORT_ON_BUS_RESET
/a>,o> 32
/a>        
a href="+code=SUCCEED_ON_BUS_RESET" class="sref">SUCCEED_ON_BUS_RESET
/a>,o> 33
/a>};o> 34
/a>o> 35
/a>static 
a href="+code=__printf" class="sref">__printf
/a>(2	 lass="sref">2o>
2 
  3#L2)icmp.c3L26" void5" class="line" pri_error5">> 35
/a>statpri_erroref="+struct5" class="line" pri_coptL2">> 5">> 35
/a>statpri_coptL2">> 32" i*" class="line" p5">> 35
/a>statp_RESE const chari*" class="line" fmt5">> 35
/a>statfmt_RESE ...=__printf" class="sref">__printf
/>     243bus_reset_handli003f00003> 35
/a>statva_list32" i class="line" nva5">> 35
/a>statva32" dptL33" class="line" namoptL33">>       163 29
/a>4> 35
/a>statva_idprtef="+ class="line" nva5">> 35
/a>statva32" ," class="line" nfmt5">> 35
/a>statfmt_RES)dptL33" class="line" namoptL33">>4ng
/a> {4> 35
/a>statdev_erref="+&" class="line" p5">> 35
/a>statp_RES-c) Cl class="line" rewire/is5">> 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES-c) Cl class="line" clude/5">> 35
/a>statdevde/32" ,"  idptL6" clastr30
/und/fir%c"+c%u: %pVclass="optL6"ET" class="sref">SUCCEED_ON_BUS_R4SET
/a>,4> 35
/a>statp_RES-c) Cl class="line" pcr_index5">> 35
/a>statpcr_index32" ,"&+struct5" class="line" va_okupat5">> 35
/a>statva_okupat_RES){" class="line" nfmt5">> 35
/a>statfmt_RES,"& class="line" nva5">> 35
/a>statva32"  })dptL33" class="line" namoptL33">>4SET
/a>,4> 35
/a>statva_endef="+ class="line" nva5">> 35
/a>statva32" )dptL33" class="line" namoptL33">>4 *
/spa
   >4> 34
/a>4(2	 la4s="sref">2o>
2 
  3#L2)4cmp.c4635" idptL35a h" class="line" npcr_modify5">> 35
/a>statpcr_modifyef="+struct5" class="line" pri_coptL2">> 5">> 35
/a>statpri_coptL2">> 32" i*" class="line" p5">> 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     244> 35
/a>statmodifyef=")+struct5" class="line" pri_coptL2">> 5">> 35
/a>statpri_coptL2">> 32" i*" class="line" p5">> 35
/a>statp_RESE  class="line" n__beo> 35
/a>statoldef=")EidptL29" class="line" namoptL29"4003f00004> 35
/a>statpheckef=")+struct5" class="line" pri_coptL2">> 5">> 35
/a>statpri_coptL2">> 32" i*" class="line" p5">> 35
/a>statp_RESE  class="line" n__beo> 35
/a>statpcref=")EidptL29" class="line" namoptL29"4      164> 30
/a>enum>
a href="+code=bus_reset_handl30" class="line" namoptL30">> 30
/a>enum>
a href="+code=bus_reset_hand=__printf" class="sref">__printf
5> 29
/a>5bus_reset_handl5ng
/a> {5> 35
/a>statfw_clude/32" i*" class="line" clude/5">> 35
/a>statdevde/32"  =5" class="line" fw_parent_clude/5">> 35
/a>statfw_parent_clude/ef="+ class="line" np5">> 35
/a>statp_RES-c) Cl class="line" rewire/is5">> 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES)dptL33" class="line" namoptL33">>5SET
/a>,5 * L">> 5">> 35
/a>statg> * L">> 32"  =5" class="line" p5">> 35
/a>statp_RES-c) Cl class="line" rewire/is5">> 35
/a>statrewire/is_RES.l class="line" g> * L">> 5">> 35
/a>statg> * L">> 32" dptL33" class="line" namoptL33">>5SET
/a>,5> 35
/a>statrne" _RESE  class="line" nerrors5">> 35
/a>staterrors32"  =50dptL33" class="line" namoptL33">>5 *
/spa
5  enum>
a hrefold_ar
_RESE  class="line" nbuffer5">> 35
/a>statbuffer_RES[2]dptL33" class="line" namoptL33">>5t;
/spa
   > 35
/a>staterref="dptL33" class="line" namoptL33">>5a>(2	 la5s="sref">2o>
2 
  3#L2)5cmp.c5L16" idptL16" class="line" namoptL16"5>     245> 35
/a>statbuffer_RES[0] =5" class="line" p5">> 35
/a>statp_RES-c) Cl class="line" > 3t_pcr_den" 5">> 35
/a>stat> 3t_pcr_den" ef="dptL33" class="line" namoptL33">>5003f00005bus_reset_handl5      165enum>
a hrefold_ar
_RES =5" class="line" buffer5">> 35
/a>statbuffer_RES[0]dptL33" class="line" namoptL33">>6> 29
/a>6> 35
/a>statbuffer_RES[1] =5" class="line" modify5">> 35
/a>statmodifyef="+ class="line" np5">> 35
/a>statp_RESE  class="line" nbuffer5">> 35
/a>statbuffer_RES[0])dptL33" class="line" namoptL33">>6ng
/a> {6,6> 35
/a>statrne" _RES =5" class="line" fw_run_transa2">> 5">> 35
/a>statfw_run_transa2">> ef="+idptL16" class="line" namoptL16"6SET
/a>,6> 35
/a>statdevde/32" -c) Cl class="line" card5">> 35
/a>statcard_RESE  class="line" nTCODE_LOCK_COMPARE_SWAP5">> 35
/a>statTCODE_LOCK_COMPARE_SWAP_RESEidptL29" class="line" namoptL29"6 *
/spa
6  > 35
/a>statdevde/32" -c) Cl class="line" nne"_id5">> 35
/a>statnne"_id_RESE  class="line" ng> * L">> 5">> 35
/a>statg> * L">> 32" E  class="line" nclude/5">> 35
/a>statdevde/32" -c) Cl class="line" max_speed5">> 35
/a>statmax_speed_RESEidptL29" class="line" namoptL29"6t;
/spa
6   23
/a>#define>CSR_REGISTER_BAS>32" i+" class="line" nCSR_="+c 23
/a>#define>CSR_="+cef="+ class="line" np5">> 35
/a>statp_RES-c) Cl class="line" pcr_index5">> 35
/a>statpcr_index32" )EidptL29" class="line" namoptL29"62.
/spa
   > 35
/a>statbuffer_RES, 8)dptL33" class="line" namoptL33">>6>     246> 35
/a>statrne" _RES ==5" class="line" RCODE_COMPLET> 23
/a>#define>RCODE_COMPLET>32" )ling" class="sref">bus_reset_handl6      166> 35
/a>statbuffer_RES[0] ==5" class="line" old_ar
/a>enum>
a hrefold_ar
_RES) " idptL1" class="line" n suc/iss? namoptL6">> >6
/a>
spa
 class="comment"> *> 29
/a>7>7ng
/a> {7,7> 35
/a>statpheckef=")ling" class="sref">bus_reset_handl7SET
/a>,7> 35
/a>staterref=" =5" class="line" pheck5">> 35
/a>statpheckef="+ class="line" np5">> 35
/a>statp_RESE  class="line" nbuffer5">> 35
/a>statbuffer_RES[0])dptL33" class="line" namoptL33">>7 *
/spa
7  > 35
/a>staterref=" clas 0=__printf" class="sref">__printf
7t;
/spa
7  
 class="line" nerr5">> 35
/a>staterref="dptL33" class="line" namoptL33">>72.
/spa
7  >7*/
/spa
   > 35
/a>statrne" _RES ==5" class="line" RCODE_GENERATIO
/a>#define>
a hRCODE_GENERATIO
hand=__printf" class="sref">__printf
7003f00007enum>
a href="+code=bef="dptL33" class="line" namoptL33">>7      167> 35
/a>statrne" _is_permanent_erroref="+ class="line" nrne" 5">> 35
/a>statrne" _RES) || ++ class="line" nerrors5">> 35
/a>staterrors32"  c) C=de=__printf" class="sref">__printf
8> 29
/a>8> 35
/a>statio_erroref="dptL33" class="line" namoptL33">>8ng
/a> {8>8SET
/a>,8> 35
/a>statp_RES-c) Cl class="line" > 3t_pcr_den" 5">> 35
/a>stat> 3t_pcr_den" ef=" =5" class="line" buffer5">> 35
/a>statbuffer_RES[1]dptL33" class="line" namoptL33">>8SET
/a>,8
0dptL33" class="line" namoptL33">>8t;
/spa
8  > 35
/a>statio_erroref=":idptL29" class="line" namoptL29"8*/
/spa
8  > 35
/a>statpri_erroref="+ class="line" np5">> 35
/a>statp_RESE   idptL6" clastr30
/und/firtransa2">>  failed: %s\nclass="optL6"E5" class="line" fw_rne" _5;tL6"E5" class="lline" namoptL28">> 28
/a>#define>
a href=" namoptL33">>72.
/spa
7  >8t;
/spa
8  > 35
/a>statprewire8cmp.c8L31" idptL31"}ptL33" class= 35
/a>staterresta""sref">bus_reset_handl5      165> 35
dIO8cmp.c8L31" idptL31"}ptL33" class="linclass="l8ne" nrne" _is_permanent8error84cmp.c4032" idptL32" class="line" nva9tol30" c9ass="lineio_error5">> 39
/a>s90"line" namoptL29"8*7      167>8SET
/a>,8> 30
/a>enum>
a href="+code=bus_reset_hand__printf" class="sef">ABORT_ON_BUS_RESET
/a>,o> 35
/a9statp_RES-c) Cl class="9ine" 9 3t_p.c8L32" idptL32" class="line" np59ptL16"8 9
/spa
8  
0dptL33" c9ass="lin9" namoptL33">>8t;
/spa
9   35
/a>9tatio_erroref=":idptL299 clas9/
/spa
   35
/a>statpri_erroref9"+ cl97
/spa
  staterresta""sref">bus9reset98
/spa
  > >99
/a>#include <> 772"
a>#include <re

/spa
  > 011"
a>#include <re1andltL33">>5a>(2	 la5s=" n__beo> 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     244> 012"
a>#include <reeckef=")ling" class="sref">buline" clude/5">> 35
/a>st5     244> 013"
a>#include "reerref=" =5" class="line" phecunsignedptL33">>5a>(2	 la5s=i"62.
/spa
   > 014"
a>#include "re/cmp..c7332" idptL32"idptL31"idptL32"i10ptL15">> 015"
a>#include "re5">> 35
/a>sta>enum>
a hrefold_ar
_RESE  class="line" nbuffer5">> 35
/a>staimprne"
   > 016
/a>o> 35
/a>sta>enum>
a hrefour
_RESE  class="lu nbuffer5">> 35
/a>staimpr
   > 017
/a>#define>
a href="+07/a>ress="line" np5tL33">>5a>(2	 la5s="sref">2o>
2 
  3#L2)5cmp.c5L16" idptL16" class="line" nam10ptL18">> 018
/a>#define>
a href="+08/a>re8cmp.c#L35" idptL35" class="line" nam10ptL19">> 019
/a>#define>
a href="+09/a>re9">> 35
/a>sta>enum>
a hrefo="+ class="line" np5">> 35
/a>statp_RESE  csnd_>st namoptL16"6SET
/a>,6st namoptL16"  ,o>  72"
a>#include <>7ng
/a> {7> 35
/a>statp_RES-c)MPl class="line" pcr_inMPle5cm.c4732" idptL32"idptL31"ptL32" cl1optL11">> 111"
a>#include <r113">>7ng
/a> {7>4SET
/a>,4>  12"
a>#include <__printf
7t;
/spa
7  >  13"
a>#include ">72.
/spa
7  >  14"
a>#include "enum>
a hrefoimpr
   >8SET" n_to_cpu
/a>enum>
a href" n_to_cpu  >  15"
a>#include ">  16
/a>o__printf
7t;
/i"62.
/spa
   IMPR_PLUGS_MASK
/a>         0x0000001fo>  17
/a>#define>
a href="++code11" _RES ==5" class="li65> 35
dINVAL7cmp.c7632" idptL32"idptL31"idptL32"}1optL18">>  18
/a>#define>
a href="++code118cmp.c#L35" idptL35" class="line" nam1optL19">>  19
/a>#define>
a href="++code119">> 35
/a>sta>enum>
a hrefo="+ class="line" np5">> 35
/a>statp_RESE  c>stiso_tL33" cla_initdptL6" clastr30>stiso_tL33" cla_init  > 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES-c) Cl class="line" clude/5.RE_SWAP_RESEidpt5>1 20
/a>#define>
a href="1+code120 =5" class="lef">__printf
7t;
/spa
7  >1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7>72.
/spa
7  >1 22
/a>o>1 23
/a>#define>
a href="1+code12ne" nva5">> 35
/a>statva32" e/is_RES.l class="line" unit5">> 35
/a>stine" naa
6  > 35
/a>statp_RESE  c> namdptL6" clastr30> nam7cmp.c7632" idptL32"idptL31"idptL32"}1optL14">>  24
/a>#define>
a href="1+code12ne" nold_ar
/a>enum>
a hrefomutex_initdptL6" clastr30mutex_init  > 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"1optL15">>  25
/a>#define>
a href="1+code125">> 35
/a>sta>enum>
a hrefo> 3t_pcr_den" ef=" =5" class="line" buffer5">> 35
/a>statbuffer_RES[1]dptL33" class="line" namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
  >  26
/a>#define>
a href="1+code126">> 35
/a>sta>enum>
a hrefondex32" )EidptL29" class="line" namoptL29"62.
/spa
   >8SEi"62.
/spa
   >  27
/a>#define>
a href="1+code12ss="line" np5">> 35
/a>statp_/is_RES.l class="line" unit5">> 35
/a>stmt;
/spa
6  IMPR_SPEED_MASK
/a>         0xc0000000oIMPR_SPEED_SHIFT
/a>        30o>  28
/a>#define>
a href="1+code128 =5" class="lef">__printf
7t;
/_/is_RES.l class="line" unit5">> 35
/a>stmt;
/spa
6  >8SES29" cBETA6  >1 29
/a>o> 35
/a>st_/is_RES.l class="line" unit5">> 35
/a>stmt;
/spa
6  IMPRR_XSPEED_MASK
/a>        0x00000060oIMPPR_XSPEED_SHIFT
/a>       5o>1 30
/a>enum>
a href="+co1de=bu1_resetc#L13" idptL13" class="line" namopptL21">>1 31
/a>        
a href="1+code131andl5      165>1 32
/a>        
a href="1+code13 3t_p.c8L32" idptL32" class="line" np51optL33">>1 33
/a>};o> 35
dXP="soSYMBOLtransa2">>  failed: & n__beo>1 34
/a>o>1 35
/a>static 
a href="+1code=13 Licensed under the terms o/*ire/cmp.c#L4" idptL4" class="line" namop1rror5">> 135
/a>statpri_erroref="+1struc13/
/spa
  > 003f00003>  35
/a>statva_list32" i 1class138
/spa
  1 29
/a>4> _beo> 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     2441> 35
/a>statva_idprtef="1+ cla14e5cmp.c5L31" idptL31"struct5" class="l1v_err5">>1 35
/a>statdev_erref="+&1amp;"1class="line" p5">> 35
/a>statWARN_7003f00007>  failed: %s\nclass="optL6"e" unit5">> 35
/a>stine" naa
6  > 3p.c5L32" idptL32"a h" class="line"1 clastr301
/un#39;in#39;"optL6"E5"1 clas14 3t_pcr_den" 5">> 35
/a>statmutex_destroydptL6" clastr30mutex_destroy  > 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"1_end5">> 135
/a>statva_endef="+ cl1ass="1ine" nva5">> 35
/a>statva32" >stiso_tL33" cla_destroydptL6" clastr30>stiso_tL33" cla_destroy  > 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32"a h" class="line"1_ptL14">> 114"
a>#include "(2	 la4s="sref">2o>
2 
1  3#L1)4cmp.t_handl5      1dXP="soSYMBOLmp.c8524">> 35
dXP="soSYMBOLtransa2">>  failed: & n__beo> 1fy5">> 35
/a>statpcr_mod1ifyef14/cmp.c#L17" idptL17" class="line" namoass="line1" n__beo> 35
/a1>stat1heckeff" class="sref">__printf_ar
_RESE  class="line" nbuffer5">> 35
/a>staiund/de=b class="line" nbufferiund/de=b class  > 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     244__printf_ar
_RESE  class="line" nbuffer5">> 35
/a>staiund="line" nbufferiund4cmppc4732" idptL32"idptL31"ptL32" cl1_ptL29"4>1ss="line" namoptL30">> 310
/a>1num>
a.c5L31" idptL31"struct5" class="l1et_handl51ng
/a> {5> 35
/a>statvaiund="line" nbufferiund4cmpeoptL3= ~namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
           0x40000000o>1lude/5">> 35
/a>statfw_c1lude/1513">>7ng
/a> {7      0x3f000000o> 35
/a>statg> * L1">> 315eckef=")ling" class="sref">bu/fireFT" class="sref"IPCRCR_CHANNEL_MASK
/a>       0x003f0000o> 35
/a>statrne" _RESE 1 clas15ne" nva5">> 35
/a>statva32" iund="line" nbufferiund4cmpe|" namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
       24o> f="sa>staticbeo<32" i cl1ass="1ine" nold_ar
/a>enum>
a hrefoiund="line" nbufferiund4cmpe|" namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
  statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES-c) Cl class="line" clude/5line" namoptL33"chae" l/is_RES.l class=hae" l/firewi7cwi7cmFT" class="sref"IPCRPCR_CHANNEL_SHIFT
/a>      16ostaterref="dptL331" cla158cmp.c8.c#L6"0" class="lineio_error5"1optL16"5>1     245> 35
/a>stmoptL33">>72.
/spa
7  iund="line" nbufferiund4cmp.c5L32" idptL32"a h" class="line"1 ss="line135
/a>statbuffer_RES[0] 1=5" c1ass="l.c4529" idptL29" class="line" nam1ss="sref"1>bus_reset_handl5      1165enum>
a hrefold_a1r
_RE1 =5" cct5" class="line" pri_coptiund/de=blass="line" nbuffer5iund/de=blass=  > 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     244__printf_ar
_RESE  class="line" nbuffer5">> 35
/a>staiund="line" nbufferiund4cmppc4732" idptL32"idptL31"ptL32" cl1ine" nbuf1fer5">> 35
/a>statbuffer1_RES[16e5cmp.c5L31" idptL31"struct5" class="l1optL16"6S1ET
/a>,6>7ng
/a> lef">__printf
7t;
/i"62="line" nbufferiund4cmpeoptL3 namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
  statrewir"IPCR_BCAST_CONN
/a>         0x40000000o> 35
/a>statrne" _R1ES =51 class="line" fw_run_tref="sound/fireFT" class="sref"IPCRPCR_P2P_CONN_MASK
/a>      0x3f000000o> 135
/a1statdevde/32" -c) Cl cs="line" p5">> 35
/E   idptL6" clastr30
/und/firtransa2">>  failed: %s\nclass="optL6"E5" class="line" fw_rne" _5;tplug is alreadylas usetL28">> 28
/a>#p.c5L32" idptL32"a h" class="line"1dptL31" c1lass="line" nclude/5">> 135
/a1statdevde/32" -c) Cl c65> 35
dBUSY4cmp.c5L32" idptL32"a h" class="line"1dptL31" c1lass="line" nCSR_REGISTE1R_BAS1 23
/a>#define.c4529" idptL29" class="line" nam16ptL16">> 116
/a>o__printf
7t;
/i"62="line" nbufferiund4cmpeoptL3 namoptL33">>8SEcpu_to__ar
_RESE  class="lcpu_to__ar
  statrewir"IPCRINE
/a>             0x80000000o> 35
/E   idptL6" clastr30
/und/firtransa2">>  failed: %s\nclass="optL6"E5" class="line" fw_rne" _5;tplug is not on-hreftL28">> 28
/a>#p.c5L32" idptL32"a h" class="line"1ds="sref"1nrne" 5">> 35
/a>statrne1" _RE1 ==5" class="line" RCO65> 35
do> 35
/1a>sta1buffer_RES[0] .c4529" idptL29" class="line" nam1"""""""br1eakdptL33" class="line" 1namop17resetc#L13" idptL13" class="line" namooptL16"7S1ET
/a>,7> 35
/a1>stat17 3t_p.c8L32" idptL32" class="line" np51dptL31" c1lass="line" nerr5">> 35
1/a>st178cmp.c8432" idptL32" ac  >
0dptL33" c1dptL31"if1 + class="line" nerr5">>1 35
/17 Copyright (c) Clemens Ladi/*ire/cmp.c#L4" idptL4" class="line" namop1dptL31"""1"""""" ac  >
 class="lin1e" ne17 Licensed under the terms of t
/un_beo> ass="line" namoptL33">>71*/
/s17/
/spa
  > 35
/a>1statr177
/spa
  en1um>
a178
/spa
  > 315
/a>18

/spa
  >8SET
/a>,8> 35
/a1>statp_RES-c) Cl class="1line"18 Connec  >
 Management>Procedund/firew ound/eds,se, v_all)r is linponsiblerewir>> 35w_r  namomi=tw_rde/cmp.c#L4" idptL4" class="line" namop1"ptL31" c1*
/spa
8  >8t;
/spa
18  >5a>(2	 la5s=" n__beo> 35
/a>statp_RESEidptL29" class="line" namoptL29"4>     244> statio_erroref=":idptL291" cla18tatbuffer_RES, 8)dptL33" class="liunsignedptL33">>5a>(2	 la5s=nd/fpayload_bytes6  > 35
/a>statpri_erroref1="+ c18e3cmp.c3832" idptL32" class="line" nva1ass= 35
/1a>staterresta""sref">bus1_rese1_handl5      1tL33">>5a>(2	 la5s="sref">2o>
2 
  3#L2)5cmp.c5L16" idptL16" class="line" nam1nclass="l18ne" nrne" _is_permanent18erro184cmp.c4032" idptL32" class="line" nva19tol30" c19ass="lineio_error5">> 319
/a>190 =5" class="lef">__printf
7t;
/WARN_7003f00007>  failed: %s\nclass="optL6"e" unit5">> 35
/a>stine" naa
6  > 3ppc4732" idptL32"idptL31"ptL32" cl19e" namop19L33">>8SET
/a>,8>7ng
/a> {7         0dIS_CON5cmp.c5L16" idptL16" class="line" nam19>> 35
/a19statp_RES-c) Cl class="19ine"19/cmp.c#L23" idptL23" class="line" nam19ptL16"8 19
/spa
8  > 35
/a>statva32" e/is_RES.l class="line" unit5">> 35
/a>st/spa
6  >5a>(2	 la5s=niESEidptL29" clasniEtransa2">>  failed: %s\nclass="optL6"e" unit5">> 35
/a>st6t;
/spa
6  >8t;
/spa
19  statva32" >st35
/a>statp_RES-c) Cl class="line" rewire/is5">> 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES)dptL33" class="line" namoptL33">>5SET
/a>,5> 35
/a>st6t;
/spa
6   35
/a>19tatio_erroref=":idptL2919 cla196">> 35
/a>sta>enum>
a hrefomutex_loc="line" nbuffer5mutex_loc=  > 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32"idptL31"if + clas19ss= 35
/19>staterresta""sref">bus19rese198
/spat5">> 35
/a>stattry_aft)r_7      167> >199
/a>#include <> 35
/a>sta>enum>
a hrefo="+ class="line" np5">> 35
/a>statp_RESE  c>stiso_tL33" cla_allocat32"idptL31"if + claiso_tL33" cla_allocat32"idptL3> 35
/a>statrewire/is_RES.l class="line" unit5">> 35
/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232" idptL32"idptL31"if + clas19ss= 35
/1idptL31""""""""""1optL16">> sta5io_erdc 23
/a>#define>CSR_="+cef="+ class="l 5">> 35
/a>statrewire/dptL32"idptL31"ptL32" cl1i_error5"1>> 35
/a>statpri_pat5">> 35
/a>statva_okupat_RES){" class="line" nfmt5">> 3clasniEtransa2">>  failed: &#_erroref19"+ c196cmp.c6832" idptL32la5s=" n_2beo>8SEcpu_to__ar
_32"i1optL21">>1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7b2line" clude/5">> 35
/a>s25 35
/
/a_e"19_ Cl class="19ine"19/cmp.c#L23" idptL22line" phe2unsignedptL33">>5a>(2	 l25s=i"20e" nerr5">>1 35
/17 Copyright (c) Cle22"idptL312idptL32"i10ptL15">> 015"2a>#in20moptL33">>8SEcpu_to__ar
_RESllocat32"idptL31"if + claiso_tL33" cla_allo 35
/a>statp_RESEidptL29" class="line" nESE  class="line" nbuffer5">> 35
/a>staiund="line" nbine" p5">> 35
/a>statp_RESEidptL29" class="line" staiund="line" nbine" p5">35
/a>statp_RESEidptL29" class="line" " idptL32"idptL31"if + clas19ss= 355idptL312ierror5"19> 35
/a>19tati2nbuff20pa
7  >20/firewircmwire8cm href="sound/fillocat32"idptL31"if + clais=dptL29" class="line" nam9>> 35
/a9statp_RES-c) C="sound/f1irewi16" _RES ==5" class=2>5a>(2	 l25s="sref">2o>
2 
  3#L2)2cmp.c20/und/firtransa2">>  failed: %s\nclass="line" unitlineewire/is_RES.l class="line" unitline/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232_erroref19"+ c196cmp.c6832" idptL32lss="sref"ine" nam10ptL19">> 019
/2>#def20524">> 35
do> >199
/a>#include &lerroref19"+ c196cmp.c6832" idptL32llass="lin"+ class="line" np5">> 32
/a>s20ptL33" class="line" 1namop17resetc#L13" idptL12ref="soun2/firewir+" class="line" 2CSR_=21cmp.c7532" idptL32"idptL31"idptL32"i1optL21">>1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7>4SET
/2>,4> 35
/a>2limoptL332>>72.
/spa
7  >5a>(2	 la5s=niESEidptL29" ptL6" clastr30> nam7cmp.c7632" idptL32"idptL31"idptL32"trar
_RESE  class="trare &lerroref19"+ c196cmp.c6832" idptL32_"idptL312mpr
   >  16
/2>o> 35
/a>statbuffit5">>unS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32_printf
72;
/i"62.
/spa
    35
dINVAL7cmcheck5">> 35
/a1>stat17 3t_p.c8L32" idptL2" class="2ine" nam1optL19">>  19
/2>#def2ne>
a href="++code119">> 35
/a>sta>enu2>
a hrefo2"+ class="line" np5">> 32
/a>s2atp_REtL31"}ptL33" cl
/a_ound/firewire4cmp.ss="sr
/a_ound/firee <> 35
/a>sta>enu2_printf
72;
/spa
7  >8SEcpu_to__arclass="line" unitlineewire/is_RES.l class="line" unitline/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232_erroref19"+ c196cmp.c6832" idptL32remoptL332>>72.
/spa
7   35
/
/a_e"19_ Cl t;> 35
/a>sta>enu2_printf
72ine" nam1optL23">>1 23
/2>#def22_destroy  > 35
/a>statrewireunS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32tatva32" 2/is_RES.l class="line" u2it5">22e" nerr5">>1 35
/17 Copyright (c) Cle2>
a hrefo2utex_initdptL6" clastr302utex_2nit  > 32"idptL31"idptL32"}1optL22">>1 22
/a>o
a hrefo2 3t_pcr_den" ef=" =5" cl2ss="l2ne" bu"line" 1namop17resetc#L13" idptL12>
a hrefo2dex32" )EidptL29" class=2line"22" idptL32" class="li& n__beo> 35
/a>statp_RESEidptL29" class="line" _erroref19"+ c196cmp.c6832" idptL32ti6522""sref">bus19rese198
/spat5">> 35
/a>2_printf
72;
/_/is_RES.l class="lin2" uni22" namop1dne" nold1ine" nrnec  >
 class="lin1e" ne17 Licensed under th2ffer5">> 25
/a>st_/is_RES.l class=2line"22ss-to-poassv_beo199
 a bmop1ope" namoptL/a>en1um>
a178
/spa
  >1 31
/2>    23atw_r isochronous line" clu (=amop1 + class=1"line" nrne" 5">> 35
/a>1statr177
/spa
  > 35
/a>1statr177
/spa
  >1 33
2a>};o23s linponsiblerewir>> 35w_r  na vlocalre/cmp.must b idptL4d" c1lass="driverptL4" c.update  href aoptLinelass="line5">> 35
/a>1statr177
/spa
  > 35
dXP="2oSYMB23ass="line" namop1lass="lin1e" anymop1dptL16">>hat might  hve b ein>tL1ve33">>8t;
/spa
18  >1 35
/2>stat23""""""""1optL29"821.
/spa
8  3">>8t;
/spa
18  > 135
/a>ste" R"idpts zero w_rde/cmss, o
 a negaL1ve " fw_ roy .  Oin>n " fw_#L4" 3">>8t;
/spa
18  locbrokein>ndL4" idptL4" must stopc1*
/spa
8  <="li namoptL33">>8t;
/spa
18  >5a>(2	2ound/fire2ire7cmp.c7032" idptL32"i2ptL312""""""n_beo> 35
/a>statp_RESEidptL29" updatene" namoptL29"4>     244> statio_erroref=": href="1+code1213">>7ng
/a> {7>2_beo> 3521"struct52 class="l1v_err5">>1 35
2a>sta24cmp.c7532" idplass="line" nam1nclass="l18ne" nrne" _is_permanent18erro184cmp.c4032" idptL325
/a>stat2ARN_7003f00007> 35
/a>statpheckef=")ling" class="25
/a>stat2utex_destroydptL6" clast230mut2x_destroy  > 35
/a>statrewireS.l class="line" unit5">> 35
/a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32tatva32" 2stiso_tL33" cla_destroyd2tL6" 24e" nerr5">>1 35
/17 Copyright (c) Cle29" class=2line" nam1optL29"4a1>(2	2la4s=24it  > 3L33">naa
6  > 3ppc4732" idptL32"idptL31"ptL32" cl19e" namop19L33">>8SET
/a>,8"sound/f1irewi16" _RES ==5" class=21dXP="soS2MBOLmp.c8524">> 35
dXP="2oSYMB24pa
7  > 35
/a>statrewireunS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32" class="2ine" namoass="line1" n__2eo> 35
/a1>stat17 3t_p.c8L32" idptL2"idptL31"2f + clas1"(*" clas1s="li2e" ch24 35
dINVAL7cm"line" 1namop17resetc#L13" idptL12">__print2_ar
_RESE  class="line" 2buffe24e>
a href="++code119">> 35
/a>sta>enu21"struct52 class="l1et_handl51ng
/2> {5<24tp_RESE  c>stiso_tL33" cla_allocat32"idptL31"if + claiso_tL33" cla_allocat32"idptL3> 35
update5">> 35
/a>statcat32"idptL3> 35
update/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232_erroref19"+ c196cmp.c6832" idptL32/a>statva2und="line" nbufferiund4c2peopt25cmp.c7532" idptL32"idptL31"idptL32"i1optL21">>1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7      0" idptL31"}ptL33" cl
/a_lre">>8SEerror5"19> 35
/
/a_lre">>8SEs_permanent18erro184cmp.c4032" idptL32="sref">b2/fireFT" class="sref"IPC2CR_CH25href="sound19fire19ne" nva5">> 35
/a>2tatva32" 2und="line" nbufferiund4c2pe|" 2amoptL33">>8SEcpu_to__ar
_RESllocat32"idptL31"if + claiso_tL33" cla_allo 35
/a>statp_RESEidptL29" class="line" nESE  class="line" nbuffer5">> 35
/a>staiund="line" nbine" p5">> 35
/a>statp_RESEidptL29" class="line" staiund="line" nbine" p5">35
/a>statp_RESEidptL29" class="line" " idptL32fire19ne" nva5">> 35
/a>2t" class=2und="line" nbufferiund4c2pe|" 25-c) Cl class="line" rewire/iSEcpu_to__ar
_RESSUCC/a>e      1dAGAI003f00007e      1dAGAIn232_erroref19"+ c196cmp.c6832" idptL32/dXP="soS2_error5"1optL16"5>1     245>1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7bus2reset25""sref">bus19rese198
/spat5">> 35
/a>2" class="2ine" nam1ine" nold1_ar
/2>enum258optL33">>8SEcpu_to__ar
_RESrewireunS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32ne" pri_c2ptiund/de=blass="line" n2uffer25error5">> 319
/a>190 =5" class="lef">21"struct52 class="l1optL16"6S1ET
/2>,6> 35
/a1>stat17 3t_p.c8L32" idptL2_printf
72;
/i"62="line" nbufferiu2d4cmp26">> 35
/a>statpheckef=")ling" class="2_tref="so2nd/fireFT" class="sref"I2CRPCR2P2P_COtL31"}ptL33" cl
/a_ound/firewire4cmp.ss="sr
/a_ound/firee <> 35
/a>sta>enu2 cs="line2 p5">> 35
/E   idptL6" c2astr326moptL33">>8SEcpu_to__ar
_RESclass="line" unitlineewire/is_RES.l class="line" unitline/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232_erroref19"+ c196cmp.c6832" idptL32 c652 35
dBtL31"}ptL33" cl
/a_lre">>8SEerror5"19> 35
/
/a_lre">>8SEs_pet;> 35
/a>sta>enu2 dXP="soS2 class="line" nam16ptL162>> 1126e" buffer5">> 35
/a>statbuffer_RES[1]dptL33" class="line" namoptL33">ptL6" clastr30> nam7cmp.c7632" idptL32"idptL31"idptL32"}1optL14">>  24
/a>#define>
a href="1+code12ne" nold_ar
/a>enu2>__printf27t;
/i"62="line" nbuffer2und4c26c=  > 35
/a>statrewire/is_REunS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32lis="line2 p5">> 35
/E   idptL6" c2astr326""sref">bus19rese198
/spat5">> 35
/a>2CO65> 35
do<2"idptL31"idptL32"}1optL22">>1 22
/a>o> 35
/a>statp_RESEidptL29" updatene" _erroref19"+ c196cmp.c6832" idptL32rp.c8529"2idptL29" class="line" na21f + 27">> 35
/a>statpheckef=")ling" class="22" class=2line" np51dptL31" c1lass2"line27href="sound19fire19ne" nva5">> 35
/a>2" ac  >
02ptL33" c1dptL31"if1 + cl2ss="l2ne" ne5
/a>staiund/de=b class="line" nbufferiund/de=b class  > 35
/a>statp_RESEidptL29"break>> 35
/ne" namoptL29"4>     244> statio_erroref=":staiund="line" nbufferiund4cmppc4732" idptL32"idptL31"ptL32" cl1ine" nbuf1fer5">> 35
/a>statbuffer1_RES[16e5cmp.c5L31" idptL2ens Ladi/2ire/cmp.c#L4" idptL4" cl2ss="l27ude "re5">> 35
/a>sta>enu2 terms of2t
/un_beo> 35
do<2"idptL31"idptL32"}1opRESE  class="lcpu_to__ar
           0x40000000o>1lude/5">> 35
/a>st href="sou)mp.c7332" idptL32"idptL31"idptL32"i1dptL31" c1lass="line" nclerroref19"+ c196cmp.c6832" idptL32r__printf2 @c:se, v_beobus19rese198
/spat5">> 35
/a>2ound/fire2re/cmp.c#L4" idptL4" cla2s="li2e" namop1dne" nold1ine" nrnec  >
 class="lin1e" ne17 Licensed under th2ound/fire2 This nd/firew ect5blish2s a p2ass-to-poassv_beo ass="line" namoptL33">>71*/
/s17/
/spa
  > 35
/a>1statr177
/spa
  > 35
/a>1statr177
/spa
  > 35w_r  na vlocalre/cmp.de>tL1vesp1 + class=1"lininmp.c#L4" idptL4" class="line" namop1" 5">> 35
/a>1statr177
/spa
  > 35
/a,n>ndLlinesp1 + "line" namop1optL16"7Sine" naclass=1"li.  Befor 3">>8t;
/spa
18  >8t;
/spa
18  > 135
/a>ste">5a>(2	2tL33" cla2s="liunsignedptL33">>5a>22	 la2s=nd/f_beo> 35
/a>statp_RESEidptL29" breakne" namoptL29"4>     244> statio_erroref=": href="1+code1213">>7ng
/a> {7st2terre2ta""sref">bus1_rese1_handl5      1tL33"2>5a>(2	 l25s="sref">2o>
2 
  3#L2)2cmp.c2L16" idptL16" class="line" nam1nclass="l18ne" nrne" _is_permanent18erro184cmp.c4032" idptL32" class="2ine" nva19tol30" c19ass=2linei2_error5">> 319
/a>190 =5" class="lef">2_printf
72;
/WARN_7003f00007>8SEcpu_to__arrewireS.l class="line" unit5">> 35
/a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32remoptL332t_handl5      1dIS_CONN
2a>   29">> 35
/a>statpheckef=")ling" class="2" class="2ine" nam19ptL16"8 19
/sp2
8  <29cmp.c7532" idptL3>naa
6  > 3ppc4732" idptL32"idptL31"ptL32" cl19e" namop19L33">>8SET
/a>,8"sound/f1irewi16" _RES ==5" class=2tatva32" 2/is_RES.l class="line" u2it5">2 35
/a>st/spa
a 5">> 35
/a>statrewire/is_REunS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL32__printf"2
/a>statva32" >st35
/a>s2atp_R2S-c) Cl class="line" r2"idpterroref19"+ c196cmp.c6832" idptL32_a5s=" n_2_error5"19> 35
/a>19tati2_erro29/a>o
a hrefo2utex_loc="line" nbuffer52utex_29ef="sa>stat1icbeo146cmp.c6832" idptL32"idptL31"2f + clas19ss= 35
/19>sta2erres2935
/a>stmt;
/spa
6  statp_RESEidptL29" class="line" nESE  class="line" nbuffer5">> 35
/a>staiund="line" nbine" break>> 35
/a>statp_RESEidptL29"break>> 35
/ne" staiund="line" nbNULre_destroydptL6"NULrne" staiund="line" nbSUCC/a>e      1dAGAI003f00007e      1dAGAIn232_erroref19"+ c196cmp.c6832" idptL32tattry_af2)r_7      167> 35
/a>stmt;
/spa
6  >1 21
/a>#define>
a href="1+code1213">>7ng
/a> {7
a hrefo2"+ class="line" np5">> 32
/a>s29nit5">> 35
/a>stmt;
/spa
6  > 28
/a>#p.c5L32" idptL32"a h" class="line"1still 3">>8SET
rne" 5">> 35
/a>statrne1" _RE1 ==5" class="line" 35
/1idptL31""""""""""1optL16">> st35io_e30ef="sound/f1irewi171andl5      165>  failed: %s\nclasclass="line" unitlineewire/is_RES.l class="line" unitline/a>statunit_RES-c) Cl class="line" clude/5p.c5L32" idptL32eeref="sound/firewire4cmp.ss="sref">__prin232_erroref19"+ c196cmp.c6832" idptL33="sref">b3line" clude/5">> 35
/a>s35> 35
/a>3line" phe3unsignedptL33">>5a>(2	 l35s=i"3035
/a>stine" naa
6  > 35
/a>statp_RESE  c> namdptL6" clastr30> nam7cmp.c7632" idptL32"idptL31"idptL32"}1optL14">>  24
/a>#define>
a href="1+code12ne" nold_ar
/a>enu32"idptL313idptL32"i10ptL15">> 015"3a>#in30 
a href="+1code=13 Licensed under th355idptL313ierror5"19> 35
/a>19tati3nbuff30e" buffer5">> 35
/a>statbuffit5">>unS.l class="line" unit5">>unS.l /a>stmutexdptL6" clastr30mutexe5cmp.c5L32" idptL32"a h" class="line"19_error5"19> 35
/a>statpri_erroref19"+ c196cmp.c6832" idptL33lass="sre3r
_RESE  class="lu nbuff3r5">>30p.c#L"line" 1namop17resetc#L13" idptL13>5a>(2	 l35s="sref">2o>
2 
  3#L2)3cmp.c30/und/dptL32" class="& n__beo> 35
/a>statp_RESEidptL29" breakne" _erroref19"+ c196cmp.c6832" idptL33l8a>(2	 l35r_7      167
T" ioriginal LXR software idp4" iroref19"+http://">__prforge.net/projptLs/lxr">LXR 135 i6cm/ne" stp.locexperi /a>al vers"linidproref19"+mailto:lxr@67lxr@67 lxr.67Redpill L"1pro ASne" stproviderSineL7sul8 <=>ndLoperaL29""1sera>st"1sincestat5.