Lines Matching refs:link_speed
75 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed);
285 if (adapter->link_speed != speed || in atl1c_check_link_status()
287 adapter->link_speed = speed; in atl1c_check_link_status()
296 adapter->link_speed, in atl1c_check_link_status()
323 adapter->link_speed = SPEED_0; in atl1c_link_chg_event()
788 adapter->link_speed = SPEED_0; in atl1c_sw_init()
1230 hw->mac_speed = adapter->link_speed == SPEED_1000 ? in atl1c_start_mac()
1327 static void atl1c_set_aspm(struct atl1c_hw *hw, u16 link_speed) in atl1c_set_aspm() argument
1340 link_speed == SPEED_1000 || link_speed == SPEED_100 ? in atl1c_set_aspm()
1347 if (link_speed != SPEED_1000 && link_speed != SPEED_100) in atl1c_set_aspm()
1354 if ((hw->ctrl_flags & ATL1C_ASPM_L0S_SUPPORT) && link_speed != SPEED_0) in atl1c_set_aspm()
1373 if (link_speed == SPEED_0 || hw->nic_type == athr_l2c_b) in atl1c_set_aspm()
1378 if (link_speed != SPEED_0) { in atl1c_set_aspm()
2440 adapter->link_speed = SPEED_0; in atl1c_down()