Home
last modified time | relevance | path

Searched refs:phy_type (Results 1 – 25 of 207) sorted by relevance

123456789

/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Drate.c345 int phy_type; in brcms_c_compute_rspec() local
348 phy_type = in brcms_c_compute_rspec()
351 if ((phy_type == PHY_TYPE_N) || (phy_type == PHY_TYPE_SSN) || in brcms_c_compute_rspec()
352 (phy_type == PHY_TYPE_LCN) || (phy_type == PHY_TYPE_HT)) { in brcms_c_compute_rspec()
381 if ((phy_type == PHY_TYPE_A) || (rxh->PhyRxStatus_0 & PRXS0_OFDM)) in brcms_c_compute_rspec()
443 uint phy_type, int bandtype, bool cck_only, in brcms_c_rateset_default() argument
448 if ((PHYTYPE_IS(phy_type, PHY_TYPE_HT)) || in brcms_c_rateset_default()
449 (PHYTYPE_IS(phy_type, PHY_TYPE_N)) || in brcms_c_rateset_default()
450 (PHYTYPE_IS(phy_type, PHY_TYPE_LCN)) || in brcms_c_rateset_default()
451 (PHYTYPE_IS(phy_type, PHY_TYPE_SSN))) { in brcms_c_rateset_default()
[all …]
/Linux-v4.19/arch/powerpc/platforms/83xx/
Dmpc837x_mds.c33 const void *phy_type, *mode; in mpc837xmds_usb_cfg() local
55 phy_type = of_get_property(np, "phy_type", NULL); in mpc837xmds_usb_cfg()
56 if (phy_type && !strcmp(phy_type, "ulpi")) { in mpc837xmds_usb_cfg()
58 } else if (phy_type && !strcmp(phy_type, "serial")) { in mpc837xmds_usb_cfg()
/Linux-v4.19/drivers/usb/phy/
Dof.c30 const char *phy_type; in of_usb_get_phy_mode() local
33 err = of_property_read_string(np, "phy_type", &phy_type); in of_usb_get_phy_mode()
38 if (!strcmp(phy_type, usbphy_modes[i])) in of_usb_get_phy_mode()
/Linux-v4.19/Documentation/devicetree/bindings/phy/
Dsun9i-usb-phy.txt9 - phy_type : "hsic" for HSIC usage;
12 - clock-names : depending on the "phy_type" property,
16 - reset-names : depending on the "phy_type" property,
25 The driver will only use those matching the phy_type.
Dnvidia,tegra20-usb-phy.txt14 Present if-and-only-if phy_type == utmi.
15 - phy_type : Should be one of "utmi", "ulpi" or "hsic".
21 - timer: The timeout clock (clk_m). Present if phy_type == utmi.
23 Present if phy_type == utmi.
27 Present if phy_type == ulpi, and ULPI link mode is in use.
33 registers. Required even if phy_type == ulpi.
35 Required properties for phy_type == ulpi:
/Linux-v4.19/drivers/usb/host/
Dfsl-mph-dr-of.c59 static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type) in determine_usb_phy() argument
61 if (!phy_type) in determine_usb_phy()
63 if (!strcasecmp(phy_type, "ulpi")) in determine_usb_phy()
65 if (!strcasecmp(phy_type, "utmi")) in determine_usb_phy()
67 if (!strcasecmp(phy_type, "utmi_wide")) in determine_usb_phy()
69 if (!strcasecmp(phy_type, "utmi_dual")) in determine_usb_phy()
71 if (!strcasecmp(phy_type, "serial")) in determine_usb_phy()
/Linux-v4.19/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c86 if (hw->phy_type == ixgb_phy_type_txn17401) in ixgb_mac_reset()
203 ixgb_phy_type phy_type; in ixgb_identify_phy() local
212 phy_type = ixgb_phy_type_txn17401; in ixgb_identify_phy()
222 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy()
225 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy()
230 phy_type = ixgb_phy_type_g6104; in ixgb_identify_phy()
237 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy()
240 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy()
245 phy_type = ixgb_phy_type_unknown; in ixgb_identify_phy()
251 phy_type = ixgb_phy_type_bcm; in ixgb_identify_phy()
[all …]
/Linux-v4.19/drivers/mmc/host/
Dsdhci-xenon-phy.c214 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy()
354 if (priv->phy_type == EMMC_5_1_PHY) in xenon_emmc_phy_enable_dll()
424 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_disable_strobe()
467 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_strobe_delay_adj()
563 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_set()
820 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy()
821 if (priv->phy_type < 0) { in xenon_add_phy()
825 priv->phy_type = EMMC_5_1_PHY; in xenon_add_phy()
837 const char *phy_type = NULL; in xenon_phy_parse_dt() local
839 if (!of_property_read_string(np, "marvell,xenon-phy-type", &phy_type)) in xenon_phy_parse_dt()
[all …]
/Linux-v4.19/drivers/usb/dwc2/
Dparams.c64 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_his_params()
110 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params()
132 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params()
206 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type()
208 hsotg->params.phy_type = val; in dwc2_set_param_phy_type()
215 val = hsotg->params.phy_type == DWC2_PHY_TYPE_PARAM_FS ? in dwc2_set_param_speed()
420 switch (hsotg->params.phy_type) { in dwc2_check_param_phy_type()
446 int phy_type = hsotg->params.phy_type; in dwc2_check_param_speed() local
452 (phy_type == DWC2_PHY_TYPE_PARAM_FS)) in dwc2_check_param_speed()
608 p->phy_type == DWC2_PHY_TYPE_PARAM_FS); in dwc2_check_params()
/Linux-v4.19/drivers/net/ethernet/sun/
Dsungem.c1174 if (gp->phy_type == phy_serialink) in gem_pcs_reinit_adv()
1207 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) in gem_reset()
1269 if (gp->phy_type != phy_mii_mdio0 && in gem_begin_auto_negotiation()
1270 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation()
1363 } else if (gp->phy_type == phy_serialink || in gem_set_link_modes()
1364 gp->phy_type == phy_serdes) { in gem_set_link_modes()
1367 if ((pcs_lpa & PCS_MIIADV_FD) || gp->phy_type == phy_serdes) in gem_set_link_modes()
1391 (gp->phy_type == phy_mii_mdio0 || in gem_set_link_modes()
1392 gp->phy_type == phy_mii_mdio1)) { in gem_set_link_modes()
1420 if (gp->phy_type == phy_serialink || in gem_set_link_modes()
[all …]
Dsungem.h1009 enum gem_phy_type phy_type; member
1025 #define found_mii_phy(gp) ((gp->phy_type == phy_mii_mdio0 || gp->phy_type == phy_mii_mdio1) && \
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dqt202x_phy.c313 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_reset_phy()
377 if (efx->phy_type == PHY_TYPE_QT2025C) in qt202x_phy_init()
397 if (efx->phy_type == PHY_TYPE_QT2025C) in qt202x_phy_poll()
407 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_phy_reconfigure()
466 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_phy_get_module_eeprom()
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000_hw.c102 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type()
109 hw->phy_type = e1000_phy_igp; in e1000_set_phy_type()
112 hw->phy_type = e1000_phy_8211; in e1000_set_phy_type()
115 hw->phy_type = e1000_phy_8201; in e1000_set_phy_type()
119 hw->phy_type = e1000_phy_undefined; in e1000_set_phy_type()
961 switch (hw->phy_type) { in gbe_dhg_phy_setup()
1086 if (hw->phy_type == e1000_phy_igp) { in e1000_copper_link_igp_setup()
1326 if (hw->phy_type == e1000_phy_8201) in e1000_copper_link_autoneg()
1399 if (hw->phy_type == e1000_phy_igp) { in e1000_copper_link_postconfig()
1427 if (hw->phy_type == e1000_phy_igp) { in e1000_setup_copper_link()
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/usb/
Dfsl-usb.txt14 - phy_type : For multi port host USB controllers, should be one of
51 phy_type = "ulpi";
78 phy_type = "utmi_wide";
Dgeneric.txt14 - phy_type: tells USB controllers that we want to configure the core to support
43 phy_type = "utmi_wide";
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dphy.c2227 enum e1000_phy_type phy_type = e1000_phy_unknown; in e1000e_get_phy_type_from_id() local
2234 phy_type = e1000_phy_m88; in e1000e_get_phy_type_from_id()
2237 phy_type = e1000_phy_igp_2; in e1000e_get_phy_type_from_id()
2240 phy_type = e1000_phy_gg82563; in e1000e_get_phy_type_from_id()
2243 phy_type = e1000_phy_igp_3; in e1000e_get_phy_type_from_id()
2248 phy_type = e1000_phy_ife; in e1000e_get_phy_type_from_id()
2252 phy_type = e1000_phy_bm; in e1000e_get_phy_type_from_id()
2255 phy_type = e1000_phy_82578; in e1000e_get_phy_type_from_id()
2258 phy_type = e1000_phy_82577; in e1000e_get_phy_type_from_id()
2261 phy_type = e1000_phy_82579; in e1000e_get_phy_type_from_id()
[all …]
/Linux-v4.19/drivers/net/ethernet/smsc/
Dsmc91x.c882 lp->phy_type = 0; in smc_phy_detect()
903 lp->phy_type = id1 << 16 | id2; in smc_phy_detect()
995 if (lp->phy_type == 0) in smc_phy_powerdown()
1060 if (lp->phy_type == 0) in smc_phy_configure()
1154 if (lp->phy_type == 0) in smc_phy_interrupt()
1364 if (lp->phy_type != 0) in smc_timeout()
1491 if (lp->phy_type == 0) in smc_open()
1499 if (lp->phy_type != 0) in smc_open()
1543 if (lp->phy_type != 0) { in smc_ethtool_get_link_ksettings()
1576 if (lp->phy_type != 0) { in smc_ethtool_set_link_ksettings()
[all …]
Dsmc911x.c676 lp->phy_type = 0; in smc911x_phy_detect()
718 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
732 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
900 if (lp->phy_type == 0) in smc911x_phy_configure()
990 if (lp->phy_type == 0) in smc911x_phy_interrupt()
1281 if (lp->phy_type != 0) in smc911x_timeout()
1428 if (lp->phy_type != 0) { in smc911x_close()
1458 if (lp->phy_type != 0) { in smc911x_ethtool_get_link_ksettings()
1495 if (lp->phy_type != 0) { in smc911x_ethtool_set_link_ksettings()
1531 if (lp->phy_type != 0) { in smc911x_ethtool_nwayreset()
[all …]
/Linux-v4.19/drivers/infiniband/hw/nes/
Dnes_utils.c247 nesadapter->phy_type[0] = (u8)(eeprom_data >> 8); in nes_read_eeprom_values()
248 nesadapter->phy_type[1] = (u8)eeprom_data; in nes_read_eeprom_values()
253 nesadapter->phy_type[2] = (u8)(eeprom_data >> 8); in nes_read_eeprom_values()
254 nesadapter->phy_type[3] = (u8)eeprom_data; in nes_read_eeprom_values()
259 nesadapter->phy_type[0], nesadapter->phy_type[1], in nes_read_eeprom_values()
260 nesadapter->phy_type[2], nesadapter->phy_type[3]); in nes_read_eeprom_values()
Dnes_nic.c245 if (nesdev->nesadapter->phy_type[nesdev->mac_index] == NES_PHY_TYPE_SFP_D) { in nes_netdev_open()
1474 u8 phy_type = nesadapter->phy_type[mac_index]; in nes_netdev_get_link_ksettings() local
1484 if (phy_type == NES_PHY_TYPE_PUMA_1G) { in nes_netdev_get_link_ksettings()
1511 if ((phy_type == NES_PHY_TYPE_ARGUS) || in nes_netdev_get_link_ksettings()
1512 (phy_type == NES_PHY_TYPE_SFP_D) || in nes_netdev_get_link_ksettings()
1513 (phy_type == NES_PHY_TYPE_KR)) { in nes_netdev_get_link_ksettings()
1546 (nesadapter->phy_type[nesdev->mac_index] != NES_PHY_TYPE_PUMA_1G)) { in nes_netdev_set_link_ksettings()
1653 u8 phy_type = nesdev->nesadapter->phy_type[nesdev->mac_index]; in nes_netdev_init() local
1759 ((phy_type == NES_PHY_TYPE_PUMA_1G) && in nes_netdev_init()
1771 if (phy_type != NES_PHY_TYPE_PUMA_1G) { in nes_netdev_init()
[all …]
/Linux-v4.19/include/linux/platform_data/
Ds3c-hsotg.h34 int phy_type; member
Demif_plat.h125 u32 phy_type; member
/Linux-v4.19/drivers/memory/
Demif.c1176 if (emif->plat_data->phy_type != EMIF_PHY_TYPE_INTELLIPHY) in emif_onetime_settings()
1211 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument
1226 valid = valid && (phy_type == EMIF_PHY_TYPE_ATTILAPHY); in is_dev_data_valid()
1229 valid = valid && (phy_type == EMIF_PHY_TYPE_INTELLIPHY); in is_dev_data_valid()
1377 of_property_read_u32(np_emif, "phy-type", &pd->phy_type); in of_get_memory_device_details()
1384 pd->device_info->io_width, pd->phy_type, pd->ip_rev, in of_get_memory_device_details()
1442 pd->phy_type, pd->ip_rev, dev))) { in get_device_details()
1618 u32 cs1_used, ip_rev, phy_type; in get_emif_reg_values() local
1646 phy_type = emif_for_calc->plat_data->phy_type; in get_emif_reg_values()
1663 if (phy_type == EMIF_PHY_TYPE_ATTILAPHY && ip_rev == EMIF_4D) { in get_emif_reg_values()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dimx35-eukrea-mbimxsd35-baseboard.dts154 phy_type = "serial";
160 phy_type = "utmi";
/Linux-v4.19/arch/powerpc/boot/dts/fsl/
Dmpc8536ds.dtsi186 phy_type = "ulpi";
190 phy_type = "ulpi";
242 phy_type = "ulpi";

123456789