Home
last modified time | relevance | path

Searched refs:port_addr (Results 1 – 5 of 5) sorted by relevance

/u-boot/include/
A Dfsl_mdio.h45 void tsec_local_mdio_write(struct tsec_mii_mng __iomem *phyregs, int port_addr,
47 int tsec_local_mdio_read(struct tsec_mii_mng __iomem *phyregs, int port_addr,
52 int memac_mdio_write(struct mii_dev *bus, int port_addr, int dev_addr,
54 int memac_mdio_read(struct mii_dev *bus, int port_addr, int dev_addr,
/u-boot/drivers/net/fm/
A Dtgec_phy.c19 static int tgec_mdio_write(struct mii_dev *bus, int port_addr, int dev_addr, in tgec_mdio_write() argument
36 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in tgec_mdio_write()
61 static int tgec_mdio_read(struct mii_dev *bus, int port_addr, int dev_addr, in tgec_mdio_read() argument
78 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in tgec_mdio_read()
A Dmemac_phy.c83 int memac_mdio_write(struct mii_dev *bus, int port_addr, int dev_addr, in memac_mdio_write() argument
101 regs, port_addr, dev_addr, regnum, value); in memac_mdio_write()
116 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in memac_mdio_write()
142 int memac_mdio_read(struct mii_dev *bus, int port_addr, int dev_addr, in memac_mdio_read() argument
177 mdio_ctl = MDIO_CTL_PORT_ADDR(port_addr) | MDIO_CTL_DEV_ADDR(dev_addr); in memac_mdio_read()
/u-boot/drivers/net/
A Dfsl_mdio.c22 void tsec_local_mdio_write(struct tsec_mii_mng __iomem *phyregs, int port_addr, in tsec_local_mdio_write() argument
27 out_be32(&phyregs->miimadd, (port_addr << 8) | (regnum & 0x1f)); in tsec_local_mdio_write()
36 int tsec_local_mdio_read(struct tsec_mii_mng __iomem *phyregs, int port_addr, in tsec_local_mdio_read() argument
43 out_be32(&phyregs->miimadd, (port_addr << 8) | (regnum & 0x1f)); in tsec_local_mdio_read()
A Dvsc9953.c75 static void vsc9953_mdio_write(struct vsc9953_mii_mng *phyregs, int port_addr, in vsc9953_mdio_write() argument
80 out_le32(&phyregs->miimcmd, (0x1 << 31) | ((port_addr & 0x1f) << 25) | in vsc9953_mdio_write()
92 static int vsc9953_mdio_read(struct vsc9953_mii_mng *phyregs, int port_addr, in vsc9953_mdio_read() argument
108 out_le32(&phyregs->miimcmd, (0x1 << 31) | ((port_addr & 0x1f) << 25) | in vsc9953_mdio_read()

Completed in 12 milliseconds