Searched refs:bat_req (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/drivers/net/wwan/t7xx/ |
A D | t7xx_hif_dpmaif_rx.c | 84 struct dpmaif_bat_request *bat_req = rxq->bat_req; in t7xx_dpmaif_update_bat_wr_idx() local 330 bat_req->bat_release_rd_idx, bat_req->bat_wr_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() 496 return bat_req->bat_size_cnt - bat_req->bat_release_rd_idx + zero_index; in t7xx_dpmaif_avail_pkt_bat_cnt() 515 bat = rxq->bat_req; in t7xx_dpmaif_release_bat_entry() 920 if (bat_req->bat_base) in t7xx_dpmaif_base_free() 923 bat_req->bat_base, bat_req->bat_bus_addr); in t7xx_dpmaif_base_free() 970 bat_req->bat_bitmap = bitmap_zalloc(bat_req->bat_size_cnt, GFP_KERNEL); in t7xx_dpmaif_bat_alloc() 986 if (!bat_req || !atomic_dec_and_test(&bat_req->refcnt)) in t7xx_dpmaif_bat_free() 1022 rxq->bat_req = &rxq->dpmaif_ctrl->bat_req; in t7xx_dpmaif_rx_alloc() [all …]
|
A D | t7xx_hif_dpmaif_rx.h | 102 const struct dpmaif_bat_request *bat_req, 105 int t7xx_dpmaif_rx_frag_alloc(struct dpmaif_ctrl *dpmaif_ctrl, struct dpmaif_bat_request *bat_req, 111 int t7xx_dpmaif_bat_alloc(const struct dpmaif_ctrl *dpmaif_ctrl, struct dpmaif_bat_request *bat_req, 114 struct dpmaif_bat_request *bat_req);
|
A D | t7xx_hif_dpmaif.c | 214 ret = t7xx_dpmaif_bat_alloc(dpmaif_ctrl, &dpmaif_ctrl->bat_req, BAT_TYPE_NORMAL); in t7xx_dpmaif_rxtx_sw_allocs() 274 t7xx_dpmaif_bat_free(dpmaif_ctrl, &dpmaif_ctrl->bat_req); in t7xx_dpmaif_rxtx_sw_allocs() 317 rxq->budget = rxq->bat_req->bat_size_cnt - 1; in t7xx_dpmaif_start() 319 hw_init_para.pkt_bat_base_addr[i] = rxq->bat_req->bat_bus_addr; in t7xx_dpmaif_start() 320 hw_init_para.pkt_bat_size_cnt[i] = rxq->bat_req->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() 329 ret = t7xx_dpmaif_rx_buf_alloc(dpmaif_ctrl, &dpmaif_ctrl->bat_req, 0, buf_cnt, true); 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() 375 t7xx_dpmaif_bat_free(rxq->dpmaif_ctrl, rxq->bat_req); in t7xx_dpmaif_start()
|
A D | t7xx_hif_dpmaif.h | 110 struct dpmaif_bat_request *bat_req; member 183 struct dpmaif_bat_request bat_req; member
|
Completed in 11 milliseconds