Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.h15 #define PPS_MAXIDX(x) ((((x) + 1) * 8) - 1) macro
17 #define PPSx_MASK(x) GENMASK(PPS_MAXIDX(x), PPS_MINIDX(x))
18 #define MCGRENx(x) BIT(PPS_MAXIDX(x))
20 GENMASK(PPS_MAXIDX(x) - 1, PPS_MAXIDX(x) - 2) & \
21 ((val) << (PPS_MAXIDX(x) - 2))