Searched refs:asix_write_cmd (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/drivers/usb/eth/ |
D | asix88179.c | 220 static int asix_write_cmd(struct ueth_data *dev, u8 cmd, u16 value, u16 index, in asix_write_cmd() function 285 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() 317 asix_write_cmd(dev, AX_ACCESS_MAC, AX_RX_BULKIN_QCTRL, 5, 5, tmp); in asix_basic_reset() 323 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_LOW, 1, 1, tmp); in asix_basic_reset() 326 asix_write_cmd(dev, AX_ACCESS_MAC, AX_PAUSE_WATERLVL_HIGH, 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() [all …]
|
D | asix.c | 114 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 …]
|