Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Ddwmac5.h24 #define PPS_MAXIDX(x) ((((x) + 1) * 8) - 1) macro
26 #define PPSx_MASK(x) GENMASK(PPS_MAXIDX(x), PPS_MINIDX(x))
27 #define MCGRENx(x) BIT(PPS_MAXIDX(x))
29 GENMASK(PPS_MAXIDX(x) - 1, PPS_MAXIDX(x) - 2) & \
30 ((val) << (PPS_MAXIDX(x) - 2))