Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/
H A Dpsxpad-spi.c211 u8 b_rsp3, b_rsp4; in psxpad_spi_poll() local
230 b_rsp4 = ~pad->response[4]; in psxpad_spi_poll()
240 input_report_key(input, BTN_X, b_rsp4 & BIT(3)); in psxpad_spi_poll()
241 input_report_key(input, BTN_A, b_rsp4 & BIT(2)); in psxpad_spi_poll()
242 input_report_key(input, BTN_B, b_rsp4 & BIT(1)); in psxpad_spi_poll()
243 input_report_key(input, BTN_Y, b_rsp4 & BIT(0)); in psxpad_spi_poll()
257 b_rsp4 = ~pad->response[4]; in psxpad_spi_poll()
267 input_report_key(input, BTN_X, b_rsp4 & BIT(3)); in psxpad_spi_poll()
268 input_report_key(input, BTN_A, b_rsp4 & BIT(2)); in psxpad_spi_poll()
269 input_report_key(input, BTN_B, b_rsp4 & BIT(1)); in psxpad_spi_poll()
[all …]