Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.c38 writel_relaxed(0xFF, &cpsw->wr_regs->tx_en); in cpsw_intr_enable()
39 writel_relaxed(0xFF, &cpsw->wr_regs->rx_en); in cpsw_intr_enable()
46 writel_relaxed(0, &cpsw->wr_regs->tx_en); in cpsw_intr_disable()
47 writel_relaxed(0, &cpsw->wr_regs->rx_en); in cpsw_intr_disable()
90 writel(0, &cpsw->wr_regs->tx_en); in cpsw_tx_interrupt()
106 writel(0, &cpsw->wr_regs->rx_en); in cpsw_rx_interrupt()
122 writel(0, &cpsw->wr_regs->misc_en); in cpsw_misc_interrupt()
125 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_misc_interrupt()
156 writel(0xff, &cpsw->wr_regs->tx_en); in cpsw_tx_mq_poll()
170 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.c837 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_ndo_open()
1537 cpsw->wr_regs = devm_platform_ioremap_resource(pdev, 1); in cpsw_probe()
1538 if (IS_ERR(cpsw->wr_regs)) in cpsw_probe()
1539 return PTR_ERR(cpsw->wr_regs); in cpsw_probe()
Dcpsw_priv.h337 struct cpsw_wr_regs __iomem *wr_regs; member
Dcpsw_new.c875 writel(0x10, &cpsw->wr_regs->misc_en); in cpsw_ndo_open()
1949 cpsw->wr_regs = cpsw->version == CPSW_VERSION_1 ? in cpsw_probe()