Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A Dcpsw_ale.c341 writel_relaxed(idx, ale->params.ale_regs + ALE_TABLE_CONTROL); in cpsw_ale_read()
344 ale_entry[i] = readl_relaxed(ale->params.ale_regs + in cpsw_ale_read()
357 writel_relaxed(ale_entry[i], ale->params.ale_regs + in cpsw_ale_write()
360 writel_relaxed(idx | ALE_TABLE_WRITE, ale->params.ale_regs + in cpsw_ale_write()
614 writel(reg_mcast, ale->params.ale_regs + ALE_VLAN_MASK_MUX(idx)); in cpsw_ale_set_vlan_mcast()
619 writel(unreg_mcast, ale->params.ale_regs + ALE_VLAN_MASK_MUX(idx)); in cpsw_ale_set_vlan_mcast()
857 unreg_mcast = readl(ale->params.ale_regs + ALE_VLAN_MASK_MUX(idx)); in cpsw_ale_vlan_set_unreg_mcast_idx()
864 writel(unreg_mcast, ale->params.ale_regs + ALE_VLAN_MASK_MUX(idx)); in cpsw_ale_vlan_set_unreg_mcast_idx()
1146 tmp = readl_relaxed(ale->params.ale_regs + offset); in cpsw_ale_control_set()
1148 writel_relaxed(tmp, ale->params.ale_regs + offset); in cpsw_ale_control_set()
[all …]
H A Dcpsw_ale.h15 void __iomem *ale_regs; member
H A Dcpsw_priv.c461 ale_params.ale_regs = ss_regs + CPSW1_ALE_OFFSET; in cpsw_init_common()
475 ale_params.ale_regs = ss_regs + CPSW2_ALE_OFFSET; in cpsw_init_common()
H A Dam65-cpsw-nuss.c3590 ale_params.ale_regs = common->cpsw_base + AM65_CPSW_NU_ALE_BASE; in am65_cpsw_nuss_probe()
H A Dnetcp_ethss.c3682 ale_params.ale_regs = gbe_dev->ale_reg; in gbe_probe()