GRF_BIT 82 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(6)) GRF_BIT 84 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define PX30_GMAC_SPEED_100M GRF_BIT(2) GRF_BIT 140 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_TXCLK_DLY_ENABLE GRF_BIT(14) GRF_BIT 142 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15) GRF_BIT 149 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_BIT(6) | GRF_CLR_BIT(7) | GRF_CLR_BIT(8)) GRF_BIT 151 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_CLR_BIT(6) | GRF_CLR_BIT(7) | GRF_BIT(8)) GRF_BIT 152 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_FLOW_CTRL GRF_BIT(9) GRF_BIT 155 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_SPEED_100M GRF_BIT(10) GRF_BIT 156 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_RMII_CLK_25M GRF_BIT(11) GRF_BIT 159 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_CLK_25M (GRF_BIT(12) | GRF_BIT(13)) GRF_BIT 160 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_CLK_2_5M (GRF_CLR_BIT(12) | GRF_BIT(13)) GRF_BIT 161 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3128_GMAC_RMII_MODE GRF_BIT(14) GRF_BIT 258 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_BIT(4) | GRF_CLR_BIT(5) | GRF_CLR_BIT(6)) GRF_BIT 260 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_CLR_BIT(4) | GRF_CLR_BIT(5) | GRF_BIT(6)) GRF_BIT 261 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_FLOW_CTRL GRF_BIT(3) GRF_BIT 264 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_SPEED_100M GRF_BIT(2) GRF_BIT 265 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_RMII_CLK_25M GRF_BIT(7) GRF_BIT 268 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_CLK_25M (GRF_BIT(8) | GRF_BIT(9)) GRF_BIT 269 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_CLK_2_5M (GRF_CLR_BIT(8) | GRF_BIT(9)) GRF_BIT 270 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_RMII_MODE GRF_BIT(10) GRF_BIT 272 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_TXCLK_DLY_ENABLE GRF_BIT(0) GRF_BIT 274 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GMAC_RXCLK_DLY_ENABLE GRF_BIT(1) GRF_BIT 278 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3228_GRF_CON_MUX_GMAC_INTEGRATED_PHY GRF_BIT(15) GRF_BIT 314 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c regmap_write(bsp_priv->grf, RK3228_GRF_MAC_CON1, GRF_BIT(11)); GRF_BIT 378 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(6) | GRF_CLR_BIT(7) | \ GRF_BIT 381 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(8)) GRF_BIT 382 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_FLOW_CTRL GRF_BIT(9) GRF_BIT 385 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_SPEED_100M GRF_BIT(10) GRF_BIT 386 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_RMII_CLK_25M GRF_BIT(11) GRF_BIT 389 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_CLK_25M (GRF_BIT(12) | GRF_BIT(13)) GRF_BIT 390 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_CLK_2_5M (GRF_CLR_BIT(12) | GRF_BIT(13)) GRF_BIT 391 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_RMII_MODE GRF_BIT(14) GRF_BIT 395 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_TXCLK_DLY_ENABLE GRF_BIT(14) GRF_BIT 397 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3288_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15) GRF_BIT 496 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_BIT(4) | GRF_CLR_BIT(5) | GRF_CLR_BIT(6)) GRF_BIT 498 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c (GRF_CLR_BIT(4) | GRF_CLR_BIT(5) | GRF_BIT(6)) GRF_BIT 499 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_FLOW_CTRL GRF_BIT(3) GRF_BIT 502 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_SPEED_100M GRF_BIT(2) GRF_BIT 503 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_RMII_CLK_25M GRF_BIT(7) GRF_BIT 506 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_CLK_25M (GRF_BIT(11) | GRF_BIT(12)) GRF_BIT 507 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_CLK_2_5M (GRF_CLR_BIT(11) | GRF_BIT(12)) GRF_BIT 508 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_RMII_MODE GRF_BIT(9) GRF_BIT 510 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_TXCLK_DLY_ENABLE GRF_BIT(0) GRF_BIT 512 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_GMAC_RXCLK_DLY_ENABLE GRF_BIT(1) GRF_BIT 516 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3328_MACPHY_RMII_MODE GRF_BIT(9) GRF_BIT 622 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(9) | GRF_CLR_BIT(10) | \ GRF_BIT 625 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(11)) GRF_BIT 626 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_FLOW_CTRL GRF_BIT(8) GRF_BIT 629 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_SPEED_100M GRF_BIT(7) GRF_BIT 630 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_RMII_CLK_25M GRF_BIT(3) GRF_BIT 633 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_CLK_25M (GRF_BIT(4) | GRF_BIT(5)) GRF_BIT 634 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_CLK_2_5M (GRF_CLR_BIT(4) | GRF_BIT(5)) GRF_BIT 635 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_RMII_MODE GRF_BIT(6) GRF_BIT 639 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_TXCLK_DLY_ENABLE GRF_BIT(7) GRF_BIT 641 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3366_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15) GRF_BIT 733 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(9) | GRF_CLR_BIT(10) | \ GRF_BIT 736 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(11)) GRF_BIT 737 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_FLOW_CTRL GRF_BIT(8) GRF_BIT 740 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_SPEED_100M GRF_BIT(7) GRF_BIT 741 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_RMII_CLK_25M GRF_BIT(3) GRF_BIT 744 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_CLK_25M (GRF_BIT(4) | GRF_BIT(5)) GRF_BIT 745 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_CLK_2_5M (GRF_CLR_BIT(4) | GRF_BIT(5)) GRF_BIT 746 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_RMII_MODE GRF_BIT(6) GRF_BIT 750 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_TXCLK_DLY_ENABLE GRF_BIT(7) GRF_BIT 752 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3368_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15) GRF_BIT 844 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_PHY_INTF_SEL_RGMII (GRF_BIT(9) | GRF_CLR_BIT(10) | \ GRF_BIT 847 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(11)) GRF_BIT 848 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_FLOW_CTRL GRF_BIT(8) GRF_BIT 851 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_SPEED_100M GRF_BIT(7) GRF_BIT 852 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_RMII_CLK_25M GRF_BIT(3) GRF_BIT 855 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_CLK_25M (GRF_BIT(4) | GRF_BIT(5)) GRF_BIT 856 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_CLK_2_5M (GRF_CLR_BIT(4) | GRF_BIT(5)) GRF_BIT 857 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_RMII_MODE GRF_BIT(6) GRF_BIT 861 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_TXCLK_DLY_ENABLE GRF_BIT(7) GRF_BIT 863 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK3399_GMAC_RXCLK_DLY_ENABLE GRF_BIT(15) GRF_BIT 955 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c GRF_BIT(6)) GRF_BIT 956 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RV1108_GMAC_FLOW_CTRL GRF_BIT(3) GRF_BIT 959 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RV1108_GMAC_SPEED_100M GRF_BIT(2) GRF_BIT 960 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RV1108_GMAC_RMII_CLK_25M GRF_BIT(7) GRF_BIT 1008 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK_MACPHY_ENABLE GRF_BIT(0) GRF_BIT 1010 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK_MACPHY_CFG_CLK_50M GRF_BIT(14) GRF_BIT 1011 drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c #define RK_GMAC2PHY_RMII_MODE (GRF_BIT(6) | GRF_CLR_BIT(7))