Home
last modified time | relevance | path

Searched refs:bat_req (Results 1 - 4 of 4) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_rx.c84 struct dpmaif_bat_request *bat_req = rxq->bat_req; in t7xx_dpmaif_update_bat_wr_idx() local
92 old_rl_idx = bat_req->bat_release_rd_idx; in t7xx_dpmaif_update_bat_wr_idx()
93 old_wr_idx = bat_req->bat_wr_idx; in t7xx_dpmaif_update_bat_wr_idx()
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()
105 bat_req->bat_wr_idx = new_wr_idx; in t7xx_dpmaif_update_bat_wr_idx()
152 * @bat_req: Pointer to BAT request structure.
165 const struct dpmaif_bat_request *bat_req, in t7xx_dpmaif_rx_buf_alloc()
172 if (!buf_cnt || buf_cnt > bat_req in t7xx_dpmaif_rx_buf_alloc()
164 t7xx_dpmaif_rx_buf_alloc(struct dpmaif_ctrl *dpmaif_ctrl, const struct dpmaif_bat_request *bat_req, const unsigned int q_num, const unsigned int buf_cnt, const bool initial) t7xx_dpmaif_rx_buf_alloc() argument
266 t7xx_dpmaif_set_bat_mask(struct dpmaif_bat_request *bat_req, unsigned int idx) t7xx_dpmaif_set_bat_mask() argument
319 t7xx_dpmaif_rx_frag_alloc(struct dpmaif_ctrl *dpmaif_ctrl, struct dpmaif_bat_request *bat_req, const unsigned int buf_cnt, const bool initial) t7xx_dpmaif_rx_frag_alloc() argument
478 t7xx_dpmaif_avail_pkt_bat_cnt(struct dpmaif_bat_request *bat_req) t7xx_dpmaif_avail_pkt_bat_cnt() argument
917 t7xx_dpmaif_base_free(const struct dpmaif_ctrl *dpmaif_ctrl, const struct dpmaif_bat_request *bat_req) t7xx_dpmaif_base_free() argument
939 t7xx_dpmaif_bat_alloc(const struct dpmaif_ctrl *dpmaif_ctrl, struct dpmaif_bat_request *bat_req, const enum bat_type buf_type) t7xx_dpmaif_bat_alloc() argument
984 t7xx_dpmaif_bat_free(const struct dpmaif_ctrl *dpmaif_ctrl, struct dpmaif_bat_request *bat_req) t7xx_dpmaif_bat_free() argument
[all...]
H A Dt7xx_hif_dpmaif.c214 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 in t7xx_dpmaif_start()
[all...]
H A Dt7xx_hif_dpmaif_rx.h102 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);
H A Dt7xx_hif_dpmaif.h110 struct dpmaif_bat_request *bat_req; member
183 struct dpmaif_bat_request bat_req; member

Completed in 3 milliseconds