Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/ti/
Dcpsw_priv.c37 writel_relaxed(0xFF, &cpsw->wr_regs->tx_en); in cpsw_intr_enable()
38 writel_relaxed(0xFF, &cpsw->wr_regs->rx_en); in cpsw_intr_enable()
45 writel_relaxed(0, &cpsw->wr_regs->tx_en); in cpsw_intr_disable()
46 writel_relaxed(0, &cpsw->wr_regs->rx_en); in cpsw_intr_disable()
89 writel(0, &cpsw->wr_regs->tx_en); in cpsw_tx_interrupt()
105 writel(0, &cpsw->wr_regs->rx_en); in cpsw_rx_interrupt()
121 writel(0, &cpsw->wr_regs->misc_en); in cpsw_misc_interrupt()
124 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_misc_interrupt()
155 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_mq_poll()
169 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_poll()
[all …]
Dcpsw_ethtool.c179 int_ctrl = readl(&cpsw->wr_regs->int_control); in cpsw_set_coalesce()
208 writel(num_interrupts, &cpsw->wr_regs->rx_imax); in cpsw_set_coalesce()
209 writel(num_interrupts, &cpsw->wr_regs->tx_imax); in cpsw_set_coalesce()
216 writel(int_ctrl, &cpsw->wr_regs->int_control); in cpsw_set_coalesce()
Dcpsw.c835 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_ndo_open()
1532 cpsw->wr_regs = devm_platform_ioremap_resource(pdev, 1); in cpsw_probe()
1533 if (IS_ERR(cpsw->wr_regs)) in cpsw_probe()
1534 return PTR_ERR(cpsw->wr_regs); in cpsw_probe()
Dcpsw_priv.h336 struct cpsw_wr_regs __iomem *wr_regs; member
Dcpsw_new.c871 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_ndo_open()
1941 cpsw->wr_regs = cpsw->version == CPSW_VERSION_1 ? in cpsw_probe()