Searched refs:eth_regs (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/ |
D | korina.c | 102 struct eth_regs *eth_regs; member 299 writel(0, &lp->eth_regs->miimcfg); in mdio_read() 300 writel(0, &lp->eth_regs->miimcmd); in mdio_read() 301 writel(mii_id | reg, &lp->eth_regs->miimaddr); in mdio_read() 302 writel(ETH_MII_CMD_SCN, &lp->eth_regs->miimcmd); in mdio_read() 304 ret = (int)(readl(&lp->eth_regs->miimrdd)); in mdio_read() 314 writel(0, &lp->eth_regs->miimcfg); in mdio_write() 315 writel(1, &lp->eth_regs->miimcmd); in mdio_write() 316 writel(mii_id | reg, &lp->eth_regs->miimaddr); in mdio_write() 317 writel(ETH_MII_CMD_SCN, &lp->eth_regs->miimcmd); in mdio_write() [all …]
|
/drivers/net/usb/ |
D | pegasus.c | 210 pegasus->eth_regs, 3, async_ctrl_callback, req); in update_eth_regs_async() 445 memcpy(pegasus->eth_regs, data, sizeof(data)); in enable_net_traffic() 935 pegasus->eth_regs[0] |= 0x10; in pegasus_set_wol() 937 pegasus->eth_regs[0] &= ~0x10; in pegasus_set_wol() 1038 pegasus->eth_regs[EthCtrl2] |= RX_PROMISCUOUS; in pegasus_set_multicast() 1041 pegasus->eth_regs[EthCtrl0] |= RX_MULTICAST; in pegasus_set_multicast() 1042 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast() 1045 pegasus->eth_regs[EthCtrl0] &= ~RX_MULTICAST; in pegasus_set_multicast() 1046 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast()
|
D | pegasus.h | 101 __u8 eth_regs[4]; member
|
/drivers/net/ethernet/xscale/ |
D | ixp4xx_eth.c | 149 struct eth_regs { struct 170 struct eth_regs __iomem *regs; argument 253 static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */ 535 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthC_BASE_VIRT; in ixp4xx_mdio_register() 540 mdio_regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT; in ixp4xx_mdio_register() 1422 port->regs = (struct eth_regs __iomem *)IXP4XX_EthA_BASE_VIRT; in eth_init_one() 1426 port->regs = (struct eth_regs __iomem *)IXP4XX_EthB_BASE_VIRT; in eth_init_one() 1430 port->regs = (struct eth_regs __iomem *)IXP4XX_EthC_BASE_VIRT; in eth_init_one()
|