/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
H 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() 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/drivers/usb/phy/ |
H 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/ |
H 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()
|
/linux/drivers/usb/dwc2/ |
H 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() 230 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_cv1800_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() 413 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type() [all …]
|
/linux/drivers/mmc/host/ |
H 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 …]
|
/linux/drivers/net/ethernet/sun/ |
H 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() 1249 if (gp->phy_type != phy_mii_mdio0 && in gem_begin_auto_negotiation() 1250 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation() 1343 } else if (gp->phy_type == phy_serialink || in gem_set_link_modes() 1344 gp->phy_type == phy_serdes) { in gem_set_link_modes() 1347 if ((pcs_lpa & PCS_MIIADV_FD) || gp->phy_type == phy_serdes) in gem_set_link_modes() 1371 (gp->phy_type == phy_mii_mdio0 || in gem_set_link_modes() 1372 gp->phy_type == phy_mii_mdio1)) { in gem_set_link_modes() 1400 if (gp->phy_type == phy_serialink || in gem_set_link_modes() [all …]
|
H 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/ |
H 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/phy/mediatek/ |
H 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()
|
/linux/drivers/net/ethernet/intel/e1000/ |
H 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() 1085 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/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 2275 enum e1000_phy_type phy_type = e1000_phy_unknown; in e1000e_get_phy_type_from_id() local 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() 2288 phy_type = e1000_phy_gg82563; 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() [all …]
|
/linux/drivers/phy/cadence/ |
H A D | phy-cadence-sierra.c | 345 enum cdns_sierra_phy_type phy_type; member 544 enum cdns_sierra_phy_type phy_type = ins->phy_type; in cdns_sierra_phy_init() local 561 pcs_cmn_vals = init_data->pcs_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 571 phy_pma_ln_vals = init_data->phy_pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 583 pma_cmn_vals = init_data->pma_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 593 pma_ln_vals = init_data->pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 631 if (ins->phy_type == TYPE_PCIE || ins->phy_type == TYPE_USB) { in cdns_sierra_phy_on() 941 u32 phy_type; in cdns_sierra_get_optional() local 949 if (of_property_read_u32(child, "cdns,phy-type", &phy_type)) in cdns_sierra_get_optional() 952 switch (phy_type) { in cdns_sierra_get_optional() [all …]
|
H A D | phy-cadence-torrent.c | 343 enum cdns_torrent_phy_type phy_type; member 690 static const char *cdns_torrent_get_phy_type(enum cdns_torrent_phy_type phy_type) in cdns_torrent_get_phy_type() argument 692 switch (phy_type) { in cdns_torrent_get_phy_type() 1668 if (inst->phy_type == TYPE_PCIE || inst->phy_type == TYPE_USB) { in cdns_torrent_phy_on() 2315 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local 2328 if (phy_type == TYPE_DP) in cdns_torrent_phy_init() 2337 if (phy_type == TYPE_SGMII || phy_type == TYPE_QSGMII || phy_type == TYPE_USXGMII) in cdns_torrent_phy_init() 2343 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2363 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2379 phy_type, TYPE_NONE, in cdns_torrent_phy_init() [all …]
|
/linux/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 872 lp->phy_type = 0; in smc_phy_detect() 893 lp->phy_type = id1 << 16 | id2; 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() [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx35-eukrea-mbimxsd35-baseboard.dts | 146 phy_type = "serial"; 152 phy_type = "utmi";
|
H A D | imx6qdl-prti6q.dtsi | 70 phy_type = "utmi"; 80 phy_type = "utmi";
|
H A D | imx27-phytec-phycard-s-som.dtsi | 164 phy_type = "ulpi"; 172 phy_type = "ulpi";
|
/linux/drivers/phy/freescale/ |
H 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()
|
/linux/include/linux/platform_data/ |
H A D | s3c-hsotg.h | 31 int phy_type; member
|
H A D | emif_plat.h | 122 u32 phy_type; member
|
/linux/drivers/memory/ |
H A D | emif.c | 743 if (emif->plat_data->phy_type != EMIF_PHY_TYPE_INTELLIPHY) in emif_onetime_settings() 778 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 793 valid = valid && (phy_type == EMIF_PHY_TYPE_ATTILAPHY); in is_dev_data_valid() 796 valid = valid && (phy_type == EMIF_PHY_TYPE_INTELLIPHY); in is_dev_data_valid() 938 of_property_read_u32(np_emif, "phy-type", &pd->phy_type); in of_get_memory_device_details() 945 pd->device_info->io_width, pd->phy_type, pd->ip_rev, in of_get_memory_device_details() 994 pd->phy_type, pd->ip_rev, dev))) { in get_device_details()
|
/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8536ds.dtsi | 186 phy_type = "ulpi"; 190 phy_type = "ulpi"; 242 phy_type = "ulpi";
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isp.h | 106 u32 phy_type; member 186 u32 phy_type; member
|
/linux/drivers/atm/ |
H 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; 809 memType,iadev->phy_type);) 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) { 839 } else if (iadev->phy_type & FE_DS3_PHY) { [all …]
|
/linux/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 229 && phy->phy_type & PORT_TYPE_SAS) { in mvs_bytes_dmaed() 245 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_bytes_dmaed() 258 } else if (phy->phy_type & PORT_TYPE_SATA) { in mvs_bytes_dmaed() 942 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_is_phy_ready() 947 } else if (phy->phy_type & PORT_TYPE_SATA) in mvs_is_phy_ready() 951 phy->phy_type &= ~(PORT_TYPE_SAS | PORT_TYPE_SATA); in mvs_is_phy_ready() 1012 if (phy->phy_type & PORT_TYPE_SATA) { in mvs_update_phyinfo() 1032 phy->phy_type &= ~PORT_TYPE_SATA; in mvs_update_phyinfo() 1035 } else if (phy->phy_type & PORT_TYPE_SAS in mvs_update_phyinfo() 1094 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_port_notify_formed() [all …]
|