Home
last modified time | relevance | path

Searched refs:new_speed (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dsa1100-cpufreq.c113 static void sa1100_update_dram_timings(int current_speed, int new_speed) in sa1100_update_dram_timings() argument
119 if (new_speed == settings->speed) in sa1100_update_dram_timings()
127 __func__, new_speed); in sa1100_update_dram_timings()
131 if (new_speed > current_speed) { in sa1100_update_dram_timings()
/linux-6.1.9/drivers/macintosh/
Dtherm_adt746x.c239 int new_speed = 0; in update_fans_speed() local
247 new_speed = fan_speed + ((var-1)*step); in update_fans_speed()
249 if (new_speed < fan_speed) in update_fans_speed()
250 new_speed = fan_speed; in update_fans_speed()
251 if (new_speed > 255) in update_fans_speed()
252 new_speed = 255; in update_fans_speed()
257 new_speed, var, in update_fans_speed()
259 write_both_fan_speed(th, new_speed); in update_fans_speed()
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-ioctl.c192 static int ivtv_validate_speed(int cur_speed, int new_speed) in ivtv_validate_speed() argument
194 int fact = new_speed < 0 ? -1 : 1; in ivtv_validate_speed()
199 if (new_speed < 0) in ivtv_validate_speed()
200 new_speed = -new_speed; in ivtv_validate_speed()
204 if (cur_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()
[all …]
/linux-6.1.9/drivers/net/pcs/
Dpcs-xpcs.c590 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() local
596 new_speed = SPEED_25000; in xpcs_get_max_xlgmii_speed()
602 new_speed = SPEED_40000; in xpcs_get_max_xlgmii_speed()
612 new_speed = SPEED_50000; in xpcs_get_max_xlgmii_speed()
623 new_speed = SPEED_100000; in xpcs_get_max_xlgmii_speed()
629 if (new_speed > speed) in xpcs_get_max_xlgmii_speed()
630 speed = new_speed; in xpcs_get_max_xlgmii_speed()
/linux-6.1.9/drivers/message/fusion/
Dmptfc.c684 u8 old_speed, new_speed, state; in mptfc_display_port_link_speed() local
691 new_speed = pp0dest->CurrentSpeed; in mptfc_display_port_link_speed()
695 new_speed != MPI_FCPORTPAGE0_CURRENT_SPEED_UNKNOWN) { in mptfc_display_port_link_speed()
701 new = new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_1GBIT ? "1 Gbps" : in mptfc_display_port_link_speed()
702 new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_2GBIT ? "2 Gbps" : in mptfc_display_port_link_speed()
703 new_speed == MPI_FCPORTPAGE0_CURRENT_SPEED_4GBIT ? "4 Gbps" : in mptfc_display_port_link_speed()
709 else if (old_speed != new_speed) in mptfc_display_port_link_speed()
714 ioc->fc_link_speed[portnum] = new_speed; in mptfc_display_port_link_speed()
/linux-6.1.9/drivers/net/ethernet/faraday/
Dftgmac100.c1362 int new_speed; in ftgmac100_adjust_link() local
1366 new_speed = 0; in ftgmac100_adjust_link()
1368 new_speed = phydev->speed; in ftgmac100_adjust_link()
1390 if (new_speed || priv->cur_speed) in ftgmac100_adjust_link()
1393 priv->cur_speed = new_speed; in ftgmac100_adjust_link()
1399 if (!new_speed) in ftgmac100_adjust_link()
/linux-6.1.9/drivers/hid/
Dwacom_sys.c1832 u8 new_speed; in wacom_store_speed() local
1834 if (kstrtou8(buf, 0, &new_speed)) in wacom_store_speed()
1837 if (new_speed != 0 && new_speed != 1) in wacom_store_speed()
1840 wacom_bt_query_tablet_data(hdev, new_speed, &wacom->wacom_wac.features); in wacom_store_speed()
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_main.c7216 enum i40e_aq_link_speed new_speed; in i40e_print_link_message() local
7225 new_speed = pf->hw.phy.link_info.link_speed; in i40e_print_link_message()
7227 new_speed = I40E_LINK_SPEED_UNKNOWN; in i40e_print_link_message()
7229 if ((vsi->current_isup == isup) && (vsi->current_speed == new_speed)) in i40e_print_link_message()
7232 vsi->current_speed = new_speed; in i40e_print_link_message()