Lines Matching refs:dpmaif_hw_info

34 static int t7xx_dpmaif_init_intr(struct dpmaif_hw_info *hw_info)  in t7xx_dpmaif_init_intr()
82 static void t7xx_dpmaif_mask_ulq_intr(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_mask_ulq_intr()
102 void t7xx_dpmaif_unmask_ulq_intr(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_unmask_ulq_intr()
122 void t7xx_dpmaif_dl_unmask_batcnt_len_err_intr(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_unmask_batcnt_len_err_intr()
128 void t7xx_dpmaif_dl_unmask_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_unmask_pitcnt_len_err_intr()
134 static u32 t7xx_update_dlq_intr(struct dpmaif_hw_info *hw_info, u32 q_done) in t7xx_update_dlq_intr()
143 static int t7xx_mask_dlq_intr(struct dpmaif_hw_info *hw_info, unsigned int qno) in t7xx_mask_dlq_intr()
164 void t7xx_dpmaif_dlq_unmask_rx_done(struct dpmaif_hw_info *hw_info, unsigned int qno) in t7xx_dpmaif_dlq_unmask_rx_done()
173 void t7xx_dpmaif_clr_ip_busy_sts(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_clr_ip_busy_sts()
181 static void t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dlq_mask_rx_pitcnt_len_err_intr()
192 void t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dlq_unmask_pitcnt_len_err_intr()
203 void t7xx_dpmaif_ul_clr_all_intr(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_ul_clr_all_intr()
208 void t7xx_dpmaif_dl_clr_all_intr(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_clr_all_intr()
224 static void t7xx_dpmaif_hw_check_tx_intr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_hw_check_tx_intr()
263 static void t7xx_dpmaif_hw_check_rx_intr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_hw_check_rx_intr()
344 int t7xx_dpmaif_hw_get_intr_cnt(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_hw_get_intr_cnt()
394 static int t7xx_dpmaif_sram_init(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_sram_init()
407 static void t7xx_dpmaif_hw_reset(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_reset()
419 static int t7xx_dpmaif_hw_config(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_config()
437 static void t7xx_dpmaif_pcie_dpmaif_sign(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_pcie_dpmaif_sign()
442 static void t7xx_dpmaif_dl_performance(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_performance()
457 static void t7xx_dpmaif_hw_hpc_cntl_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_hpc_cntl_set()
467 static void t7xx_dpmaif_hw_agg_cfg_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_agg_cfg_set()
475 static void t7xx_dpmaif_hw_hash_bit_choose_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_hash_bit_choose_set()
481 static void t7xx_dpmaif_hw_mid_pit_timeout_thres_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_mid_pit_timeout_thres_set()
486 static void t7xx_dpmaif_hw_dlq_timeout_thres_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_dlq_timeout_thres_set()
500 static void t7xx_dpmaif_hw_dlq_start_prs_thres_set(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_dlq_start_prs_thres_set()
505 static void t7xx_dpmaif_dl_dlq_hpc_hw_init(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_dlq_hpc_hw_init()
515 static int t7xx_dpmaif_dl_bat_init_done(struct dpmaif_hw_info *hw_info, bool frg_en) in t7xx_dpmaif_dl_bat_init_done()
545 static void t7xx_dpmaif_dl_set_bat_base_addr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dl_set_bat_base_addr()
552 static void t7xx_dpmaif_dl_set_bat_size(struct dpmaif_hw_info *hw_info, unsigned int size) in t7xx_dpmaif_dl_set_bat_size()
562 static void t7xx_dpmaif_dl_bat_en(struct dpmaif_hw_info *hw_info, bool enable) in t7xx_dpmaif_dl_bat_en()
576 static void t7xx_dpmaif_dl_set_ao_bid_maxcnt(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_bid_maxcnt()
586 static void t7xx_dpmaif_dl_set_ao_mtu(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_mtu()
591 static void t7xx_dpmaif_dl_set_ao_pit_chknum(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_pit_chknum()
601 static void t7xx_dpmaif_dl_set_ao_remain_minsz(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_remain_minsz()
612 static void t7xx_dpmaif_dl_set_ao_bat_bufsz(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_bat_bufsz()
623 static void t7xx_dpmaif_dl_set_ao_bat_rsv_length(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_bat_rsv_length()
633 static void t7xx_dpmaif_dl_set_pkt_alignment(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_pkt_alignment()
643 static void t7xx_dpmaif_dl_set_pkt_checksum(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_pkt_checksum()
652 static void t7xx_dpmaif_dl_set_ao_frg_check_thres(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_frg_check_thres()
662 static void t7xx_dpmaif_dl_set_ao_frg_bufsz(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_frg_bufsz()
673 static void t7xx_dpmaif_dl_frg_ao_en(struct dpmaif_hw_info *hw_info, bool enable) in t7xx_dpmaif_dl_frg_ao_en()
687 static void t7xx_dpmaif_dl_set_ao_bat_check_thres(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_ao_bat_check_thres()
697 static void t7xx_dpmaif_dl_set_pit_seqnum(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_set_pit_seqnum()
707 static void t7xx_dpmaif_dl_set_dlq_pit_base_addr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dl_set_dlq_pit_base_addr()
714 static void t7xx_dpmaif_dl_set_dlq_pit_size(struct dpmaif_hw_info *hw_info, unsigned int size) in t7xx_dpmaif_dl_set_dlq_pit_size()
728 static void t7xx_dpmaif_dl_dlq_pit_en(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_dlq_pit_en()
737 static void t7xx_dpmaif_dl_dlq_pit_init_done(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dl_dlq_pit_init_done()
766 static void t7xx_dpmaif_config_dlq_pit_hw(struct dpmaif_hw_info *hw_info, unsigned int q_num, in t7xx_dpmaif_config_dlq_pit_hw()
775 static void t7xx_dpmaif_config_all_dlq_hw(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_config_all_dlq_hw()
783 static void t7xx_dpmaif_dl_all_q_en(struct dpmaif_hw_info *hw_info, bool enable) in t7xx_dpmaif_dl_all_q_en()
813 static int t7xx_dpmaif_config_dlq_hw(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_config_dlq_hw()
860 static void t7xx_dpmaif_ul_update_drb_size(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_ul_update_drb_size()
871 static void t7xx_dpmaif_ul_update_drb_base_addr(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_ul_update_drb_base_addr()
878 static void t7xx_dpmaif_ul_rdy_en(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_ul_rdy_en()
893 static void t7xx_dpmaif_ul_arb_en(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_ul_arb_en()
908 static void t7xx_dpmaif_config_ulq_hw(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_config_ulq_hw()
927 static int t7xx_dpmaif_hw_init_done(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_init_done()
947 static bool t7xx_dpmaif_dl_idle_check(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_dl_idle_check()
954 static void t7xx_dpmaif_ul_all_q_en(struct dpmaif_hw_info *hw_info, bool enable) in t7xx_dpmaif_ul_all_q_en()
966 static bool t7xx_dpmaif_ul_idle_check(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_ul_idle_check()
973 void t7xx_dpmaif_ul_update_hw_drb_cnt(struct dpmaif_hw_info *hw_info, unsigned int q_num, in t7xx_dpmaif_ul_update_hw_drb_cnt()
999 unsigned int t7xx_dpmaif_ul_get_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_ul_get_rd_idx()
1006 int t7xx_dpmaif_dlq_add_pit_remain_cnt(struct dpmaif_hw_info *hw_info, unsigned int dlq_pit_idx, in t7xx_dpmaif_dlq_add_pit_remain_cnt()
1036 unsigned int t7xx_dpmaif_dl_dlq_pit_get_wr_idx(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_dl_dlq_pit_get_wr_idx()
1046 static int t7xx_dl_add_timedout(struct dpmaif_hw_info *hw_info) in t7xx_dl_add_timedout()
1055 int t7xx_dpmaif_dl_snd_hw_bat_cnt(struct dpmaif_hw_info *hw_info, unsigned int bat_entry_cnt) in t7xx_dpmaif_dl_snd_hw_bat_cnt()
1076 unsigned int t7xx_dpmaif_dl_get_bat_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_dl_get_bat_rd_idx()
1084 unsigned int t7xx_dpmaif_dl_get_bat_wr_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_dl_get_bat_wr_idx()
1092 int t7xx_dpmaif_dl_snd_hw_frg_cnt(struct dpmaif_hw_info *hw_info, unsigned int frg_entry_cnt) in t7xx_dpmaif_dl_snd_hw_frg_cnt()
1113 unsigned int t7xx_dpmaif_dl_get_frg_rd_idx(struct dpmaif_hw_info *hw_info, unsigned int q_num) in t7xx_dpmaif_dl_get_frg_rd_idx()
1121 static void t7xx_dpmaif_set_queue_property(struct dpmaif_hw_info *hw_info, in t7xx_dpmaif_set_queue_property()
1158 int t7xx_dpmaif_hw_stop_all_txq(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_stop_all_txq()
1187 int t7xx_dpmaif_hw_stop_all_rxq(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_hw_stop_all_rxq()
1217 void t7xx_dpmaif_start_hw(struct dpmaif_hw_info *hw_info) in t7xx_dpmaif_start_hw()
1234 int t7xx_dpmaif_hw_init(struct dpmaif_hw_info *hw_info, struct dpmaif_hw_params *init_param) in t7xx_dpmaif_hw_init()
1269 bool t7xx_dpmaif_ul_clr_done(struct dpmaif_hw_info *hw_info, unsigned int qno) in t7xx_dpmaif_ul_clr_done()