Lines Matching refs:ax88179_write_cmd
295 static int ax88179_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in ax88179_write_cmd() function
349 ax88179_write_cmd(dev, AX_ACCESS_PHY, phy_id, (__u16)loc, 2, &res); in ax88179_mdio_write()
359 ret = ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_phy_mmd_indirect()
363 ret = ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_phy_mmd_indirect()
367 ret = ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_phy_mmd_indirect()
397 ret = ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_phy_write_mmd_indirect()
426 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, in ax88179_suspend()
434 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_suspend()
442 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, in ax88179_suspend()
447 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_suspend()
451 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &tmp16); in ax88179_suspend()
475 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp8); in ax88179_auto_detach()
479 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, &tmp16); in ax88179_auto_detach()
631 ret = ax88179_write_cmd(dev, AX_ACCESS_EEPROM, i, 1, 2, in ax88179_set_eeprom()
641 ret = ax88179_write_cmd(dev, AX_RELOAD_EEPROM_EFUSE, 0x0000, 0, 0, NULL); in ax88179_set_eeprom()
774 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_disable_eee()
778 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_disable_eee()
782 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_disable_eee()
791 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_enable_eee()
795 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_enable_eee()
799 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_enable_eee()
803 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_enable_eee()
807 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_enable_eee()
923 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); in ax88179_set_features()
929 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, &tmp); in ax88179_set_features()
936 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, &tmp); in ax88179_set_features()
954 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_change_mtu()
960 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_change_mtu()
984 ret = ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_NODE_ID, ETH_ALEN, in ax88179_set_mac_addr()
1015 if (ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_SROM_ADDR, in ax88179_check_eeprom()
1020 if (ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_SROM_CMD, in ax88179_check_eeprom()
1125 if (ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_GPIO_CTRL, in ax88179_led_setting()
1133 if (ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_SROM_ADDR, in ax88179_led_setting()
1138 if (ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_SROM_CMD, in ax88179_led_setting()
1172 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_led_setting()
1176 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_led_setting()
1225 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_led_setting()
1229 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_led_setting()
1233 ax88179_write_cmd(dev, AX_ACCESS_PHY, AX88179_PHY_ID, in ax88179_led_setting()
1253 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_LEDCTRL, 1, 1, &ledfd); in ax88179_led_setting()
1283 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_NODE_ID, ETH_ALEN, ETH_ALEN, in ax88179_get_mac_addr()
1335 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &tmp16); in ax88179_unbind()
1338 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, &tmp16); in ax88179_unbind()
1342 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, &tmp16); in ax88179_unbind()
1525 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, &mode); in ax88179_link_reset()
1526 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, in ax88179_link_reset()
1571 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); in ax88179_link_reset()
1577 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_link_reset()
1602 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in ax88179_reset()
1605 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in ax88179_reset()
1609 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, tmp); in ax88179_reset()
1621 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); in ax88179_reset()
1626 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_LOW, 1, 1, tmp); in ax88179_reset()
1629 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_HIGH, in ax88179_reset()
1635 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, tmp); in ax88179_reset()
1639 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, tmp); in ax88179_reset()
1644 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); in ax88179_reset()
1648 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, 1, 1, tmp); in ax88179_reset()
1654 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_reset()
1693 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_net_reset()
1710 ax88179_write_cmd(dev, AX_ACCESS_MAC, AX_MEDIUM_STATUS_MODE, in ax88179_stop()