Lines Matching refs:dma_cfg
400 struct stmmac_dma_cfg *dma_cfg; in stmmac_probe_config_dt() local
542 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), in stmmac_probe_config_dt()
544 if (!dma_cfg) { in stmmac_probe_config_dt()
548 plat->dma_cfg = dma_cfg; in stmmac_probe_config_dt()
550 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); in stmmac_probe_config_dt()
551 if (!dma_cfg->pbl) in stmmac_probe_config_dt()
552 dma_cfg->pbl = DEFAULT_DMA_PBL; in stmmac_probe_config_dt()
553 of_property_read_u32(np, "snps,txpbl", &dma_cfg->txpbl); in stmmac_probe_config_dt()
554 of_property_read_u32(np, "snps,rxpbl", &dma_cfg->rxpbl); in stmmac_probe_config_dt()
555 dma_cfg->pblx8 = !of_property_read_bool(np, "snps,no-pbl-x8"); in stmmac_probe_config_dt()
557 dma_cfg->aal = of_property_read_bool(np, "snps,aal"); in stmmac_probe_config_dt()
558 dma_cfg->fixed_burst = of_property_read_bool(np, "snps,fixed-burst"); in stmmac_probe_config_dt()
559 dma_cfg->mixed_burst = of_property_read_bool(np, "snps,mixed-burst"); in stmmac_probe_config_dt()