Home
last modified time | relevance | path

Searched refs:dma_params (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_priv.c29 struct cpdma_params dma_params; in cpsw_init_common() local
40 memset(&dma_params, 0, sizeof(dma_params)); in cpsw_init_common()
48 dma_params.dmaregs = ss_regs + CPSW1_CPDMA_OFFSET; in cpsw_init_common()
49 dma_params.txhdp = ss_regs + CPSW1_STATERAM_OFFSET; in cpsw_init_common()
54 dma_params.desc_mem_phys = 0; in cpsw_init_common()
62 dma_params.dmaregs = ss_regs + CPSW2_CPDMA_OFFSET; in cpsw_init_common()
63 dma_params.txhdp = ss_regs + CPSW2_STATERAM_OFFSET; in cpsw_init_common()
68 dma_params.desc_mem_phys = desc_mem_phys; in cpsw_init_common()
102 dma_params.dev = dev; in cpsw_init_common()
103 dma_params.rxthresh = dma_params.dmaregs + CPDMA_RXTHRESH; in cpsw_init_common()
[all …]
Ddavinci_emac.c1773 struct cpdma_params dma_params; in davinci_emac_probe() local
1847 memset(&dma_params, 0, sizeof(dma_params)); in davinci_emac_probe()
1848 dma_params.dev = &pdev->dev; in davinci_emac_probe()
1849 dma_params.dmaregs = priv->emac_base; in davinci_emac_probe()
1850 dma_params.rxthresh = priv->emac_base + 0x120; in davinci_emac_probe()
1851 dma_params.rxfree = priv->emac_base + 0x140; in davinci_emac_probe()
1852 dma_params.txhdp = priv->emac_base + 0x600; in davinci_emac_probe()
1853 dma_params.rxhdp = priv->emac_base + 0x620; in davinci_emac_probe()
1854 dma_params.txcp = priv->emac_base + 0x640; in davinci_emac_probe()
1855 dma_params.rxcp = priv->emac_base + 0x660; in davinci_emac_probe()
[all …]