Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
asix_common.c File Reference
#include "asix.h"

Go to the source code of this file.

Functions

int asix_read_cmd (struct usbnet *dev, u8 cmd, u16 value, u16 index, u16 size, void *data)
 
int asix_write_cmd (struct usbnet *dev, u8 cmd, u16 value, u16 index, u16 size, void *data)
 
void asix_write_cmd_async (struct usbnet *dev, u8 cmd, u16 value, u16 index, u16 size, void *data)
 
int asix_rx_fixup (struct usbnet *dev, struct sk_buff *skb)
 
struct sk_buffasix_tx_fixup (struct usbnet *dev, struct sk_buff *skb, gfp_t flags)
 
int asix_set_sw_mii (struct usbnet *dev)
 
int asix_set_hw_mii (struct usbnet *dev)
 
int asix_read_phy_addr (struct usbnet *dev, int internal)
 
int asix_get_phy_addr (struct usbnet *dev)
 
int asix_sw_reset (struct usbnet *dev, u8 flags)
 
u16 asix_read_rx_ctl (struct usbnet *dev)
 
int asix_write_rx_ctl (struct usbnet *dev, u16 mode)
 
u16 asix_read_medium_status (struct usbnet *dev)
 
int asix_write_medium_mode (struct usbnet *dev, u16 mode)
 
int asix_write_gpio (struct usbnet *dev, u16 value, int sleep)
 
void asix_set_multicast (struct net_device *net)
 
int asix_mdio_read (struct net_device *netdev, int phy_id, int loc)
 
void asix_mdio_write (struct net_device *netdev, int phy_id, int loc, int val)
 
void asix_get_wol (struct net_device *net, struct ethtool_wolinfo *wolinfo)
 
int asix_set_wol (struct net_device *net, struct ethtool_wolinfo *wolinfo)
 
int asix_get_eeprom_len (struct net_device *net)
 
int asix_get_eeprom (struct net_device *net, struct ethtool_eeprom *eeprom, u8 *data)
 
int asix_set_eeprom (struct net_device *net, struct ethtool_eeprom *eeprom, u8 *data)
 
void asix_get_drvinfo (struct net_device *net, struct ethtool_drvinfo *info)
 
int asix_set_mac_address (struct net_device *net, void *p)
 

Function Documentation

void asix_get_drvinfo ( struct net_device net,
struct ethtool_drvinfo info 
)

Definition at line 600 of file asix_common.c.

int asix_get_eeprom ( struct net_device net,
struct ethtool_eeprom eeprom,
u8 data 
)

Definition at line 484 of file asix_common.c.

int asix_get_eeprom_len ( struct net_device net)

Definition at line 479 of file asix_common.c.

int asix_get_phy_addr ( struct usbnet dev)

Definition at line 281 of file asix_common.c.

void asix_get_wol ( struct net_device net,
struct ethtool_wolinfo wolinfo 
)

Definition at line 444 of file asix_common.c.

int asix_mdio_read ( struct net_device netdev,
int  phy_id,
int  loc 
)

Definition at line 412 of file asix_common.c.

void asix_mdio_write ( struct net_device netdev,
int  phy_id,
int  loc,
int  val 
)

Definition at line 430 of file asix_common.c.

int asix_read_cmd ( struct usbnet dev,
u8  cmd,
u16  value,
u16  index,
u16  size,
void data 
)

Definition at line 25 of file asix_common.c.

u16 asix_read_medium_status ( struct usbnet dev)

Definition at line 326 of file asix_common.c.

int asix_read_phy_addr ( struct usbnet dev,
int  internal 
)

Definition at line 261 of file asix_common.c.

u16 asix_read_rx_ctl ( struct usbnet dev)

Definition at line 299 of file asix_common.c.

int asix_rx_fixup ( struct usbnet dev,
struct sk_buff skb 
)

Definition at line 145 of file asix_common.c.

int asix_set_eeprom ( struct net_device net,
struct ethtool_eeprom eeprom,
u8 data 
)

Definition at line 519 of file asix_common.c.

int asix_set_hw_mii ( struct usbnet dev)

Definition at line 252 of file asix_common.c.

int asix_set_mac_address ( struct net_device net,
void p 
)

Definition at line 609 of file asix_common.c.

void asix_set_multicast ( struct net_device net)

Definition at line 373 of file asix_common.c.

int asix_set_sw_mii ( struct usbnet dev)

Definition at line 243 of file asix_common.c.

int asix_set_wol ( struct net_device net,
struct ethtool_wolinfo wolinfo 
)

Definition at line 462 of file asix_common.c.

int asix_sw_reset ( struct usbnet dev,
u8  flags 
)

Definition at line 288 of file asix_common.c.

struct sk_buff* asix_tx_fixup ( struct usbnet dev,
struct sk_buff skb,
gfp_t  flags 
)
read

Definition at line 188 of file asix_common.c.

int asix_write_cmd ( struct usbnet dev,
u8  cmd,
u16  value,
u16  index,
u16  size,
void data 
)

Definition at line 58 of file asix_common.c.

void asix_write_cmd_async ( struct usbnet dev,
u8  cmd,
u16  value,
u16  index,
u16  size,
void data 
)

Definition at line 102 of file asix_common.c.

int asix_write_gpio ( struct usbnet dev,
u16  value,
int  sleep 
)

Definition at line 354 of file asix_common.c.

int asix_write_medium_mode ( struct usbnet dev,
u16  mode 
)

Definition at line 341 of file asix_common.c.

int asix_write_rx_ctl ( struct usbnet dev,
u16  mode 
)

Definition at line 313 of file asix_common.c.