Lines Matching refs:ss_regs
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()
473 dma_params.dmaregs = ss_regs + CPSW2_CPDMA_OFFSET; in cpsw_init_common()
474 dma_params.txhdp = ss_regs + CPSW2_STATERAM_OFFSET; in cpsw_init_common()
475 ale_params.ale_regs = ss_regs + CPSW2_ALE_OFFSET; in cpsw_init_common()