Home
last modified time | relevance | path

Searched refs:smi_addr (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/net/phy/
Dmv88e61xx.c194 int smi_addr; member
222 static int mv88e61xx_smi_wait(struct mii_dev *bus, int smi_addr) in mv88e61xx_smi_wait() argument
228 val = bus->read(bus, smi_addr, MDIO_DEVAD_NONE, SMI_CMD_REG); in mv88e61xx_smi_wait()
259 int smi_addr = priv->smi_addr; in mv88e61xx_reg_read() local
263 if (smi_addr == 0) in mv88e61xx_reg_read()
267 res = mv88e61xx_smi_wait(mdio_bus, smi_addr); in mv88e61xx_reg_read()
272 res = mdio_bus->write(mdio_bus, smi_addr, MDIO_DEVAD_NONE, SMI_CMD_REG, in mv88e61xx_reg_read()
278 res = mv88e61xx_smi_wait(mdio_bus, smi_addr); in mv88e61xx_reg_read()
283 res = mdio_bus->read(mdio_bus, smi_addr, MDIO_DEVAD_NONE, SMI_DATA_REG); in mv88e61xx_reg_read()
296 int smi_addr = priv->smi_addr; in mv88e61xx_reg_write() local
[all …]
/external/u-boot/board/Marvell/mvebu_armada-37xx/
Dboard.c172 int smi_addr, int reg, u16 value) in mii_multi_chip_mode_write() argument
179 smi_addr, reg); in mii_multi_chip_mode_write()
186 (smi_addr << SW_SMI_CMD_DEV_ADDR_OFF) | in mii_multi_chip_mode_write()
191 smi_addr, reg); in mii_multi_chip_mode_write()