Searched refs:phy_mode (Results 1 - 25 of 178) sorted by relevance

12345678

/linux-master/drivers/net/ethernet/ti/
H A Dcpsw.h18 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave);
21 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) argument
H A Dcpsw-phy-sel.c35 phy_interface_t phy_mode, int slave);
40 phy_interface_t phy_mode, int slave)
49 switch (phy_mode) {
68 phy_modes(phy_mode));
100 phy_interface_t phy_mode, int slave)
108 switch (phy_mode) {
123 phy_modes(phy_mode));
160 void cpsw_phy_sel(struct device *dev, phy_interface_t phy_mode, int slave) argument
182 priv->cpsw_phy_sel(priv, phy_mode, slave);
39 cpsw_gmii_sel_am3352(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument
99 cpsw_gmii_sel_dra7xx(struct cpsw_phy_sel_priv *priv, phy_interface_t phy_mode, int slave) argument
/linux-master/drivers/net/ethernet/sfc/falcon/
H A Dtenxpress.c144 enum ef4_phy_mode phy_mode; member in struct:tenxpress_phy_data
172 phy_data->phy_mode = efx->phy_mode;
191 if (!(efx->phy_mode & PHY_MODE_SPECIAL)) {
315 efx, !!(efx->phy_mode & PHY_MODE_LOW_POWER),
324 if (efx->phy_mode & (PHY_MODE_OFF | PHY_MODE_SPECIAL)) {
325 phy_data->phy_mode = efx->phy_mode;
329 phy_mode_change = (efx->phy_mode == PHY_MODE_NORMAL &&
330 phy_data->phy_mode !
[all...]
H A Dtxc43128_phy.c158 enum ef4_phy_mode phy_mode; member in struct:txc43128_data
330 phy_data->phy_mode = efx->phy_mode;
364 if (!(efx->phy_mode & PHY_MODE_LOW_POWER))
382 if (!(efx->phy_mode & PHY_MODE_LOW_POWER)) {
398 !!(efx->phy_mode & PHY_MODE_LOW_POWER),
447 enum ef4_phy_mode mode_change = efx->phy_mode ^ phy_data->phy_mode;
450 if (efx->phy_mode & mode_change & PHY_MODE_TX_DISABLED) {
469 phy_data->phy_mode
[all...]
H A Dqt202x_phy.c57 enum ef4_phy_mode phy_mode; member in struct:qt202x_phy_data
347 phy_data->phy_mode = efx->phy_mode;
417 efx->phy_mode & PHY_MODE_TX_DISABLED ||
418 efx->phy_mode & PHY_MODE_LOW_POWER ||
423 if (!(efx->phy_mode & PHY_MODE_TX_DISABLED) &&
424 (phy_data->phy_mode & PHY_MODE_TX_DISABLED))
432 phy_data->phy_mode = efx->phy_mode;
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-anarion.c65 phy_interface_t phy_mode; local
82 err = of_get_phy_mode(pdev->dev.of_node, &phy_mode);
86 switch (phy_mode) {
96 phy_mode);
H A Ddwmac-ipq806x.c112 phy_interface_t phy_mode; member in struct:ipq806x_gmac
172 switch (gmac->phy_mode) {
187 phy_modes(gmac->phy_mode));
216 ret = of_get_phy_mode(dev->of_node, &gmac->phy_mode);
411 switch (gmac->phy_mode) {
426 switch (gmac->phy_mode) {
443 switch (gmac->phy_mode) {
457 if (gmac->phy_mode == PHY_INTERFACE_MODE_SGMII) {
478 phy_modes(gmac->phy_mode));
H A Ddwmac-meson8b.c93 phy_interface_t phy_mode; member in struct:meson8b_dwmac
215 switch (dwmac->phy_mode) {
232 phy_modes(dwmac->phy_mode));
241 switch (dwmac->phy_mode) {
259 phy_modes(dwmac->phy_mode));
300 switch (dwmac->phy_mode) {
318 phy_modes(dwmac->phy_mode));
354 if (phy_interface_mode_is_rgmii(dwmac->phy_mode)) {
420 ret = of_get_phy_mode(pdev->dev.of_node, &dwmac->phy_mode);
H A Ddwmac-loongson.c53 int ret, i, phy_mode; local
105 phy_mode = device_get_phy_mode(&pdev->dev);
106 if (phy_mode < 0) {
107 dev_err(&pdev->dev, "phy_mode not found\n");
108 ret = phy_mode;
112 plat->phy_interface = phy_mode;
H A Ddwmac-mediatek.c84 phy_interface_t phy_mode; member in struct:mediatek_dwmac_plat_data
119 switch (plat->phy_mode) {
146 switch (plat->phy_mode) {
171 switch (plat->phy_mode) {
199 switch (plat->phy_mode) {
298 switch (plat->phy_mode) {
350 switch (plat->phy_mode) {
467 err = of_get_phy_mode(plat->np, &plat->phy_mode);
590 plat->mac_interface = priv_plat->phy_mode;
/linux-master/drivers/usb/core/
H A Dphy.h21 enum phy_mode mode);
/linux-master/drivers/net/ethernet/ibm/emac/
H A Drgmii.c50 static inline int rgmii_valid_mode(int phy_mode) argument
52 return phy_interface_mode_is_rgmii(phy_mode) ||
53 phy_mode == PHY_INTERFACE_MODE_GMII ||
54 phy_mode == PHY_INTERFACE_MODE_MII ||
55 phy_mode == PHY_INTERFACE_MODE_TBI ||
56 phy_mode == PHY_INTERFACE_MODE_RTBI;
/linux-master/include/linux/phy/
H A Dphy.h25 enum phy_mode { enum
89 int (*set_mode)(struct phy *phy, enum phy_mode mode, int submode);
121 int (*validate)(struct phy *phy, enum phy_mode mode, int submode,
143 enum phy_mode mode;
236 int phy_set_mode_ext(struct phy *phy, enum phy_mode mode, int submode);
242 int phy_validate(struct phy *phy, enum phy_mode mode, int submode,
245 static inline enum phy_mode phy_get_mode(struct phy *phy)
362 static inline int phy_set_mode_ext(struct phy *phy, enum phy_mode mode,
387 static inline enum phy_mode phy_get_mode(struct phy *phy)
429 static inline int phy_validate(struct phy *phy, enum phy_mode mod
[all...]
/linux-master/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_ethtool.c116 if (phy_interface_mode_is_rgmii(pdata->phy_mode)) {
123 } else if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) {
170 if (phy_interface_mode_is_rgmii(pdata->phy_mode)) {
177 if (pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) {
230 if (pdata->phy_mode == PHY_INTERFACE_MODE_XGMII) {
296 if (phy_interface_mode_is_rgmii(pdata->phy_mode) ||
297 pdata->phy_mode == PHY_INTERFACE_MODE_SGMII) {
/linux-master/drivers/usb/dwc3/
H A Ddwc3-meson-g12a.c150 enum phy_mode mode);
152 enum phy_mode mode);
163 enum phy_mode mode);
165 enum phy_mode mode);
168 int i, enum phy_mode mode);
170 int i, enum phy_mode mode);
257 enum phy_mode otg_phy_mode;
267 int i, enum phy_mode mode)
273 enum phy_mode mode)
282 int i, enum phy_mode mod
[all...]
/linux-master/drivers/usb/musb/
H A Dmediatek.c49 enum phy_mode phy_mode; member in struct:mtk_glue
78 glue->phy_mode = PHY_MODE_USB_HOST;
89 glue->phy_mode = PHY_MODE_USB_DEVICE;
99 glue->phy_mode = PHY_MODE_USB_OTG;
113 phy_set_mode(glue->phy, glue->phy_mode);
222 enum phy_mode new_mode;
243 if (glue->phy_mode == new_mode)
285 phy_set_mode(glue->phy, glue->phy_mode);
439 glue->phy_mode
[all...]
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c117 phy_interface_t phy_mode; local
127 phy_mode = PHY_INTERFACE_MODE_RGMII_ID;
130 phylink = phylink_create(config, NULL, phy_mode, &ngbe_mac_ops);
/linux-master/drivers/usb/chipidea/
H A Dulpi.c68 if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI)
98 if (ci->platdata->phy_mode != USBPHY_INTERFACE_MODE_ULPI)
/linux-master/include/linux/
H A Dfsl_devices.h78 enum fsl_usb2_phy_modes phy_mode; member in struct:fsl_usb2_platform_data
/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.h38 int phy_mode; member in struct:xge_resource
/linux-master/drivers/phy/intel/
H A Dphy-intel-lgm-combo.c99 enum intel_phy_mode phy_mode; member in struct:intel_combo_phy
108 u32 mask = BIT(cbphy->phy_mode * 2 + iphy->id);
208 mode = cbphy->phy_mode;
340 if (cbphy->phy_mode == PHY_PCIE_MODE) {
362 if (cbphy->phy_mode == PHY_PCIE_MODE) {
383 if (cbphy->phy_mode != PHY_XPCS_MODE)
477 cbphy->phy_mode = PHY_PCIE_MODE;
481 cbphy->phy_mode = PHY_SATA_MODE;
485 cbphy->phy_mode = PHY_XPCS_MODE;
493 cbphy->clk_rate = intel_iphy_clk_rates[cbphy->phy_mode];
[all...]
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dtrace.h231 TP_PROTO(struct mt7601u_dev *dev, u8 phy_mode, s8 freq_off),
232 TP_ARGS(dev, phy_mode, freq_off),
235 __field(u8, phy_mode)
240 __entry->phy_mode = phy_mode;
244 DEV_PR_ARG, __entry->phy_mode, __entry->freq_off)
/linux-master/drivers/phy/starfive/
H A Dphy-jh7110-pcie.c44 enum phy_mode mode;
103 enum phy_mode mode, int submode)
H A Dphy-jh7110-usb.c27 enum phy_mode mode;
45 enum phy_mode mode, int submode)
/linux-master/drivers/staging/octeon/
H A Docteon-ethernet.h64 phy_interface_t phy_mode; member in struct:octeon_ethernet

Completed in 309 milliseconds

12345678