Lines Matching refs:new_status
3377 u32 new_status = 0; in velocity_set_link_ksettings() local
3383 new_status |= ((cmd->base.autoneg) ? VELOCITY_AUTONEG_ENABLE : 0); in velocity_set_link_ksettings()
3384 new_status |= ((speed == SPEED_1000) ? VELOCITY_SPEED_1000 : 0); in velocity_set_link_ksettings()
3385 new_status |= ((speed == SPEED_100) ? VELOCITY_SPEED_100 : 0); in velocity_set_link_ksettings()
3386 new_status |= ((speed == SPEED_10) ? VELOCITY_SPEED_10 : 0); in velocity_set_link_ksettings()
3387 new_status |= ((cmd->base.duplex == DUPLEX_FULL) ? in velocity_set_link_ksettings()
3390 if ((new_status & VELOCITY_AUTONEG_ENABLE) && in velocity_set_link_ksettings()
3391 (new_status != (curr_status | VELOCITY_AUTONEG_ENABLE))) { in velocity_set_link_ksettings()
3396 if (new_status & VELOCITY_AUTONEG_ENABLE) in velocity_set_link_ksettings()
3398 else if ((new_status & VELOCITY_SPEED_1000) && in velocity_set_link_ksettings()
3399 (new_status & VELOCITY_DUPLEX_FULL)) { in velocity_set_link_ksettings()
3401 } else if (new_status & VELOCITY_SPEED_100) in velocity_set_link_ksettings()
3402 spd_dpx = (new_status & VELOCITY_DUPLEX_FULL) ? in velocity_set_link_ksettings()
3404 else if (new_status & VELOCITY_SPEED_10) in velocity_set_link_ksettings()
3405 spd_dpx = (new_status & VELOCITY_DUPLEX_FULL) ? in velocity_set_link_ksettings()
3412 velocity_set_media_mode(vptr, new_status); in velocity_set_link_ksettings()