| /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 …]
|
| A D | mac80211_if.c | 1055 u16 phy_type; in ieee_hw_rate_init() local 1060 phy_type = brcms_c_get_phy_type(wl->wlc, 0); in ieee_hw_rate_init() 1061 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init() 1064 if (phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init() 1076 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init()
|
| /drivers/usb/host/ |
| A D | fsl-mph-dr-of.c | 60 static enum fsl_usb2_phy_modes determine_usb_phy(const char *phy_type) in determine_usb_phy() argument 62 if (!phy_type) in determine_usb_phy() 64 if (!strcasecmp(phy_type, "ulpi")) in determine_usb_phy() 66 if (!strcasecmp(phy_type, "utmi")) in determine_usb_phy() 68 if (!strcasecmp(phy_type, "utmi_wide")) in determine_usb_phy() 70 if (!strcasecmp(phy_type, "utmi_dual")) in determine_usb_phy() 72 if (!strcasecmp(phy_type, "serial")) in determine_usb_phy()
|
| /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()
|
| /drivers/usb/dwc2/ |
| A D | params.c | 41 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_his_params() 57 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_jz4775_params() 78 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_x1600_params() 94 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_x2000_params() 179 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params() 205 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_a1_params() 251 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params() 277 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32mp15_fsotg_params() 415 hsotg->params.phy_type = val; in dwc2_set_param_phy_type() 649 switch (hsotg->params.phy_type) { in dwc2_check_param_phy_type() [all …]
|
| /drivers/mmc/host/ |
| A D | sdhci-xenon-phy.c | 214 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 381 if (priv->phy_type == EMMC_5_1_PHY) in xenon_emmc_phy_enable_dll() 455 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_disable_strobe() 498 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_strobe_delay_adj() 594 if (priv->phy_type == EMMC_5_0_PHY) { in xenon_emmc_phy_set() 855 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy() 856 if (priv->phy_type < 0) { in xenon_add_phy() 860 priv->phy_type = EMMC_5_1_PHY; in xenon_add_phy() 872 const char *phy_type = NULL; in xenon_phy_parse_params() local 874 if (!device_property_read_string(dev, "marvell,xenon-phy-type", &phy_type)) in xenon_phy_parse_params() [all …]
|
| A D | sdhci-xenon.h | 93 int phy_type; member
|
| /drivers/net/ethernet/sun/ |
| A D | sungem.c | 1154 if (gp->phy_type == phy_serialink) in gem_pcs_reinit_adv() 1187 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) in gem_reset() 1250 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation() 1401 gp->phy_type == phy_serdes) { in gem_set_link_modes() 1493 gp->phy_type == phy_serdes) { in gem_link_timer() 1936 gp->phy_type = phy_mii_mdio0; in gem_check_invariants() 1979 gp->phy_type = phy_mii_mdio1; in gem_check_invariants() 1983 gp->phy_type = phy_mii_mdio0; in gem_check_invariants() 1992 gp->phy_type = phy_serdes; in gem_check_invariants() 1995 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) && \
|
| /drivers/net/ethernet/intel/e1000/ |
| A D | e1000_hw.c | 103 hw->phy_type = e1000_phy_m88; in e1000_set_phy_type() 110 hw->phy_type = e1000_phy_igp; in e1000_set_phy_type() 113 hw->phy_type = e1000_phy_8211; in e1000_set_phy_type() 116 hw->phy_type = e1000_phy_8201; in e1000_set_phy_type() 120 hw->phy_type = e1000_phy_undefined; in e1000_set_phy_type() 960 switch (hw->phy_type) { in gbe_dhg_phy_setup() 1326 if (hw->phy_type == e1000_phy_8201) in e1000_copper_link_autoneg() 1924 switch (hw->phy_type) { in e1000_config_mac_to_phy() 3102 switch (hw->phy_type) { in e1000_phy_reset() 3122 if (hw->phy_type == e1000_phy_igp) in e1000_phy_reset() [all …]
|
| /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()
|
| /drivers/phy/mediatek/ |
| A D | phy-mtk-mipi-csi-0-5.c | 217 u32 phy_type; in mtk_mipi_cdphy_probe() local 241 ret = of_property_read_u32(dev->of_node, "phy-type", &phy_type); in mtk_mipi_cdphy_probe() 246 switch (phy_type) { in mtk_mipi_cdphy_probe() 251 dev_err(dev, "Unsupported PHY type: %i\n", phy_type); in mtk_mipi_cdphy_probe()
|
| /drivers/net/ethernet/intel/e1000e/ |
| A D | phy.c | 2282 phy_type = e1000_phy_m88; in e1000e_get_phy_type_from_id() 2285 phy_type = e1000_phy_igp_2; in e1000e_get_phy_type_from_id() 2291 phy_type = e1000_phy_igp_3; in e1000e_get_phy_type_from_id() 2296 phy_type = e1000_phy_ife; in e1000e_get_phy_type_from_id() 2300 phy_type = e1000_phy_bm; in e1000e_get_phy_type_from_id() 2303 phy_type = e1000_phy_82578; in e1000e_get_phy_type_from_id() 2306 phy_type = e1000_phy_82577; in e1000e_get_phy_type_from_id() 2309 phy_type = e1000_phy_82579; in e1000e_get_phy_type_from_id() 2312 phy_type = e1000_phy_i217; in e1000e_get_phy_type_from_id() 2318 return phy_type; in e1000e_get_phy_type_from_id() [all …]
|
| /drivers/phy/cadence/ |
| A D | phy-cadence-sierra.c | 348 enum cdns_sierra_phy_type phy_type; member 547 enum cdns_sierra_phy_type phy_type = ins->phy_type; in cdns_sierra_phy_init() local 634 if (ins->phy_type == TYPE_PCIE || ins->phy_type == TYPE_USB) { in cdns_sierra_phy_on() 944 u32 phy_type; in cdns_sierra_get_optional() local 955 switch (phy_type) { in cdns_sierra_get_optional() 957 inst->phy_type = TYPE_PCIE; in cdns_sierra_get_optional() 960 inst->phy_type = TYPE_USB; in cdns_sierra_get_optional() 963 inst->phy_type = TYPE_SGMII; in cdns_sierra_get_optional() 966 inst->phy_type = TYPE_QSGMII; in cdns_sierra_get_optional() 1272 phy_t1 = sp->phys[0].phy_type; in cdns_sierra_phy_configure_multilink() [all …]
|
| A D | phy-cadence-torrent.c | 697 switch (phy_type) { in cdns_torrent_get_phy_type() 1674 if (inst->phy_type == TYPE_PCIE || inst->phy_type == TYPE_USB) { in cdns_torrent_phy_on() 2321 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local 2334 if (phy_type == TYPE_DP) in cdns_torrent_phy_init() 2343 if (phy_type == TYPE_SGMII || phy_type == TYPE_QSGMII || phy_type == TYPE_USXGMII) in cdns_torrent_phy_init() 2349 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2369 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2385 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2456 if (phy_type == TYPE_DP) in cdns_torrent_phy_init() 2916 u32 phy_type; in cdns_torrent_phy_probe() local [all …]
|
| /drivers/net/ethernet/smsc/ |
| A D | smc91x.c | 872 lp->phy_type = 0; in smc_phy_detect() 985 if (lp->phy_type == 0) in smc_phy_powerdown() 1049 if (lp->phy_type == 0) in smc_phy_configure() 1143 if (lp->phy_type == 0) in smc_phy_interrupt() 1353 if (lp->phy_type != 0) in smc_timeout() 1480 if (lp->phy_type == 0) in smc_open() 1488 if (lp->phy_type != 0) in smc_open() 1532 if (lp->phy_type != 0) { in smc_ethtool_get_link_ksettings() 1565 if (lp->phy_type != 0) { in smc_ethtool_set_link_ksettings() 1599 if (lp->phy_type != 0) { in smc_ethtool_nwayreset() [all …]
|
| /drivers/phy/qualcomm/ |
| A D | phy-qcom-uniphy-pcie-28lp.c | 59 u32 phy_type; member 127 .phy_type = PHY_TYPE_PCIE_GEN2, 135 .phy_type = PHY_TYPE_PCIE_GEN3,
|
| /drivers/phy/freescale/ |
| A D | phy-fsl-imx8qm-hsio.c | 77 u32 phy_type; member 124 switch (lane->phy_type) { in imx_hsio_init() 522 int phy_type = args->args[1]; in imx_hsio_xlate() local 528 priv->lane[idx].phy_type = phy_type; in imx_hsio_xlate()
|
| /drivers/memory/ |
| A D | emif.c | 744 if (emif->plat_data->phy_type != EMIF_PHY_TYPE_INTELLIPHY) in emif_onetime_settings() 779 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 794 valid = valid && (phy_type == EMIF_PHY_TYPE_ATTILAPHY); in is_dev_data_valid() 797 valid = valid && (phy_type == EMIF_PHY_TYPE_INTELLIPHY); in is_dev_data_valid() 939 of_property_read_u32(np_emif, "phy-type", &pd->phy_type); in of_get_memory_device_details() 946 pd->device_info->io_width, pd->phy_type, pd->ip_rev, in of_get_memory_device_details() 995 pd->phy_type, pd->ip_rev, dev))) { in get_device_details()
|
| /drivers/atm/ |
| A D | iphase.c | 800 iadev->phy_type = PHY_OC3C_S; 802 iadev->phy_type = PHY_UTP155; 804 iadev->phy_type = PHY_OC3C_M; 807 iadev->phy_type = memType & FE_MASK; 810 if (iadev->phy_type == FE_25MBIT_PHY) 812 else if (iadev->phy_type == FE_DS3_PHY) 814 else if (iadev->phy_type == FE_E3_PHY) 836 if (iadev->phy_type & FE_25MBIT_PHY) { 958 if (iadev->phy_type & FE_DS3_PHY) 2582 if (iadev->phy_type & FE_25MBIT_PHY) [all …]
|
| /drivers/scsi/mvsas/ |
| A D | mv_sas.c | 219 && phy->phy_type & PORT_TYPE_SAS) { in mvs_bytes_dmaed() 235 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_bytes_dmaed() 248 } else if (phy->phy_type & PORT_TYPE_SATA) { in mvs_bytes_dmaed() 932 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_is_phy_ready() 937 } else if (phy->phy_type & PORT_TYPE_SATA) in mvs_is_phy_ready() 1002 if (phy->phy_type & PORT_TYPE_SATA) { in mvs_update_phyinfo() 1022 phy->phy_type &= ~PORT_TYPE_SATA; in mvs_update_phyinfo() 1025 } else if (phy->phy_type & PORT_TYPE_SAS in mvs_update_phyinfo() 1084 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_port_notify_formed() 1833 if (phy->phy_type & PORT_TYPE_SATA) { in mvs_int_port() [all …]
|
| /drivers/phy/xilinx/ |
| A D | phy-zynqmp.c | 762 static int xpsgtr_set_lane_type(struct xpsgtr_phy *gtr_phy, u8 phy_type, in xpsgtr_set_lane_type() argument 767 switch (phy_type) { in xpsgtr_set_lane_type() 824 unsigned int phy_type; in xpsgtr_xlate() local 845 phy_type = args->args[1]; in xpsgtr_xlate() 849 ret = xpsgtr_set_lane_type(gtr_phy, phy_type, phy_instance); in xpsgtr_xlate()
|
| /drivers/media/platform/ti/omap3isp/ |
| A D | isp.h | 106 u32 phy_type; member 186 u32 phy_type; member
|
| A D | ispcsiphy.c | 106 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg() 108 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
|
| /drivers/pci/controller/dwc/ |
| A D | pcie-kirin.c | 697 enum pcie_kirin_phy_type phy_type; member 701 .phy_type = PCIE_KIRIN_INTERNAL_PHY, 705 .phy_type = PCIE_KIRIN_EXTERNAL_PHY, 738 kirin_pcie->type = data->phy_type; in kirin_pcie_probe()
|