/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
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 …]
|
D | mac80211_if.c | 1053 u16 phy_type; in ieee_hw_rate_init() local 1058 phy_type = brcms_c_get_phy_type(wl->wlc, 0); in ieee_hw_rate_init() 1059 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init() 1062 if (phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init() 1075 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) { in ieee_hw_rate_init()
|
/drivers/usb/phy/ |
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/host/ |
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()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_hw.c | 86 if (hw->phy_type == ixgb_phy_type_txn17401) in ixgb_mac_reset() 203 ixgb_phy_type phy_type; in ixgb_identify_phy() local 212 phy_type = ixgb_phy_type_txn17401; in ixgb_identify_phy() 222 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy() 225 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy() 230 phy_type = ixgb_phy_type_g6104; in ixgb_identify_phy() 237 phy_type = ixgb_phy_type_txn17201; in ixgb_identify_phy() 240 phy_type = ixgb_phy_type_g6005; in ixgb_identify_phy() 245 phy_type = ixgb_phy_type_unknown; in ixgb_identify_phy() 251 phy_type = ixgb_phy_type_bcm; in ixgb_identify_phy() [all …]
|
/drivers/mmc/host/ |
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() 821 priv->phy_type = match_string(phy_types, NR_PHY_TYPES, phy_name); in xenon_add_phy() 822 if (priv->phy_type < 0) { in xenon_add_phy() 826 priv->phy_type = EMMC_5_1_PHY; in xenon_add_phy() 838 const char *phy_type = NULL; in xenon_phy_parse_dt() local 840 if (!of_property_read_string(np, "marvell,xenon-phy-type", &phy_type)) in xenon_phy_parse_dt() [all …]
|
D | sdhci-xenon.h | 85 int phy_type; member
|
/drivers/usb/dwc2/ |
D | params.c | 64 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_his_params() 119 p->phy_type = DWC2_PHY_TYPE_PARAM_UTMI; in dwc2_set_amlogic_params() 152 p->phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_stm32f4x9_fsotg_params() 229 hsotg->params.phy_type = DWC2_PHY_TYPE_PARAM_FS; in dwc2_set_param_phy_type() 231 hsotg->params.phy_type = val; in dwc2_set_param_phy_type() 238 val = hsotg->params.phy_type == DWC2_PHY_TYPE_PARAM_FS ? in dwc2_set_param_speed() 465 switch (hsotg->params.phy_type) { in dwc2_check_param_phy_type() 491 int phy_type = hsotg->params.phy_type; in dwc2_check_param_speed() local 497 (phy_type == DWC2_PHY_TYPE_PARAM_FS)) in dwc2_check_param_speed() 654 p->phy_type == DWC2_PHY_TYPE_PARAM_FS); in dwc2_check_params()
|
/drivers/net/ethernet/sun/ |
D | sungem.c | 1174 if (gp->phy_type == phy_serialink) in gem_pcs_reinit_adv() 1207 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) in gem_reset() 1269 if (gp->phy_type != phy_mii_mdio0 && in gem_begin_auto_negotiation() 1270 gp->phy_type != phy_mii_mdio1) in gem_begin_auto_negotiation() 1363 } else if (gp->phy_type == phy_serialink || in gem_set_link_modes() 1364 gp->phy_type == phy_serdes) { in gem_set_link_modes() 1367 if ((pcs_lpa & PCS_MIIADV_FD) || gp->phy_type == phy_serdes) in gem_set_link_modes() 1391 (gp->phy_type == phy_mii_mdio0 || in gem_set_link_modes() 1392 gp->phy_type == phy_mii_mdio1)) { in gem_set_link_modes() 1420 if (gp->phy_type == phy_serialink || in gem_set_link_modes() [all …]
|
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) && \
|
D | cassini.c | 667 if (cp->phy_type & CAS_PHY_MII_MDIO1) in cas_mif_poll() 745 if (cp->phy_type & CAS_PHY_SERDES) { in cas_begin_auto_negotiation() 868 if (CAS_PHY_MII(cp->phy_type)) { in cas_phy_init() 905 writel((cp->phy_type & CAS_PHY_MII_MDIO0) ? in cas_phy_init() 3186 int phy_type = CAS_PHY_MII_MDIO0; /* default phy type */ in cas_get_vpd_info() local 3311 phy_type = CAS_PHY_SERDES; in cas_get_vpd_info() 3319 phy_type = CAS_PHY_SERDES; in cas_get_vpd_info() 3357 return phy_type; in cas_get_vpd_info() 3423 cp->phy_type = cas_get_vpd_info(cp, cp->dev->dev_addr, in cas_check_invariants() 3425 if (cp->phy_type & CAS_PHY_SERDES) { in cas_check_invariants() [all …]
|
/drivers/net/ethernet/sfc/falcon/ |
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/net/ethernet/intel/e1000/ |
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() 961 switch (hw->phy_type) { in gbe_dhg_phy_setup() 1086 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 …]
|
/drivers/phy/cadence/ |
D | phy-cadence-sierra.c | 70 u32 phy_type; member 109 if (ins->phy_type == PHY_TYPE_PCIE) { in cdns_sierra_phy_init() 112 } else if (ins->phy_type == PHY_TYPE_USB3) { in cdns_sierra_phy_init() 154 if (of_property_read_u32(child, "cdns,phy-type", &inst->phy_type)) in cdns_sierra_get_optional()
|
/drivers/net/ethernet/intel/e1000e/ |
D | phy.c | 2227 enum e1000_phy_type phy_type = e1000_phy_unknown; in e1000e_get_phy_type_from_id() local 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() 2240 phy_type = e1000_phy_gg82563; 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() [all …]
|
/drivers/net/ethernet/smsc/ |
D | smc91x.c | 870 lp->phy_type = 0; in smc_phy_detect() 891 lp->phy_type = id1 << 16 | id2; in smc_phy_detect() 983 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() [all …]
|
D | smc911x.c | 665 lp->phy_type = 0; in smc911x_phy_detect() 707 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect() 722 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect() 890 if (lp->phy_type == 0) in smc911x_phy_configure() 980 if (lp->phy_type == 0) in smc911x_phy_interrupt() 1271 if (lp->phy_type != 0) in smc911x_timeout() 1418 if (lp->phy_type != 0) { in smc911x_close() 1448 if (lp->phy_type != 0) { in smc911x_ethtool_get_link_ksettings() 1485 if (lp->phy_type != 0) { in smc911x_ethtool_set_link_ksettings() 1521 if (lp->phy_type != 0) { in smc911x_ethtool_nwayreset() [all …]
|
/drivers/memory/ |
D | emif.c | 1174 if (emif->plat_data->phy_type != EMIF_PHY_TYPE_INTELLIPHY) in emif_onetime_settings() 1209 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 1224 valid = valid && (phy_type == EMIF_PHY_TYPE_ATTILAPHY); in is_dev_data_valid() 1227 valid = valid && (phy_type == EMIF_PHY_TYPE_INTELLIPHY); in is_dev_data_valid() 1375 of_property_read_u32(np_emif, "phy-type", &pd->phy_type); in of_get_memory_device_details() 1382 pd->device_info->io_width, pd->phy_type, pd->ip_rev, in of_get_memory_device_details() 1440 pd->phy_type, pd->ip_rev, dev))) { in get_device_details() 1616 u32 cs1_used, ip_rev, phy_type; in get_emif_reg_values() local 1644 phy_type = emif_for_calc->plat_data->phy_type; in get_emif_reg_values() 1661 if (phy_type == EMIF_PHY_TYPE_ATTILAPHY && ip_rev == EMIF_4D) { in get_emif_reg_values() [all …]
|
/drivers/atm/ |
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 …]
|
/drivers/media/platform/omap3isp/ |
D | isp.h | 106 u32 phy_type; member 186 u32 phy_type; member
|
D | ispcsiphy.c | 105 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg() 107 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 228 && 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() 950 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_is_phy_ready() 955 } else if (phy->phy_type & PORT_TYPE_SATA) in mvs_is_phy_ready() 959 phy->phy_type &= ~(PORT_TYPE_SAS | PORT_TYPE_SATA); in mvs_is_phy_ready() 1020 if (phy->phy_type & PORT_TYPE_SATA) { in mvs_update_phyinfo() 1040 phy->phy_type &= ~PORT_TYPE_SATA; in mvs_update_phyinfo() 1043 } else if (phy->phy_type & PORT_TYPE_SAS in mvs_update_phyinfo() 1102 if (phy->phy_type & PORT_TYPE_SAS) { in mvs_port_notify_formed() [all …]
|
/drivers/staging/ks7010/ |
D | ks_wlan_net.c | 162 else if (priv->reg.phy_type == D_11B_ONLY_MODE) in ks_wlan_get_name() 164 else if (priv->reg.phy_type == D_11G_ONLY_MODE) in ks_wlan_get_name() 403 if (priv->reg.phy_type == D_11B_ONLY_MODE) { in ks_wlan_set_rate() 929 if (priv->reg.phy_type == D_11B_ONLY_MODE || in ks_wlan_get_range() 930 priv->reg.phy_type == D_11BG_COMPATIBLE_MODE) { /* channel 14 */ in ks_wlan_get_range() 943 if (priv->reg.phy_type == D_11B_ONLY_MODE) { in ks_wlan_get_range() 1964 priv->reg.phy_type = *uwrq; in ks_wlan_set_phy_type() 1978 *uwrq = priv->reg.phy_type; in ks_wlan_get_phy_type() 1995 (priv->reg.phy_type == D_11G_ONLY_MODE || in ks_wlan_set_cts_mode() 1996 priv->reg.phy_type == D_11BG_COMPATIBLE_MODE) ? in ks_wlan_set_cts_mode()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.h | 100 #define FW_PARAM_SET(phy_addr, phy_type, mdio_access) \ argument 101 (phy_addr | phy_type | mdio_access << FW_PARAM_MDIO_CTRL_OFFSET)
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_phy.c | 362 enum ixgbe_phy_type phy_type; in ixgbe_get_phy_type_from_id() local 366 phy_type = ixgbe_phy_tn; in ixgbe_get_phy_type_from_id() 371 phy_type = ixgbe_phy_aq; in ixgbe_get_phy_type_from_id() 374 phy_type = ixgbe_phy_qt; in ixgbe_get_phy_type_from_id() 377 phy_type = ixgbe_phy_nl; in ixgbe_get_phy_type_from_id() 381 phy_type = ixgbe_phy_x550em_ext_t; in ixgbe_get_phy_type_from_id() 384 phy_type = ixgbe_phy_unknown; in ixgbe_get_phy_type_from_id() 388 return phy_type; in ixgbe_get_phy_type_from_id()
|