Lines Matching refs:udmax
27 struct udma_dev *udmax;
104 common->udmax = of_xudma_dev_get(udmax_np, NULL);
105 if (IS_ERR(common->udmax))
106 return PTR_ERR(common->udmax);
108 common->ringacc = xudma_get_ringacc(common->udmax);
109 common->tisci_rm = xudma_dev_get_tisci_rm(common->udmax);
140 if (dma_spec.args[1] > 2 && !xudma_is_pktdma(common->udmax)) {
146 if (dma_spec.args[1] > 15 && xudma_is_pktdma(common->udmax)) {
281 if (xudma_is_pktdma(tx_chn->common.udmax))
287 tx_chn->udma_tchanx = xudma_tchan_get(tx_chn->common.udmax,
297 tx_chn->common.chan_dev.parent = xudma_get_device(tx_chn->common.udmax);
308 if (xudma_is_pktdma(tx_chn->common.udmax)) {
317 if (xudma_is_pktdma(tx_chn->common.udmax))
337 if (xudma_is_pktdma(tx_chn->common.udmax)) {
356 xudma_dev_get_psil_base(tx_chn->common.udmax) +
378 xudma_navss_psil_unpair(tx_chn->common.udmax,
385 xudma_tchan_put(tx_chn->common.udmax,
434 ret = xudma_navss_psil_pair(tx_chn->common.udmax,
466 xudma_navss_psil_unpair(tx_chn->common.udmax,
554 if (xudma_is_pktdma(tx_chn->common.udmax)) {
555 tx_chn->virq = xudma_pktdma_tflow_get_irq(tx_chn->common.udmax,
571 if (xudma_is_pktdma(tx_chn->common.udmax) &&
575 return xudma_get_device(tx_chn->common.udmax);
582 if (!xudma_is_pktdma(tx_chn->common.udmax) ||
593 if (!xudma_is_pktdma(tx_chn->common.udmax) ||
619 * and udmax impl, so just configure it to invalid value.
623 if (!xudma_is_pktdma(rx_chn->common.udmax) && rx_chn->flow_num &&
656 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow);
673 flow->udma_rflow = xudma_rflow_get(rx_chn->common.udmax,
686 if (xudma_is_pktdma(rx_chn->common.udmax)) {
688 xudma_get_rflow_ring_offset(rx_chn->common.udmax);
710 if (xudma_is_pktdma(rx_chn->common.udmax)) {
788 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow);
851 !xudma_rflow_is_gp(rx_chn->common.udmax, rx_chn->flow_id_base))
855 ret = xudma_alloc_gp_rflow_range(rx_chn->common.udmax,
903 if (xudma_is_pktdma(rx_chn->common.udmax))
909 rx_chn->udma_rchanx = xudma_rchan_get(rx_chn->common.udmax,
919 rx_chn->common.chan_dev.parent = xudma_get_device(rx_chn->common.udmax);
930 if (xudma_is_pktdma(rx_chn->common.udmax)) {
937 if (xudma_is_pktdma(rx_chn->common.udmax)) {
978 xudma_dev_get_psil_base(rx_chn->common.udmax) +
1051 rx_chn->common.chan_dev.parent = xudma_get_device(rx_chn->common.udmax);
1062 if (xudma_is_pktdma(rx_chn->common.udmax)) {
1100 if (IS_ERR_OR_NULL(rx_chn->common.udmax))
1104 xudma_navss_psil_unpair(rx_chn->common.udmax,
1113 if (xudma_rflow_is_gp(rx_chn->common.udmax, rx_chn->flow_id_base))
1114 xudma_free_gp_rflow_range(rx_chn->common.udmax,
1119 xudma_rchan_put(rx_chn->common.udmax,
1250 ret = xudma_navss_psil_pair(rx_chn->common.udmax,
1282 xudma_navss_psil_unpair(rx_chn->common.udmax,
1395 if (xudma_is_pktdma(rx_chn->common.udmax)) {
1396 flow->virq = xudma_pktdma_rflow_get_irq(rx_chn->common.udmax,
1409 if (xudma_is_pktdma(rx_chn->common.udmax) &&
1413 return xudma_get_device(rx_chn->common.udmax);
1420 if (!xudma_is_pktdma(rx_chn->common.udmax) ||
1431 if (!xudma_is_pktdma(rx_chn->common.udmax) ||