Home
last modified time | relevance | path

Searched refs:dma_cfg (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/usb/musb/
H A Dtusb6010_omap.c197 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/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-motorcomm.c226 plat->dma_cfg->pbl = DEFAULT_DMA_PBL; in motorcomm_default_plat_data()
227 plat->dma_cfg->pblx8 = true; in motorcomm_default_plat_data()
228 plat->dma_cfg->txpbl = 32; in motorcomm_default_plat_data()
229 plat->dma_cfg->rxpbl = 32; in motorcomm_default_plat_data()
230 plat->dma_cfg->eame = true; in motorcomm_default_plat_data()
231 plat->dma_cfg->mixed_burst = true; in motorcomm_default_plat_data()
/linux/drivers/mmc/host/
H A Dowl-mmc.c112 struct dma_slave_config dma_cfg; member
311 owl_host->dma_cfg.direction = DMA_MEM_TO_DEV; in owl_mmc_prepare_data()
314 owl_host->dma_cfg.direction = DMA_DEV_TO_MEM; in owl_mmc_prepare_data()
320 dmaengine_slave_config(owl_host->dma, &owl_host->dma_cfg); in owl_mmc_prepare_data()
323 owl_host->dma_cfg.direction, in owl_mmc_prepare_data()
625 owl_host->dma_cfg.src_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe()
626 owl_host->dma_cfg.dst_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe()
627 owl_host->dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe()
628 owl_host->dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe()
629 owl_host->dma_cfg.device_fc = false; in owl_mmc_probe()
/linux/drivers/ata/
H A Dpata_octeon_cf.c595 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_dma_finished() local
604 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished()
605 if (dma_cfg.s.size != 0xfffff) { in octeon_cf_dma_finished()
612 dma_cfg.u64 = 0; in octeon_cf_dma_finished()
613 dma_cfg.s.size = -1; in octeon_cf_dma_finished()
614 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished()
653 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_interrupt() local
659 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt()
666 if (dma_int.s.done && !dma_cfg.s.en) { in octeon_cf_interrupt()
974 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_shutdown() local
[all …]
/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c352 struct dma_slave_config dma_cfg; in stm32_fmc2_nfc_select_chip() local
363 memset(&dma_cfg, 0, sizeof(dma_cfg)); in stm32_fmc2_nfc_select_chip()
364 dma_cfg.dst_addr = nfc->data_phys_addr[nfc->cs_sel]; in stm32_fmc2_nfc_select_chip()
365 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_fmc2_nfc_select_chip()
366 dma_cfg.dst_maxburst = nfc->tx_dma_max_burst / in stm32_fmc2_nfc_select_chip()
367 dma_cfg.dst_addr_width; in stm32_fmc2_nfc_select_chip()
369 ret = dmaengine_slave_config(nfc->dma_tx_ch, &dma_cfg); in stm32_fmc2_nfc_select_chip()
377 memset(&dma_cfg, 0, sizeof(dma_cfg)); in stm32_fmc2_nfc_select_chip()
378 dma_cfg.src_addr = nfc->data_phys_addr[nfc->cs_sel]; in stm32_fmc2_nfc_select_chip()
379 dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in stm32_fmc2_nfc_select_chip()
[all …]
/linux/include/linux/
H A Dsxgbe_platform.h45 struct sxgbe_dma_cfg *dma_cfg; member
/linux/drivers/leds/
H A Dleds-sun50i-a100.c390 struct dma_slave_config dma_cfg = {}; in sun50i_a100_ledc_probe() local
472 dma_cfg.dst_addr = mem->start + LEDC_DATA_REG; in sun50i_a100_ledc_probe()
473 dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in sun50i_a100_ledc_probe()
474 dma_cfg.dst_maxburst = LEDC_FIFO_DEPTH / 2; in sun50i_a100_ledc_probe()
476 ret = dmaengine_slave_config(priv->dma_chan, &dma_cfg); in sun50i_a100_ledc_probe()
/linux/sound/soc/qcom/qdsp6/
H A Dq6afe.c613 struct afe_param_id_cdc_dma_cfg dma_cfg;
1649 struct afe_param_id_cdc_dma_cfg *dma_cfg = &pcfg->dma_cfg; in q6afe_cdc_dma_port_prepare()
1651 dma_cfg->cdc_dma_cfg_minor_version = AFE_API_VERSION_CODEC_DMA_CONFIG; in q6afe_cdc_dma_port_prepare()
1652 dma_cfg->sample_rate = cfg->sample_rate; in q6afe_cdc_dma_port_prepare()
1653 dma_cfg->bit_width = cfg->bit_width;
1654 dma_cfg->data_format = cfg->data_format;
1655 dma_cfg->num_channels = cfg->num_channels;
1657 dma_cfg->active_channels_mask = (1 << cfg->num_channels) - 1;
611 struct afe_param_id_cdc_dma_cfg dma_cfg; global() member
1643 struct afe_param_id_cdc_dma_cfg *dma_cfg = &pcfg->dma_cfg; q6afe_cdc_dma_port_prepare() local
H A Dq6afe.h243 struct q6afe_cdc_dma_cfg dma_cfg;
242 struct q6afe_cdc_dma_cfg dma_cfg; global() member
H A Dq6afe-dai.c293 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_set_channel_map()
362 struct q6afe_cdc_dma_cfg *cfg = &dai_data->port_config[dai->id].dma_cfg; in q6dma_hw_params()
429 &dai_data->port_config[dai->id].dma_cfg); in q6afe_dai_prepare()
/linux/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_main.c958 if (priv->plat->dma_cfg) { in sxgbe_init_dma_engine()
959 pbl = priv->plat->dma_cfg->pbl; in sxgbe_init_dma_engine()
960 fixed_burst = priv->plat->dma_cfg->fixed_burst; in sxgbe_init_dma_engine()
961 burst_map = priv->plat->dma_cfg->burst_map; in sxgbe_init_dma_engine()
/linux/Documentation/networking/device_drivers/ethernet/stmicro/
H A Dstmmac.rst366 struct stmmac_dma_cfg *dma_cfg;
/linux/sound/hda/codecs/
H A Dca0132.c2730 unsigned int dma_cfg = 0; in dsp_dma_setup()
2762 dma_cfg = addr_field + incr_field; in dsp_dma_setup()
2764 dma_cfg); in dsp_dma_setup()
2799 chip_addx, count, dma_cfg, adr_ofs, xfr_cnt); in dsp_dma_start()
2710 unsigned int dma_cfg = 0; dsp_dma_setup() local