Home
last modified time | relevance | path

Searched refs:dma_cfg (Results 1 - 25 of 80) sorted by relevance

1234

/kernel/linux/linux-5.10/sound/soc/ux500/
H A Dux500_pcm.c51 struct stedma40_chan_cfg *dma_cfg; in ux500_pcm_request_chan() local
55 dma_cfg = dma_params->dma_cfg; in ux500_pcm_request_chan()
74 dma_cfg->src_info.data_width = mem_data_width; in ux500_pcm_request_chan()
75 dma_cfg->dst_info.data_width = per_data_width; in ux500_pcm_request_chan()
77 dma_cfg->src_info.data_width = per_data_width; in ux500_pcm_request_chan()
78 dma_cfg->dst_info.data_width = mem_data_width; in ux500_pcm_request_chan()
81 return snd_dmaengine_pcm_request_channel(stedma40_filter, dma_cfg); in ux500_pcm_request_chan()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_dma.c74 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac1000_dma_init()
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()
73 dwmac1000_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac1000_dma_init() argument
113 dwmac1000_dma_init_rx(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac1000_dma_init_rx() argument
121 dwmac1000_dma_init_tx(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac1000_dma_init_tx() argument
[all...]
H A Ddwmac4_dma.c72 struct stmmac_dma_cfg *dma_cfg, in dwmac4_dma_init_rx_chan()
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()
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()
118 if (dma_cfg in dwmac4_dma_init_channel()
71 dwmac4_dma_init_rx_chan(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac4_dma_init_rx_chan() argument
89 dwmac4_dma_init_tx_chan(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac4_dma_init_tx_chan() argument
111 dwmac4_dma_init_channel(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwmac4_dma_init_channel() argument
127 dwmac410_dma_init_channel(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwmac410_dma_init_channel() argument
144 dwmac4_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac4_dma_init() argument
[all...]
H A Dstmmac_pci.c61 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()
H A Dstmmac_platform.c402 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 in stmmac_probe_config_dt()
[all...]
H A Ddwmac100_dma.c22 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac100_dma_init()
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()
41 struct stmmac_dma_cfg *dma_cfg, in dwmac100_dma_init_tx()
21 dwmac100_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac100_dma_init() argument
32 dwmac100_dma_init_rx(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac100_dma_init_rx() argument
40 dwmac100_dma_init_tx(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac100_dma_init_tx() argument
H A Ddwmac-loongson.c46 plat->dma_cfg->pbl = 32; in common_default_data()
47 plat->dma_cfg->pblx8 = true; in common_default_data()
141 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), GFP_KERNEL); in loongson_dwmac_probe()
142 if (!plat->dma_cfg) in loongson_dwmac_probe()
H A Ddwmac-intel.c282 plat->dma_cfg->pbl = 32; in intel_mgbe_common_data()
283 plat->dma_cfg->pblx8 = true; in intel_mgbe_common_data()
284 plat->dma_cfg->fixed_burst = 0; in intel_mgbe_common_data()
285 plat->dma_cfg->mixed_burst = 0; in intel_mgbe_common_data()
286 plat->dma_cfg->aal = 0; in intel_mgbe_common_data()
557 plat->dma_cfg->pbl = 16; in quark_default_data()
558 plat->dma_cfg->pblx8 = true; in quark_default_data()
559 plat->dma_cfg->fixed_burst = 1; in quark_default_data()
604 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), in intel_eth_pci_probe()
[all...]
H A Ddwxgmac2_dma.c23 struct stmmac_dma_cfg *dma_cfg, int atds) in dwxgmac2_dma_init()
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()
41 if (dma_cfg->pblx8) in dwxgmac2_dma_init_chan()
49 struct stmmac_dma_cfg *dma_cfg, in dwxgmac2_dma_init_rx_chan()
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()
68 u32 txpbl = dma_cfg in dwxgmac2_dma_init_tx_chan()
22 dwxgmac2_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwxgmac2_dma_init() argument
36 dwxgmac2_dma_init_chan(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwxgmac2_dma_init_chan() argument
48 dwxgmac2_dma_init_rx_chan(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t phy, u32 chan) dwxgmac2_dma_init_rx_chan() argument
64 dwxgmac2_dma_init_tx_chan(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t phy, u32 chan) dwxgmac2_dma_init_tx_chan() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac1000_dma.c74 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac1000_dma_init()
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()
115 struct stmmac_dma_cfg *dma_cfg, in dwmac1000_dma_init_rx()
73 dwmac1000_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac1000_dma_init() argument
113 dwmac1000_dma_init_rx(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac1000_dma_init_rx() argument
122 dwmac1000_dma_init_tx(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac1000_dma_init_tx() argument
[all...]
H A Ddwmac4_dma.c74 struct stmmac_dma_cfg *dma_cfg, in dwmac4_dma_init_rx_chan()
79 u32 rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwmac4_dma_init_rx_chan()
85 if (IS_ENABLED(CONFIG_ARCH_DMA_ADDR_T_64BIT) && likely(dma_cfg->eame)) in dwmac4_dma_init_rx_chan()
95 struct stmmac_dma_cfg *dma_cfg, in dwmac4_dma_init_tx_chan()
100 u32 txpbl = dma_cfg->txpbl ?: dma_cfg->pbl; in dwmac4_dma_init_tx_chan()
110 if (IS_ENABLED(CONFIG_ARCH_DMA_ADDR_T_64BIT) && likely(dma_cfg->eame)) in dwmac4_dma_init_tx_chan()
120 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwmac4_dma_init_channel()
127 if (dma_cfg in dwmac4_dma_init_channel()
72 dwmac4_dma_init_rx_chan(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac4_dma_init_rx_chan() argument
93 dwmac4_dma_init_tx_chan(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac4_dma_init_tx_chan() argument
118 dwmac4_dma_init_channel(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwmac4_dma_init_channel() argument
136 dwmac410_dma_init_channel(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwmac410_dma_init_channel() argument
155 dwmac4_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac4_dma_init() argument
[all...]
H A Dstmmac_pci.c61 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()
H A Dstmmac_platform.c403 struct stmmac_dma_cfg *dma_cfg; in stmmac_probe_config_dt() local
547 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), in stmmac_probe_config_dt()
549 if (!dma_cfg) { in stmmac_probe_config_dt()
553 plat->dma_cfg = dma_cfg; in stmmac_probe_config_dt()
555 of_property_read_u32(np, "snps,pbl", &dma_cfg->pbl); in stmmac_probe_config_dt()
556 if (!dma_cfg->pbl) in stmmac_probe_config_dt()
557 dma_cfg->pbl = DEFAULT_DMA_PBL; in stmmac_probe_config_dt()
558 of_property_read_u32(np, "snps,txpbl", &dma_cfg in stmmac_probe_config_dt()
[all...]
H A Ddwmac100_dma.c22 struct stmmac_dma_cfg *dma_cfg, int atds) in dwmac100_dma_init()
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()
41 struct stmmac_dma_cfg *dma_cfg, in dwmac100_dma_init_tx()
21 dwmac100_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwmac100_dma_init() argument
32 dwmac100_dma_init_rx(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_rx_phy, u32 chan) dwmac100_dma_init_rx() argument
40 dwmac100_dma_init_tx(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t dma_tx_phy, u32 chan) dwmac100_dma_init_tx() argument
H A Ddwmac-loongson.c41 plat->dma_cfg->pbl = 32; in loongson_default_data()
42 plat->dma_cfg->pblx8 = true; in loongson_default_data()
78 plat->dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*plat->dma_cfg), GFP_KERNEL); in loongson_dwmac_probe()
79 if (!plat->dma_cfg) { in loongson_dwmac_probe()
H A Ddwxgmac2_dma.c23 struct stmmac_dma_cfg *dma_cfg, int atds) in dwxgmac2_dma_init()
27 if (dma_cfg->aal) in dwxgmac2_dma_init()
30 if (dma_cfg->eame) in dwxgmac2_dma_init()
38 struct stmmac_dma_cfg *dma_cfg, u32 chan) in dwxgmac2_dma_init_chan()
42 if (dma_cfg->pblx8) in dwxgmac2_dma_init_chan()
51 struct stmmac_dma_cfg *dma_cfg, in dwxgmac2_dma_init_rx_chan()
54 u32 rxpbl = dma_cfg->rxpbl ?: dma_cfg->pbl; in dwxgmac2_dma_init_rx_chan()
68 struct stmmac_dma_cfg *dma_cfg, in dwxgmac2_dma_init_tx_chan()
71 u32 txpbl = dma_cfg in dwxgmac2_dma_init_tx_chan()
22 dwxgmac2_dma_init(void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, int atds) dwxgmac2_dma_init() argument
36 dwxgmac2_dma_init_chan(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, u32 chan) dwxgmac2_dma_init_chan() argument
49 dwxgmac2_dma_init_rx_chan(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t phy, u32 chan) dwxgmac2_dma_init_rx_chan() argument
66 dwxgmac2_dma_init_tx_chan(struct stmmac_priv *priv, void __iomem *ioaddr, struct stmmac_dma_cfg *dma_cfg, dma_addr_t phy, u32 chan) dwxgmac2_dma_init_tx_chan() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_platform.c32 struct sxgbe_dma_cfg *dma_cfg; in sxgbe_probe_config_dt() local
53 dma_cfg = devm_kzalloc(&pdev->dev, sizeof(*dma_cfg), GFP_KERNEL); in sxgbe_probe_config_dt()
54 if (!dma_cfg) in sxgbe_probe_config_dt()
57 plat->dma_cfg = dma_cfg; in sxgbe_probe_config_dt()
58 of_property_read_u32(np, "samsung,pbl", &dma_cfg->pbl); in sxgbe_probe_config_dt()
59 if (of_property_read_u32(np, "samsung,burst-map", &dma_cfg->burst_map) == 0) in sxgbe_probe_config_dt()
60 dma_cfg->fixed_burst = true; in sxgbe_probe_config_dt()
/kernel/linux/linux-6.6/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_platform.c31 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()
/kernel/linux/linux-5.10/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 in tusb_omap_dma_program()
[all...]
/kernel/linux/linux-6.6/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 in tusb_omap_dma_program()
[all...]
/kernel/linux/linux-5.10/drivers/dma/
H A Dste_dma40.c445 * @dma_cfg: The client configuration of this dma channel.
447 * @configured: whether the dma_cfg configuration is valid
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 in d40_get_prmo()
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dste_dma40.c474 * @dma_cfg: The client configuration of this dma channel.
476 * @configured: whether the dma_cfg configuration is valid
501 struct stedma40_chan_cfg dma_cfg; member
883 chan->dma_cfg.dir == DMA_DEV_TO_MEM)) in d40_log_lli_to_lcxa()
1266 u32 event = D40_TYPE_TO_EVENT(d40c->dma_cfg.dev_type); in d40_config_set_event()
1269 if ((d40c->dma_cfg.dir == DMA_DEV_TO_MEM) || in d40_config_set_event()
1270 (d40c->dma_cfg.dir == DMA_DEV_TO_DEV)) in d40_config_set_event()
1274 if (d40c->dma_cfg.dir != DMA_DEV_TO_MEM) in d40_config_set_event()
1368 return phy_map[d40c->dma_cfg.mode_opt]; in d40_get_prmo()
1370 return log_map[d40c->dma_cfg in d40_get_prmo()
[all...]
/kernel/linux/linux-5.10/drivers/mmc/host/
H A Dowl-mmc.c111 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()
635 owl_host->dma_cfg.src_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe()
636 owl_host->dma_cfg.dst_addr = res->start + OWL_REG_SD_DAT; in owl_mmc_probe()
637 owl_host->dma_cfg.src_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe()
638 owl_host->dma_cfg.dst_addr_width = DMA_SLAVE_BUSWIDTH_4_BYTES; in owl_mmc_probe()
639 owl_host->dma_cfg in owl_mmc_probe()
[all...]
/kernel/linux/linux-6.6/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()
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 in owl_mmc_probe()
[all...]
/kernel/linux/linux-5.10/drivers/ata/
H A Dpata_octeon_cf.c626 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_dma_finished() local
637 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_dma_finished()
638 if (dma_cfg.s.size != 0xfffff) { in octeon_cf_dma_finished()
645 dma_cfg.u64 = 0; in octeon_cf_dma_finished()
646 dma_cfg.s.size = -1; in octeon_cf_dma_finished()
647 cvmx_write_csr(cf_port->dma_base + DMA_CFG, dma_cfg.u64); in octeon_cf_dma_finished()
687 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_interrupt() local
693 dma_cfg.u64 = cvmx_read_csr(cf_port->dma_base + DMA_CFG); in octeon_cf_interrupt()
700 if (dma_int.s.done && !dma_cfg.s.en) { in octeon_cf_interrupt()
1015 union cvmx_mio_boot_dma_cfgx dma_cfg; in octeon_cf_shutdown() local
[all...]

Completed in 19 milliseconds

1234