Searched refs:REVERSE_BIT (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | psxpad-spi.c | 31 #define REVERSE_BIT(x) ((((x) & 0x80) >> 7) | (((x) & 0x40) >> 5) | \ macro 136 pad->motor2level = REVERSE_BIT(motor2level); in psxpad_set_motor_level() 229 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll() 230 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); in psxpad_spi_poll() 231 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); in psxpad_spi_poll() 232 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); in psxpad_spi_poll()
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | psxpad-spi.c | 31 #define REVERSE_BIT(x) ((((x) & 0x80) >> 7) | (((x) & 0x40) >> 5) | \ macro 139 pad->motor2level = REVERSE_BIT(motor2level); in psxpad_set_motor_level() 232 input_report_abs(input, ABS_X, REVERSE_BIT(pad->response[7])); in psxpad_spi_poll() 233 input_report_abs(input, ABS_Y, REVERSE_BIT(pad->response[8])); in psxpad_spi_poll() 234 input_report_abs(input, ABS_RX, REVERSE_BIT(pad->response[5])); in psxpad_spi_poll() 235 input_report_abs(input, ABS_RY, REVERSE_BIT(pad->response[6])); in psxpad_spi_poll()
|
Completed in 3 milliseconds