Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/platform/x86/
Dgpd-pocket-fan.c41 int last_speed; member
46 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed()
52 fan->last_speed = speed; in gpd_pocket_fan_set_speed()
78 speed = fan->last_speed; in gpd_pocket_fan_worker()
97 if (fan->last_speed <= 0 && speed) in gpd_pocket_fan_worker()
110 fan->last_speed = -1; in gpd_pocket_fan_force_update()
/Linux-v5.4/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-v5.4/drivers/macintosh/
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-v5.4/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()
420 xcv_setup_link(enable ? lmac->link_up : 0, lmac->last_speed); in bgx_lmac_rx_tx_enable()
535 switch (lmac->last_speed) { in bgx_sgmii_change_link_state()
579 xcv_setup_link(lmac->link_up, lmac->last_speed); in bgx_sgmii_change_link_state()
599 lmac->last_speed != phydev->speed)) { in bgx_lmac_handler()
604 lmac->last_speed = phydev->speed; in bgx_lmac_handler()
949 lmac->last_speed = SPEED_UNKNOWN; in bgx_poll_for_sgmii_link()
962 lmac->last_speed = SPEED_10; in bgx_poll_for_sgmii_link()
965 lmac->last_speed = SPEED_100; in bgx_poll_for_sgmii_link()
[all …]
/Linux-v5.4/drivers/net/ethernet/cavium/octeon/
Docteon_mgmt.c145 unsigned int last_speed; member
924 p->last_speed != phydev->speed)) { in octeon_mgmt_adjust_link()
932 p->last_speed = phydev->speed; in octeon_mgmt_adjust_link()
1214 p->last_speed = 0; in octeon_mgmt_open()