#include "asix.h"
#define AX_HOST_EN_RETRIES …
int __must_check asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index,
u16 size, void *data, int in_pm)
{ … }
int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index,
u16 size, void *data, int in_pm)
{ … }
void asix_write_cmd_async(struct usbnet *dev, u8 cmd, u16 value, u16 index,
u16 size, void *data)
{ … }
static int asix_set_sw_mii(struct usbnet *dev, int in_pm)
{ … }
static int asix_set_hw_mii(struct usbnet *dev, int in_pm)
{ … }
static int asix_check_host_enable(struct usbnet *dev, int in_pm)
{ … }
static void reset_asix_rx_fixup_info(struct asix_rx_fixup_info *rx)
{ … }
int asix_rx_fixup_internal(struct usbnet *dev, struct sk_buff *skb,
struct asix_rx_fixup_info *rx)
{ … }
int asix_rx_fixup_common(struct usbnet *dev, struct sk_buff *skb)
{ … }
void asix_rx_fixup_common_free(struct asix_common_private *dp)
{ … }
struct sk_buff *asix_tx_fixup(struct usbnet *dev, struct sk_buff *skb,
gfp_t flags)
{ … }
int asix_read_phy_addr(struct usbnet *dev, bool internal)
{ … }
int asix_sw_reset(struct usbnet *dev, u8 flags, int in_pm)
{ … }
u16 asix_read_rx_ctl(struct usbnet *dev, int in_pm)
{ … }
int asix_write_rx_ctl(struct usbnet *dev, u16 mode, int in_pm)
{ … }
u16 asix_read_medium_status(struct usbnet *dev, int in_pm)
{ … }
int asix_write_medium_mode(struct usbnet *dev, u16 mode, int in_pm)
{ … }
void asix_adjust_link(struct net_device *netdev)
{ … }
int asix_write_gpio(struct usbnet *dev, u16 value, int sleep, int in_pm)
{ … }
void asix_set_multicast(struct net_device *net)
{ … }
static int __asix_mdio_read(struct net_device *netdev, int phy_id, int loc,
bool in_pm)
{ … }
int asix_mdio_read(struct net_device *netdev, int phy_id, int loc)
{ … }
static int __asix_mdio_write(struct net_device *netdev, int phy_id, int loc,
int val, bool in_pm)
{ … }
void asix_mdio_write(struct net_device *netdev, int phy_id, int loc, int val)
{ … }
int asix_mdio_bus_read(struct mii_bus *bus, int phy_id, int regnum)
{ … }
int asix_mdio_bus_write(struct mii_bus *bus, int phy_id, int regnum, u16 val)
{ … }
int asix_mdio_read_nopm(struct net_device *netdev, int phy_id, int loc)
{ … }
void
asix_mdio_write_nopm(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)
{ … }