Home
last modified time | relevance | path

Searched refs:eth_regs (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/
H A Dkorina.c107 struct eth_regs *eth_regs; member
302 writel(0, &lp->eth_regs->miimcfg); in mdio_read()
303 writel(0, &lp->eth_regs->miimcmd); in mdio_read()
304 writel(mii_id | reg, &lp->eth_regs->miimaddr); in mdio_read()
305 writel(ETH_MII_CMD_SCN, &lp->eth_regs->miimcmd); in mdio_read()
307 ret = (int)(readl(&lp->eth_regs->miimrdd)); in mdio_read()
317 writel(0, &lp->eth_regs->miimcfg); in mdio_write()
318 writel(1, &lp->eth_regs->miimcmd); in mdio_write()
319 writel(mii_id | reg, &lp->eth_regs in mdio_write()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/
H A Dkorina.c66 struct eth_regs { struct
336 struct eth_regs __iomem *eth_regs; member
528 return readl_poll_timeout_atomic(&lp->eth_regs->miimind, in korina_mdio_wait()
542 writel(phy << 8 | reg, &lp->eth_regs->miimaddr); in korina_mdio_read()
543 writel(1, &lp->eth_regs->miimcmd); in korina_mdio_read()
549 if (readl(&lp->eth_regs->miimind) & ETH_MII_IND_NV) in korina_mdio_read()
552 ret = readl(&lp->eth_regs->miimrdd); in korina_mdio_read()
553 writel(0, &lp->eth_regs->miimcmd); in korina_mdio_read()
564 writel(0, &lp->eth_regs in korina_mdio_write()
[all...]
/kernel/linux/linux-5.10/drivers/net/usb/
H A Dpegasus.c188 pegasus->eth_regs, 3, async_ctrl_callback, req); in update_eth_regs_async()
460 memcpy(pegasus->eth_regs, data, sizeof(data)); in enable_net_traffic()
956 pegasus->eth_regs[0] |= 0x10; in pegasus_set_wol()
958 pegasus->eth_regs[0] &= ~0x10; in pegasus_set_wol()
1061 pegasus->eth_regs[EthCtrl2] |= RX_PROMISCUOUS; in pegasus_set_multicast()
1064 pegasus->eth_regs[EthCtrl0] |= RX_MULTICAST; in pegasus_set_multicast()
1065 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast()
1068 pegasus->eth_regs[EthCtrl0] &= ~RX_MULTICAST; in pegasus_set_multicast()
1069 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast()
H A Dpegasus.h97 __u8 eth_regs[4]; member
/kernel/linux/linux-6.6/drivers/net/usb/
H A Dpegasus.c163 pegasus->eth_regs, 3, async_ctrl_callback, req); in update_eth_regs_async()
435 memcpy(pegasus->eth_regs, data, sizeof(data)); in enable_net_traffic()
929 pegasus->eth_regs[0] |= 0x10; in pegasus_set_wol()
931 pegasus->eth_regs[0] &= ~0x10; in pegasus_set_wol()
1035 pegasus->eth_regs[EthCtrl2] |= RX_PROMISCUOUS; in pegasus_set_multicast()
1038 pegasus->eth_regs[EthCtrl0] |= RX_MULTICAST; in pegasus_set_multicast()
1039 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast()
1042 pegasus->eth_regs[EthCtrl0] &= ~RX_MULTICAST; in pegasus_set_multicast()
1043 pegasus->eth_regs[EthCtrl2] &= ~RX_PROMISCUOUS; in pegasus_set_multicast()
H A Dpegasus.h97 __u8 eth_regs[4]; member
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-rc32434/
H A Deth.h35 struct eth_regs { struct
/kernel/linux/linux-6.6/arch/mips/include/asm/mach-rc32434/
H A Deth.h35 struct eth_regs { struct
/kernel/linux/linux-5.10/arch/mips/rb532/
H A Ddevices.c63 .end = ETH0_BASE_ADDR + sizeof(struct eth_regs),
/kernel/linux/linux-6.6/arch/mips/rb532/
H A Ddevices.c63 .end = ETH0_BASE_ADDR + sizeof(struct eth_regs),
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c148 struct eth_regs { struct
169 struct eth_regs __iomem *regs;
251 static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */
522 static int ixp4xx_mdio_register(struct eth_regs __iomem *regs) in ixp4xx_mdio_register()
/kernel/linux/linux-6.6/drivers/net/ethernet/xscale/
H A Dixp4xx_eth.c165 struct eth_regs { struct
185 struct eth_regs __iomem *regs;
269 static struct eth_regs __iomem *mdio_regs; /* mdio command and status only */
543 static int ixp4xx_mdio_register(struct eth_regs __iomem *regs) in ixp4xx_mdio_register()

Completed in 15 milliseconds