Lines Matching refs:new_status
3378 u32 new_status = 0; in velocity_set_link_ksettings() local
3384 new_status |= ((cmd->base.autoneg) ? VELOCITY_AUTONEG_ENABLE : 0); in velocity_set_link_ksettings()
3385 new_status |= ((speed == SPEED_1000) ? VELOCITY_SPEED_1000 : 0); in velocity_set_link_ksettings()
3386 new_status |= ((speed == SPEED_100) ? VELOCITY_SPEED_100 : 0); in velocity_set_link_ksettings()
3387 new_status |= ((speed == SPEED_10) ? VELOCITY_SPEED_10 : 0); in velocity_set_link_ksettings()
3388 new_status |= ((cmd->base.duplex == DUPLEX_FULL) ? in velocity_set_link_ksettings()
3391 if ((new_status & VELOCITY_AUTONEG_ENABLE) && in velocity_set_link_ksettings()
3392 (new_status != (curr_status | VELOCITY_AUTONEG_ENABLE))) { in velocity_set_link_ksettings()
3397 if (new_status & VELOCITY_AUTONEG_ENABLE) in velocity_set_link_ksettings()
3399 else if ((new_status & VELOCITY_SPEED_1000) && in velocity_set_link_ksettings()
3400 (new_status & VELOCITY_DUPLEX_FULL)) { in velocity_set_link_ksettings()
3402 } else if (new_status & VELOCITY_SPEED_100) in velocity_set_link_ksettings()
3403 spd_dpx = (new_status & VELOCITY_DUPLEX_FULL) ? in velocity_set_link_ksettings()
3405 else if (new_status & VELOCITY_SPEED_10) in velocity_set_link_ksettings()
3406 spd_dpx = (new_status & VELOCITY_DUPLEX_FULL) ? in velocity_set_link_ksettings()
3413 velocity_set_media_mode(vptr, new_status); in velocity_set_link_ksettings()