Searched refs:GRF_BIT (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-rk.c72 #define GRF_BIT(nr) (BIT(nr) | BIT(nr+16)) macro
79 #define RK3288_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(6) | GRF_CLR_BIT(7) | \
82 GRF_BIT(8))
83 #define RK3288_GMAC_FLOW_CTRL GRF_BIT(9)
86 #define RK3288_GMAC_SPEED_100M GRF_BIT(10)
87 #define RK3288_GMAC_RMII_CLK_25M GRF_BIT(11)
90 #define RK3288_GMAC_CLK_25M (GRF_BIT(12) | GRF_BIT(13))
91 #define RK3288_GMAC_CLK_2_5M (GRF_CLR_BIT(12) | GRF_BIT(13))
92 #define RK3288_GMAC_RMII_MODE GRF_BIT(14)
96 #define RK3288_GMAC_TXCLK_DLY_ENABLE GRF_BIT(14)
98 #define RK3288_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15)
191 #define RK3368_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(9) | GRF_CLR_BIT(10) | \
194 GRF_BIT(11))
195 #define RK3368_GMAC_FLOW_CTRL GRF_BIT(8)
198 #define RK3368_GMAC_SPEED_100M GRF_BIT(7)
199 #define RK3368_GMAC_RMII_CLK_25M GRF_BIT(3)
202 #define RK3368_GMAC_CLK_25M (GRF_BIT(4) | GRF_BIT(5))
203 #define RK3368_GMAC_CLK_2_5M (GRF_CLR_BIT(4) | GRF_BIT(5))
204 #define RK3368_GMAC_RMII_MODE GRF_BIT(6)
208 #define RK3368_GMAC_TXCLK_DLY_ENABLE GRF_BIT(7)
210 #define RK3368_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15)

Completed in 147 milliseconds