Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hid/
Dhid-wiimote-modules.c1053 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local
1100 ly = ext[1] & 0x3e; in wiimod_classic_in_ext()
1103 ly = ext[1] & 0x3f; in wiimod_classic_in_ext()
1121 input_report_abs(wdata->extension.input, ABS_HAT1Y, ly - 0x20); in wiimod_classic_in_ext()
1613 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local
1658 ly = (ext[4] & 0xff) | ((ext[5] & 0x0f) << 8); in wiimod_pro_in_ext()
1663 ly = 0x800 - ly; in wiimod_pro_in_ext()
1676 if (abs(ly) < 500) in wiimod_pro_in_ext()
1677 wdata->state.calib_pro_sticks[1] = -ly; in wiimod_pro_in_ext()
1686 ly += wdata->state.calib_pro_sticks[1]; in wiimod_pro_in_ext()
[all …]
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dar9003_eeprom.c4203 int lx = 0, ly = 0, lhave = 0; in ar9003_hw_power_interpolate() local
4229 ly = py[ip]; in ar9003_hw_power_interpolate()
4241 y = ly; in ar9003_hw_power_interpolate()
4243 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate()
4245 y = ly; in ar9003_hw_power_interpolate()