Searched refs:ADV_RAW_CMP (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnge/ |
| H A D | bnge_txrx.h | 107 #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 D | bnge_txrx.c | 63 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 D | bnxt.h | 870 #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 D | bnxt.c | 1066 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()
|