Searched refs:dma_cfg (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_platform.c | 111 struct stmmac_dma_cfg *dma_cfg; in stmmac_probe_config_dt() local 210 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), in stmmac_probe_config_dt() 212 if (!dma_cfg) { in stmmac_probe_config_dt() 216 plat->dma_cfg = dma_cfg; in stmmac_probe_config_dt() 217 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); in stmmac_probe_config_dt() 218 dma_cfg->fixed_burst = in stmmac_probe_config_dt() 220 dma_cfg->mixed_burst = in stmmac_probe_config_dt() 222 of_property_read_u32(np, "snps,burst_len", &dma_cfg->burst_len); in stmmac_probe_config_dt() 223 if (dma_cfg->burst_len < 0 || dma_cfg->burst_len > 256) in stmmac_probe_config_dt() 224 dma_cfg->burst_len = 0; in stmmac_probe_config_dt()
|
D | stmmac_pci.c | 83 plat->dma_cfg->pbl = 32; in stmmac_default_data() 84 plat->dma_cfg->burst_len = DMA_AXI_BLEN_256; in stmmac_default_data() 117 plat->dma_cfg->pbl = 16; in quark_default_data() 118 plat->dma_cfg->burst_len = DMA_AXI_BLEN_256; in quark_default_data() 119 plat->dma_cfg->fixed_burst = 1; in quark_default_data() 180 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), in stmmac_pci_probe() 182 if (!plat->dma_cfg) in stmmac_pci_probe()
|
D | stmmac_main.c | 1653 if (priv->plat->dma_cfg) { in stmmac_init_dma_engine() 1654 pbl = priv->plat->dma_cfg->pbl; in stmmac_init_dma_engine() 1655 fixed_burst = priv->plat->dma_cfg->fixed_burst; in stmmac_init_dma_engine() 1656 mixed_burst = priv->plat->dma_cfg->mixed_burst; in stmmac_init_dma_engine() 1657 burst_len = priv->plat->dma_cfg->burst_len; in stmmac_init_dma_engine()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_platform.c | 35 struct sxgbe_dma_cfg *dma_cfg; in sxgbe_probe_config_dt() local 51 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), GFP_KERNEL); in sxgbe_probe_config_dt() 52 if (!dma_cfg) in sxgbe_probe_config_dt() 55 plat->dma_cfg = dma_cfg; in sxgbe_probe_config_dt() 56 of_property_read_u32(np, "samsung,pbl", &dma_cfg->pbl); in sxgbe_probe_config_dt() 57 if (of_property_read_u32(np, "samsung,burst-map", &dma_cfg->burst_map) == 0) in sxgbe_probe_config_dt() 58 dma_cfg->fixed_burst = true; in sxgbe_probe_config_dt()
|
D | sxgbe_main.c | 963 if (priv->plat->dma_cfg) { in sxgbe_init_dma_engine() 964 pbl = priv->plat->dma_cfg->pbl; in sxgbe_init_dma_engine() 965 fixed_burst = priv->plat->dma_cfg->fixed_burst; in sxgbe_init_dma_engine() 966 burst_map = priv->plat->dma_cfg->burst_map; in sxgbe_init_dma_engine()
|
/drivers/dma/ |
D | ste_dma40.c | 470 struct stedma40_chan_cfg dma_cfg; member 850 chan->dma_cfg.dir == DMA_DEV_TO_MEM)) in d40_log_lli_to_lcxa() 1260 u32 event = D40_TYPE_TO_EVENT(d40c->dma_cfg.dev_type); in d40_config_set_event() 1263 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_config_set_event() 1264 (d40c->dma_cfg.dir == DMA_DEV_TO_DEV)) in d40_config_set_event() 1268 if (d40c->dma_cfg.dir != DMA_DEV_TO_MEM) in d40_config_set_event() 1362 return phy_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo() 1364 return log_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo() 1416 return num_elt * d40c->dma_cfg.dst_info.data_width; in d40_residue() 1859 int dev_type = d40c->dma_cfg.dev_type; in d40_allocate_channel() [all …]
|
/drivers/mmc/host/ |
D | bfin_sdh.c | 118 unsigned int dma_cfg; in sdh_setup_data() local 124 dma_cfg = 0; in sdh_setup_data() 153 dma_cfg |= WNR; in sdh_setup_data() 160 dma_cfg |= DMAFLOW_ARRAY | RESTART | WDSIZE_32 | DMAEN; in sdh_setup_data() 162 dma_cfg |= PSIZE_32 | NDSIZE_3; in sdh_setup_data() 164 dma_cfg |= NDSIZE_5; in sdh_setup_data() 171 host->sg_cpu[i].cfg = dma_cfg; in sdh_setup_data() 192 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data() 195 dma_cfg |= WDSIZE_32 | DMAEN; in sdh_setup_data() 200 set_dma_config(host->dma_ch, dma_cfg); in sdh_setup_data()
|
/drivers/ata/ |
D | pata_octeon_cf.c | 635 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_dma_finished() local 646 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished() 647 if (dma_cfg.s.size != 0xfffff) { in octeon_cf_dma_finished() 654 dma_cfg.u64 = 0; in octeon_cf_dma_finished() 655 dma_cfg.s.size = -1; in octeon_cf_dma_finished() 656 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished() 696 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_interrupt() local 702 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt() 709 if (dma_int.s.done && !dma_cfg.s.en) { in octeon_cf_interrupt() 1023 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_shutdown() local [all …]
|