Lines Matching defs:md_ctrl
60 static void md_cd_queue_struct_reset(struct cldma_queue *queue, struct cldma_ctrl *md_ctrl, in md_cd_queue_struct_reset()
71 static void md_cd_queue_struct_init(struct cldma_queue *queue, struct cldma_ctrl *md_ctrl, in md_cd_queue_struct_init()
91 static int t7xx_cldma_alloc_and_map_skb(struct cldma_ctrl *md_ctrl, struct cldma_request *req, in t7xx_cldma_alloc_and_map_skb()
112 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_rx_from_q() local
198 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_rx_collect() local
241 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_rx_done() local
259 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_tx_collect() local
300 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_txq_empty_hndl() local
337 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_tx_done() local
369 static void t7xx_cldma_ring_free(struct cldma_ctrl *md_ctrl, in t7xx_cldma_ring_free()
391 static struct cldma_request *t7xx_alloc_rx_request(struct cldma_ctrl *md_ctrl, size_t pkt_size) in t7xx_alloc_rx_request()
419 static int t7xx_cldma_rx_ring_init(struct cldma_ctrl *md_ctrl, struct cldma_ring *ring) in t7xx_cldma_rx_ring_init()
452 static struct cldma_request *t7xx_alloc_tx_request(struct cldma_ctrl *md_ctrl) in t7xx_alloc_tx_request()
469 static int t7xx_cldma_tx_ring_init(struct cldma_ctrl *md_ctrl, struct cldma_ring *ring) in t7xx_cldma_tx_ring_init()
522 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_rxq_init() local
531 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_txq_init() local
538 static void t7xx_cldma_enable_irq(struct cldma_ctrl *md_ctrl) in t7xx_cldma_enable_irq()
543 static void t7xx_cldma_disable_irq(struct cldma_ctrl *md_ctrl) in t7xx_cldma_disable_irq()
548 static void t7xx_cldma_irq_work_cb(struct cldma_ctrl *md_ctrl) in t7xx_cldma_irq_work_cb()
609 static bool t7xx_cldma_qs_are_active(struct cldma_ctrl *md_ctrl) in t7xx_cldma_qs_are_active()
635 int t7xx_cldma_stop(struct cldma_ctrl *md_ctrl) in t7xx_cldma_stop()
668 static void t7xx_cldma_late_release(struct cldma_ctrl *md_ctrl) in t7xx_cldma_late_release()
686 void t7xx_cldma_reset(struct cldma_ctrl *md_ctrl) in t7xx_cldma_reset()
723 void t7xx_cldma_start(struct cldma_ctrl *md_ctrl) in t7xx_cldma_start()
758 static void t7xx_cldma_clear_txq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_txq()
778 static int t7xx_cldma_clear_rxq(struct cldma_ctrl *md_ctrl, int qnum) in t7xx_cldma_clear_rxq()
814 void t7xx_cldma_clear_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_clear_all_qs()
827 void t7xx_cldma_stop_all_qs(struct cldma_ctrl *md_ctrl, enum mtk_txrx tx_rx) in t7xx_cldma_stop_all_qs()
846 struct cldma_ctrl *md_ctrl = queue->md_ctrl; in t7xx_cldma_gpd_handle_tx_request() local
875 static void t7xx_cldma_hw_start_send(struct cldma_ctrl *md_ctrl, int qno, in t7xx_cldma_hw_start_send()
921 int t7xx_cldma_send_skb(struct cldma_ctrl *md_ctrl, int qno, struct sk_buff *skb) in t7xx_cldma_send_skb()
995 static void t7xx_cldma_adjust_config(struct cldma_ctrl *md_ctrl, enum cldma_cfg cfg_id) in t7xx_cldma_adjust_config()
1017 static int t7xx_cldma_late_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_late_init()
1077 static void t7xx_hw_info_init(struct cldma_ctrl *md_ctrl) in t7xx_hw_info_init()
1110 struct cldma_ctrl *md_ctrl; in t7xx_cldma_alloc() local
1130 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_resume_early() local
1155 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_resume() local
1172 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_suspend_late() local
1190 struct cldma_ctrl *md_ctrl = entity_param; in t7xx_cldma_suspend() local
1210 static int t7xx_cldma_pm_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_pm_init()
1231 static int t7xx_cldma_pm_uninit(struct cldma_ctrl *md_ctrl) in t7xx_cldma_pm_uninit()
1242 void t7xx_cldma_hif_hw_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_hif_hw_init()
1258 struct cldma_ctrl *md_ctrl = data; in t7xx_cldma_isr_handler() local
1269 static void t7xx_cldma_destroy_wqs(struct cldma_ctrl *md_ctrl) in t7xx_cldma_destroy_wqs()
1300 int t7xx_cldma_init(struct cldma_ctrl *md_ctrl) in t7xx_cldma_init()
1352 void t7xx_cldma_switch_cfg(struct cldma_ctrl *md_ctrl, enum cldma_cfg cfg_id) in t7xx_cldma_switch_cfg()
1359 void t7xx_cldma_exit(struct cldma_ctrl *md_ctrl) in t7xx_cldma_exit()