Lines Matching refs:rcdev
22 struct rc_dev *rcdev;
50 ir_raw_event_store_edge(gpio_dev->rcdev, val == 1);
65 struct rc_dev *rcdev;
88 rcdev = devm_rc_allocate_device(dev, RC_DRIVER_IR_RAW);
89 if (!rcdev)
92 rcdev->priv = gpio_dev;
93 rcdev->device_name = GPIO_IR_DEVICE_NAME;
94 rcdev->input_phys = GPIO_IR_DEVICE_NAME "/input0";
95 rcdev->input_id.bustype = BUS_HOST;
96 rcdev->input_id.vendor = 0x0001;
97 rcdev->input_id.product = 0x0001;
98 rcdev->input_id.version = 0x0100;
99 rcdev->dev.parent = dev;
100 rcdev->driver_name = KBUILD_MODNAME;
101 rcdev->min_timeout = 1;
102 rcdev->timeout = IR_DEFAULT_TIMEOUT;
103 rcdev->max_timeout = 10 * IR_DEFAULT_TIMEOUT;
104 rcdev->allowed_protocols = RC_PROTO_BIT_ALL_IR_DECODER;
105 rcdev->map_name = of_get_property(np, "linux,rc-map-name", NULL);
106 if (!rcdev->map_name)
107 rcdev->map_name = RC_MAP_EMPTY;
109 gpio_dev->rcdev = rcdev;
113 rc = devm_rc_register_device(dev, rcdev);