Lines Matching full:ir
9 // - IR raw event decoding is now done at rc-core
34 ir_raw_event_store(coredev->ir.dev, &ev); in sms_ir_event()
36 ir_raw_event_handle(coredev->ir.dev); in sms_ir_event()
50 coredev->ir.controller = 0; /* Todo: vega/nova SPI number */ in sms_ir_init()
51 coredev->ir.timeout = US_TO_NS(IR_DEFAULT_TIMEOUT); in sms_ir_init()
52 pr_debug("IR port %d, timeout %d ms\n", in sms_ir_init()
53 coredev->ir.controller, coredev->ir.timeout); in sms_ir_init()
55 snprintf(coredev->ir.name, sizeof(coredev->ir.name), in sms_ir_init()
56 "SMS IR (%s)", sms_get_board(board_id)->name); in sms_ir_init()
58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
59 strlcat(coredev->ir.phys, "/ir0", sizeof(coredev->ir.phys)); in sms_ir_init()
61 dev->device_name = coredev->ir.name; in sms_ir_init()
62 dev->input_phys = coredev->ir.phys; in sms_ir_init()
78 pr_debug("Input device (IR) %s is set for key events\n", in sms_ir_init()
88 coredev->ir.dev = dev; in sms_ir_init()
94 rc_unregister_device(coredev->ir.dev); in sms_ir_exit()