Home
last modified time | relevance | path

Searched full:phy_type (Results 1 – 25 of 242) sorted by relevance

12345678910

/Linux-v6.1/arch/powerpc/platforms/83xx/
Dmpc837x_mds.c29 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()
Dusb.c45 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg()
115 prop = of_get_property(np, "phy_type", NULL); in mpc831x_usb_cfg()
224 prop = of_get_property(np, "phy_type", NULL); in mpc837x_usb_cfg()
/Linux-v6.1/drivers/usb/phy/
Dof.c25 * 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()
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dallwinner,sun9i-a80-usb-phy.yaml54 phy_type:
76 phy_type:
80 - phy_type
129 phy_type = "hsic";
Dnvidia,tegra20-usb-phy.yaml103 phy_type:
222 - phy_type
229 phy_type:
292 phy_type:
336 phy_type = "utmi";
364 phy_type = "ulpi";
/Linux-v6.1/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()
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 …]
/Linux-v6.1/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()
222 prop = of_get_property(np, "phy_type", NULL); in fsl_usb2_mph_dr_of_probe()
/Linux-v6.1/drivers/usb/dwc2/
Dparams.c36 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_his_params()
52 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_jz4775_params()
65 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_x1600_params()
81 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_x2000_params()
144 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params()
178 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params()
204 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32mp15_fsotg_params()
315 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type()
317 hsotg->params.phy_type = val; in dwc2_set_param_phy_type()
324 val = hsotg->params.phy_type == DWC2_PHY_TYPE_PARAM_FS ? in dwc2_set_param_speed()
[all …]
Dcore.h239 * 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 …]
/Linux-v6.1/drivers/mmc/host/
Dsdhci-xenon-phy.c211 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-v6.1/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";
/Linux-v6.1/drivers/net/ethernet/sun/
Dsungem.c1164 if (gp->phy_type == phy_serialink) in gem_pcs_reinit_adv()
1197 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) in gem_reset()
1259 if (gp->phy_type != phy_mii_mdio0 && in gem_begin_auto_negotiation()
1260 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation()
1353 } else if (gp->phy_type == phy_serialink || in gem_set_link_modes()
1354 gp->phy_type == phy_serdes) { in gem_set_link_modes()
1357 if ((pcs_lpa & PCS_MIIADV_FD) || gp->phy_type == phy_serdes) in gem_set_link_modes()
1381 (gp->phy_type == phy_mii_mdio0 || in gem_set_link_modes()
1382 gp->phy_type == phy_mii_mdio1)) { in gem_set_link_modes()
1410 if (gp->phy_type == phy_serialink || in gem_set_link_modes()
[all …]
/Linux-v6.1/drivers/media/platform/ti/omap3isp/
Disp.h101 * @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
/Linux-v6.1/arch/powerpc/boot/dts/fsl/
Dmpc8536ds.dtsi186 phy_type = "ulpi";
190 phy_type = "ulpi";
242 phy_type = "ulpi";
Dp1020utm-pc.dtsi127 phy_type = "ulpi";
138 phy_type = "ulpi";
Dp1020mbg-pc.dtsi138 phy_type = "ulpi";
149 phy_type = "ulpi";
Dp1022rdk.dts105 phy_type = "ulpi";
109 phy_type = "ulpi";
/Linux-v6.1/arch/arm/boot/dts/
Dimx35-eukrea-mbimxsd35-baseboard.dts146 phy_type = "serial";
152 phy_type = "utmi";
Dimx6qdl-prti6q.dtsi70 phy_type = "utmi";
79 phy_type = "utmi";
Dimx51-eukrea-mbimxsd51-baseboard.dts260 phy_type = "ulpi";
266 phy_type = "utmi_wide";
/Linux-v6.1/drivers/net/ethernet/sfc/falcon/
Dqt202x_phy.c310 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-v6.1/drivers/phy/cadence/
Dphy-cadence-torrent.c316 enum cdns_torrent_phy_type phy_type; member
635 static const char *cdns_torrent_get_phy_type(enum cdns_torrent_phy_type phy_type) in cdns_torrent_get_phy_type() argument
637 switch (phy_type) { in cdns_torrent_get_phy_type()
1531 if (inst->phy_type == TYPE_PCIE || inst->phy_type == TYPE_USB) { in cdns_torrent_phy_on()
2150 enum cdns_torrent_phy_type phy_type = inst->phy_type; in cdns_torrent_phy_init() local
2165 if (phy_type == TYPE_SGMII || phy_type == TYPE_QSGMII) in cdns_torrent_phy_init()
2169 link_cmn_vals = init_data->link_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_torrent_phy_init()
2186 xcvr_diag_vals = init_data->xcvr_diag_vals[phy_type][TYPE_NONE][ssc]; in cdns_torrent_phy_init()
2199 pcs_cmn_vals = init_data->pcs_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_torrent_phy_init()
2210 cmn_vals = init_data->cmn_vals[ref_clk][phy_type][TYPE_NONE][ssc]; in cdns_torrent_phy_init()
[all …]
Dphy-cadence-sierra.c312 enum cdns_sierra_phy_type phy_type; member
511 enum cdns_sierra_phy_type phy_type = ins->phy_type; in cdns_sierra_phy_init() local
528 pcs_cmn_vals = init_data->pcs_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init()
538 phy_pma_ln_vals = init_data->phy_pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init()
550 pma_cmn_vals = init_data->pma_cmn_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init()
560 pma_ln_vals = init_data->pma_ln_vals[phy_type][TYPE_NONE][ssc]; in cdns_sierra_phy_init()
598 if (ins->phy_type == TYPE_PCIE || ins->phy_type == TYPE_USB) { in cdns_sierra_phy_on()
921 u32 phy_type; in cdns_sierra_get_optional() local
929 if (of_property_read_u32(child, "cdns,phy-type", &phy_type)) in cdns_sierra_get_optional()
932 switch (phy_type) { in cdns_sierra_get_optional()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ixgb/
Dixgb_hw.c86 if (hw->phy_type == ixgb_phy_type_txn17401) in ixgb_mac_reset()
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()
[all …]
/Linux-v6.1/drivers/net/ethernet/smsc/
Dsmc911x.c668 lp->phy_type = 0; in smc911x_phy_detect()
710 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
725 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect()
891 * We should not be called if phy_type is zero. in smc911x_phy_configure()
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()
[all …]

12345678910