Searched refs:udma_rflow (Results 1 – 4 of 4) sorted by relevance
88 struct udma_rflow;124 struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id);128 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p);132 int xudma_rflow_get_id(struct udma_rflow *p);
59 struct udma_rflow *udma_rflow; member535 if (IS_ERR_OR_NULL(flow->udma_rflow)) in k3_udma_glue_release_rx_flow()544 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow); in k3_udma_glue_release_rx_flow()545 flow->udma_rflow = NULL; in k3_udma_glue_release_rx_flow()561 flow->udma_rflow = xudma_rflow_get(rx_chn->common.udmax, in k3_udma_glue_cfg_rx_flow()563 if (IS_ERR(flow->udma_rflow)) { in k3_udma_glue_cfg_rx_flow()564 ret = PTR_ERR(flow->udma_rflow); in k3_udma_glue_cfg_rx_flow()569 if (flow->udma_rflow_id != xudma_rflow_get_id(flow->udma_rflow)) { in k3_udma_glue_cfg_rx_flow()658 xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow); in k3_udma_glue_cfg_rx_flow()659 flow->udma_rflow = NULL; in k3_udma_glue_cfg_rx_flow()
98 struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id) in xudma_rflow_get()104 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p) in xudma_rflow_put()
75 struct udma_rflow { struct153 struct udma_rflow *rflows;223 struct udma_rflow *rflow;1169 static struct udma_rflow *__udma_get_rflow(struct udma_dev *ud, int id) in __udma_get_rflow()1194 static void __udma_put_rflow(struct udma_dev *ud, struct udma_rflow *rflow) in __udma_put_rflow()1426 struct udma_rflow *rflow = uc->rflow; in udma_free_rx_resources()1443 struct udma_rflow *rflow; in udma_alloc_rx_resources()3647 struct udma_rflow *rflow = &ud->rflows[i]; in udma_probe()