Lines Matching defs:rc_dev
67 struct rc_dev *rc_dev;
1763 if (!IS_ENABLED(CONFIG_RC_CORE) || !ctx->rc_dev)
1767 rc_keydown(ctx->rc_dev, RC_PROTO_CEC, scancode, 0);
1769 rc_keyup(ctx->rc_dev);
2098 struct rc_dev *rc_dev;
2104 rc_dev = rc_allocate_device(RC_DRIVER_SCANCODE);
2105 if (!rc_dev) {
2111 rc_dev->input_phys = "sii8620/input0";
2112 rc_dev->input_id.bustype = BUS_VIRTUAL;
2113 rc_dev->map_name = RC_MAP_CEC;
2114 rc_dev->allowed_protocols = RC_PROTO_BIT_CEC;
2115 rc_dev->driver_name = "sii8620";
2116 rc_dev->device_name = "sii8620";
2118 ret = rc_register_device(rc_dev);
2123 rc_free_device(rc_dev);
2126 ctx->rc_dev = rc_dev;
2222 rc_unregister_device(ctx->rc_dev);