Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/macintosh/
Dtherm_adt746x.c240 int new_speed = 0; in update_fans_speed() local
248 new_speed = fan_speed + ((var-1)*step); in update_fans_speed()
250 if (new_speed < fan_speed) in update_fans_speed()
251 new_speed = fan_speed; in update_fans_speed()
252 if (new_speed > 255) in update_fans_speed()
253 new_speed = 255; in update_fans_speed()
258 new_speed, var, in update_fans_speed()
260 write_both_fan_speed(th, new_speed); in update_fans_speed()
/kernel/linux/linux-5.10/drivers/net/pcs/
Dpcs-xpcs.c514 int new_speed = SPEED_UNKNOWN; in xpcs_get_max_xlgmii_speed() local
520 new_speed = SPEED_25000; in xpcs_get_max_xlgmii_speed()
526 new_speed = SPEED_40000; in xpcs_get_max_xlgmii_speed()
536 new_speed = SPEED_50000; in xpcs_get_max_xlgmii_speed()
547 new_speed = SPEED_100000; in xpcs_get_max_xlgmii_speed()
553 if (new_speed > speed) in xpcs_get_max_xlgmii_speed()
554 speed = new_speed; in xpcs_get_max_xlgmii_speed()
/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-ioctl.c197 static int ivtv_validate_speed(int cur_speed, int new_speed) in ivtv_validate_speed() argument
199 int fact = new_speed < 0 ? -1 : 1; in ivtv_validate_speed()
204 if (new_speed < 0) in ivtv_validate_speed()
205 new_speed = -new_speed; in ivtv_validate_speed()
209 if (cur_speed <= new_speed) { in ivtv_validate_speed()
210 if (new_speed > 1500) in ivtv_validate_speed()
212 if (new_speed > 1000) in ivtv_validate_speed()
216 if (new_speed >= 2000) in ivtv_validate_speed()
218 if (new_speed >= 1500) in ivtv_validate_speed()
220 if (new_speed >= 1000) in ivtv_validate_speed()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/faraday/
Dftgmac100.c1000 int new_speed; in ftgmac100_adjust_link() local
1004 new_speed = 0; in ftgmac100_adjust_link()
1006 new_speed = phydev->speed; in ftgmac100_adjust_link()
1028 if (new_speed || priv->cur_speed) in ftgmac100_adjust_link()
1031 priv->cur_speed = new_speed; in ftgmac100_adjust_link()
1037 if (!new_speed) in ftgmac100_adjust_link()
/kernel/linux/linux-5.10/drivers/hid/
Dwacom_sys.c1837 u8 new_speed; in wacom_store_speed() local
1839 if (kstrtou8(buf, 0, &new_speed)) in wacom_store_speed()
1842 if (new_speed != 0 && new_speed != 1) in wacom_store_speed()
1845 wacom_bt_query_tablet_data(hdev, new_speed, &wacom->wacom_wac.features); in wacom_store_speed()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c6614 enum i40e_aq_link_speed new_speed; in i40e_print_link_message() local
6623 new_speed = pf->hw.phy.link_info.link_speed; in i40e_print_link_message()
6625 new_speed = I40E_LINK_SPEED_UNKNOWN; in i40e_print_link_message()
6627 if ((vsi->current_isup == isup) && (vsi->current_speed == new_speed)) in i40e_print_link_message()
6630 vsi->current_speed = new_speed; in i40e_print_link_message()