Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wwan/t7xx/
H A Dt7xx_hif_dpmaif_rx.c480 unsigned int zero_index; in t7xx_dpmaif_avail_pkt_bat_cnt() local
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()
490 return zero_index - bat_req->bat_release_rd_idx; in t7xx_dpmaif_avail_pkt_bat_cnt()
494 zero_index = find_first_zero_bit(bat_req->bat_bitmap, bat_req->bat_release_rd_idx); 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()