Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c49 #define MASKED_IDX(chain, idx) ((idx) & ((chain)->num_cells - 1)) macro
153 if (chain->cons_idx == MASKED_IDX(chain, prod_idx + 1)) { in chain_busy()
279 chain->prod_idx = MASKED_IDX(chain, chain->prod_idx + 1); in cmd_chain_prod_idx_inc()