/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
A D | rate.c | 345 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() 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() 462 } else if (PHYTYPE_IS(phy_type, PHY_TYPE_A)) { in brcms_c_rateset_default() [all …]
|
/linux/arch/powerpc/platforms/83xx/ |
A D | mpc837x_mds.c | 29 const void *phy_type, *mode; in mpc837xmds_usb_cfg() local 51 phy_type = of_get_property(np, "phy_type", NULL); in mpc837xmds_usb_cfg() 52 if (phy_type && !strcmp(phy_type, "ulpi")) { in mpc837xmds_usb_cfg() 54 } else if (phy_type && !strcmp(phy_type, "serial")) { in mpc837xmds_usb_cfg()
|
/linux/drivers/net/ethernet/intel/ixgb/ |
A D | ixgb_hw.c | 202 ixgb_phy_type phy_type; in ixgb_identify_phy() local 211 phy_type = ixgb_phy_type_txn17401; in ixgb_identify_phy() 221 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy() 224 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy() 229 phy_type = ixgb_phy_type_g6104; in ixgb_identify_phy() 236 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy() 239 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy() 244 phy_type = ixgb_phy_type_unknown; in ixgb_identify_phy() 250 phy_type = ixgb_phy_type_bcm; in ixgb_identify_phy() 252 return phy_type; in ixgb_identify_phy() [all …]
|
/linux/drivers/usb/phy/ |
A D | of.c | 30 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/drivers/usb/host/ |
A D | fsl-mph-dr-of.c | 59 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/drivers/mmc/host/ |
A D | sdhci-xenon-phy.c | 211 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 351 if (priv->phy_type == EMMC_5_1_PHY) in xenon_emmc_phy_enable_dll() 425 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_disable_strobe() 468 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_strobe_delay_adj() 564 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_set() 825 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy() 826 if (priv->phy_type < 0) { in xenon_add_phy() 830 priv->phy_type = EMMC_5_1_PHY; in xenon_add_phy() 842 const char *phy_type = NULL; in xenon_phy_parse_params() local 844 if (!device_property_read_string(dev, "marvell,xenon-phy-type", &phy_type)) in xenon_phy_parse_params() [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
A D | allwinner,sun9i-a80-usb-phy.yaml | 54 phy_type: 76 phy_type: 80 - phy_type 129 phy_type = "hsic";
|
A D | nvidia,tegra20-usb-phy.yaml | 103 phy_type: 222 - phy_type 229 phy_type: 292 phy_type: 336 phy_type = "utmi"; 364 phy_type = "ulpi";
|
/linux/drivers/usb/dwc2/ |
A D | params.c | 66 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_his_params() 125 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params() 159 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params() 185 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32mp15_fsotg_params() 287 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type() 289 hsotg->params.phy_type = val; in dwc2_set_param_phy_type() 296 val = hsotg->params.phy_type == DWC2_PHY_TYPE_PARAM_FS ? in dwc2_set_param_speed() 523 switch (hsotg->params.phy_type) { in dwc2_check_param_phy_type() 549 int phy_type = hsotg->params.phy_type; in dwc2_check_param_speed() local 555 (phy_type == DWC2_PHY_TYPE_PARAM_FS)) in dwc2_check_param_speed() [all …]
|
/linux/drivers/net/ethernet/sun/ |
A D | sungem.c | 1165 if (gp->phy_type == phy_serialink) in gem_pcs_reinit_adv() 1198 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) in gem_reset() 1261 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation() 1412 gp->phy_type == phy_serdes) { in gem_set_link_modes() 1504 gp->phy_type == phy_serdes) { in gem_link_timer() 1947 gp->phy_type = phy_mii_mdio0; in gem_check_invariants() 1990 gp->phy_type = phy_mii_mdio1; in gem_check_invariants() 1994 gp->phy_type = phy_mii_mdio0; in gem_check_invariants() 2003 gp->phy_type = phy_serdes; in gem_check_invariants() 2006 gp->phy_type = phy_serialink; in gem_check_invariants() [all …]
|
A D | sungem.h | 1009 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/drivers/net/ethernet/sfc/falcon/ |
A D | qt202x_phy.c | 310 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_reset_phy() 374 if (efx->phy_type == PHY_TYPE_QT2025C) in qt202x_phy_init() 394 if (efx->phy_type == PHY_TYPE_QT2025C) in qt202x_phy_poll() 404 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_phy_reconfigure() 463 if (efx->phy_type == PHY_TYPE_QT2025C) { in qt202x_phy_get_module_eeprom()
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_hw.c | 102 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() 959 switch (hw->phy_type) { in gbe_dhg_phy_setup() 1325 if (hw->phy_type == e1000_phy_8201) in e1000_copper_link_autoneg() 1923 switch (hw->phy_type) { in e1000_config_mac_to_phy() 3101 switch (hw->phy_type) { in e1000_phy_reset() 3121 if (hw->phy_type == e1000_phy_igp) in e1000_phy_reset() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | phy.c | 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() 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() 2264 phy_type = e1000_phy_i217; in e1000e_get_phy_type_from_id() 2270 return phy_type; in e1000e_get_phy_type_from_id() [all …]
|
/linux/drivers/phy/cadence/ |
A D | phy-cadence-torrent.c | 316 enum cdns_torrent_phy_type phy_type; member 638 switch (phy_type) { in cdns_torrent_get_phy_type() 1532 if (inst->phy_type == TYPE_PCIE || inst->phy_type == TYPE_USB) { in cdns_torrent_phy_on() 2151 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local 2166 if (phy_type == TYPE_SGMII || phy_type == TYPE_QSGMII) in cdns_torrent_phy_init() 2247 if (phy_type == TYPE_DP) in cdns_torrent_phy_init() 2293 phy_t1 = cdns_phy->phys[0].phy_type; in cdns_torrent_phy_configure_multilink() 2294 phy_t2 = cdns_phy->phys[1].phy_type; in cdns_torrent_phy_configure_multilink() 2539 u32 phy_type; in cdns_torrent_phy_probe() local 2622 switch (phy_type) { in cdns_torrent_phy_probe() [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
A D | fsl-usb.txt | 14 - phy_type : For multi port host USB controllers, should be one of 51 phy_type = "ulpi"; 78 phy_type = "utmi_wide";
|
/linux/drivers/net/ethernet/smsc/ |
A D | smc91x.c | 871 lp->phy_type = 0; in smc_phy_detect() 984 if (lp->phy_type == 0) in smc_phy_powerdown() 1048 if (lp->phy_type == 0) in smc_phy_configure() 1142 if (lp->phy_type == 0) in smc_phy_interrupt() 1352 if (lp->phy_type != 0) in smc_timeout() 1479 if (lp->phy_type == 0) in smc_open() 1487 if (lp->phy_type != 0) in smc_open() 1531 if (lp->phy_type != 0) { in smc_ethtool_get_link_ksettings() 1564 if (lp->phy_type != 0) { in smc_ethtool_set_link_ksettings() 1602 if (lp->phy_type != 0) { in smc_ethtool_nwayreset() [all …]
|
A D | smc911x.c | 668 lp->phy_type = 0; in smc911x_phy_detect() 725 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect() 893 if (lp->phy_type == 0) in smc911x_phy_configure() 983 if (lp->phy_type == 0) in smc911x_phy_interrupt() 1274 if (lp->phy_type != 0) in smc911x_timeout() 1421 if (lp->phy_type != 0) { in smc911x_close() 1451 if (lp->phy_type != 0) { in smc911x_ethtool_get_link_ksettings() 1488 if (lp->phy_type != 0) { in smc911x_ethtool_set_link_ksettings() 1524 if (lp->phy_type != 0) { in smc911x_ethtool_nwayreset() 2016 if (lp->phy_type == 0) { in smc911x_probe() [all …]
|
/linux/arch/arm/boot/dts/ |
A D | imx35-eukrea-mbimxsd35-baseboard.dts | 146 phy_type = "serial"; 152 phy_type = "utmi";
|
A D | imx6qdl-prti6q.dtsi | 70 phy_type = "utmi"; 79 phy_type = "utmi";
|
/linux/drivers/memory/ |
A D | emif.c | 753 if (emif->plat_data->phy_type != EMIF_PHY_TYPE_INTELLIPHY) in emif_onetime_settings() 788 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 803 valid = valid && (phy_type == EMIF_PHY_TYPE_ATTILAPHY); in is_dev_data_valid() 806 valid = valid && (phy_type == EMIF_PHY_TYPE_INTELLIPHY); in is_dev_data_valid() 954 of_property_read_u32(np_emif, "phy-type", &pd->phy_type); in of_get_memory_device_details() 961 pd->device_info->io_width, pd->phy_type, pd->ip_rev, in of_get_memory_device_details() 1019 pd->phy_type, pd->ip_rev, dev))) { in get_device_details()
|
/linux/drivers/phy/xilinx/ |
A D | phy-zynqmp.c | 669 static int xpsgtr_set_lane_type(struct xpsgtr_phy *gtr_phy, u8 phy_type, in xpsgtr_set_lane_type() argument 675 switch (phy_type) { in xpsgtr_set_lane_type() 768 unsigned int phy_type; in xpsgtr_xlate() local 789 phy_type = args->args[1]; in xpsgtr_xlate() 792 ret = xpsgtr_set_lane_type(gtr_phy, phy_type, phy_instance); in xpsgtr_xlate()
|
/linux/drivers/atm/ |
A D | iphase.c | 801 iadev->phy_type = PHY_OC3C_S; 803 iadev->phy_type = PHY_UTP155; 805 iadev->phy_type = PHY_OC3C_M; 808 iadev->phy_type = memType & FE_MASK; 811 if (iadev->phy_type == FE_25MBIT_PHY) 813 else if (iadev->phy_type == FE_DS3_PHY) 815 else if (iadev->phy_type == FE_E3_PHY) 837 if (iadev->phy_type & FE_25MBIT_PHY) { 959 if (iadev->phy_type & FE_DS3_PHY) 2581 if (iadev->phy_type & FE_25MBIT_PHY) [all …]
|
/linux/arch/powerpc/boot/dts/fsl/ |
A D | mpc8536ds.dtsi | 186 phy_type = "ulpi"; 190 phy_type = "ulpi"; 242 phy_type = "ulpi";
|
/linux/include/linux/platform_data/ |
A D | s3c-hsotg.h | 31 int phy_type; member
|