Home
last modified time | relevance | path

Searched refs:last_speed (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/platform/x86/
Dgpd-pocket-fan.c52 int last_speed; member
57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
63 fan->last_speed = speed; in gpd_pocket_fan_set_speed()
89 speed = fan->last_speed; in gpd_pocket_fan_worker()
108 if (fan->last_speed <= 0 && speed) in gpd_pocket_fan_worker()
121 fan->last_speed = -1; in gpd_pocket_fan_force_update()
/linux-5.19.10/drivers/staging/octeon/
Dethernet-rgmii.c67 if (link_info.s.speed == 10 && priv->last_speed == 10) { in cvm_oct_check_preamble_errors()
96 if (priv->last_speed != link_info.s.speed) in cvm_oct_check_preamble_errors()
98 priv->last_speed = link_info.s.speed; in cvm_oct_check_preamble_errors()
Docteon-ethernet.h67 unsigned int last_speed; member
/linux-5.19.10/drivers/macintosh/
Dtherm_adt746x.c79 int last_speed[2]; member
160 if (th->last_speed[fan] != speed) { in write_fan_speed()
195 th->last_speed[fan] = speed; in write_fan_speed()
265 if (th->last_speed[fan_number] != 0) in update_fans_speed()
343 th->last_speed[data], \
541 th->last_speed[0] = -2; in probe_thermostat()
542 th->last_speed[1] = -2; in probe_thermostat()
/linux-5.19.10/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c61 unsigned int last_speed; member
219 link->speed = lmac->last_speed; in bgx_get_lmac_link_state()
429 xcv_setup_link(enable ? lmac->link_up : 0, lmac->last_speed); in bgx_lmac_rx_tx_enable()
544 switch (lmac->last_speed) { in bgx_sgmii_change_link_state()
588 xcv_setup_link(lmac->link_up, lmac->last_speed); in bgx_sgmii_change_link_state()
605 lmac->last_speed != phydev->speed)) { in bgx_lmac_handler()
610 lmac->last_speed = phydev->speed; in bgx_lmac_handler()
955 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link()
968 lmac->last_speed = SPEED_10; in bgx_poll_for_sgmii_link()
971 lmac->last_speed = SPEED_100; in bgx_poll_for_sgmii_link()
[all …]
/linux-5.19.10/drivers/spi/
Dspi-qcom-qspi.c145 unsigned long last_speed; member
233 if (speed_hz == ctrl->last_speed) in qcom_qspi_set_speed()
255 ctrl->last_speed = speed_hz; in qcom_qspi_set_speed()
604 return dev_pm_opp_set_rate(dev, ctrl->last_speed * 4); in qcom_qspi_runtime_resume()
/linux-5.19.10/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c144 unsigned int last_speed; member
923 p->last_speed != phydev->speed)) { in octeon_mgmt_adjust_link()
931 p->last_speed = phydev->speed; in octeon_mgmt_adjust_link()
1213 p->last_speed = 0; in octeon_mgmt_open()