Searched refs:ss_regs (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_priv.c | 432 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 …]
|
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() 3238 gbe_dev->ss_regs = regs; in set_xgbe_ethss10_priv() 3293 gbe_dev->sgmii_port_regs = gbe_dev->ss_regs + in set_xgbe_ethss10_priv() 3295 gbe_dev->host_port_regs = gbe_dev->ss_regs + XGBE10_HOST_PORT_OFFSET; in set_xgbe_ethss10_priv() 3308 XGBE_SET_REG_OFS(gbe_dev, ss_regs, id_ver); in set_xgbe_ethss10_priv() 3309 XGBE_SET_REG_OFS(gbe_dev, ss_regs, control); in set_xgbe_ethss10_priv() 3345 gbe_dev->ss_regs = regs; in get_gbe_resource_version() [all …]
|
D | cpsw_new.c | 1855 void __iomem *ss_regs; in cpsw_probe() local 1890 ss_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &ss_res); in cpsw_probe() 1891 if (IS_ERR(ss_regs)) { in cpsw_probe() 1892 ret = PTR_ERR(ss_regs); in cpsw_probe() 1895 cpsw->regs = ss_regs; in cpsw_probe() 1937 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe() 1944 ss_regs + CPSW1_WR_OFFSET : in cpsw_probe() 1945 ss_regs + CPSW2_WR_OFFSET; in cpsw_probe()
|
D | cpsw.c | 1498 void __iomem *ss_regs; in cpsw_probe() local 1530 ss_regs = devm_platform_get_and_ioremap_resource(pdev, 0, &ss_res); in cpsw_probe() 1531 if (IS_ERR(ss_regs)) in cpsw_probe() 1532 return PTR_ERR(ss_regs); in cpsw_probe() 1533 cpsw->regs = ss_regs; in cpsw_probe() 1589 ret = cpsw_init_common(cpsw, ss_regs, ale_ageout, in cpsw_probe()
|
D | cpsw_priv.h | 437 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
|