Lines Matching defs:md_ctrl

62 static void md_cd_queue_struct_reset(struct cldma_queue *queue, struct cldma_ctrl *md_ctrl,  in md_cd_queue_struct_reset()
73 static void md_cd_queue_struct_init(struct cldma_queue *queue, struct cldma_ctrl *md_ctrl, in md_cd_queue_struct_init()
93 static int t7xx_cldma_alloc_and_map_skb(struct cldma_ctrl *md_ctrl, struct cldma_request *req, in t7xx_cldma_alloc_and_map_skb()
114 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_rx_from_q() local
199 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_rx_collect() local
242 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_rx_done() local
260 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_tx_collect() local
301 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_txq_empty_hndl() local
338 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_tx_done() local
370 static void t7xx_cldma_ring_free(struct cldma_ctrl *md_ctrl, in t7xx_cldma_ring_free()
392 static struct cldma_request *t7xx_alloc_rx_request(struct cldma_ctrl *md_ctrl, size_t pkt_size) in t7xx_alloc_rx_request()
420 static int t7xx_cldma_rx_ring_init(struct cldma_ctrl *md_ctrl, struct cldma_ring *ring) in t7xx_cldma_rx_ring_init()
453 static struct cldma_request *t7xx_alloc_tx_request(struct cldma_ctrl *md_ctrl) in t7xx_alloc_tx_request()
470 static int t7xx_cldma_tx_ring_init(struct cldma_ctrl *md_ctrl, struct cldma_ring *ring) in t7xx_cldma_tx_ring_init()
523 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_rxq_init() local
532 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_txq_init() local
539 static void t7xx_cldma_enable_irq(struct cldma_ctrl *md_ctrl) in t7xx_cldma_enable_irq()
544 static void t7xx_cldma_disable_irq(struct cldma_ctrl *md_ctrl) in t7xx_cldma_disable_irq()
549 static void t7xx_cldma_irq_work_cb(struct cldma_ctrl *md_ctrl) in t7xx_cldma_irq_work_cb()
610 static bool t7xx_cldma_qs_are_active(struct cldma_ctrl *md_ctrl) in t7xx_cldma_qs_are_active()
636 int t7xx_cldma_stop(struct cldma_ctrl *md_ctrl) in t7xx_cldma_stop()
669 static void t7xx_cldma_late_release(struct cldma_ctrl *md_ctrl) in t7xx_cldma_late_release()
687 void t7xx_cldma_reset(struct cldma_ctrl *md_ctrl) in t7xx_cldma_reset()
724 void t7xx_cldma_start(struct cldma_ctrl *md_ctrl) in t7xx_cldma_start()
759 static void t7xx_cldma_clear_txq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_txq()
779 static int t7xx_cldma_clear_rxq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_rxq()
815 void t7xx_cldma_clear_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_clear_all_qs()
828 void t7xx_cldma_stop_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_stop_all_qs()
847 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_handle_tx_request() local
876 static void t7xx_cldma_hw_start_send(struct cldma_ctrl *md_ctrl, int qno, in t7xx_cldma_hw_start_send()
903 void t7xx_cldma_set_recv_skb(struct cldma_ctrl *md_ctrl, in t7xx_cldma_set_recv_skb()
922 int t7xx_cldma_send_skb(struct cldma_ctrl *md_ctrl, int qno, struct sk_buff *skb) in t7xx_cldma_send_skb()
996 static int t7xx_cldma_late_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_late_init()
1061 static void t7xx_hw_info_init(struct cldma_ctrl *md_ctrl) in t7xx_hw_info_init()
1089 struct cldma_ctrl *md_ctrl; in t7xx_cldma_alloc() local
1106 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_resume_early() local
1131 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_resume() local
1148 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_suspend_late() local
1166 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_suspend() local
1186 static int t7xx_cldma_pm_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_pm_init()
1207 static int t7xx_cldma_pm_uninit(struct cldma_ctrl *md_ctrl) in t7xx_cldma_pm_uninit()
1218 void t7xx_cldma_hif_hw_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_hif_hw_init()
1234 struct cldma_ctrl *md_ctrl = data; in t7xx_cldma_isr_handler() local
1245 static void t7xx_cldma_destroy_wqs(struct cldma_ctrl *md_ctrl) in t7xx_cldma_destroy_wqs()
1276 int t7xx_cldma_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_init()
1327 void t7xx_cldma_switch_cfg(struct cldma_ctrl *md_ctrl) in t7xx_cldma_switch_cfg()
1333 void t7xx_cldma_exit(struct cldma_ctrl *md_ctrl) in t7xx_cldma_exit()