/openbmc/u-boot/drivers/usb/host/ |
H A D | ehci-fsl.c | 32 char *phy_type; member 63 prop = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), "phy_type", in ehci_fsl_ofdata_to_platdata() 66 priv->phy_type = (char *)prop; in ehci_fsl_ofdata_to_platdata() 67 debug("phy_type %s\n", priv->phy_type); in ehci_fsl_ofdata_to_platdata() 194 const char *phy_type = NULL; in ehci_fsl_init() local 222 if (priv->phy_type) in ehci_fsl_init() 223 phy_type = priv->phy_type; in ehci_fsl_init() 229 if (hwconfig_sub(current_usb_controller, "phy_type")) in ehci_fsl_init() 230 phy_type = hwconfig_subarg(current_usb_controller, in ehci_fsl_init() 231 "phy_type", &len); in ehci_fsl_init() [all …]
|
/openbmc/linux/drivers/usb/phy/ |
H A D | of.c | 25 * The function gets phy interface string from property 'phy_type', 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()
|
/openbmc/u-boot/drivers/usb/common/ |
H A D | fsl-dt-fixup.c | 56 const char *phy_type, int start_offset) in fdt_fixup_usb_mode_phy_type() argument 59 const char *prop_type = "phy_type"; in fdt_fixup_usb_mode_phy_type() 77 if (phy_type) { in fdt_fixup_usb_mode_phy_type() 78 err = fdt_setprop(blob, node_offset, prop_type, phy_type, in fdt_fixup_usb_mode_phy_type() 79 strlen(phy_type) + 1); in fdt_fixup_usb_mode_phy_type() 165 if (hwconfig_subarg_cmp(str, "phy_type", in fsl_fdt_fixup_dr_usb()
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | allwinner,sun9i-a80-usb-phy.yaml | 54 phy_type: 76 phy_type: 80 - phy_type 129 phy_type = "hsic";
|
H 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";
|
/openbmc/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() 437 /* select rateset for a given phy_type and bandtype and filter it, sort it 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() [all …]
|
/openbmc/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() 219 prop = of_get_property(np, "phy_type", NULL); in fsl_usb2_mph_dr_of_probe()
|
/openbmc/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() 161 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params() 187 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_a1_params() 214 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params() 240 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32mp15_fsotg_params() 370 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type() 372 hsotg->params.phy_type = val; in dwc2_set_param_phy_type() [all …]
|
H A D | core.h | 239 * the attached device and the value of phy_type. 241 * (default when phy_type is UTMI+ or ULPI) 243 * (default when phy_type is Full Speed) 276 * @phy_type: Specifies the type of PHY interface to use. By default, 277 * the driver will automatically detect the phy_type. 283 * is applicable for a phy_type of UTMI+ or ULPI. (For a 284 * ULPI phy_type, this parameter indicates the data width 292 * data rate. This parameter is only applicable if phy_type 303 * speed PHY. This parameter is only applicable if phy_type 326 * (default when phy_type is UTMI+ or ULPI) [all …]
|
/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | ddr3_training_ip_prv_if.h | 49 enum hws_ddr_phy phy_type, u32 reg_addr, u32 data); 52 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr, u32 *data); 101 u32 phy, enum hws_ddr_phy phy_type, 104 u32 phy, enum hws_ddr_phy phy_type,
|
H A D | ddr3_training_ip_flow.h | 77 enum hws_ddr_phy phy_type, 80 u32 phy_id, enum hws_ddr_phy phy_type, u32 reg_addr,
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H 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";
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.fsl-hwconfig | 37 'phy_type' 46 usb1:dr_mode=host,phy_type=utmi;usb2:dr_mode=host'
|
/openbmc/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 …]
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A D | mpc8536ds.dtsi | 186 phy_type = "ulpi"; 190 phy_type = "ulpi"; 242 phy_type = "ulpi";
|
H A D | p1020utm-pc.dtsi | 127 phy_type = "ulpi"; 138 phy_type = "ulpi";
|
H A D | p1020mbg-pc.dtsi | 138 phy_type = "ulpi"; 149 phy_type = "ulpi";
|
/openbmc/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";
|
/openbmc/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isp.h | 101 * @phy_type: ISP_PHY_TYPE_{3430,3630} 106 u32 phy_type; member 147 * @phy_type: ISP_PHY_TYPE_{3430,3630} 186 u32 phy_type; member
|
/openbmc/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()
|
/openbmc/linux/drivers/phy/cadence/ |
H A D | phy-cadence-torrent.c | 343 enum cdns_torrent_phy_type phy_type; member 686 static const char *cdns_torrent_get_phy_type(enum cdns_torrent_phy_type phy_type) in cdns_torrent_get_phy_type() argument 688 switch (phy_type) { in cdns_torrent_get_phy_type() 1655 if (inst->phy_type == TYPE_PCIE || inst->phy_type == TYPE_USB) { in cdns_torrent_phy_on() 2302 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local 2312 if (phy_type == TYPE_DP) in cdns_torrent_phy_init() 2321 if (phy_type == TYPE_SGMII || phy_type == TYPE_QSGMII || phy_type == TYPE_USXGMII) in cdns_torrent_phy_init() 2327 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2347 phy_type, TYPE_NONE, in cdns_torrent_phy_init() 2363 phy_type, TYPE_NONE, in cdns_torrent_phy_init() [all …]
|
H A D | phy-cadence-sierra.c | 344 enum cdns_sierra_phy_type phy_type; member 543 enum cdns_sierra_phy_type phy_type = ins->phy_type; in cdns_sierra_phy_init() local 560 pcs_cmn_vals = init_data->pcs_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 570 phy_pma_ln_vals = init_data->phy_pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 582 pma_cmn_vals = init_data->pma_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 592 pma_ln_vals = init_data->pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init() 630 if (ins->phy_type == TYPE_PCIE || ins->phy_type == TYPE_USB) { in cdns_sierra_phy_on() 940 u32 phy_type; in cdns_sierra_get_optional() local 948 if (of_property_read_u32(child, "cdns,phy-type", &phy_type)) in cdns_sierra_get_optional() 951 switch (phy_type) { in cdns_sierra_get_optional() [all …]
|
/openbmc/u-boot/board/ti/panda/ |
H A D | panda.c | 211 int phy_type; in misc_init_r() local 221 phy_type = gpio_get_value(PANDA_ULPI_PHY_TYPE_GPIO); in misc_init_r() 223 if (phy_type == 1) { in misc_init_r()
|