Searched refs:bat_size_cnt (Results 1 – 5 of 5) sorted by relevance
135 if (new_wr_idx >= bat_req->bat_size_cnt) { in t7xx_dpmaif_update_bat_wr_idx()136 new_wr_idx -= bat_req->bat_size_cnt; in t7xx_dpmaif_update_bat_wr_idx()208 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_buf_alloc()212 bat_max_cnt = bat_req->bat_size_cnt; in t7xx_dpmaif_rx_buf_alloc()362 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_frag_alloc()365 buf_space = t7xx_ring_buf_rd_wr_count(bat_req->bat_size_cnt, in t7xx_dpmaif_rx_frag_alloc()409 cur_bat_idx = t7xx_ring_buf_get_next_wr_idx(bat_req->bat_size_cnt, cur_bat_idx); in t7xx_dpmaif_rx_frag_alloc()521 zero_index = find_next_zero_bit(bat_req->bat_bitmap, bat_req->bat_size_cnt, in t7xx_dpmaif_avail_pkt_bat_cnt()524 if (zero_index < bat_req->bat_size_cnt) { in t7xx_dpmaif_avail_pkt_bat_cnt()532 return bat_req->bat_size_cnt - bat_req->bat_release_rd_idx + zero_index; in t7xx_dpmaif_avail_pkt_bat_cnt()[all …]
308 rxq->budget = rxq->bat_req->bat_size_cnt - 1; in t7xx_dpmaif_start()311 hw_init_para.pkt_bat_size_cnt[i] = rxq->bat_req->bat_size_cnt; in t7xx_dpmaif_start()315 hw_init_para.frg_bat_size_cnt[i] = rxq->bat_frag->bat_size_cnt; in t7xx_dpmaif_start()318 bitmap_zero(dpmaif_ctrl->bat_req.bat_bitmap, dpmaif_ctrl->bat_req.bat_size_cnt); in t7xx_dpmaif_start()319 buf_cnt = dpmaif_ctrl->bat_req.bat_size_cnt - 1; in t7xx_dpmaif_start()326 buf_cnt = dpmaif_ctrl->bat_frag.bat_size_cnt - 1; in t7xx_dpmaif_start()347 ret = t7xx_dpmaif_dl_snd_hw_bat_cnt(hw_info, rxq->bat_req->bat_size_cnt - 1); in t7xx_dpmaif_start()351 ret = t7xx_dpmaif_dl_snd_hw_frg_cnt(hw_info, rxq->bat_frag->bat_size_cnt - 1); in t7xx_dpmaif_start()
85 unsigned int bat_size_cnt; member
55 unsigned int bat_size_cnt; member
846 t7xx_dpmaif_dl_set_bat_size(hw_info, dl_que->bat_size_cnt); in t7xx_dpmaif_config_dlq_hw()1131 dl_que->bat_size_cnt = init_para->pkt_bat_size_cnt[i]; in t7xx_dpmaif_set_queue_property()