Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/eth/
H A Dasix88179.c285 ret = asix_write_cmd(dev, AX_ACCESS_MAC, AX_NODE_ID, ETH_ALEN, in asix_write_mac()
305 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
308 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PHYPWR_RSTCTL, 2, 2, tmp16); in asix_basic_reset()
312 asix_write_cmd(dev, AX_ACCESS_MAC, AX_CLK_SELECT, 1, 1, tmp); in asix_basic_reset()
331 asix_write_cmd(dev, AX_ACCESS_MAC, AX_RXCOE_CTL, 1, 1, tmp); in asix_basic_reset()
335 asix_write_cmd(dev, AX_ACCESS_MAC, AX_TXCOE_CTL, 1, 1, tmp); in asix_basic_reset()
340 asix_write_cmd(dev, AX_ACCESS_MAC, AX_RX_CTL, 2, 2, tmp16); in asix_basic_reset()
344 asix_write_cmd(dev, AX_ACCESS_MAC, AX_MONITOR_MOD, 1, 1, tmp); in asix_basic_reset()
355 asix_write_cmd(dev, AX_ACCESS_PHY, 0x03, MII_ADVERTISE, 2, &adv); in asix_basic_reset()
358 asix_write_cmd(dev, AX_ACCESS_PHY, 0x03, MII_CTRL1000, 2, &adv); in asix_basic_reset()
[all …]
H A Dasix.c114 static int asix_write_cmd(struct ueth_data *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() function
161 ret = asix_write_cmd(dev, AX_CMD_SET_SW_MII, 0x0000, 0, 0, NULL); in asix_set_sw_mii()
171 ret = asix_write_cmd(dev, AX_CMD_SET_HW_MII, 0x0000, 0, 0, NULL); in asix_set_hw_mii()
200 asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, res); in asix_mdio_write()
211 ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL); in asix_sw_reset()
244 ret = asix_write_cmd(dev, AX_CMD_WRITE_MEDIUM_MODE, mode, in asix_write_medium_mode()
271 ret = asix_write_cmd(dev, AX_CMD_WRITE_RX_CTL, mode, 0, 0, NULL); in asix_write_rx_ctl()
284 ret = asix_write_cmd(dev, AX_CMD_WRITE_GPIOS, value, 0, 0, NULL); in asix_write_gpio()
302 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, ETH_ALEN, buf); in asix_write_hwaddr_common()
373 if (asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, in asix_basic_reset()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dasix_common.c40 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() function
75 ret = asix_write_cmd(dev, AX_CMD_SET_SW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_sw_mii()
86 ret = asix_write_cmd(dev, AX_CMD_SET_HW_MII, 0x0000, 0, 0, NULL, in_pm); in asix_set_hw_mii()
353 ret = asix_write_cmd(dev, AX_CMD_SW_RESET, flags, 0, 0, NULL, in_pm); in asix_sw_reset()
379 ret = asix_write_cmd(dev, AX_CMD_WRITE_RX_CTL, mode, 0, 0, NULL, in_pm); in asix_write_rx_ctl()
408 ret = asix_write_cmd(dev, AX_CMD_WRITE_MEDIUM_MODE, in asix_write_medium_mode()
548 ret = asix_write_cmd(dev, AX_CMD_WRITE_MII_REG, phy_id, (__u16)loc, 2, in __asix_mdio_write()
623 if (asix_write_cmd(dev, AX_CMD_WRITE_MONITOR_MODE, in asix_set_wol()
719 ret = asix_write_cmd(dev, AX_CMD_WRITE_ENABLE, 0x0000, 0, 0, NULL, 0); in asix_set_eeprom()
729 ret = asix_write_cmd(dev, AX_CMD_WRITE_EEPROM, i, in asix_set_eeprom()
[all …]
H A Dasix_devices.c237 ret = asix_write_cmd(dev, AX_CMD_WRITE_GPIOS, in ax88172_bind()
352 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, in ax88772_reset()
386 ret = asix_write_cmd(dev, AX_CMD_SW_PHY_SELECT, priv->embd_phy, in ax88772_hw_reset()
433 ret = asix_write_cmd(dev, AX_CMD_WRITE_IPG0, in ax88772_hw_reset()
443 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, in ax88772_hw_reset()
516 ret = asix_write_cmd(dev, AX_QCTCTRL, 0x8000, 0x8001, in ax88772a_hw_reset()
551 ret = asix_write_cmd(dev, AX_CMD_WRITE_IPG0, in ax88772a_hw_reset()
561 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, ETH_ALEN, in ax88772a_hw_reset()
1070 asix_write_cmd(dev, AX_CMD_WRITE_ENABLE, 0, 0, 0, NULL, 0); in ax88178_reset()
1077 asix_write_cmd(dev, AX_CMD_WRITE_DISABLE, 0, 0, 0, NULL, 0); in ax88178_reset()
[all …]
H A Dax88172a.c282 ret = asix_write_cmd(dev, AX_CMD_WRITE_IPG0, in ax88172a_reset()
292 ret = asix_write_cmd(dev, AX_CMD_WRITE_NODE_ID, 0, 0, ETH_ALEN, in ax88172a_reset()
H A Dasix.h204 int asix_write_cmd(struct usbnet *dev, u8 cmd, u16 value, u16 index,