Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/broadcom/bnge/
H A Dbnge_txrx.h107 #define ADV_RAW_CMP(idx, n) ((idx) + (n)) macro
108 #define NEXT_RAW_CMP(idx) ADV_RAW_CMP(idx, 1)
110 #define NEXT_CMP(bn, idx) RING_CMP(bn, ADV_RAW_CMP(idx, 1))
H A Dbnge_txrx.c63 cp_cons = RING_CMP(bn, ADV_RAW_CMP(cp_cons, curr)); in bnge_get_agg()
133 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnge_agg_bufs_valid()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h870 #define ADV_RAW_CMP(idx, n) ((idx) + (n)) macro
871 #define NEXT_RAW_CMP(idx) ADV_RAW_CMP(idx, 1)
873 #define NEXT_CMP(idx) RING_CMP(ADV_RAW_CMP(idx, 1))
H A Dbnxt.c1066 cp_cons = RING_CMP(ADV_RAW_CMP(cp_cons, curr)); in bnxt_get_agg()
1383 *raw_cons = ADV_RAW_CMP(*raw_cons, agg_bufs); in bnxt_agg_bufs_valid()