Home
last modified time | relevance | path

Searched +full:ir +full:- +full:receiver (Results 1 – 25 of 124) sorted by relevance

12345

/Linux-v6.6/drivers/media/rc/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 standalone IR receivers/transmitters, and RF receivers.
12 if you don't need IR, as otherwise, you may not be able to
15 Say Y when you have a TV or an IR device.
26 syscall command BPF_PROG_ATTACH. This is supported for raw IR
29 These eBPF programs can be used to decode IR into scancodes, for
30 IR protocols not supported by the kernel decoders.
37 passes raw IR to and from userspace, which is needed for
38 IR transmitting (aka "blasting") and for the lirc daemon.
48 tristate "Enable IR raw decoder for the iMON protocol"
[all …]
Dmceusb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2011, Jarod Wilson <jarod@redhat.com>
11 * support for the 1st-gen device added primarily by Patrick Calhoun,
13 * support for what appears to be 3rd-gen hardware added by Jarod.
14 * Initial port from lirc driver to ir-core drivery by Jarod, based
15 * partially on a port to an earlier proposed IR infrastructure by
17 * incoming IR buffer parsing routines.
22 * Windows-Media-Center-RC-IR-Collection-Green-Button-Specification-03-08-2011-V2.pdf
32 #include <media/rc-core.h>
45 #define MCE_IRBUF_SIZE 128 /* TX IR buffer length */
[all …]
Dmeson-ir.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for Amlogic Meson IR remote receiver
19 #include <media/rc-core.h>
21 #define DRIVER_NAME "meson-ir"
67 struct meson_ir *ir = dev_id; in meson_ir_irq() local
71 spin_lock(&ir->lock); in meson_ir_irq()
73 regmap_read(ir->reg, IR_DEC_REG1, &duration); in meson_ir_irq()
77 regmap_read(ir->reg, IR_DEC_STATUS, &status); in meson_ir_irq()
80 ir_raw_event_store_with_timeout(ir->rc, &rawir); in meson_ir_irq()
82 spin_unlock(&ir->lock); in meson_ir_irq()
[all …]
Digorplugusb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * IgorPlug-USB IR Receiver
7 * Supports the standard homebrew IgorPlugUSB receiver with Igor's firmware.
8 * See http://www.cesko.host.sk/IgorPlugUSB/IgorPlug-USB%20(AVR)_eng.htm
12 * <hochstein@algo.informatik.tu-darmstadt.de>
19 #include <media/rc-core.h>
21 #define DRIVER_DESC "IgorPlug-USB IR Receiver"
46 static void igorplugusb_cmd(struct igorplugusb *ir, int cmd);
48 static void igorplugusb_irdata(struct igorplugusb *ir, unsigned len) in igorplugusb_irdata() argument
53 dev_dbg(ir->dev, "irdata: %*ph (len=%u)", len, ir->buf_in, len); in igorplugusb_irdata()
[all …]
Diguanair.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * IguanaWorks USB IR Transceiver support
15 #include <media/rc-core.h>
29 /* receiver support */
79 static void process_ir_data(struct iguanair *ir, unsigned len) in process_ir_data() argument
81 if (len >= 4 && ir->buf_in[0] == 0 && ir->buf_in[1] == 0) { in process_ir_data()
82 switch (ir->buf_in[3]) { in process_ir_data()
85 ir->version = (ir->buf_in[5] << 8) | in process_ir_data()
86 ir->buf_in[4]; in process_ir_data()
87 complete(&ir->completion); in process_ir_data()
[all …]
Dmtk-cir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Mediatek IR Receiver Controller
14 #include <media/rc-core.h>
18 /* Register to enable PWM and IR */
21 /* Bit to enable IR pulse width detection */
26 * indicating IR receiving completion and then making IRQ fires
31 /* Bit to enable IR hardware function */
34 /* Bit to restart IR receiving */
40 /* IR threshold */
53 /* Indicate the end of IR message */
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/media/
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#
7 title: GPIO Based IR receiver
10 - Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
13 - $ref: rc.yaml#
17 const: gpio-ir-receiver
22 linux,autosuspend-period:
26 wakeup-source:
[all …]
Damlogic,meson6-ir.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Amlogic Meson IR remote control receiver
10 - Neil Armstrong <neil.armstrong@linaro.org>
13 - $ref: rc.yaml#
18 - enum:
19 - amlogic,meson6-ir
20 - amlogic,meson8b-ir
[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-v6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-i2c-core.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <media/i2c/ir-kbd-i2c.h>
10 #include "pvrusb2-i2c-core.h"
11 #include "pvrusb2-hdw-internal.h"
12 #include "pvrusb2-debug.h"
13 #include "pvrusb2-fx2-cmd.h"
29 static int ir_mode[PVR_NUM] = { [0 ... PVR_NUM-1] = 1 };
31 MODULE_PARM_DESC(ir_mode,"specify: 0=disable IR reception, 1=normal IR");
37 "1=do not try to autoload ir_video IR receiver");
44 /* Return value - default 0 means success */ in pvr2_i2c_write()
[all …]
/Linux-v6.6/Documentation/driver-api/media/
Drc-core.rst1 .. SPDX-License-Identifier: GPL-2.0
4 -------------------------
23 infrared-based remote controllers, there's no key release event. Instead,
26 However, most of the remote controllers use infrared (IR) to transmit signals.
32 carrier. The carrier can be switched on or off by the IR transmitter
36 In other words, a typical IR transmission can be viewed as a sequence of
48 At receiver, a simple low-pass filter can be used to convert the received
50 frequency. Due to that, the receiver doesn't care about the carrier's
53 So, a simple IR receiver hardware will just provide a sequence of timings
63 The RC core also supports devices that have just IR emitters,
[all …]
/Linux-v6.6/arch/arm64/boot/dts/rockchip/
Drk3308-roc-cc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
10 model = "Firefly ROC-RK3308-CC board";
11 compatible = "firefly,roc-rk3308-cc", "rockchip,rk3308";
19 stdout-path = "serial2:1500000n8";
22 ir-receiver {
23 compatible = "gpio-ir-receiver";
25 pinctrl-names = "default";
26 pinctrl-0 = <&ir_recv_pin>;
30 compatible = "pwm-ir-tx";
[all …]
Drk3328-roc-pc.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (c) 2021 T-Chip Intelligent Technology Co., Ltd
4 /dts-v1/;
6 #include <dt-bindings/input/input.h>
8 #include "rk3328-roc-cc.dts"
11 model = "Firefly ROC-RK3328-PC";
12 compatible = "firefly,roc-rk3328-pc", "rockchip,rk3328";
14 adc-keys {
15 compatible = "adc-keys";
16 io-channels = <&saradc 0>;
[all …]
Drk3399-nanopc-t4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * FriendlyElec NanoPC-T4 board device tree source
11 /dts-v1/;
12 #include "rk3399-nanopi4.dtsi"
15 model = "FriendlyElec NanoPC-T4";
16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399";
18 vcc12v0_sys: vcc12v0-sys {
19 compatible = "regulator-fixed";
20 regulator-always-on;
21 regulator-boot-on;
[all …]
Drk3368-geekbox.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
19 stdout-path = "serial2:115200n8";
27 ext_gmac: gmac-clk {
28 compatible = "fixed-clock";
29 clock-frequency = <125000000>;
30 clock-output-names = "ext_gmac";
31 #clock-cells = <0>;
34 ir: ir-receiver { label
[all …]
/Linux-v6.6/Documentation/userspace-api/media/rc/
Dlirc-dev-intro.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
10 a bi-directional interface for transporting raw IR and decoded scancodes
13 file_operations defined on it. With respect to transporting raw IR and
17 raw IR into scancodes.
21 .. code-block:: none
24 rc rc0: lirc_dev: driver mceusb registered at minor = 0, raw IR receiver, raw IR transmitter
28 .. code-block:: none
30 $ ls -l /dev/lirc*
31 crw-rw---- 1 root root 248, 0 Jul 2 22:20 /dev/lirc0
33 Note that the package `v4l-utils <https://git.linuxtv.org/v4l-utils.git/>`_
[all …]
Drc-intro.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
19 device, as the IR receiver (and/or transmitter) can be used in
20 conjunction with a wide variety of different IR remotes.
23 controlling the RC-specific attributes via
/Linux-v6.6/Documentation/driver-api/media/drivers/
Dcx88-devel.rst1 .. SPDX-License-Identifier: GPL-2.0
9 -------------------------------------------
13 .. code-block:: none
16 Digit 8: 31-28
19 Digit 7: 27-24 (0xc = 12 = b1100 )
24 Digits 6,5: 23-16
25 25-16: COMB_RANGE = 0x1f [default] (9 bits -> max 512)
27 Digit 4: 15-12
33 Digit 3: 11-8
39 Digit 2: 7-4
[all …]
/Linux-v6.6/drivers/media/pci/bt8xx/
Dbttv-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 #define DEVNAME "bttv-input"
38 /* ---------------------------------------------------------------------- */
42 struct bttv_ir *ir = btv->remote; in ir_handle_key() local
46 gpio = bttv_gpio_read(&btv->c); in ir_handle_key()
47 if (ir->polling) { in ir_handle_key()
48 if (ir->last_gpio == gpio) in ir_handle_key()
50 ir->last_gpio = gpio; in ir_handle_key()
54 data = ir_extract_bits(gpio, ir->mask_keycode); in ir_handle_key()
57 ir->polling ? "poll" : "irq", in ir_handle_key()
[all …]
/Linux-v6.6/drivers/media/common/siano/
Dsmsir.c1 // SPDX-License-Identifier: GPL-2.0+
4 // MDTV receiver kernel modules.
5 // Copyright (C) 2006-2009, Uri Shkolnik
7 // Copyright (c) 2010 - Mauro Carvalho Chehab
8 // - Ported the driver to use rc-core
9 // - IR raw event decoding is now done at rc-core
10 // - Code almost re-written
19 #include "sms-cards.h"
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()
[all …]
/Linux-v6.6/drivers/media/i2c/cx25840/
Dcx25840-ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <media/drv-intf/cx25840.h>
14 #include <media/rc-core.h>
16 #include "cx25840-core.h"
20 MODULE_PARM_DESC(ir_debug, "enable integrated IR debug messages");
117 return state ? state->ir_state : NULL; in to_ir_state()
135 d--; in count_to_clock_divider()
293 count--; in pulse_clocks_to_clock_divider()
298 * IR Control Register helpers
371 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window()
[all …]
/Linux-v6.6/drivers/media/pci/cx23885/
Dcx23888-ir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
11 #include "cx23888-ir.h"
16 #include <media/v4l2-device.h>
17 #include <media/rc-core.h>
21 MODULE_PARM_DESC(ir_888_debug, "enable debug messages [CX23888 IR controller]");
139 * IR register block read and write functions
174 d--; in count_to_clock_divider()
306 count--; in pulse_clocks_to_clock_divider()
311 * IR Control Register helpers
384 if (*carrier_range_high > DIV_ROUND_CLOSEST(c16, 16 - 3)) { in control_rx_s_carrier_window()
[all …]
/Linux-v6.6/arch/arm/boot/dts/rockchip/
Drk3288-rock2-square.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/input.h>
5 #include "rk3288-rock2-som.dtsi"
9 compatible = "radxa,rock2-square", "rockchip,rk3288";
12 stdout-path = "serial2:115200n8";
15 adc-keys {
16 compatible = "adc-keys";
17 io-channels = <&saradc 1>;
18 io-channel-names = "buttons";
[all …]
Drk3188-radxarock.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
23 gpio-keys {
24 compatible = "gpio-keys";
27 key-power {
31 linux,input-type = <1>;
32 wakeup-source;
33 debounce-interval = <100>;
37 gpio-leds {
[all …]
/Linux-v6.6/arch/arm/boot/dts/marvell/
Ddove-cubox.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
20 compatible = "gpio-leds";
21 pinctrl-0 = <&pmx_gpio_18>;
22 pinctrl-names = "default";
24 led-power {
27 default-state = "keep";
31 usb_power: regulator-1 {
32 compatible = "regulator-fixed";
33 regulator-name = "USB Power";
[all …]

12345