Lines Matching refs:rcdev
16 struct rc_dev *rcdev;
66 ir_raw_event_store_with_filter(imon->rcdev, &rawir);
74 if (packet_no == 0x0a && !imon->rcdev->idle) {
75 ir_raw_event_set_idle(imon->rcdev, true);
76 ir_raw_event_handle(imon->rcdev);
111 struct rc_dev *rcdev;
152 rcdev = devm_rc_allocate_device(&intf->dev, RC_DRIVER_IR_RAW);
153 if (!rcdev) {
160 rcdev->device_name = "iMON Station";
161 rcdev->driver_name = KBUILD_MODNAME;
162 rcdev->input_phys = imon->phys;
163 usb_to_input_id(udev, &rcdev->input_id);
164 rcdev->dev.parent = &intf->dev;
165 rcdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER;
166 rcdev->map_name = RC_MAP_IMON_RSC;
167 rcdev->rx_resolution = BIT_DURATION;
168 rcdev->priv = imon;
170 ret = devm_rc_register_device(&intf->dev, rcdev);
174 imon->rcdev = rcdev;