Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_prs.c279 int ai_shift = MVPP2_BIT_IN_WORD(MVPP2_PRS_SRAM_AI_OFFS); in mvpp2_prs_sram_ai_get() local
281 bits = (pe->sram[ai_off] >> ai_shift) | in mvpp2_prs_sram_ai_get()
282 (pe->sram[ai_off + 1] << (32 - ai_shift)); in mvpp2_prs_sram_ai_get()
/openbmc/u-boot/drivers/net/
H A Dmvpp2.c1608 int ai_shift = MVPP2_PRS_SRAM_AI_OFFS % 8; in mvpp2_prs_sram_ai_get() local
1610 bits = (pe->sram.byte[ai_off] >> ai_shift) | in mvpp2_prs_sram_ai_get()
1611 (pe->sram.byte[ai_en_off] << (8 - ai_shift)); in mvpp2_prs_sram_ai_get()