Searched refs:udma_rflow (Results 1 – 4 of 4) sorted by relevance
103 struct udma_rflow;143 struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id);147 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p);151 int xudma_rflow_get_id(struct udma_rflow *p);
63 struct udma_rflow *udma_rflow; member643 if (IS_ERR_OR_NULL(flow->udma_rflow)) in k3_udma_glue_release_rx_flow()652 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow); in k3_udma_glue_release_rx_flow()653 flow->udma_rflow = NULL; in k3_udma_glue_release_rx_flow()669 flow->udma_rflow = xudma_rflow_get(rx_chn->common.udmax, in k3_udma_glue_cfg_rx_flow()671 if (IS_ERR(flow->udma_rflow)) { in k3_udma_glue_cfg_rx_flow()672 ret = PTR_ERR(flow->udma_rflow); in k3_udma_glue_cfg_rx_flow()677 if (flow->udma_rflow_id != xudma_rflow_get_id(flow->udma_rflow)) { in k3_udma_glue_cfg_rx_flow()784 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow); in k3_udma_glue_cfg_rx_flow()785 flow->udma_rflow = NULL; in k3_udma_glue_cfg_rx_flow()
113 struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id) in xudma_rflow_get()119 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p) in xudma_rflow_put()
92 struct udma_rflow { struct207 struct udma_rflow *rflows;289 struct udma_rflow *rflow;1292 static struct udma_rflow *__udma_get_rflow(struct udma_dev *ud, int id) in __udma_get_rflow()1319 static void __udma_put_rflow(struct udma_dev *ud, struct udma_rflow *rflow) in __udma_put_rflow()1734 struct udma_rflow *rflow = uc->rflow; in udma_free_rx_resources()1751 struct udma_rflow *rflow; in udma_alloc_rx_resources()5458 struct udma_rflow *rflow = &ud->rflows[i]; in udma_probe()