Home
last modified time | relevance | path

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

/linux/drivers/phy/
H A Dphy-common-props-test.c27 KUNIT_EXPECT_EQ(test, val, PHY_POL_NORMAL); in phy_test_rx_polarity_is_missing()
35 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT, PHY_POL_NORMAL }; in phy_test_rx_polarity_more_values_than_names()
80 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT }; in phy_test_rx_polarity_more_names_than_values()
103 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT, PHY_POL_AUTO }; in phy_test_rx_polarity_find_by_name()
119 KUNIT_EXPECT_EQ(test, val, PHY_POL_NORMAL); in phy_test_rx_polarity_find_by_name()
136 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT }; in phy_test_rx_polarity_name_not_found_no_default()
159 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT }; in phy_test_rx_polarity_name_not_found_with_default()
218 KUNIT_EXPECT_EQ(test, val, PHY_POL_NORMAL); in phy_test_tx_polarity_is_missing()
226 static const u32 tx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT, PHY_POL_NORMAL }; in phy_test_tx_polarity_more_values_than_names()
271 static const u32 tx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT }; in phy_test_tx_polarity_more_names_than_values()
[all …]
H A Dphy-common-props.c186 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in phy_get_manual_rx_polarity()
187 PHY_POL_NORMAL, val); in phy_get_manual_rx_polarity()
206 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in phy_get_manual_tx_polarity()
207 PHY_POL_NORMAL, val); in phy_get_manual_tx_polarity()
/linux/drivers/net/pcs/
H A Dpcs-mtk-lynxi.c128 unsigned int pol, default_pol = PHY_POL_NORMAL; in mtk_pcs_config_polarity()
138 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in mtk_pcs_config_polarity()
148 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in mtk_pcs_config_polarity()
/linux/include/dt-bindings/phy/
H A Dphy.h28 #define PHY_POL_NORMAL 0 macro
/linux/drivers/net/phy/
H A Dair_en8811h.c1264 if (pol == PHY_POL_NORMAL) in an8811hb_config_serdes_polarity()
1277 if (pol == PHY_POL_NORMAL) in an8811hb_config_serdes_polarity()
1291 default_pol = PHY_POL_NORMAL; in en8811h_config_serdes_polarity()
1296 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in en8811h_config_serdes_polarity()
1303 default_pol = PHY_POL_NORMAL; in en8811h_config_serdes_polarity()
1308 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in en8811h_config_serdes_polarity()
1312 if (pol == PHY_POL_NORMAL) in en8811h_config_serdes_polarity()
/linux/drivers/net/dsa/lantiq/
H A Dmxl-gsw1xx.c283 if (pol == PHY_POL_NORMAL) in gsw1xx_pcs_reset()