Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/
A 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/drivers/staging/octeon/
A 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()
A Docteon-ethernet.h67 unsigned int last_speed; member
/linux/drivers/macintosh/
A Dtherm_adt746x.c80 int last_speed[2]; member
161 if (th->last_speed[fan] != speed) { in write_fan_speed()
196 th->last_speed[fan] = speed; in write_fan_speed()
266 if (th->last_speed[fan_number] != 0) in update_fans_speed()
344 th->last_speed[data], \
542 th->last_speed[0] = -2; in probe_thermostat()
543 th->last_speed[1] = -2; in probe_thermostat()
/linux/drivers/net/ethernet/cavium/thunder/
A Dthunder_bgx.c61 unsigned int last_speed; member
219 link->speed = lmac->last_speed; in bgx_get_lmac_link_state()
544 switch (lmac->last_speed) { in bgx_sgmii_change_link_state()
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()
974 lmac->last_speed = SPEED_1000; in bgx_poll_for_sgmii_link()
1018 lmac->last_speed = SPEED_40000; in bgx_poll_for_link()
1020 lmac->last_speed = SPEED_10000; in bgx_poll_for_link()
[all …]
/linux/drivers/spi/
A 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/drivers/net/ethernet/cavium/octeon/
A Docteon_mgmt.c144 unsigned int last_speed; member
926 p->last_speed != phydev->speed)) { in octeon_mgmt_adjust_link()
934 p->last_speed = phydev->speed; in octeon_mgmt_adjust_link()
1216 p->last_speed = 0; in octeon_mgmt_open()

Completed in 22 milliseconds