linux/include/linux/phy_fixed.h
<<
<1/spa <1spa class="lxr_search"> ="+search" method="post" onsubmit="return do_search(this);"> "> Search <1/spa op4. .1/div op4. .1form ac > ="ajax+*" method="post" onsubmit="return false;"> <1input typ hidden" nam ajax_lookup" id ajax_lookup" on> "> op4. .1/form op4. .1div class="headingbottpm">
1div id file_contents"
. .11/a>#ifndef.1a href="+code=__PHY_FIXED_H" class="sref">__PHY_FIXED_H1/a> . .21/a>#define.1a href="+code=__PHY_FIXED_H" class="sref">__PHY_FIXED_H1/a> . .31/a> . .41/a>struct.1a href="+code=fixed_phy_status" class="sref">fixed_phy_status1/a> { . .51/a>        int.1a href="+code=link" class="sref">link1/a>; . .61/a>        int.1a href="+code=speed" class="sref">speed1/a>; . .71/a>        int.1a href="+code=duplex" class="sref">duplex1/a>; . .81/a>        int.1a href="+code=pause" class="sref">pause1/a>; . .91/a>        int.1a href="+code=asym_pause" class="sref">asym_pause1/a>; . .13"a>}; . 111/a> . 121/a>#ifdef.1a href="+code=CONFIG_FIXED_PHY" class="sref">CONFIG_FIXED_PHY1/a> . 131/a>extern int.1a href="+code=fixed_phy_add" class="sref">fixed_phy_add1/a>(unsigned int.1a href="+code=irq" class="sref">irq1/a>, int.1a href="+code=phy_id" class="sref">phy_id1/a>, . 141/a>                         struct.1a href="+code=fixed_phy_status" class="sref">fixed_phy_status1/a> *1a href="+code=status" class="sref">status1/a>); . 151/a>#else . 161/a>static.1a href="+code=inline" class="sref">inline1/a> int.1a href="+code=fixed_phy_add" class="sref">fixed_phy_add1/a>(unsigned int.1a href="+code=irq" class="sref">irq1/a>, int.1a href="+code=phy_id" class="sref">phy_id1/a>, . 171/a>                                struct.1a href="+code=fixed_phy_status" class="sref">fixed_phy_status1/a> *1a href="+code=status" class="sref">status1/a>) . 181/a>{ . 191/a>        return -1a href="+code=ENODEV" class="sref">ENODEV1/a>; . 213"a>} . 211/a>#endif.1spa
 class="comment">/* CONFIG_FIXED_PHY */1/spa
  . 221/a> . 231/a>1spa
 class="comment">/*1/spa
  . 241/a>1spa
 class="comment"> * This func  >
 issued only by fixed_phy-aware drivers, no need1/spa
  . 251/a>1spa
 class="comment"> * protect.it with #ifdef1/spa
  . 261/a>1spa
 class="comment"> */1/spa
  . 271/a>extern int.1a href="+code=fixed_phy_set_link_update" class="sref">fixed_phy_set_link_update1/a>(struct.1a href="+code=phy_device" class="sref">phy_device1/a> *1a href="+code=phydev" class="sref">phydev1/a>, . 281/a>                        int.(*1a href="+code=link_update" class="sref">link_update1/a>)(struct.1a href="+code=net_device" class="sref">net_device1/a> *, . 291/a>                                           struct.1a href="+code=fixed_phy_status" class="sref">fixed_phy_status1/a> *)); . 301/a> . 311/a>#endif.1spa
 class="comment">/* __PHY_FIXED_H */1/spa
  . 321/a>
The original LXR software by the.1a href="http://sourceforge.net/projects/lxr">LXR community1/a>, this experimental vers > by 1a href="mailto:lxr@linux.no">lxr@linux.no1/a>. 1/div 1div class="subfooter"> lxr.linux.no kindly hosted by 1a href="http://www.redpill-linpro.no">Redpill Linpro AS1/a>, provider of Linux consulting and opera > s services since 1995. 1/div 1/body 1/html