Lines Matching refs:cpdma_chan
102 struct cpdma_chan *channels[2 * CPDMA_MAX_CHANNELS];
108 struct cpdma_chan { struct
138 struct cpdma_chan *chan; argument
355 static int cpdma_chan_set_chan_shaper(struct cpdma_chan *chan) in cpdma_chan_set_chan_shaper()
375 static int cpdma_chan_on(struct cpdma_chan *chan) in cpdma_chan_on()
406 static int cpdma_chan_fit_rate(struct cpdma_chan *ch, u32 rate, in cpdma_chan_fit_rate()
410 struct cpdma_chan *chan; in cpdma_chan_fit_rate()
446 struct cpdma_chan *ch) in cpdma_chan_set_factors()
537 struct cpdma_chan *chan; in cpdma_ctlr_start()
683 struct cpdma_chan *chan, *most_chan = NULL; in cpdma_chan_set_descs()
731 struct cpdma_chan *chan; in cpdma_chan_split_pool()
784 int cpdma_chan_set_weight(struct cpdma_chan *ch, int weight) in cpdma_chan_set_weight()
825 int cpdma_chan_set_rate(struct cpdma_chan *ch, u32 rate) in cpdma_chan_set_rate()
864 u32 cpdma_chan_get_rate(struct cpdma_chan *ch) in cpdma_chan_get_rate()
876 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, in cpdma_chan_create()
880 struct cpdma_chan *chan; in cpdma_chan_create()
935 int cpdma_chan_get_rx_buf_num(struct cpdma_chan *chan) in cpdma_chan_get_rx_buf_num()
947 int cpdma_chan_destroy(struct cpdma_chan *chan) in cpdma_chan_destroy()
968 int cpdma_chan_get_stats(struct cpdma_chan *chan, in cpdma_chan_get_stats()
980 static void __cpdma_chan_submit(struct cpdma_chan *chan, in __cpdma_chan_submit()
1018 struct cpdma_chan *chan = si->chan; in cpdma_chan_submit_si()
1079 int cpdma_chan_idle_submit(struct cpdma_chan *chan, void *token, void *data, in cpdma_chan_idle_submit()
1104 int cpdma_chan_idle_submit_mapped(struct cpdma_chan *chan, void *token, in cpdma_chan_idle_submit_mapped()
1129 int cpdma_chan_submit(struct cpdma_chan *chan, void *token, void *data, in cpdma_chan_submit()
1154 int cpdma_chan_submit_mapped(struct cpdma_chan *chan, void *token, in cpdma_chan_submit_mapped()
1179 bool cpdma_check_free_tx_desc(struct cpdma_chan *chan) in cpdma_check_free_tx_desc()
1193 static void __cpdma_chan_free(struct cpdma_chan *chan, in __cpdma_chan_free()
1219 static int __cpdma_chan_process(struct cpdma_chan *chan) in __cpdma_chan_process()
1277 int cpdma_chan_process(struct cpdma_chan *chan, int quota) in cpdma_chan_process()
1293 int cpdma_chan_start(struct cpdma_chan *chan) in cpdma_chan_start()
1312 int cpdma_chan_stop(struct cpdma_chan *chan) in cpdma_chan_stop()
1374 int cpdma_chan_int_ctrl(struct cpdma_chan *chan, bool enable) in cpdma_chan_int_ctrl()