/drivers/net/ethernet/cadence/ |
H A D | at91_ether.c | 211 if ((lp->phy_type == MII_DM9161_ID) || (lp->phy_type == MII_DM9161A_ID)) { 216 else if (lp->phy_type == MII_LXT971A_ID) { 221 else if (lp->phy_type == MII_BCM5221_ID) { 226 else if (lp->phy_type == MII_KS8721_ID) { 231 else if (lp->phy_type == MII_T78Q21x3_ID) { /* ack interrupt in Teridian PHY */ 236 else if (lp->phy_type == MII_DP83848_ID) { 278 if ((lp->phy_type == MII_DM9161_ID) || (lp->phy_type == MII_DM9161A_ID)) { /* for Davicom PHY */ 283 else if (lp->phy_type 985 at91ether_setup(unsigned long phy_type, unsigned short phy_address, struct platform_device *pdev, struct clk *ether_clk) argument [all...] |
H A D | at91_ether.h | 94 unsigned long phy_type; /* type of PHY (PHY_ID) */ member in struct:at91_private
|
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | rate.c | 345 int phy_type; local 348 phy_type = 351 if ((phy_type == PHY_TYPE_N) || (phy_type == PHY_TYPE_SSN) || 352 (phy_type == PHY_TYPE_LCN) || (phy_type == PHY_TYPE_HT)) { 381 if ((phy_type == PHY_TYPE_A) || (rxh->PhyRxStatus_0 & PRXS0_OFDM)) 437 /* select rateset for a given phy_type and bandtype and filter it, sort it 443 uint phy_type, int bandtype, bool cck_only, 448 if ((PHYTYPE_IS(phy_type, PHY_TYPE_H 441 brcms_c_rateset_default(struct brcms_c_rateset *rs_tgt, const struct brcms_c_rateset *rs_hw, uint phy_type, int bandtype, bool cck_only, uint rate_mask, bool mcsallow, u8 bw, u8 txstreams) argument [all...] |
H A D | rate.h | 236 const struct brcms_c_rateset *rs_hw, uint phy_type,
|
H A D | mac80211_if.c | 924 u16 phy_type; local 929 phy_type = brcms_c_get_phy_type(wl->wlc, 0); 930 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) { 933 if (phy_type == PHY_TYPE_LCN) { 946 if (phy_type == PHY_TYPE_N || phy_type == PHY_TYPE_LCN) {
|
/drivers/usb/host/ |
H A D | fsl-mph-dr-of.c | 62 static enum fsl_usb2_phy_modes __devinit determine_usb_phy(const char *phy_type) argument 64 if (!phy_type) 66 if (!strcasecmp(phy_type, "ulpi")) 68 if (!strcasecmp(phy_type, "utmi")) 70 if (!strcasecmp(phy_type, "utmi_wide")) 72 if (!strcasecmp(phy_type, "serial")) 167 prop = of_get_property(np, "phy_type", NULL);
|
/drivers/usb/dwc3/ |
H A D | dwc3-exynos.c | 84 pdata->phy_init(pdev, pdata->phy_type); 104 pdata->phy_exit(pdev, pdata->phy_type); 128 pdata->phy_exit(pdev, pdata->phy_type);
|
/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb_hw.c | 110 if (hw->phy_type == ixgb_phy_type_txn17401) 227 ixgb_phy_type phy_type; local 236 phy_type = ixgb_phy_type_txn17401; 246 phy_type = ixgb_phy_type_txn17201; 249 phy_type = ixgb_phy_type_g6005; 254 phy_type = ixgb_phy_type_g6104; 261 phy_type = ixgb_phy_type_txn17201; 264 phy_type = ixgb_phy_type_g6005; 269 phy_type = ixgb_phy_type_unknown; 275 phy_type [all...] |
/drivers/net/ethernet/sun/ |
H A D | sungem.c | 1174 if (gp->phy_type == phy_serialink) 1207 if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes) 1263 if (gp->phy_type != phy_mii_mdio0 && 1264 gp->phy_type != phy_mii_mdio1) 1357 } else if (gp->phy_type == phy_serialink || 1358 gp->phy_type == phy_serdes) { 1361 if ((pcs_lpa & PCS_MIIADV_FD) || gp->phy_type == phy_serdes) 1385 (gp->phy_type == phy_mii_mdio0 || 1386 gp->phy_type [all...] |
/drivers/staging/winbond/ |
H A D | mto.c | 105 switch (MTO_HAL()->phy_type) {
|
H A D | reg.c | 888 if (pHwData->phy_type <= RF_MAXIM_V1) 897 if ((pHwData->phy_type == RF_WB_242) || 898 (RF_WB_242_1 == pHwData->phy_type)) 967 switch (pHwData->phy_type) { 1054 switch (pHwData->phy_type) { 1366 switch (pHwData->phy_type) { 1379 pltmp[10] = (pHwData->phy_type == 3) ? 0x40000a28 : 0x40000228; /* 0x1028 MAXIM_331(b31=0) + WBRF_V1(b11=1) : MAXIM_331(b31=0) + WBRF_V2(b11=0) */ 1700 switch (pHwData->phy_type) { 1856 if (pHwData->phy_type != RF_AIROHA_7230) { 1880 if (RF_MAXIM_2825 == pHwData->phy_type) { [all...] |
/drivers/net/ethernet/intel/e1000e/ |
H A D | phy.c | 2289 enum e1000_phy_type phy_type = e1000_phy_unknown; local 2296 phy_type = e1000_phy_m88; 2299 phy_type = e1000_phy_igp_2; 2302 phy_type = e1000_phy_gg82563; 2305 phy_type = e1000_phy_igp_3; 2310 phy_type = e1000_phy_ife; 2314 phy_type = e1000_phy_bm; 2317 phy_type = e1000_phy_82578; 2320 phy_type = e1000_phy_82577; 2323 phy_type 2344 enum e1000_phy_type phy_type = e1000_phy_unknown; local [all...] |
/drivers/net/ethernet/sfc/ |
H A D | qt202x_phy.c | 313 if (efx->phy_type == PHY_TYPE_QT2025C) { 377 if (efx->phy_type == PHY_TYPE_QT2025C) 397 if (efx->phy_type == PHY_TYPE_QT2025C) 407 if (efx->phy_type == PHY_TYPE_QT2025C) {
|
H A D | mcdi_phy.c | 332 efx->phy_type = phy_data->type; 654 if (efx->phy_type == PHY_TYPE_SFT9001B && 732 if (efx->phy_type == PHY_TYPE_SFT9001B) {
|
/drivers/net/ethernet/smsc/ |
H A D | smc91x.c | 878 lp->phy_type = 0; 899 lp->phy_type = id1 << 16 | id2; 991 if (lp->phy_type == 0) 1054 * We should not be called if phy_type is zero. 1056 if (lp->phy_type == 0) 1150 if (lp->phy_type == 0) 1361 if (lp->phy_type != 0) 1498 if (lp->phy_type == 0) 1506 if (lp->phy_type != 0) 1553 if (lp->phy_type ! [all...] |
H A D | smc911x.c | 675 lp->phy_type = 0; 717 lp->phy_type = id1 << 16 | id2; 731 lp->phy_type = id1 << 16 | id2; 897 * We should not be called if phy_type is zero. 899 if (lp->phy_type == 0) 989 if (lp->phy_type == 0) 1288 if (lp->phy_type != 0) 1446 if (lp->phy_type != 0) { 1476 if (lp->phy_type != 0) { 1513 if (lp->phy_type ! [all...] |
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000_hw.c | 128 hw->phy_type = e1000_phy_m88; 135 hw->phy_type = e1000_phy_igp; 138 hw->phy_type = e1000_phy_8211; 141 hw->phy_type = e1000_phy_8201; 145 hw->phy_type = e1000_phy_undefined; 993 switch (hw->phy_type) { 1122 if (hw->phy_type == e1000_phy_igp) { 1365 if (hw->phy_type == e1000_phy_8201) 1439 if (hw->phy_type == e1000_phy_igp) { 1469 if (hw->phy_type [all...] |
/drivers/infiniband/hw/nes/ |
H A D | nes_utils.c | 246 nesadapter->phy_type[0] = (u8)(eeprom_data >> 8); 247 nesadapter->phy_type[1] = (u8)eeprom_data; 252 nesadapter->phy_type[2] = (u8)(eeprom_data >> 8); 253 nesadapter->phy_type[3] = (u8)eeprom_data; 258 nesadapter->phy_type[0], nesadapter->phy_type[1], 259 nesadapter->phy_type[2], nesadapter->phy_type[3]);
|
H A D | nes_nic.c | 245 if (nesdev->nesadapter->phy_type[nesdev->mac_index] == NES_PHY_TYPE_SFP_D) { 1491 u8 phy_type = nesadapter->phy_type[mac_index]; local 1502 if (phy_type == NES_PHY_TYPE_PUMA_1G) { 1526 if ((phy_type == NES_PHY_TYPE_ARGUS) || 1527 (phy_type == NES_PHY_TYPE_SFP_D) || 1528 (phy_type == NES_PHY_TYPE_KR)) { 1556 (nesadapter->phy_type[nesdev->mac_index] != NES_PHY_TYPE_PUMA_1G)) { 1663 u8 phy_type = nesdev->nesadapter->phy_type[nesde local [all...] |
H A D | nes_hw.c | 515 if (nesadapter->phy_type[0] == NES_PHY_TYPE_PUMA_1G) { 760 switch (nesadapter->phy_type[0]) { 789 if (!(OneG_Mode && (nesadapter->phy_type[1] != NES_PHY_TYPE_PUMA_1G))) 792 switch (nesadapter->phy_type[1]) { 1308 static int nes_init_1g_phy(struct nes_device *nesdev, u8 phy_type, u8 phy_index) argument 1362 static int nes_init_2025_phy(struct nes_device *nesdev, u8 phy_type, u8 phy_index) argument 1393 switch (phy_type) { 1488 if (phy_type == NES_PHY_TYPE_KR) { 1520 u8 phy_type = nesadapter->phy_type[mac_inde local [all...] |
/drivers/usb/otg/ |
H A D | msm_otg.c | 477 if (motg->pdata->phy_type == CI_45NM_INTEGRATED_PHY) { 513 if (motg->pdata->phy_type == SNPS_28NM_INTEGRATED_PHY && 525 if (motg->pdata->phy_type == SNPS_28NM_INTEGRATED_PHY && 562 if (motg->pdata->phy_type == SNPS_28NM_INTEGRATED_PHY && 807 switch (motg->pdata->phy_type) { 827 switch (motg->pdata->phy_type) { 868 switch (motg->pdata->phy_type) { 888 switch (motg->pdata->phy_type) { 914 switch (motg->pdata->phy_type) { 934 switch (motg->pdata->phy_type) { [all...] |
/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_link.h | 84 #define FW_PARAM_SET(phy_addr, phy_type, mdio_access) \ 85 (phy_addr | phy_type | mdio_access << FW_PARAM_MDIO_CTRL_OFFSET)
|
/drivers/atm/ |
H A D | iphase.c | 798 iadev->phy_type = PHY_OC3C_S; 800 iadev->phy_type = PHY_UTP155; 802 iadev->phy_type = PHY_OC3C_M; 805 iadev->phy_type = memType & FE_MASK; 806 IF_INIT(printk("memType = 0x%x iadev->phy_type = 0x%x\n", 807 memType,iadev->phy_type);) 808 if (iadev->phy_type == FE_25MBIT_PHY) 810 else if (iadev->phy_type == FE_DS3_PHY) 812 else if (iadev->phy_type == FE_E3_PHY) 834 if (iadev->phy_type [all...] |
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_phy.c | 130 enum ixgbe_phy_type phy_type; local 134 phy_type = ixgbe_phy_tn; 137 phy_type = ixgbe_phy_aq; 140 phy_type = ixgbe_phy_qt; 143 phy_type = ixgbe_phy_nl; 146 phy_type = ixgbe_phy_unknown; 150 return phy_type;
|
/drivers/scsi/mvsas/ |
H A D | mv_sas.c | 244 && phy->phy_type & PORT_TYPE_SAS) { 261 if (phy->phy_type & PORT_TYPE_SAS) { 274 } else if (phy->phy_type & PORT_TYPE_SATA) { 1058 if (phy->phy_type & PORT_TYPE_SAS) { 1063 } else if (phy->phy_type & PORT_TYPE_SATA) 1067 phy->phy_type &= ~(PORT_TYPE_SAS | PORT_TYPE_SATA); 1128 if (phy->phy_type & PORT_TYPE_SATA) { 1148 phy->phy_type &= ~PORT_TYPE_SATA; 1151 } else if (phy->phy_type & PORT_TYPE_SAS 1210 if (phy->phy_type [all...] |