Lines Matching refs:asix_write_cmd
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()
413 if (asix_write_cmd(dev, AX_CMD_WRITE_IPG0, in asix_basic_reset()