Searched refs:new_speed (Results 1 – 7 of 7) sorted by relevance
241 int new_speed = 0; in update_fans_speed() local249 new_speed = fan_speed + ((var-1)*step); in update_fans_speed()251 if (new_speed < fan_speed) in update_fans_speed()252 new_speed = fan_speed; in update_fans_speed()253 if (new_speed > 255) in update_fans_speed()254 new_speed = 255; in update_fans_speed()259 new_speed, var, in update_fans_speed()261 write_both_fan_speed(th, new_speed); in update_fans_speed()
199 if (new_speed < 0) in ivtv_validate_speed()200 new_speed = -new_speed; in ivtv_validate_speed()205 if (new_speed > 1500) in ivtv_validate_speed()207 if (new_speed > 1000) in ivtv_validate_speed()211 if (new_speed >= 2000) in ivtv_validate_speed()213 if (new_speed >= 1500) in ivtv_validate_speed()215 if (new_speed >= 1000) in ivtv_validate_speed()218 if (new_speed == 0) in ivtv_validate_speed()220 if (new_speed == 1 || new_speed == 1000) in ivtv_validate_speed()223 s = new_speed; in ivtv_validate_speed()[all …]
521 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() local527 new_speed = SPEED_25000; in xpcs_get_max_xlgmii_speed()533 new_speed = SPEED_40000; in xpcs_get_max_xlgmii_speed()543 new_speed = SPEED_50000; in xpcs_get_max_xlgmii_speed()554 new_speed = SPEED_100000; in xpcs_get_max_xlgmii_speed()560 if (new_speed > speed) in xpcs_get_max_xlgmii_speed()561 speed = new_speed; in xpcs_get_max_xlgmii_speed()
721 u8 old_speed, new_speed, state; in mptfc_display_port_link_speed() local728 new_speed = pp0dest->CurrentSpeed; in mptfc_display_port_link_speed()732 new_speed != MPI_FCPORTPAGE0_CURRENT_SPEED_UNKNOWN) { in mptfc_display_port_link_speed()738 new = new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT ? "1 Gbps" : in mptfc_display_port_link_speed()739 new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT ? "2 Gbps" : in mptfc_display_port_link_speed()740 new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT ? "4 Gbps" : in mptfc_display_port_link_speed()746 else if (old_speed != new_speed) in mptfc_display_port_link_speed()751 ioc->fc_link_speed[portnum] = new_speed; in mptfc_display_port_link_speed()
1388 int new_speed; in ftgmac100_adjust_link() local1392 new_speed = 0; in ftgmac100_adjust_link()1394 new_speed = phydev->speed; in ftgmac100_adjust_link()1416 if (new_speed || priv->cur_speed) in ftgmac100_adjust_link()1419 priv->cur_speed = new_speed; in ftgmac100_adjust_link()1425 if (!new_speed) in ftgmac100_adjust_link()
1839 u8 new_speed; in wacom_store_speed() local1841 if (kstrtou8(buf, 0, &new_speed)) in wacom_store_speed()1844 if (new_speed != 0 && new_speed != 1) in wacom_store_speed()1847 wacom_bt_query_tablet_data(hdev, new_speed, &wacom->wacom_wac.features); in wacom_store_speed()
7295 enum i40e_aq_link_speed new_speed; in i40e_print_link_message() local7304 new_speed = pf->hw.phy.link_info.link_speed; in i40e_print_link_message()7306 new_speed = I40E_LINK_SPEED_UNKNOWN; in i40e_print_link_message()7308 if ((vsi->current_isup == isup) && (vsi->current_speed == new_speed)) in i40e_print_link_message()7311 vsi->current_speed = new_speed; in i40e_print_link_message()