Searched refs:last_speed (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/macintosh/
H A Dtherm_adt746x.c79 int last_speed[2]; member in struct:thermostat
160 if (th->last_speed[fan] != speed) { write_fan_speed()
195 th->last_speed[fan] = speed; write_fan_speed()
265 if (th->last_speed[fan_number] != 0) update_fans_speed()
343 th->last_speed[data], \
541 th->last_speed[0] = -2; probe_thermostat()
542 th->last_speed[1] = -2; probe_thermostat()
/linux-4.4.14/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c38 unsigned int last_speed; member in struct:lmac
163 link->speed = lmac->last_speed; bgx_get_lmac_link_state()
228 switch (lmac->last_speed) { bgx_sgmii_change_link_state()
289 lmac->last_speed != phydev->speed)) { bgx_lmac_handler()
294 lmac->last_speed = phydev->speed; bgx_lmac_handler()
626 lmac->last_speed = 40000; bgx_poll_for_link()
628 lmac->last_speed = 10000; bgx_poll_for_link()
632 lmac->last_speed = SPEED_UNKNOWN; bgx_poll_for_link()
/linux-4.4.14/drivers/net/ethernet/octeon/
H A Docteon_mgmt.c145 unsigned int last_speed; member in struct:octeon_mgmt
924 || p->last_speed != p->phydev->speed)) { octeon_mgmt_adjust_link()
932 p->last_speed = p->phydev->speed; octeon_mgmt_adjust_link()
1213 p->last_speed = 0; octeon_mgmt_open()

Completed in 110 milliseconds