Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/apm/xgene/
Dxgene_enet_hw.c20 CREATE_MASK(SELTHRSH_POS, SELTHRSH_LEN); in xgene_enet_ring_init()
30 CREATE_MASK(RINGSIZE_POS, RINGSIZE_LEN); in xgene_enet_ring_init()
42 CREATE_MASK(RINGTYPE_POS, RINGTYPE_LEN); in xgene_enet_ring_set_type()
46 CREATE_MASK(RINGMODE_POS, RINGMODE_LEN); in xgene_enet_ring_set_type()
56 CREATE_MASK(RECOMTIMEOUTL_POS, RECOMTIMEOUTL_LEN); in xgene_enet_ring_set_recombbuf()
57 ring_cfg[4] |= 0x7 & CREATE_MASK(RECOMTIMEOUTH_POS, RECOMTIMEOUTH_LEN); in xgene_enet_ring_set_recombbuf()
Dxgene_enet_hw.h61 #define CREATE_MASK(pos, len) GENMASK((pos)+(len)-1, (pos)) macro