Home
last modified time | relevance | path

Searched refs:cur_bat_idx (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif_rx.c222 unsigned int cur_bat_idx = bat_start_idx + i; in t7xx_dpmaif_rx_buf_alloc() local
226 if (cur_bat_idx >= bat_max_cnt) in t7xx_dpmaif_rx_buf_alloc()
227 cur_bat_idx -= bat_max_cnt; in t7xx_dpmaif_rx_buf_alloc()
229 cur_skb = (struct dpmaif_bat_skb *)bat_req->bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()
234 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; in t7xx_dpmaif_rx_buf_alloc()
358 unsigned int buf_space, cur_bat_idx = bat_req->bat_wr_idx; in t7xx_dpmaif_rx_frag_alloc() local
375 struct dpmaif_bat_page *cur_page = bat_skb + cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()
406 cur_bat = (struct dpmaif_bat *)bat_req->bat_base + cur_bat_idx; 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()
412 bat_req->bat_wr_idx = cur_bat_idx; in t7xx_dpmaif_rx_frag_alloc()