Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.h168 #define PPOD_IDX_SHIFT 6 macro
246 u32 hw_idx = (ddp_tag >> PPOD_IDX_SHIFT) & in cxgbi_ppm_ddp_tag_get_idx()
255 return (hw_idx << PPOD_IDX_SHIFT) | ((u32)color); in cxgbi_ppm_make_ddp_tag()
301 tformat->color_bits = PPOD_IDX_SHIFT; in cxgbi_tagmask_check()
302 tformat->idx_bits = bits - 1 - PPOD_IDX_SHIFT; in cxgbi_tagmask_check()
305 tformat->color_mask = (1 << PPOD_IDX_SHIFT) - 1; in cxgbi_tagmask_check()
H A Dlibcxgb_ppm.c112 if (pdata->color == ((1 << PPOD_IDX_SHIFT) - 1)) in ppm_mark_entries()
524 ppmax, ppmax, bits, 1 << (bits + PPOD_IDX_SHIFT)); in cxgbi_tagmask_set()
526 return 1 << (bits + PPOD_IDX_SHIFT); in cxgbi_tagmask_set()