Searched refs:bat_size_cnt (Results 1 – 5 of 5) sorted by relevance
99 if (new_wr_idx >= bat_req->bat_size_cnt) { in t7xx_dpmaif_update_bat_wr_idx()100 new_wr_idx -= bat_req->bat_size_cnt; in t7xx_dpmaif_update_bat_wr_idx()172 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_buf_alloc()176 bat_max_cnt = bat_req->bat_size_cnt; in t7xx_dpmaif_rx_buf_alloc()326 if (!buf_cnt || buf_cnt > bat_req->bat_size_cnt) in t7xx_dpmaif_rx_frag_alloc()329 buf_space = t7xx_ring_buf_rd_wr_count(bat_req->bat_size_cnt, in t7xx_dpmaif_rx_frag_alloc()373 cur_bat_idx = t7xx_ring_buf_get_next_wr_idx(bat_req->bat_size_cnt, cur_bat_idx); in t7xx_dpmaif_rx_frag_alloc()485 zero_index = find_next_zero_bit(bat_req->bat_bitmap, bat_req->bat_size_cnt, in t7xx_dpmaif_avail_pkt_bat_cnt()488 if (zero_index < bat_req->bat_size_cnt) { in t7xx_dpmaif_avail_pkt_bat_cnt()496 return bat_req->bat_size_cnt - bat_req->bat_release_rd_idx + zero_index; in t7xx_dpmaif_avail_pkt_bat_cnt()[all …]
317 rxq->budget = rxq->bat_req->bat_size_cnt - 1; in t7xx_dpmaif_start()320 hw_init_para.pkt_bat_size_cnt[i] = rxq->bat_req->bat_size_cnt; in t7xx_dpmaif_start()324 hw_init_para.frg_bat_size_cnt[i] = rxq->bat_frag->bat_size_cnt; in t7xx_dpmaif_start()327 bitmap_zero(dpmaif_ctrl->bat_req.bat_bitmap, dpmaif_ctrl->bat_req.bat_size_cnt); in t7xx_dpmaif_start()328 buf_cnt = dpmaif_ctrl->bat_req.bat_size_cnt - 1; in t7xx_dpmaif_start()335 buf_cnt = dpmaif_ctrl->bat_frag.bat_size_cnt - 1; in t7xx_dpmaif_start()356 ret = t7xx_dpmaif_dl_snd_hw_bat_cnt(hw_info, rxq->bat_req->bat_size_cnt - 1); in t7xx_dpmaif_start()360 ret = t7xx_dpmaif_dl_snd_hw_frg_cnt(hw_info, rxq->bat_frag->bat_size_cnt - 1); in t7xx_dpmaif_start()
86 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()