Lines Matching refs:cpdma_ctlr
96 struct cpdma_ctlr { struct
112 struct cpdma_ctlr *ctlr; argument
190 static void cpdma_desc_pool_destroy(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_destroy()
212 static int cpdma_desc_pool_create(struct cpdma_ctlr *ctlr) in cpdma_desc_pool_create()
306 static int _cpdma_control_set(struct cpdma_ctlr *ctlr, int control, int value) in _cpdma_control_set()
331 static int _cpdma_control_get(struct cpdma_ctlr *ctlr, int control) in _cpdma_control_get()
357 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_set_chan_shaper()
377 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_on()
409 struct cpdma_ctlr *ctlr = ch->ctlr; in cpdma_chan_fit_rate()
445 static u32 cpdma_chan_set_factors(struct cpdma_ctlr *ctlr, in cpdma_chan_set_factors()
510 struct cpdma_ctlr *cpdma_ctlr_create(struct cpdma_params *params) in cpdma_ctlr_create()
512 struct cpdma_ctlr *ctlr; in cpdma_ctlr_create()
535 int cpdma_ctlr_start(struct cpdma_ctlr *ctlr) in cpdma_ctlr_start()
595 int cpdma_ctlr_stop(struct cpdma_ctlr *ctlr) in cpdma_ctlr_stop()
627 int cpdma_ctlr_destroy(struct cpdma_ctlr *ctlr) in cpdma_ctlr_destroy()
644 int cpdma_ctlr_int_ctrl(struct cpdma_ctlr *ctlr, bool enable) in cpdma_ctlr_int_ctrl()
664 void cpdma_ctlr_eoi(struct cpdma_ctlr *ctlr, u32 value) in cpdma_ctlr_eoi()
669 u32 cpdma_ctrl_rxchs_state(struct cpdma_ctlr *ctlr) in cpdma_ctrl_rxchs_state()
674 u32 cpdma_ctrl_txchs_state(struct cpdma_ctlr *ctlr) in cpdma_ctrl_txchs_state()
679 static void cpdma_chan_set_descs(struct cpdma_ctlr *ctlr, in cpdma_chan_set_descs()
725 static int cpdma_chan_split_pool(struct cpdma_ctlr *ctlr) in cpdma_chan_split_pool()
786 struct cpdma_ctlr *ctlr = ch->ctlr; in cpdma_chan_set_weight()
810 u32 cpdma_chan_get_min_rate(struct cpdma_ctlr *ctlr) in cpdma_chan_get_min_rate()
828 struct cpdma_ctlr *ctlr; in cpdma_chan_set_rate()
876 struct cpdma_chan *cpdma_chan_create(struct cpdma_ctlr *ctlr, int chan_num, in cpdma_chan_create()
949 struct cpdma_ctlr *ctlr; in cpdma_chan_destroy()
983 struct cpdma_ctlr *ctlr = chan->ctlr; in __cpdma_chan_submit()
1019 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_submit_si()
1181 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_check_free_tx_desc()
1197 struct cpdma_ctlr *ctlr = chan->ctlr; in __cpdma_chan_free()
1221 struct cpdma_ctlr *ctlr = chan->ctlr; in __cpdma_chan_process()
1295 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_start()
1314 struct cpdma_ctlr *ctlr = chan->ctlr; in cpdma_chan_stop()
1391 int cpdma_control_get(struct cpdma_ctlr *ctlr, int control) in cpdma_control_get()
1403 int cpdma_control_set(struct cpdma_ctlr *ctlr, int control, int value) in cpdma_control_set()
1415 int cpdma_get_num_rx_descs(struct cpdma_ctlr *ctlr) in cpdma_get_num_rx_descs()
1420 int cpdma_get_num_tx_descs(struct cpdma_ctlr *ctlr) in cpdma_get_num_tx_descs()
1425 int cpdma_set_num_rx_descs(struct cpdma_ctlr *ctlr, int num_rx_desc) in cpdma_set_num_rx_descs()