Home
last modified time | relevance | path

Searched refs:asix_read_cmd (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/net/usb/
H A Dasix_common.c14 int __must_check asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() function
102 ret = asix_read_cmd(dev, AX_CMD_STATMNGSTS_REG, in asix_check_host_enable()
326 ret = asix_read_cmd(dev, AX_CMD_READ_PHY_ID, 0, 0, 2, buf, 0); in asix_read_phy_addr()
363 int ret = asix_read_cmd(dev, AX_CMD_READ_RX_CTL, 0, 0, 2, &v, in_pm); in asix_read_rx_ctl()
390 int ret = asix_read_cmd(dev, AX_CMD_READ_MEDIUM_STATUS, in asix_read_medium_status()
512 ret = asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, in __asix_mdio_read()
596 if (asix_read_cmd(dev, AX_CMD_READ_MONITOR_MODE, in asix_get_wol()
658 if (asix_read_cmd(dev, AX_CMD_READ_EEPROM, i, 0, 2, in asix_get_eeprom()
699 ret = asix_read_cmd(dev, AX_CMD_READ_EEPROM, first_word, 0, 2, in asix_set_eeprom()
708 ret = asix_read_cmd(dev, AX_CMD_READ_EEPROM, last_word, 0, 2, in asix_set_eeprom()
H A Dasix_devices.c249 ret = asix_read_cmd(dev, AX88172_CMD_READ_NODE_ID, in ax88172_bind()
847 ret = asix_read_cmd(dev, AX_CMD_READ_EEPROM, in ax88772_bind()
854 ret = asix_read_cmd(dev, AX_CMD_READ_NODE_ID, in ax88772_bind()
879 ret = asix_read_cmd(dev, AX_CMD_STATMNGSTS_REG, 0, 0, 1, in ax88772_bind()
1062 ret = asix_read_cmd(dev, AX_CMD_READ_GPIOS, 0, 0, 1, &status, 0); in ax88178_reset()
1071 ret = asix_read_cmd(dev, AX_CMD_READ_EEPROM, 0x0017, 0, 2, &eeprom, 0); in ax88178_reset()
1264 ret = asix_read_cmd(dev, AX_CMD_READ_NODE_ID, 0, 0, ETH_ALEN, buf, 0); in ax88178_bind()
H A Dax88172a.c175 ret = asix_read_cmd(dev, AX_CMD_READ_NODE_ID, 0, 0, ETH_ALEN, buf, 0); in ax88172a_bind()
187 ret = asix_read_cmd(dev, AX_CMD_SW_PHY_STATUS, 0, 0, 1, buf, 0); in ax88172a_bind()
H A Dasix.h201 int __must_check asix_read_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index,
/openbmc/u-boot/drivers/usb/eth/
H A Dasix.c136 static int asix_read_cmd(struct ueth_data *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() function
182 asix_read_cmd(dev, AX_CMD_READ_MII_REG, phy_id, (__u16)loc, 2, res); in asix_mdio_read()
224 int ret = asix_read_cmd(dev, AX_CMD_READ_PHY_ID, 0, 0, 2, buf); in asix_get_phy_addr()
257 int ret = asix_read_cmd(dev, AX_CMD_READ_RX_CTL, 0, 0, 2, v); in asix_read_rx_ctl()
343 if (asix_read_cmd(dev, AX_CMD_READ_EEPROM, in asix_read_mac_common()
351 if (asix_read_cmd(dev, AX_CMD_READ_NODE_ID, 0, 0, ETH_ALEN, buf) in asix_read_mac_common()
H A Dasix88179.c245 static int asix_read_cmd(struct ueth_data *dev, u8 cmd, u16 value, u16 index, in asix_read_cmd() function
274 ret = asix_read_cmd(dev, AX_ACCESS_MAC, AX_NODE_ID, 6, 6, enetaddr); in asix_read_mac()
373 asix_read_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in asix_wait_link()
423 asix_read_cmd(dev, AX_ACCESS_MAC, PHYSICAL_LINK_STATUS, in asix_init_common()
426 asix_read_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in asix_init_common()