Lines Matching full:ud

7 int xudma_navss_psil_pair(struct udma_dev *ud, u32 src_thread, u32 dst_thread)  in xudma_navss_psil_pair()  argument
9 return navss_psil_pair(ud, src_thread, dst_thread); in xudma_navss_psil_pair()
13 int xudma_navss_psil_unpair(struct udma_dev *ud, u32 src_thread, u32 dst_thread) in xudma_navss_psil_unpair() argument
15 return navss_psil_unpair(ud, src_thread, dst_thread); in xudma_navss_psil_unpair()
23 struct udma_dev *ud; in of_xudma_dev_get() local
42 ud = platform_get_drvdata(pdev); in of_xudma_dev_get()
43 if (!ud) { in of_xudma_dev_get()
49 return ud; in of_xudma_dev_get()
53 u32 xudma_dev_get_psil_base(struct udma_dev *ud) in xudma_dev_get_psil_base() argument
55 return ud->psil_base; in xudma_dev_get_psil_base()
59 struct udma_tisci_rm *xudma_dev_get_tisci_rm(struct udma_dev *ud) in xudma_dev_get_tisci_rm() argument
61 return &ud->tisci_rm; in xudma_dev_get_tisci_rm()
65 int xudma_alloc_gp_rflow_range(struct udma_dev *ud, int from, int cnt) in xudma_alloc_gp_rflow_range() argument
67 return __udma_alloc_gp_rflow_range(ud, from, cnt); in xudma_alloc_gp_rflow_range()
71 int xudma_free_gp_rflow_range(struct udma_dev *ud, int from, int cnt) in xudma_free_gp_rflow_range() argument
73 return __udma_free_gp_rflow_range(ud, from, cnt); in xudma_free_gp_rflow_range()
77 bool xudma_rflow_is_gp(struct udma_dev *ud, int id) in xudma_rflow_is_gp() argument
79 return !test_bit(id, ud->rflow_gp_map); in xudma_rflow_is_gp()
84 struct udma_##res *xudma_##res##_get(struct udma_dev *ud, int id) \
86 return __udma_reserve_##res(ud, UDMA_TP_NORMAL, id); \
90 void xudma_##res##_put(struct udma_dev *ud, struct udma_##res *p) \
92 clear_bit(p->id, ud->res##_map); \
98 struct udma_rflow *xudma_rflow_get(struct udma_dev *ud, int id) in xudma_rflow_get() argument
100 return __udma_get_rflow(ud, id); in xudma_rflow_get()
104 void xudma_rflow_put(struct udma_dev *ud, struct udma_rflow *p) in xudma_rflow_put() argument
106 __udma_put_rflow(ud, p); in xudma_rflow_put()