linux/drivers/uwb/umc-dev.c
<<
>>
Prefs
   1/*
   2 * UWB Multi-interface Controller device management.
   3 *
   4 * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
   5 *
   6 * This file is released under the GNU GPL v2.
   7 */
   8#include <linux/kernel.h>
   9#include <linux/export.h>
  10#include <linux/slab.h>
  11#include <linux/uwb/umc.h>
  12
  13static void umc_device_release(struct device *dev)
  14{
  15        struct umc_dev *umc = to_umc_dev(dev);
  16
  17         *" name=ents">
 *" name=ents"/umc-dev7mc_device_releaseh/a>(struct 
  
 Nlline" name="L17">  17        umc = )
   1/*
   1/*
   2
   3  1iis x ofeleasnew class=he GNU GPL v2.
   4
   5   6
   7 */
A"L16">  16ill have a bus ID ofeleasparn c with 'L5">   5="L17" class GNU GPL v2.
 l15.3span>

 l15.3(struct dev)3">  17          14{
 ame="L17">  17        31hreh7.9
  
 Nlline" name="L13span cla3s=class="srefcreate -fx3locat32"L16" class="line" name="L1class="line" name="L15">  15        strkzriver16
  17         * UWB Multi c of33"L16" class=if uwb/umc-dev.c#L17" id="L17" class="line" n ="+code=dev" class="sref">dev)3"L3">   3 31iis 34"L16" class=" class="line" name="L1ev<_set_@n:7L5">   5="L17" cla_set_@n:7a bus&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev *"ne"7;s-ne"7;d"d.   5="L17" cla_@n:7a busL v2.
 l15.3spa),eleasparn c withnption>
 l15.3  17        umc_dev *
 l15.3spa  15        str.55
 l15.3spaame="L17">  17        umc_dev *  17           3<37"L16" class=" class="line" name="L17" id="L17" class="line" - cla>umc_dev *        str 12
  17        38hreh7.9
  
 Nlline" name="L13umc-dev73c_device_releaseh/a>(st3uct <39"L16" class=" class="line" name="L17" id="L17" class="line" - cla>umc_dev *        str.55
 l15.3spa- cla>umc_dev *  17          17         *" name=ents"4L10" id=4L10" class="2ine" 20ame4"L1">41L14" class="rn ajax#L15" id="L15" class="line" name="L15"> ame="L17">  17        
 *" name=ents"4pan clas4s="comment"> * UWB Mult4 c of4leasneL15" id="L15" EXPORT_SYMBOL_GPL href="drivers/EXPORT_SYMBOL_GPLers/uwb/umc-dev.c#L17" hreh7.9
 22id=".>A"L16">  16ill have a buvame="L17">  17        
  
 Nlline" name="L14#L14" id4"L14" class="2ine" 2nam4="L4"4   4   14L16" cla4s="2ine" 2name="L6">   4<4pan class=appeis icon Radio L @1">: pon>
   14L17" id=4L17" class="2ine" 2name4"L7">48face Controller device management.

acquired and#L15"L11" id="L11" class="2ine" 2name="L1">   15">  17        umc =    45  1

{ vice_release(struct * UWB Mult5 c of53href="+code=dev" class="sref">dev)5ev.c#L3"5 id="L3" class="line" n51iis 54"L16" class= ame="L17"> 17 * Copyrig="L4"55hreh7.9 Nlline" name="L15 class= 5ill have a bus ID ofele5sparn56"L16" class=leasparn c witherrrivers/uwb/umc-err5"> 15 strrequest_idsourcerivers/uwb/umc-idquest_idsourceers/uwb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev * l15.3spa, &wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev * 17 5<57"L16" class=if uwb/umc-dev.c#L1errrivers/uwb/umc-err5"> ref" 0n ="+code=dev" class="sref">dev)5L17" id=5L17" class="2ine" 2name5"L7">58"L16" class=" class="line" name="L1ev<_errrivers/uwb/umc-ev<_erra bus&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev *"caine" 2tdrivers/uwidsource range ne"7;pR: ne"7;d\n"d.dev)5umc-dev75c_device_releaseh/a>(st5uct <59"L16" class=" class=========&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev * vame="L17"> 17 17 ame="L17"> 17 61L14" class="re classf2iaomment"> *" name=ents"6span cla6s=class="srefcreate -fx6locat6h" class="fref">linux/uwb/umc.h>6pan clas6s="comment"> * UWB Mult6 c of63"L16" class=leasparn c witherrrivers/uwb/umc-err5"> 15 strc#L13" idgisterrivers/uwb/umc-c#L13" idgistera bus&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev * 17 ref" 0nme="L17"> 17 * Copyri6="L4"65"L16" class=" class=goto#leasparn c witherror_c#L13" idgisterrivers/uwb/umc-error_c#L13" idgister5"> ame="L17"> 17 17 6<67" class="fref">linux/uwb/umc.h>6L17" id=6L17" class="2ine" 2name6"L7">68easneL15" id="L15" error_c#L13" idgisterrivers/uwb/umc-error_c#L13" idgister5"> :ass="fref">linux/uwb/umc.h>6umc-dev76c_device_releaseh/a>(st6uct <69"L16" class=leasparn c withid="L13_idsourcerivers/uwb/umc-id="L13_idsourcea bus&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev * 17 17 :ass="fref">linux/uwb/umc.h>7L10" id=7L10" class="2ine" 20ame7"L1">71L14" class="rn ajax#L15" id="L15" errrivers/uwb/umc-err5"> ame="L17"> 17

 *" name=ents"7pan clas7s="comment"> * UWB Mult7 c of7leasneL15" id="L15" EXPORT_SYMBOL_GPL href="drivers/EXPORT_SYMBOL_GPLers/uwb/umc-dev.c#L17" hreh7.9  17        
  
 Nlline" name="L17 * Copyri7="L4"7   4   17 * Thi<7pan class=appeis icon Radio L @1">: pon>
   17L17" id=7L17" class="2ine" 2name7"L7">78face Controller device management.

  17        umc = 8  1idsources. We take a>idf to#L15"L11" i, to#make sure it doesine" 2ta v2.
dis2.   2 * UWB Mult8 c of8leasnew UMC class=he GNU GPL PL v2.
  12
{
 vice_release(struct  * Copyri8="L4"85href="+code=dev" class="sref">dev)8ev.c#L5"8 id="L5" class="line" n8sparn86"L16" class=ss="line" name="L13">  13static void umc_deame="L17">  17         * Th8<87"L16" class=if u!#L15" id="L15" class="line" name="L15"> vice_release(struct 88"L16" class=" class=rn ajaame="L17">  17        (st8uct <89"L16" class=leasparn c withease" class="sref">umc_de 15        strget_ 13static void umc_dev *  17          17        umc_dev *  17        91"L16" class=leasparn c withid="L13_idsourcerivers/uwb/umc-id="L13_idsourcea bus&wb/umc-dev.c#L17" id="L17" class="line" - cla>umc_dev *  17          17         * UWB Mult9 c of93">
 *" name=ents"9ev.c#L3"9 id="L3" class="line" n91iis 94easneL15" id="L15" EXPORT_SYMBOL_GPL href="drivers/EXPORT_SYMBOL_GPLers/uwb/umc-dev.c#L17" hreh7.9  17         * Copyri9="L4"9   4
2. http://sourceforge.net/projects/lxrr>LXR he Gunityers/,e;">< experiGNU al ptioby#e="L17"> mailto:lxr@dev.c.no">lxr@dev.c.noers/.
lxr.dev.c.no kindly hostedoby#e="L17"> http://www.redpill-devpro.no">Redpill Levpro ASers/,eproviiverof Levux hen