Lines Matching +full:rx +full:- +full:crci
1 // SPDX-License-Identifier: GPL-2.0-only
51 void __iomem *base = host->base + DML_OFFSET; in qcom_dma_start()
52 struct mmc_data *data = host->data; in qcom_dma_start()
58 if (data->flags & MMC_DATA_READ) { in qcom_dma_start()
60 /* Set producer CRCI-x and disable consumer CRCI */ in qcom_dma_start()
67 writel_relaxed(data->blksz, base + DML_PRODUCER_BAM_BLOCK_SIZE); in qcom_dma_start()
70 writel_relaxed(data->blocks * data->blksz, in qcom_dma_start()
80 /* Set consumer CRCI-x and disable producer CRCI*/ in qcom_dma_start()
103 index = of_property_match_string(np, "dma-names", name); in of_get_dml_pipe_index()
106 return -ENODEV; in of_get_dml_pipe_index()
108 if (of_parse_phandle_with_args(np, "dmas", "#dma-cells", index, in of_get_dml_pipe_index()
110 return -ENODEV; in of_get_dml_pipe_index()
115 return -ENODEV; in of_get_dml_pipe_index()
124 struct device_node *np = host->mmc->parent->of_node; in qcom_dma_setup()
127 return -EINVAL; in qcom_dma_setup()
130 producer_id = of_get_dml_pipe_index(np, "rx"); in qcom_dma_setup()
134 return -EINVAL; in qcom_dma_setup()
137 base = host->base + DML_OFFSET; in qcom_dma_setup()
142 /* Disable the producer and consumer CRCI */ in qcom_dma_setup()
147 * want the BAM interface to connect with SDCC-DML. in qcom_dma_setup()
184 return MCI_DPSM_ENABLE | (host->data->blksz << 4); in qcom_get_dctrl_cfg()
201 host->ops = &qcom_variant_ops; in qcom_variant_init()