Home
last modified time | relevance | path

Searched refs:lx (Results 1 – 2 of 2) sorted by relevance

/drivers/hid/
Dhid-wiimote-modules.c1053 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1099 lx = ext[0] & 0x3e; in wiimod_classic_in_ext()
1102 lx = ext[0] & 0x3f; in wiimod_classic_in_ext()
1120 input_report_abs(wdata->extension.input, ABS_HAT1X, lx - 0x20); in wiimod_classic_in_ext()
1613 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1656 lx = (ext[0] & 0xff) | ((ext[1] & 0x0f) << 8); in wiimod_pro_in_ext()
1662 lx -= 0x800; in wiimod_pro_in_ext()
1674 if (abs(lx) < 500) in wiimod_pro_in_ext()
1675 wdata->state.calib_pro_sticks[0] = -lx; in wiimod_pro_in_ext()
1685 lx += wdata->state.calib_pro_sticks[0]; in wiimod_pro_in_ext()
[all …]
/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c4204 int lx = 0, ly = 0, lhave = 0; in ar9003_hw_power_interpolate() local
4227 if (!lhave || dx < (x - lx)) { in ar9003_hw_power_interpolate()
4229 lx = px[ip]; in ar9003_hw_power_interpolate()
4241 if (hx == lx) in ar9003_hw_power_interpolate()
4244 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate()