Lines Matching refs:ring_cfg
1380 struct k3_ring_cfg ring_cfg; in udma_alloc_tx_resources() local
1396 memset(&ring_cfg, 0, sizeof(ring_cfg)); in udma_alloc_tx_resources()
1397 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_tx_resources()
1398 ring_cfg.elm_size = K3_RINGACC_RING_ELSIZE_8; in udma_alloc_tx_resources()
1399 ring_cfg.mode = K3_RINGACC_RING_MODE_MESSAGE; in udma_alloc_tx_resources()
1401 ret = k3_ringacc_ring_cfg(uc->tchan->t_ring, &ring_cfg); in udma_alloc_tx_resources()
1402 ret |= k3_ringacc_ring_cfg(uc->tchan->tc_ring, &ring_cfg); in udma_alloc_tx_resources()
1442 struct k3_ring_cfg ring_cfg; in udma_alloc_rx_resources() local
1470 memset(&ring_cfg, 0, sizeof(ring_cfg)); in udma_alloc_rx_resources()
1473 ring_cfg.size = SG_MAX_SEGMENTS; in udma_alloc_rx_resources()
1475 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_rx_resources()
1477 ring_cfg.elm_size = K3_RINGACC_RING_ELSIZE_8; in udma_alloc_rx_resources()
1478 ring_cfg.mode = K3_RINGACC_RING_MODE_MESSAGE; in udma_alloc_rx_resources()
1480 ret = k3_ringacc_ring_cfg(rflow->fd_ring, &ring_cfg); in udma_alloc_rx_resources()
1481 ring_cfg.size = K3_UDMA_DEFAULT_RING_SIZE; in udma_alloc_rx_resources()
1482 ret |= k3_ringacc_ring_cfg(rflow->r_ring, &ring_cfg); in udma_alloc_rx_resources()