Home
last modified time | relevance | path

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

/linux/drivers/phy/
H A Dphy-common-props-test.c35 static const u32 rx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT, PHY_POL_NORMAL }; in phy_test_rx_polarity_more_values_than_names()
58 static const u32 rx_pol[] = { PHY_POL_INVERT }; in phy_test_rx_polarity_single_value_no_names()
72 KUNIT_EXPECT_EQ(test, val, PHY_POL_INVERT); in phy_test_rx_polarity_single_value_no_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()
123 KUNIT_EXPECT_EQ(test, val, PHY_POL_INVERT); 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()
175 KUNIT_EXPECT_EQ(test, val, PHY_POL_INVERT); in phy_test_rx_polarity_name_not_found_with_default()
226 static const u32 tx_pol[] = { PHY_POL_NORMAL, PHY_POL_INVERT, PHY_POL_NORMAL }; in phy_test_tx_polarity_more_values_than_names()
[all …]
H A Dphy-common-props.c186 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in phy_get_manual_rx_polarity()
206 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in phy_get_manual_tx_polarity()
/linux/drivers/net/pcs/
H A Dpcs-mtk-lynxi.c133 default_pol = PHY_POL_INVERT; in mtk_pcs_config_polarity()
138 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in mtk_pcs_config_polarity()
144 if (pol == PHY_POL_INVERT) in mtk_pcs_config_polarity()
148 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in mtk_pcs_config_polarity()
153 if (pol == PHY_POL_INVERT) in mtk_pcs_config_polarity()
/linux/include/dt-bindings/phy/
H A Dphy.h29 #define PHY_POL_INVERT 1 macro
/linux/drivers/net/phy/
H A Dair_en8811h.c1293 default_pol = PHY_POL_INVERT; in en8811h_config_serdes_polarity()
1296 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in en8811h_config_serdes_polarity()
1300 if (pol == PHY_POL_INVERT) in en8811h_config_serdes_polarity()
1305 default_pol = PHY_POL_INVERT; in en8811h_config_serdes_polarity()
1308 BIT(PHY_POL_NORMAL) | BIT(PHY_POL_INVERT), in en8811h_config_serdes_polarity()
/linux/drivers/net/dsa/lantiq/
H A Dmxl-gsw1xx.c298 if (pol == PHY_POL_INVERT) in gsw1xx_pcs_reset()