Searched refs:poll_result (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx-input.c188 struct em28xx_ir_poll_result *poll_result) default_polling_getkey()
203 poll_result->toggle_bit = (msg[0] >> 7); default_polling_getkey()
206 poll_result->read_count = (msg[0] & 0x7f); default_polling_getkey()
211 poll_result->protocol = RC_TYPE_RC5; default_polling_getkey()
212 poll_result->scancode = RC_SCANCODE_RC5(msg[1], msg[2]); default_polling_getkey()
216 poll_result->protocol = RC_TYPE_NEC; default_polling_getkey()
217 poll_result->scancode = RC_SCANCODE_NEC(msg[1], msg[2]); default_polling_getkey()
221 poll_result->protocol = RC_TYPE_UNKNOWN; default_polling_getkey()
222 poll_result->scancode = msg[1] << 8 | msg[2]; default_polling_getkey()
230 struct em28xx_ir_poll_result *poll_result) em2874_polling_getkey()
245 poll_result->toggle_bit = (msg[0] >> 7); em2874_polling_getkey()
248 poll_result->read_count = (msg[0] & 0x7f); em2874_polling_getkey()
256 poll_result->protocol = RC_TYPE_RC5; em2874_polling_getkey()
257 poll_result->scancode = RC_SCANCODE_RC5(msg[1], msg[2]); em2874_polling_getkey()
261 poll_result->protocol = RC_TYPE_RC5; em2874_polling_getkey()
262 poll_result->scancode = msg[1] << 8 | msg[2]; em2874_polling_getkey()
264 poll_result->scancode = RC_SCANCODE_NEC32((msg[1] << 24) | em2874_polling_getkey()
269 poll_result->scancode = RC_SCANCODE_NECX(msg[1] << 8 | em2874_polling_getkey()
272 poll_result->scancode = RC_SCANCODE_NEC(msg[1], msg[3]); em2874_polling_getkey()
276 poll_result->protocol = RC_TYPE_RC6_0; em2874_polling_getkey()
277 poll_result->scancode = RC_SCANCODE_RC6_0(msg[1], msg[2]); em2874_polling_getkey()
281 poll_result->protocol = RC_TYPE_UNKNOWN; em2874_polling_getkey()
282 poll_result->scancode = (msg[1] << 24) | (msg[2] << 16) | em2874_polling_getkey()
317 struct em28xx_ir_poll_result poll_result; em28xx_ir_handle_key() local
320 result = ir->get_key(ir, &poll_result); em28xx_ir_handle_key()
326 if (unlikely(poll_result.read_count != ir->last_readcount)) { em28xx_ir_handle_key()
328 poll_result.toggle_bit, poll_result.read_count, em28xx_ir_handle_key()
329 poll_result.scancode); em28xx_ir_handle_key()
332 poll_result.protocol, em28xx_ir_handle_key()
333 poll_result.scancode, em28xx_ir_handle_key()
334 poll_result.toggle_bit); em28xx_ir_handle_key()
338 poll_result.scancode & 0xff, em28xx_ir_handle_key()
339 poll_result.toggle_bit); em28xx_ir_handle_key()
350 ir->last_readcount = poll_result.read_count; em28xx_ir_handle_key()
187 default_polling_getkey(struct em28xx_IR *ir, struct em28xx_ir_poll_result *poll_result) default_polling_getkey() argument
229 em2874_polling_getkey(struct em28xx_IR *ir, struct em28xx_ir_poll_result *poll_result) em2874_polling_getkey() argument

Completed in 55 milliseconds