udma_rflow
struct udma_rflow *udma_rflow;
if (IS_ERR_OR_NULL(flow->udma_rflow))
xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow);
flow->udma_rflow = NULL;
flow->udma_rflow = xudma_rflow_get(rx_chn->common.udmax,
if (IS_ERR(flow->udma_rflow)) {
ret = PTR_ERR(flow->udma_rflow);
if (flow->udma_rflow_id != xudma_rflow_get_id(flow->udma_rflow)) {
xudma_rflow_put(rx_chn->common.udmax, flow->udma_rflow);
flow->udma_rflow = NULL;
struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id)
void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p)
static struct udma_rflow *__udma_get_rflow(struct udma_dev *ud, int id)
static void __udma_put_rflow(struct udma_dev *ud, struct udma_rflow *rflow)
struct udma_rflow *rflow = uc->rflow;
struct udma_rflow *rflow;
struct udma_rflow *rflows;
struct udma_rflow *rflow;
struct udma_rflow *rflow = &ud->rflows[i];
struct udma_rflow;
struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id);
void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p);
int xudma_rflow_get_id(struct udma_rflow *p);