Home
last modified time | relevance | path

Searched +full:rc +full:- +full:rc6 +full:- +full:mce (Results 1 – 20 of 20) sorted by relevance

/linux-6.12.1/include/uapi/linux/
Dlirc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * lirc.h - linux infrared remote control header file
147 * struct lirc_scancode - decoded scancode with protocol for use with
167 /* Set if the toggle bit of rc-5 or rc-6 is enabled */
173 * enum rc_proto - the Remote Controller protocol
188 * @RC_PROTO_MCIR2_KBD: RC6-ish MCE keyboard
189 * @RC_PROTO_MCIR2_MSE: RC6-ish MCE mouse
190 * @RC_PROTO_RC6_0: Philips RC6-0-16 protocol
191 * @RC_PROTO_RC6_6A_20: Philips RC6-6A-20 protocol
192 * @RC_PROTO_RC6_6A_24: Philips RC6-6A-24 protocol
[all …]
/linux-6.12.1/drivers/media/rc/keymaps/
Drc-rc6-mce.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* rc-rc6-mce.c - Keytable for Windows Media Center RC-6 remotes for use
11 #include <media/rc-map.h>
30 { 0x800f040d, KEY_MEDIA }, /* Windows MCE button */
74 { 0x800f044e, KEY_PRINT }, /* Print - HP OEM version of remote */
117 MODULE_DESCRIPTION("rc6 MCE remote controller keytable");
DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 obj-$(CONFIG_RC_MAP) += \
6 rc-adstech-dvb-t-pci.o \
7 rc-alink-dtu-m.o \
8 rc-anysee.o \
9 rc-apac-viewcomp.o \
10 rc-astrometa-t2hybrid.o \
11 rc-asus-pc39.o \
12 rc-asus-ps3-100.o \
13 rc-ati-tv-wonder-hd-600.o \
[all …]
Drc-imon-mce.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* rc5-imon-mce.c - Keytable for Windows Media Center RC-6 remotes for use
8 #include <media/rc-map.h>
11 /* mce-mode imon mce remote key table */
111 { 0x800ff40d, KEY_MEDIA }, /* Windows MCE button */
119 /* its RC6, but w/a hardware decoder */
140 MODULE_DESCRIPTION("iMON MCE remote controller keytable");
/linux-6.12.1/Documentation/userspace-api/media/rc/
Drc-protos.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
22 Some remotes have a pointer-type device which can used to control the
29 rc-5 (RC_PROTO_RC5)
30 -------------------
38 .. flat-table:: rc5 bits scancode mapping
41 * - rc-5 bit
43 - scancode bit
45 - description
47 * - 1
49 - none
[all …]
Drc-sysfs-nodes.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
9 As defined at ``Documentation/ABI/testing/sysfs-class-rc``, those are
15 /sys/class/rc/
18 The ``/sys/class/rc/`` class sub-directory belongs to the Remote
25 /sys/class/rc/rcN/
28 A ``/sys/class/rc/rcN`` directory is created for each remote control
34 /sys/class/rc/rcN/protocols
39 rc5 [rc6] nec jvc [sony]
45 Writing "-proto" will remove a protocol from the list of enabled
58 /sys/class/rc/rcN/filter
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/media/
Drc.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/rc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mauro Carvalho Chehab <mchehab@kernel.org>
11 - Sean Young <sean@mess.org>
15 pattern: "^ir(-receiver)?(@[a-f0-9]+)?$"
17 linux,rc-map-name:
19 Specifies the scancode/key mapping table defined in-kernel for
23 - rc-adstech-dvb-t-pci
[all …]
Dgpio-ir-receiver.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/gpio-ir-receiver.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 - $ref: rc.yaml#
17 const: gpio-ir-receiver
22 linux,autosuspend-period:
26 wakeup-source:
27 description: IR receiver can wake-up the system.
[all …]
Dmediatek,mt7622-cir.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/media/mediatek,mt7622-cir.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek Consumer Infrared Receiver on-SoC Controller
10 - Sean Wang <sean.wang@mediatek.com>
13 - $ref: rc.yaml#
18 - mediatek,mt7622-cir
19 - mediatek,mt7623-cir
30 clock-names:
[all …]
Dallwinner,sun4i-a10-ir.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 - $ref: rc.yaml#
19 - const: allwinner,sun4i-a10-ir
20 - const: allwinner,sun5i-a13-ir
21 - const: allwinner,sun6i-a31-ir
[all …]
/linux-6.12.1/drivers/media/rc/
Dir-rc6-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-rc6-decoder.c - A decoder for the RC6 IR protocol
7 #include "rc-core-priv.h"
12 * RC6-0-16 (standard toggle bit in header)
13 * RC6-6A-20 (no toggle bit)
14 * RC6-6A-24 (no toggle bit)
15 * RC6-6A-32 (MCE version with toggle bit in body)
33 #define RC6_6A_LCC_MASK 0xffff0000 /* RC6-6A-32 long customer code mask */
34 #define RC6_6A_MCE_CC 0x800f0000 /* MCE customer code */
36 #define RC6_6A_KATHREIN_CC 0x80460000 /* Kathrein RCU-676 customer code */
[all …]
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
40 source "drivers/media/rc/keymaps/Kconfig"
63 tristate "Enable IR raw decoder for the MCE keyboard/mouse protocol"
80 tristate "Enable IR raw decoder for the RC-5 protocol"
84 Enable this option if you have IR with RC-5 protocol, and
88 tristate "Enable IR raw decoder for the RC6 protocol"
93 uses the RC6 protocol, and you need software decoding support.
96 tristate "Enable IR raw decoder for the RC-MM protocol"
98 Enable this option when you have IR with RC-MM protocol, and
100 24 and 32 bits RC-MM variants. You can enable or disable the
[all …]
Dir-mce_kbd-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-mce_kbd-decoder.c - A decoder for the RC6-ish keyboard/mouse IR protocol
5 * as "an internal protocol called MCIR-2".
11 #include "rc-core-priv.h"
15 * - MCIR-2 29-bit IR signals used for mouse movement and buttons
16 * - MCIR-2 32-bit IR signals used for standard keyboard keys
18 * The media keys on the keyboard send RC-6 signals that are indistinguishable
19 * from the keys of the same name on the stock MCE remote, and will be handled
20 * by the standard RC-6 decoder, and be made available to the system via the
117 dev_dbg(&raw->dev->dev, "timer callback clearing all keys\n"); in mce_kbd_rx_timeout()
[all …]
Drc-core-priv.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 #include <media/rc-core.h>
20 * rc_open - Opens a RC device
27 * rc_close - Closes a RC device
43 /* These two should only be used by the mce kbd decoder */
92 } rc6; member
169 return d1 > (d2 - margin); in geq_margin()
174 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin()
179 return x->pulse != y->pulse; in is_transition()
184 if (duration > ev->duration) in decrease_duration()
[all …]
Dimon.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * also to the numerous 0xffdc device owners that tested auto-config
30 #include <media/rc-core.h>
127 struct rc_dev *rdev; /* rc-core device for remote */
136 u64 rc_proto; /* iMON or MCE (RC6) IR protocol? */
142 char name_rdev[128]; /* rc input device name */
143 char phys_rdev[64]; /* rc input device phys path */
160 * "struct file"->private_data, we need to remember
171 * display_open() to safely check ->disconnected and increment ->users.
253 /* 0xffdc iMON MCE VFD */
[all …]
Drc-main.c1 // SPDX-License-Identifier: GPL-2.0
2 // rc-main.c - Remote Controller core module
4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab
8 #include <media/rc-core.h>
18 #include "rc-core-priv.h"
31 [RC_PROTO_RC5] = { .name = "rc-5",
33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20",
35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz",
39 [RC_PROTO_SONY12] = { .name = "sony-12",
41 [RC_PROTO_SONY15] = { .name = "sony-15",
[all …]
/linux-6.12.1/include/media/
Drc-map.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * rc-map.h - define RC map names used by RC drivers
109 /* All kernel-based codecs have encoders and decoders */
135 * struct rc_map_table - represents a scancode/keycode pair
146 * struct rc_map - represents a keycode map table
168 * struct rc_map_list - list of the registered &rc_map maps
180 * rc_map_list from rc-cec.c
185 /* Routines from rc-map.c */
188 * rc_map_register() - Registers a Remote Controller scancode map
195 * rc_map_unregister() - Unregisters a Remote Controller scancode map
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-class-rc1 What: /sys/class/rc/
6 The rc/ class sub-directory belongs to the Remote Controller
10 What: /sys/class/rc/rc<N>/
15 A /sys/class/rc/rcN directory is created for each remote
18 What: /sys/class/rc/rc<N>/protocols
26 "rc5 [rc6] nec jvc [sony]"
33 Writing "-proto" will remove a protocol from the list of enabled
43 What: /sys/class/rc/rc<N>/filter
50 Use in combination with /sys/class/rc/rcN/filter_mask to set the
58 What: /sys/class/rc/rc<N>/filter_mask
[all …]
/linux-6.12.1/drivers/media/i2c/
Dir-kbd-i2c.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org>
23 * - drivers/char/pctv_zilogir.[ch] from Hauppauge Broadway product
25 * - drivers/staging/media/lirc/lirc_zilog.c
26 * Copyright (c) 2000 Gerd Knorr <kraxel@goldbach.in-berlin.de>
50 #include <media/rc-core.h>
51 #include <media/i2c/ir-kbd-i2c.h>
66 if (size != i2c_master_recv(ir->c, buf, size)) in get_key_haup_common()
67 return -EIO; in get_key_haup_common()
82 * 1 = 0-63, 0 = 64 - 127 in get_key_haup_common()
[all …]
/linux-6.12.1/arch/arm/boot/dts/nxp/imx/
Dimx6qdl-hummingboard2.dtsi2 * Copyright (C) 2015 Rabeeh Khoury <rabeeh@solid-run.com>
4 * This file is dual-licensed: you can use it either under the terms
41 #include <dt-bindings/sound/fsl-imx-audmux.h>
56 stdout-path = &uart1;
59 ir_recv: ir-receiver {
60 compatible = "gpio-ir-receiver";
62 pinctrl-names = "default";
63 pinctrl-0 = <&pinctrl_hummingboard2_gpio7_9>;
64 linux,rc-map-name = "rc-rc6-mce";
67 v_3v2: regulator-v-3v2 {
[all …]