/linux-6.1.9/sound/soc/ux500/ |
D | ux500_pcm.c | 49 struct stedma40_chan_cfg *dma_cfg; in ux500_pcm_request_chan() local 53 dma_cfg = dma_params->dma_cfg; in ux500_pcm_request_chan() 72 dma_cfg->src_info.data_width = mem_data_width; in ux500_pcm_request_chan() 73 dma_cfg->dst_info.data_width = per_data_width; in ux500_pcm_request_chan() 75 dma_cfg->src_info.data_width = per_data_width; in ux500_pcm_request_chan() 76 dma_cfg->dst_info.data_width = mem_data_width; in ux500_pcm_request_chan() 79 return snd_dmaengine_pcm_request_channel(stedma40_filter, dma_cfg); in ux500_pcm_request_chan()
|
D | ux500_msp_i2s.c | 366 !msp->capture_dma_data.dma_cfg) { in enable_msp() 372 !msp->playback_dma_data.dma_cfg) { in enable_msp() 655 msp->playback_dma_data.dma_cfg = devm_kzalloc(&pdev->dev, in ux500_msp_i2s_of_init_msp() 658 if (!msp->playback_dma_data.dma_cfg) in ux500_msp_i2s_of_init_msp() 661 msp->capture_dma_data.dma_cfg = devm_kzalloc(&pdev->dev, in ux500_msp_i2s_of_init_msp() 664 if (!msp->capture_dma_data.dma_cfg) in ux500_msp_i2s_of_init_msp() 693 msp->playback_dma_data.dma_cfg = platform_data->msp_i2s_dma_tx; in ux500_msp_i2s_init_msp() 694 msp->capture_dma_data.dma_cfg = platform_data->msp_i2s_dma_rx; in ux500_msp_i2s_init_msp()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac1000_dma.c | 74 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac1000_dma_init() argument 77 int txpbl = dma_cfg->txpbl ?: dma_cfg->pbl; in dwmac1000_dma_init() 78 int rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwmac1000_dma_init() 86 if (dma_cfg->pblx8) in dwmac1000_dma_init() 94 if (dma_cfg->fixed_burst) in dwmac1000_dma_init() 98 if (dma_cfg->mixed_burst) in dwmac1000_dma_init() 104 if (dma_cfg->aal) in dwmac1000_dma_init() 114 struct stmmac_dma_cfg *dma_cfg, in dwmac1000_dma_init_rx() argument 122 struct stmmac_dma_cfg *dma_cfg, in dwmac1000_dma_init_tx() argument
|
D | dwmac4_dma.c | 72 struct stmmac_dma_cfg *dma_cfg, in dwmac4_dma_init_rx_chan() argument 76 u32 rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwmac4_dma_init_rx_chan() 82 if (IS_ENABLED(CONFIG_ARCH_DMA_ADDR_T_64BIT) && likely(dma_cfg->eame)) in dwmac4_dma_init_rx_chan() 90 struct stmmac_dma_cfg *dma_cfg, in dwmac4_dma_init_tx_chan() argument 94 u32 txpbl = dma_cfg->txpbl ?: dma_cfg->pbl; in dwmac4_dma_init_tx_chan() 104 if (IS_ENABLED(CONFIG_ARCH_DMA_ADDR_T_64BIT) && likely(dma_cfg->eame)) in dwmac4_dma_init_tx_chan() 112 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwmac4_dma_init_channel() argument 118 if (dma_cfg->pblx8) in dwmac4_dma_init_channel() 128 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwmac410_dma_init_channel() argument 134 if (dma_cfg->pblx8) in dwmac410_dma_init_channel() [all …]
|
D | stmmac_platform.c | 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() [all …]
|
D | stmmac_pci.c | 61 plat->dma_cfg->pbl = 32; in stmmac_default_data() 62 plat->dma_cfg->pblx8 = true; in stmmac_default_data() 117 plat->dma_cfg->pbl = 32; in snps_gmac5_default_data() 118 plat->dma_cfg->pblx8 = true; in snps_gmac5_default_data() 172 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), in stmmac_pci_probe() 174 if (!plat->dma_cfg) in stmmac_pci_probe()
|
D | dwmac100_dma.c | 22 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac100_dma_init() argument 25 writel(DMA_BUS_MODE_DEFAULT | (dma_cfg->pbl << DMA_BUS_MODE_PBL_SHIFT), in dwmac100_dma_init() 33 struct stmmac_dma_cfg *dma_cfg, in dwmac100_dma_init_rx() argument 41 struct stmmac_dma_cfg *dma_cfg, in dwmac100_dma_init_tx() argument
|
D | dwmac-loongson.c | 41 plat->dma_cfg->pbl = 32; in loongson_default_data() 42 plat->dma_cfg->pblx8 = true; in loongson_default_data() 85 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), GFP_KERNEL); in loongson_dwmac_probe() 86 if (!plat->dma_cfg) { in loongson_dwmac_probe()
|
D | dwxgmac2_dma.c | 23 struct stmmac_dma_cfg *dma_cfg, int atds) in dwxgmac2_dma_init() argument 27 if (dma_cfg->aal) in dwxgmac2_dma_init() 30 if (dma_cfg->eame) in dwxgmac2_dma_init() 37 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwxgmac2_dma_init_chan() argument 41 if (dma_cfg->pblx8) in dwxgmac2_dma_init_chan() 49 struct stmmac_dma_cfg *dma_cfg, in dwxgmac2_dma_init_rx_chan() argument 52 u32 rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwxgmac2_dma_init_rx_chan() 65 struct stmmac_dma_cfg *dma_cfg, in dwxgmac2_dma_init_tx_chan() argument 68 u32 txpbl = dma_cfg->txpbl ?: dma_cfg->pbl; in dwxgmac2_dma_init_tx_chan()
|
D | dwmac-intel.c | 513 plat->dma_cfg->pbl = 32; in intel_mgbe_common_data() 514 plat->dma_cfg->pblx8 = true; in intel_mgbe_common_data() 515 plat->dma_cfg->fixed_burst = 0; in intel_mgbe_common_data() 516 plat->dma_cfg->mixed_burst = 0; in intel_mgbe_common_data() 517 plat->dma_cfg->aal = 0; in intel_mgbe_common_data() 518 plat->dma_cfg->dche = true; in intel_mgbe_common_data() 931 plat->dma_cfg->pbl = 16; in quark_default_data() 932 plat->dma_cfg->pblx8 = true; in quark_default_data() 933 plat->dma_cfg->fixed_burst = 1; in quark_default_data() 1051 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), in intel_eth_pci_probe() [all …]
|
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_platform.c | 31 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()
|
/linux-6.1.9/drivers/usb/musb/ |
D | tusb6010_omap.c | 197 struct dma_slave_config dma_cfg; in tusb_omap_dma_program() local 270 memset(&dma_cfg, 0, sizeof(dma_cfg)); in tusb_omap_dma_program() 274 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tusb_omap_dma_program() 275 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in tusb_omap_dma_program() 278 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in tusb_omap_dma_program() 279 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_2_BYTES; in tusb_omap_dma_program() 290 dma_cfg.src_addr = fifo_addr; in tusb_omap_dma_program() 291 dma_cfg.dst_addr = fifo_addr; in tusb_omap_dma_program() 292 dma_cfg.src_port_window_size = port_window; in tusb_omap_dma_program() 293 dma_cfg.src_maxburst = port_window; in tusb_omap_dma_program() [all …]
|
/linux-6.1.9/drivers/dma/ |
D | ste_dma40.c | 472 struct stedma40_chan_cfg dma_cfg; member 858 chan->dma_cfg.dir == DMA_DEV_TO_MEM)) in d40_log_lli_to_lcxa() 1241 u32 event = D40_TYPE_TO_EVENT(d40c->dma_cfg.dev_type); in d40_config_set_event() 1244 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_config_set_event() 1245 (d40c->dma_cfg.dir == DMA_DEV_TO_DEV)) in d40_config_set_event() 1249 if (d40c->dma_cfg.dir != DMA_DEV_TO_MEM) in d40_config_set_event() 1343 return phy_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo() 1345 return log_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo() 1397 return num_elt * d40c->dma_cfg.dst_info.data_width; in d40_residue() 1833 int dev_type = d40c->dma_cfg.dev_type; in d40_allocate_channel() [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | owl-mmc.c | 111 struct dma_slave_config dma_cfg; member 310 owl_host->dma_cfg.direction = DMA_MEM_TO_DEV; in owl_mmc_prepare_data() 313 owl_host->dma_cfg.direction = DMA_DEV_TO_MEM; in owl_mmc_prepare_data() 319 dmaengine_slave_config(owl_host->dma, &owl_host->dma_cfg); in owl_mmc_prepare_data() 322 owl_host->dma_cfg.direction, in owl_mmc_prepare_data() 633 owl_host->dma_cfg.src_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe() 634 owl_host->dma_cfg.dst_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe() 635 owl_host->dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe() 636 owl_host->dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe() 637 owl_host->dma_cfg.device_fc = false; in owl_mmc_probe()
|
D | cavium-thunderx.c | 173 u64 dma_cfg; in thunder_mmc_remove() local 180 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove() 181 dma_cfg &= ~MIO_EMM_DMA_CFG_EN; in thunder_mmc_remove() 182 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in thunder_mmc_remove()
|
D | cavium-octeon.c | 300 u64 dma_cfg; in octeon_mmc_remove() local 307 dma_cfg = readq(host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove() 308 dma_cfg &= ~MIO_EMM_DMA_CFG_EN; in octeon_mmc_remove() 309 writeq(dma_cfg, host->dma_base + MIO_EMM_DMA_CFG(host)); in octeon_mmc_remove()
|
/linux-6.1.9/drivers/ata/ |
D | pata_octeon_cf.c | 594 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_dma_finished() local 603 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished() 604 if (dma_cfg.s.size != 0xfffff) { in octeon_cf_dma_finished() 611 dma_cfg.u64 = 0; in octeon_cf_dma_finished() 612 dma_cfg.s.size = -1; in octeon_cf_dma_finished() 613 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished() 652 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_interrupt() local 658 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt() 665 if (dma_int.s.done && !dma_cfg.s.en) { in octeon_cf_interrupt() 983 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_shutdown() local [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-stm32-qspi.c | 703 struct dma_slave_config dma_cfg; in stm32_qspi_dma_setup() local 707 memset(&dma_cfg, 0, sizeof(dma_cfg)); in stm32_qspi_dma_setup() 709 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_qspi_dma_setup() 710 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_1_BYTE; in stm32_qspi_dma_setup() 711 dma_cfg.src_addr = qspi->phys_base + QSPI_DR; in stm32_qspi_dma_setup() 712 dma_cfg.dst_addr = qspi->phys_base + QSPI_DR; in stm32_qspi_dma_setup() 713 dma_cfg.src_maxburst = 4; in stm32_qspi_dma_setup() 714 dma_cfg.dst_maxburst = 4; in stm32_qspi_dma_setup() 723 if (dmaengine_slave_config(qspi->dma_chrx, &dma_cfg)) { in stm32_qspi_dma_setup() 735 if (dmaengine_slave_config(qspi->dma_chtx, &dma_cfg)) { in stm32_qspi_dma_setup()
|
/linux-6.1.9/drivers/comedi/drivers/ |
D | ni_660x.c | 264 unsigned int dma_cfg[NI660X_MAX_CHIPS]; member 316 devpriv->dma_cfg[chip] &= ~NI660X_DMA_CFG_SEL_MASK(mite_channel); in ni_660x_set_dma_channel() 317 devpriv->dma_cfg[chip] |= NI660X_DMA_CFG_SEL(mite_channel, in ni_660x_set_dma_channel() 319 ni_660x_write(dev, chip, devpriv->dma_cfg[chip] | in ni_660x_set_dma_channel() 331 devpriv->dma_cfg[chip] &= ~NI660X_DMA_CFG_SEL_MASK(mite_channel); in ni_660x_unset_dma_channel() 332 devpriv->dma_cfg[chip] |= NI660X_DMA_CFG_SEL_NONE(mite_channel); in ni_660x_unset_dma_channel() 333 ni_660x_write(dev, chip, devpriv->dma_cfg[chip], NI660X_DMA_CFG); in ni_660x_unset_dma_channel() 984 devpriv->dma_cfg[chip] = 0; in ni_660x_init_tio_chips() 986 devpriv->dma_cfg[chip] |= NI660X_DMA_CFG_SEL_NONE(chan); in ni_660x_init_tio_chips() 987 ni_660x_write(dev, chip, devpriv->dma_cfg[chip], in ni_660x_init_tio_chips()
|
/linux-6.1.9/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 340 struct dma_slave_config dma_cfg; in stm32_fmc2_nfc_select_chip() local 351 memset(&dma_cfg, 0, sizeof(dma_cfg)); in stm32_fmc2_nfc_select_chip() 352 dma_cfg.src_addr = nfc->data_phys_addr[nfc->cs_sel]; in stm32_fmc2_nfc_select_chip() 353 dma_cfg.dst_addr = nfc->data_phys_addr[nfc->cs_sel]; in stm32_fmc2_nfc_select_chip() 354 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_fmc2_nfc_select_chip() 355 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_fmc2_nfc_select_chip() 356 dma_cfg.src_maxburst = 32; in stm32_fmc2_nfc_select_chip() 357 dma_cfg.dst_maxburst = 32; in stm32_fmc2_nfc_select_chip() 359 ret = dmaengine_slave_config(nfc->dma_tx_ch, &dma_cfg); in stm32_fmc2_nfc_select_chip() 365 ret = dmaengine_slave_config(nfc->dma_rx_ch, &dma_cfg); in stm32_fmc2_nfc_select_chip() [all …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/runtime/isys/src/ |
D | virtual_isys.c | 474 &channel_cfg->dma_cfg); in calculate_input_system_channel_cfg() 735 cfg->dma_cfg.channel = channel->dma_channel; in calculate_ibuf_ctrl_cfg() 736 cfg->dma_cfg.cmd = _DMA_V2_MOVE_A2B_NO_SYNC_CHK_COMMAND; in calculate_ibuf_ctrl_cfg() 738 cfg->dma_cfg.shift_returned_items = 0; in calculate_ibuf_ctrl_cfg() 739 cfg->dma_cfg.elems_per_word_in_ibuf = 0; in calculate_ibuf_ctrl_cfg() 740 cfg->dma_cfg.elems_per_word_in_dest = 0; in calculate_ibuf_ctrl_cfg()
|
/linux-6.1.9/include/linux/ |
D | sxgbe_platform.h | 45 struct sxgbe_dma_cfg *dma_cfg; member
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/css_2401_system/ |
D | ibuf_ctrl_global.h | 59 } dma_cfg; member
|
/linux-6.1.9/sound/soc/qcom/qdsp6/ |
D | q6afe.c | 520 struct afe_param_id_cdc_dma_cfg dma_cfg; member 1467 struct afe_param_id_cdc_dma_cfg *dma_cfg = &pcfg->dma_cfg; in q6afe_cdc_dma_port_prepare() local 1469 dma_cfg->cdc_dma_cfg_minor_version = AFE_API_VERSION_CODEC_DMA_CONFIG; in q6afe_cdc_dma_port_prepare() 1470 dma_cfg->sample_rate = cfg->sample_rate; in q6afe_cdc_dma_port_prepare() 1471 dma_cfg->bit_width = cfg->bit_width; in q6afe_cdc_dma_port_prepare() 1472 dma_cfg->data_format = cfg->data_format; in q6afe_cdc_dma_port_prepare() 1473 dma_cfg->num_channels = cfg->num_channels; in q6afe_cdc_dma_port_prepare() 1475 dma_cfg->active_channels_mask = (1 << cfg->num_channels) - 1; in q6afe_cdc_dma_port_prepare()
|
/linux-6.1.9/arch/mips/loongson32/common/ |
D | platform.c | 154 .dma_cfg = &ls1x_eth_dma_cfg, 191 .dma_cfg = &ls1x_eth_dma_cfg,
|