Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A Dcpsw_priv.c432 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs, in cpsw_init_common() argument
456 cpsw->host_port_regs = ss_regs + CPSW1_HOST_PORT_OFFSET; in cpsw_init_common()
457 cpts_regs = ss_regs + CPSW1_CPTS_OFFSET; in cpsw_init_common()
458 cpsw->hw_stats = ss_regs + CPSW1_HW_STATS; in cpsw_init_common()
459 dma_params.dmaregs = ss_regs + CPSW1_CPDMA_OFFSET; in cpsw_init_common()
460 dma_params.txhdp = ss_regs + CPSW1_STATERAM_OFFSET; in cpsw_init_common()
461 ale_params.ale_regs = ss_regs + CPSW1_ALE_OFFSET; in cpsw_init_common()
470 cpsw->host_port_regs = ss_regs + CPSW2_HOST_PORT_OFFSET; in cpsw_init_common()
471 cpts_regs = ss_regs + CPSW2_CPTS_OFFSET; in cpsw_init_common()
472 cpsw->hw_stats = ss_regs + CPSW2_HW_STATS; in cpsw_init_common()
[all …]
H A Dnetcp_ethss.c724 void __iomem *ss_regs; member
2126 val = readl(GBE_REG_ADDR(gbe_dev, ss_regs, rgmii_status)); in netcp_2u_rgmii_get_port_link()
2224 xgmii_mode = readl(GBE_REG_ADDR(gbe_dev, ss_regs, control)); in gbe_port_config()
2226 writel(xgmii_mode, GBE_REG_ADDR(gbe_dev, ss_regs, control)); in gbe_port_config()
3233 gbe_dev->ss_regs = regs; in set_xgbe_ethss10_priv()
3288 gbe_dev->sgmii_port_regs = gbe_dev->ss_regs + in set_xgbe_ethss10_priv()
3290 gbe_dev->host_port_regs = gbe_dev->ss_regs + XGBE10_HOST_PORT_OFFSET; in set_xgbe_ethss10_priv()
3303 XGBE_SET_REG_OFS(gbe_dev, ss_regs, id_ver); in set_xgbe_ethss10_priv()
3304 XGBE_SET_REG_OFS(gbe_dev, ss_regs, control); in set_xgbe_ethss10_priv()
3340 gbe_dev->ss_regs = regs; in get_gbe_resource_version()
[all …]
H A Dcpsw_new.c1861 void __iomem *ss_regs; in cpsw_probe() local
1896 ss_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &ss_res); in cpsw_probe()
1897 if (IS_ERR(ss_regs)) { in cpsw_probe()
1898 ret = PTR_ERR(ss_regs); in cpsw_probe()
1901 cpsw->regs = ss_regs; in cpsw_probe()
1943 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe()
1950 ss_regs + CPSW1_WR_OFFSET : in cpsw_probe()
1951 ss_regs + CPSW2_WR_OFFSET; in cpsw_probe()
H A Dcpsw.c1500 void __iomem *ss_regs; in cpsw_probe() local
1532 ss_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &ss_res); in cpsw_probe()
1533 if (IS_ERR(ss_regs)) in cpsw_probe()
1534 return PTR_ERR(ss_regs); in cpsw_probe()
1535 cpsw->regs = ss_regs; in cpsw_probe()
1591 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe()
H A Dcpsw_priv.h437 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,