Home
last modified time | relevance | path

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

/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_wq.c745 int curr_pg, end_pg, num_wqebbs; in hinic_get_wqe() local
766 curr_pg = WQE_PAGE_NUM(wq, curr_prod_idx); in hinic_get_wqe()
771 if (curr_pg != end_pg) { in hinic_get_wqe()
772 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_get_wqe()
776 wq->shadow_idx[curr_pg] = *prod_idx; in hinic_get_wqe()
826 int curr_pg, end_pg; in hinic_read_wqe() local
836 curr_pg = WQE_PAGE_NUM(wq, curr_cons_idx); in hinic_read_wqe()
841 if (curr_pg != end_pg) { in hinic_read_wqe()
842 void *shadow_addr = &wq->shadow_wqe[curr_pg * wq->max_wqe_size]; in hinic_read_wqe()
887 int curr_pg, num_wqebbs; in hinic_write_wqe() local
[all …]