Searched refs:lx (Results 1 – 2 of 2) sorted by relevance
/drivers/hid/ |
D | hid-wiimote-modules.c | 1046 __s8 rx, ry, lx, ly, lt, rt; in wiimod_classic_in_ext() local 1092 lx = ext[0] & 0x3e; in wiimod_classic_in_ext() 1095 lx = ext[0] & 0x3f; in wiimod_classic_in_ext() 1113 input_report_abs(wdata->extension.input, ABS_HAT1X, lx - 0x20); in wiimod_classic_in_ext() 1606 __s16 rx, ry, lx, ly; in wiimod_pro_in_ext() local 1649 lx = (ext[0] & 0xff) | ((ext[1] & 0x0f) << 8); in wiimod_pro_in_ext() 1655 lx -= 0x800; in wiimod_pro_in_ext() 1667 if (abs(lx) < 500) in wiimod_pro_in_ext() 1668 wdata->state.calib_pro_sticks[0] = -lx; in wiimod_pro_in_ext() 1678 lx += wdata->state.calib_pro_sticks[0]; in wiimod_pro_in_ext() [all …]
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_eeprom.c | 4272 int lx = 0, ly = 0, lhave = 0; in ar9003_hw_power_interpolate() local 4295 if (!lhave || dx < (x - lx)) { in ar9003_hw_power_interpolate() 4297 lx = px[ip]; in ar9003_hw_power_interpolate() 4309 if (hx == lx) in ar9003_hw_power_interpolate() 4312 y = interpolate(x, lx, hx, ly, hy); in ar9003_hw_power_interpolate()
|