/drivers/net/ethernet/dec/tulip/ |
D | media.c | 452 int phyn, phy_idx = 0; in tulip_find_mii() local 460 for (phyn = 1; phyn <= 32 && phy_idx < ARRAY_SIZE(tp->phys); phyn++) { in tulip_find_mii() 485 tp->advertising[phy_idx] = in tulip_find_mii() 487 } else if (tp->advertising[phy_idx]) { in tulip_find_mii() 488 to_advert = tp->advertising[phy_idx]; in tulip_find_mii() 490 tp->advertising[phy_idx] = in tulip_find_mii() 495 tp->phys[phy_idx++] = phy; in tulip_find_mii() 546 tp->mii_cnt = phy_idx; in tulip_find_mii() 547 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) { in tulip_find_mii()
|
D | winbond-840.c | 445 int phy, phy_idx = 0; in w840_probe1() local 446 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) { in w840_probe1() 449 np->phys[phy_idx++] = phy; in w840_probe1() 459 np->mii_cnt = phy_idx; in w840_probe1() 461 if (phy_idx == 0) { in w840_probe1()
|
D | tulip_core.c | 916 const unsigned int phy_idx = 0; in private_ioctl() local 917 int phy = tp->phys[phy_idx] & 0x1f; in private_ioctl() 978 tp->advertising[phy_idx] = in private_ioctl()
|
/drivers/net/wireless/b43/ |
D | tables_nphy.c | 3783 u8 phy_idx; in b43_nphy_get_gain_ctl_workaround_ent() local 3790 phy_idx = 3; in b43_nphy_get_gain_ctl_workaround_ent() 3792 phy_idx = 2; in b43_nphy_get_gain_ctl_workaround_ent() 3794 phy_idx = 1; in b43_nphy_get_gain_ctl_workaround_ent() 3796 phy_idx = 0; in b43_nphy_get_gain_ctl_workaround_ent() 3797 e = &nphy_gain_ctl_workaround[ghz5][phy_idx]; in b43_nphy_get_gain_ctl_workaround_ent()
|
/drivers/scsi/isci/ |
D | phy.c | 122 int phy_idx = iphy->phy_index; in sci_phy_link_layer_initialization() local 131 phy_user = &ihost->user_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization() 132 phy_oem = &ihost->oem_parameters.phys[phy_idx]; in sci_phy_link_layer_initialization() 147 writel(phy_idx, &llr->sas_device_name_low); in sci_phy_link_layer_initialization() 155 writel(SCU_SAS_TIPID_GEN_VALUE(ID, phy_idx), &llr->identify_frame_phy_id); in sci_phy_link_layer_initialization() 172 struct scu_afe_transceiver __iomem *xcvr = &afe->scu_afe_xcvr[phy_idx]; in sci_phy_link_layer_initialization()
|
D | port.c | 331 int phy_idx = isci_port->last_active_phy; in isci_port_hard_reset_complete() local 332 struct isci_phy *iphy = &ihost->phys[phy_idx]; in isci_port_hard_reset_complete()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 193 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_port_type() local 194 switch (bp->link_params.phy[phy_idx].media_type) { in bnx2x_get_port_type() 344 u32 speed, phy_idx; in bnx2x_set_settings() local 602 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_set_settings() 605 (bp->link_params.phy[phy_idx].media_type == in bnx2x_set_settings() 1434 int rc = -EINVAL, phy_idx; in bnx2x_get_module_eeprom() local 1444 phy_idx = bnx2x_get_cur_phy_idx(bp); in bnx2x_get_module_eeprom() 1454 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_eeprom() 1479 rc = bnx2x_read_sfp_module_eeprom(&bp->link_params.phy[phy_idx], in bnx2x_get_module_eeprom() 1498 int phy_idx, rc; in bnx2x_get_module_info() local [all …]
|
D | bnx2x_link.c | 6269 u8 phy_idx; in bnx2x_set_led() local 6277 for (phy_idx = EXT_PHY1; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_set_led() 6278 if (params->phy[phy_idx].set_link_led) { in bnx2x_set_led() 6279 params->phy[phy_idx].set_link_led( in bnx2x_set_led() 6280 ¶ms->phy[phy_idx], params, mode); in bnx2x_set_led() 6649 u8 phy_idx, port = params->port; in bnx2x_update_link_up() local 6725 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_update_link_up() 6726 if (params->phy[phy_idx].flags & FLAGS_TX_ERROR_CHECK) { in bnx2x_update_link_up() 8066 u32 sync_offset = 0, phy_idx, media_types; in bnx2x_get_edc_mode() local 8168 for (phy_idx = INT_PHY; phy_idx < MAX_PHYS; phy_idx++) { in bnx2x_get_edc_mode() [all …]
|
/drivers/net/ethernet/smsc/ |
D | epic100.c | 441 int phy, phy_idx = 0; in epic_init_one() local 442 for (phy = 1; phy < 32 && phy_idx < sizeof(ep->phys); phy++) { in epic_init_one() 445 ep->phys[phy_idx++] = phy; in epic_init_one() 452 ep->mii_phy_cnt = phy_idx; in epic_init_one() 453 if (phy_idx != 0) { in epic_init_one()
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 491 int phy, phy_idx = 0; in yellowfin_init_one() local 492 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) { in yellowfin_init_one() 495 np->phys[phy_idx++] = phy; in yellowfin_init_one() 501 np->mii_cnt = phy_idx; in yellowfin_init_one()
|
D | hamachi.c | 750 int phy, phy_idx = 0; in hamachi_init_one() local 751 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) { in hamachi_init_one() 755 hmp->phys[phy_idx++] = phy; in hamachi_init_one() 762 hmp->mii_cnt = phy_idx; in hamachi_init_one()
|
/drivers/net/ethernet/ |
D | fealnx.c | 579 int phy, phy_idx = 0; in fealnx_init_one() local 581 for (phy = 1; phy < 32 && phy_idx < ARRAY_SIZE(np->phys); in fealnx_init_one() 586 np->phys[phy_idx++] = phy; in fealnx_init_one() 611 np->mii_cnt = phy_idx; in fealnx_init_one() 612 if (phy_idx == 0) in fealnx_init_one()
|
/drivers/net/ethernet/adaptec/ |
D | starfire.c | 802 int phy, phy_idx = 0; in starfire_init_one() local 804 for (phy = 0; phy < 32 && phy_idx < PHY_CNT; phy++) { in starfire_init_one() 817 np->phys[phy_idx++] = phy; in starfire_init_one() 826 np->phy_cnt = phy_idx; in starfire_init_one()
|
/drivers/net/ethernet/dlink/ |
D | sundance.c | 517 int phy, phy_end, phy_idx = 0; in sundance_probe1() local 607 for (; phy <= phy_end && phy_idx < MII_CNT; phy++) { in sundance_probe1() 611 np->phys[phy_idx++] = phyx; in sundance_probe1() 622 if (phy_idx == 0) { in sundance_probe1()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 1050 int phy, phy_idx = 0; in rtl8139_init_one() local 1051 for (phy = 0; phy < 32 && phy_idx < sizeof(tp->phys); phy++) { in rtl8139_init_one() 1055 tp->phys[phy_idx++] = phy; in rtl8139_init_one() 1060 if (phy_idx == 0) { in rtl8139_init_one()
|
/drivers/net/ethernet/3com/ |
D | 3c59x.c | 1396 int phy, phy_idx = 0; in vortex_probe1() local 1402 for (phy = 0; phy < 32 && phy_idx < 1; phy++) { in vortex_probe1() 1417 vp->phys[phy_idx++] = phyx; in vortex_probe1() 1427 if (phy_idx == 0) { in vortex_probe1()
|