Lines Matching refs:duplex

762 	int duplex;  member
3219 static void nv_force_linkspeed(struct net_device *dev, int speed, int duplex) in nv_force_linkspeed() argument
3227 np->duplex = duplex; in nv_force_linkspeed()
3246 if (np->duplex == 0) in nv_force_linkspeed()
3277 writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD), in nv_force_linkspeed()
3305 int newdup = np->duplex; in nv_update_linkspeed()
3401 if (np->duplex == newdup && np->linkspeed == newls) in nv_update_linkspeed()
3404 np->duplex = newdup; in nv_update_linkspeed()
3430 if (np->duplex == 0) in nv_update_linkspeed()
3443 if (!phy_exp && !np->duplex && (np->driver_data & DEV_HAS_COLLISION_FIX)) { in nv_update_linkspeed()
3453 if (!phy_exp && !np->duplex && (np->driver_data & DEV_HAS_COLLISION_FIX)) in nv_update_linkspeed()
3470 writel(NVREG_MISC1_FORCE | (np->duplex ? 0 : NVREG_MISC1_HD), in nv_update_linkspeed()
3478 if (netif_running(dev) && (np->duplex != 0)) { in nv_update_linkspeed()
4284 ecmd->duplex = DUPLEX_HALF; in nv_get_settings()
4285 if (np->duplex) in nv_get_settings()
4286 ecmd->duplex = DUPLEX_FULL; in nv_get_settings()
4289 ecmd->duplex = DUPLEX_UNKNOWN; in nv_get_settings()
4358 if (ecmd->duplex != DUPLEX_HALF && ecmd->duplex != DUPLEX_FULL) in nv_set_settings()
4440 if (speed == SPEED_10 && ecmd->duplex == DUPLEX_HALF) in nv_set_settings()
4442 if (speed == SPEED_10 && ecmd->duplex == DUPLEX_FULL) in nv_set_settings()
4444 if (speed == SPEED_100 && ecmd->duplex == DUPLEX_HALF) in nv_set_settings()
4446 if (speed == SPEED_100 && ecmd->duplex == DUPLEX_FULL) in nv_set_settings()
4702 if ((!np->autoneg && np->duplex == 0) || in nv_set_pauseparam()
4703 (np->autoneg && !pause->autoneg && np->duplex == 0)) { in nv_set_pauseparam()
5982 np->duplex = 0; in nv_probe()