Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/wwan/t7xx/
A Dt7xx_hif_dpmaif_tx.c55 unsigned int old_sw_rd_idx, new_hw_rd_idx, drb_cnt; in t7xx_dpmaif_update_drb_rd_idx() local
62 new_hw_rd_idx = t7xx_dpmaif_ul_get_rd_idx(&dpmaif_ctrl->hw_info, q_num); in t7xx_dpmaif_update_drb_rd_idx()
63 if (new_hw_rd_idx >= DPMAIF_DRB_LIST_LEN) { in t7xx_dpmaif_update_drb_rd_idx()
64 dev_err(dpmaif_ctrl->dev, "Out of range read index: %u\n", new_hw_rd_idx); in t7xx_dpmaif_update_drb_rd_idx()
68 if (old_sw_rd_idx <= new_hw_rd_idx) in t7xx_dpmaif_update_drb_rd_idx()
69 drb_cnt = new_hw_rd_idx - old_sw_rd_idx; in t7xx_dpmaif_update_drb_rd_idx()
71 drb_cnt = txq->drb_size_cnt - old_sw_rd_idx + new_hw_rd_idx; in t7xx_dpmaif_update_drb_rd_idx()
74 txq->drb_rd_idx = new_hw_rd_idx; in t7xx_dpmaif_update_drb_rd_idx()

Completed in 5 milliseconds