Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/stmicro/stmmac/
H A 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))
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-pps.c15 return GENMASK(PPS_MAXIDX(x), PPS_MINIDX(x)); in get_pps_mask()
25 return (val & GENMASK(1, 0)) << (PPS_MAXIDX(x) - 2); in get_target_mode_sel()
H A Dxgbe-common.h248 #define PPS_MAXIDX(x) ((((x) + 1) * 8) - 1) macro