Searched refs:ss_regs (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 431 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs, in cpsw_init_common() argument 455 cpsw->host_port_regs = ss_regs + CPSW1_HOST_PORT_OFFSET; in cpsw_init_common() 456 cpts_regs = ss_regs + CPSW1_CPTS_OFFSET; in cpsw_init_common() 457 cpsw->hw_stats = ss_regs + CPSW1_HW_STATS; in cpsw_init_common() 458 dma_params.dmaregs = ss_regs + CPSW1_CPDMA_OFFSET; in cpsw_init_common() 459 dma_params.txhdp = ss_regs + CPSW1_STATERAM_OFFSET; in cpsw_init_common() 460 ale_params.ale_regs = ss_regs + CPSW1_ALE_OFFSET; in cpsw_init_common() 469 cpsw->host_port_regs = ss_regs + CPSW2_HOST_PORT_OFFSET; in cpsw_init_common() 470 cpts_regs = ss_regs + CPSW2_CPTS_OFFSET; in cpsw_init_common() 471 cpsw->hw_stats = ss_regs + CPSW2_HW_STATS; in cpsw_init_common() [all …]
|
D | netcp_ethss.c | 724 void __iomem *ss_regs; member 2131 val = readl(GBE_REG_ADDR(gbe_dev, ss_regs, rgmii_status)); in netcp_2u_rgmii_get_port_link() 2229 xgmii_mode = readl(GBE_REG_ADDR(gbe_dev, ss_regs, control)); in gbe_port_config() 2231 writel(xgmii_mode, GBE_REG_ADDR(gbe_dev, ss_regs, control)); in gbe_port_config() 3242 gbe_dev->ss_regs = regs; in set_xgbe_ethss10_priv() 3297 gbe_dev->sgmii_port_regs = gbe_dev->ss_regs + in set_xgbe_ethss10_priv() 3299 gbe_dev->host_port_regs = gbe_dev->ss_regs + XGBE10_HOST_PORT_OFFSET; in set_xgbe_ethss10_priv() 3312 XGBE_SET_REG_OFS(gbe_dev, ss_regs, id_ver); in set_xgbe_ethss10_priv() 3313 XGBE_SET_REG_OFS(gbe_dev, ss_regs, control); in set_xgbe_ethss10_priv() 3349 gbe_dev->ss_regs = regs; in get_gbe_resource_version() [all …]
|
D | cpsw_new.c | 1870 void __iomem *ss_regs; in cpsw_probe() local 1906 ss_regs = devm_ioremap_resource(dev, ss_res); in cpsw_probe() 1907 if (IS_ERR(ss_regs)) { in cpsw_probe() 1908 ret = PTR_ERR(ss_regs); in cpsw_probe() 1911 cpsw->regs = ss_regs; in cpsw_probe() 1954 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe() 1961 ss_regs + CPSW1_WR_OFFSET : in cpsw_probe() 1962 ss_regs + CPSW2_WR_OFFSET; in cpsw_probe()
|
D | cpsw.c | 1518 void __iomem *ss_regs; in cpsw_probe() local 1551 ss_regs = devm_ioremap_resource(dev, ss_res); in cpsw_probe() 1552 if (IS_ERR(ss_regs)) in cpsw_probe() 1553 return PTR_ERR(ss_regs); in cpsw_probe() 1554 cpsw->regs = ss_regs; in cpsw_probe() 1612 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe()
|
D | cpsw_priv.h | 429 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
|