Lines Matching refs:dma
40 cpdma_ctlr_int_ctrl(cpsw->dma, true);
48 cpdma_ctlr_int_ctrl(cpsw->dma, false);
74 /* Check whether the queue is stopped due to stalled tx dma, if the
90 cpdma_ctlr_eoi(cpsw->dma, CPDMA_EOI_TX);
106 cpdma_ctlr_eoi(cpsw->dma, CPDMA_EOI_RX);
122 cpdma_ctlr_eoi(cpsw->dma, CPDMA_EOI_MISC);
137 ch_map = cpdma_ctrl_txchs_state(cpsw->dma);
187 ch_map = cpdma_ctrl_rxchs_state(cpsw->dma);
295 cpsw_err(priv, tx_err, "transmit timeout, restarting dma\n");
529 cpsw->dma = cpdma_ctlr_create(&dma_params);
530 if (!cpsw->dma) {
531 dev_err(dev, "error initializing dma\n");
543 cpdma_ctlr_destroy(cpsw->dma);
743 min_rate = cpdma_chan_get_min_rate(cpsw->dma);
1107 dma_addr_t dma;
1123 dma = page_pool_get_dma_addr(page) + CPSW_HEADROOM;
1125 page, dma,
1294 dma_addr_t dma;
1303 dma = page_pool_get_dma_addr(page);
1304 dma += xdpf->headroom + sizeof(struct xdp_frame);
1306 dma, xdpf->len, port);