Searched defs:phy_idx (Results 1 - 16 of 16) sorted by relevance

/drivers/net/ethernet/dec/tulip/
H A Dmedia.c453 int phyn, phy_idx = 0; local
461 for (phyn = 1; phyn <= 32 && phy_idx < sizeof (tp->phys); phyn++) {
486 tp->advertising[phy_idx] =
488 } else if (tp->advertising[phy_idx]) {
489 to_advert = tp->advertising[phy_idx];
491 tp->advertising[phy_idx] =
496 tp->phys[phy_idx++] = phy;
547 tp->mii_cnt = phy_idx;
548 if (tp->mtable && tp->mtable->has_mii && phy_idx == 0) {
H A Dtulip_core.c915 const unsigned int phy_idx = 0; local
916 int phy = tp->phys[phy_idx] & 0x1f;
977 tp->advertising[phy_idx] =
H A Dwinbond-840.c449 int phy, phy_idx = 0; local
450 for (phy = 1; phy < 32 && phy_idx < MII_CNT; phy++) {
453 np->phys[phy_idx++] = phy;
463 np->mii_cnt = phy_idx;
465 if (phy_idx == 0) {
/drivers/net/wireless/b43/
H A Dtables_nphy.c3185 u8 phy_idx; local
3194 phy_idx = 3;
3196 phy_idx = 2;
3198 phy_idx = 1;
3200 phy_idx = 0;
3201 e = &nphy_gain_ctl_workaround[ghz5][phy_idx];
/drivers/scsi/isci/
H A Dphy.c122 int phy_idx = iphy->phy_index; local
131 phy_user = &ihost->user_parameters.phys[phy_idx];
132 phy_oem = &ihost->oem_parameters.phys[phy_idx];
147 writel(phy_idx, &llr->sas_device_name_low);
155 writel(SCU_SAS_TIPID_GEN_VALUE(ID, phy_idx), &llr->identify_frame_phy_id);
172 struct scu_afe_transceiver *xcvr = &afe->scu_afe_xcvr[phy_idx];
H A Dport.c331 int phy_idx = isci_port->last_active_phy; local
332 struct isci_phy *iphy = &ihost->phys[phy_idx];
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c189 u32 phy_idx = bnx2x_get_cur_phy_idx(bp); local
190 switch (bp->link_params.phy[phy_idx].media_type) {
H A Dbnx2x_link.c6195 u8 phy_idx; local
6203 for (phy_idx = EXT_PHY1; phy_idx < MAX_PHYS; phy_idx++) {
6204 if (params->phy[phy_idx].set_link_led) {
6205 params->phy[phy_idx].set_link_led(
6206 &params->phy[phy_idx], params, mode);
7924 u32 sync_offset = 0, phy_idx, media_types; local
7992 for (phy_idx = INT_PHY; phy_idx < MAX_PHY
12890 u16 phy_idx; local
[all...]
/drivers/net/ethernet/packetengines/
H A Dhamachi.c754 int phy, phy_idx = 0; local
755 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) {
759 hmp->phys[phy_idx++] = phy;
766 hmp->mii_cnt = phy_idx;
H A Dyellowfin.c494 int phy, phy_idx = 0; local
495 for (phy = 0; phy < 32 && phy_idx < MII_CNT; phy++) {
498 np->phys[phy_idx++] = phy;
504 np->mii_cnt = phy_idx;
/drivers/net/ethernet/smsc/
H A Depic100.c454 int phy, phy_idx = 0; local
455 for (phy = 1; phy < 32 && phy_idx < sizeof(ep->phys); phy++) {
458 ep->phys[phy_idx++] = phy;
465 ep->mii_phy_cnt = phy_idx;
466 if (phy_idx != 0) {
/drivers/net/ethernet/dlink/
H A Dsundance.c493 int phy, phy_end, phy_idx = 0; local
587 for (; phy <= phy_end && phy_idx < MII_CNT; phy++) {
591 np->phys[phy_idx++] = phyx;
602 if (phy_idx == 0) {
/drivers/net/ethernet/
H A Dfealnx.c582 int phy, phy_idx = 0; local
584 for (phy = 1; phy < 32 && phy_idx < ARRAY_SIZE(np->phys);
589 np->phys[phy_idx++] = phy;
614 np->mii_cnt = phy_idx;
615 if (phy_idx == 0)
/drivers/net/ethernet/adaptec/
H A Dstarfire.c833 int phy, phy_idx = 0; local
835 for (phy = 0; phy < 32 && phy_idx < PHY_CNT; phy++) {
848 np->phys[phy_idx++] = phy;
857 np->phy_cnt = phy_idx;
/drivers/net/ethernet/realtek/
H A D8139too.c1077 int phy, phy_idx = 0; local
1078 for (phy = 0; phy < 32 && phy_idx < sizeof(tp->phys); phy++) {
1082 tp->phys[phy_idx++] = phy;
1087 if (phy_idx == 0) {
/drivers/net/ethernet/3com/
H A D3c59x.c1397 int phy, phy_idx = 0; local
1403 for (phy = 0; phy < 32 && phy_idx < 1; phy++) {
1418 vp->phys[phy_idx++] = phyx;
1428 if (phy_idx == 0) {

Completed in 289 milliseconds