Home
last modified time | relevance | path

Searched full:ir (Results 1 – 25 of 610) sorted by relevance

12345678910>>...25

/linux/drivers/media/rc/
H A Diguanair.c3 * IguanaWorks USB IR Transceiver 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()
92 ir in process_ir_data()
145 struct iguanair *ir; iguanair_rx() local
176 struct iguanair *ir = urb->context; iguanair_irq_out() local
186 iguanair_send(struct iguanair * ir,unsigned size) iguanair_send() argument
205 iguanair_get_features(struct iguanair * ir) iguanair_get_features() argument
258 iguanair_receiver(struct iguanair * ir,bool enable) iguanair_receiver() argument
275 struct iguanair *ir = dev->priv; iguanair_set_tx_carrier() local
313 struct iguanair *ir = dev->priv; iguanair_set_tx_mask() local
325 struct iguanair *ir = dev->priv; iguanair_tx() local
361 struct iguanair *ir = rdev->priv; iguanair_open() local
373 struct iguanair *ir = rdev->priv; iguanair_close() local
386 struct iguanair *ir; iguanair_probe() local
497 struct iguanair *ir = usb_get_intfdata(intf); iguanair_disconnect() local
512 struct iguanair *ir = usb_get_intfdata(intf); iguanair_suspend() local
529 struct iguanair *ir = usb_get_intfdata(intf); iguanair_resume() local
[all...]
H A Dmeson-ir-tx.c3 * meson-ir-tx.c - Amlogic Meson IR TX driver
22 #define DEVICE_NAME "Meson IR TX"
23 #define DRIVER_NAME "meson-ir-tx"
79 static void meson_irtx_set_mod(struct meson_irtx *ir) in meson_irtx_set_mod() argument
81 unsigned int cnt = DIV_ROUND_CLOSEST(ir->clk_rate, ir->carrier); in meson_irtx_set_mod()
82 unsigned int pulse_cnt = DIV_ROUND_CLOSEST(cnt * ir->duty_cycle, 100); in meson_irtx_set_mod()
85 dev_dbg(ir->dev, "F_mod = %uHz, T_mod = %luns, duty_cycle = %u%%\n", in meson_irtx_set_mod()
86 ir->carrier, NSEC_PER_SEC / ir->clk_rate * cnt, in meson_irtx_set_mod()
90 ir->reg_base + IRB_ADDR1); in meson_irtx_set_mod()
93 static void meson_irtx_setup(struct meson_irtx *ir, unsigned int clk_nr) in meson_irtx_setup() argument
[all …]
H A Dmceusb.c14 * 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
44 #define MCE_IRBUF_SIZE 128 /* TX IR buffer length */
49 #define MCE_IRDATA_TRAILER 0x80 /* End of IR data */
57 * The interface between the host and the IR hardware is command-response
75 #define MCE_CMD_PORT_IR 0x9f /* IR-related cmd/rsp */
76 #define MCE_CMD_PORT_SYS 0xff /* System (non-IR) device cmd/rsp */
137 * then we're looking at a raw IR dat
594 mceusb_dev_printdata(struct mceusb_dev * ir,u8 * buf,int buf_len,int offset,int len,bool out) mceusb_dev_printdata() argument
779 mceusb_defer_kevent(struct mceusb_dev * ir,int kevent) mceusb_defer_kevent() argument
809 mce_write(struct mceusb_dev * ir,u8 * data,int size) mce_write() argument
899 mce_command_out(struct mceusb_dev * ir,u8 * data,int size) mce_command_out() argument
932 struct mceusb_dev *ir = dev->priv; mceusb_tx_ir() local
1012 struct mceusb_dev *ir = dev->priv; mceusb_set_tx_mask() local
1032 struct mceusb_dev *ir = dev->priv; mceusb_set_tx_carrier() local
1075 struct mceusb_dev *ir = dev->priv; mceusb_set_timeout() local
1098 struct mceusb_dev *ir = dev->priv; mceusb_set_rx_wideband() local
1124 struct mceusb_dev *ir = dev->priv; mceusb_set_rx_carrier_report() local
1163 mceusb_handle_command(struct mceusb_dev * ir,u8 * buf_in) mceusb_handle_command() argument
1262 mceusb_process_ir_data(struct mceusb_dev * ir,int buf_len) mceusb_process_ir_data() argument
1367 struct mceusb_dev *ir; mceusb_dev_recv() local
1406 mceusb_get_emulator_version(struct mceusb_dev * ir) mceusb_get_emulator_version() argument
1413 mceusb_gen1_init(struct mceusb_dev * ir) mceusb_gen1_init() argument
1457 mceusb_gen2_init(struct mceusb_dev * ir) mceusb_gen2_init() argument
1469 mceusb_get_parameters(struct mceusb_dev * ir) mceusb_get_parameters() argument
1501 mceusb_flash_led(struct mceusb_dev * ir) mceusb_flash_led() argument
1518 struct mceusb_dev *ir = mceusb_deferred_kevent() local
1579 mceusb_init_rc_dev(struct mceusb_dev * ir) mceusb_init_rc_dev() argument
1659 struct mceusb_dev *ir = NULL; mceusb_dev_probe() local
1837 struct mceusb_dev *ir = usb_get_intfdata(intf); mceusb_dev_disconnect() local
1859 struct mceusb_dev *ir = usb_get_intfdata(intf); mceusb_dev_suspend() local
1867 struct mceusb_dev *ir = usb_get_intfdata(intf); mceusb_dev_resume() local
[all...]
H A Digorplugusb.c3 * IgorPlug-USB IR Receiver
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()
61 overflow = ir->buf_in[2]; in igorplugusb_irdata()
65 dev_err(ir->dev, "receive overflow invalid: %u", overflow); in igorplugusb_irdata()
68 dev_warn(ir->dev, "receive overflow, at least %u lost", in igorplugusb_irdata()
70 ir_raw_event_overflow(ir in igorplugusb_irdata()
97 struct igorplugusb *ir = urb->context; igorplugusb_callback() local
121 igorplugusb_cmd(struct igorplugusb * ir,int cmd) igorplugusb_cmd() argument
134 struct igorplugusb *ir = timer_container_of(ir, t, timer); igorplugusb_timer() local
145 struct igorplugusb *ir; igorplugusb_probe() local
237 struct igorplugusb *ir = usb_get_intfdata(intf); igorplugusb_disconnect() local
[all...]
H A Dmeson-ir.c3 * Driver for Amlogic Meson IR remote receiver
21 #define DRIVER_NAME "meson-ir"
54 /* Meson 6b uses REG1 to configure IR mode */
64 /* Meson 8b / GXBB use REG2 to configure IR mode */
97 * struct meson_ir_protocol - describe IR Protocol parameter
99 * @hw_protocol: select IR Protocol from IR Controller
104 * Some IR Protocol send the same data as repeat frame.
188 static void meson_ir_nec_handler(struct meson_ir *ir) in meson_ir_nec_handler() argument
194 regmap_read(ir->reg, IR_DEC_STATUS, &status); in meson_ir_nec_handler()
197 rc_repeat(ir->rc); in meson_ir_nec_handler()
[all …]
H A DMakefile5 rc-core-y := rc-main.o rc-ir-raw.o
12 # IR decoders - please keep it alphabetically sorted by Kconfig name
14 obj-$(CONFIG_IR_IMON_DECODER) += ir-imon-decoder.o
15 obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o
16 obj-$(CONFIG_IR_MCE_KBD_DECODER) += ir-mce_kbd-decoder.o
17 obj-$(CONFIG_IR_NEC_DECODER) += ir-nec-decoder.o
18 obj-$(CONFIG_IR_RC5_DECODER) += ir-rc5-decoder.o
19 obj-$(CONFIG_IR_RC6_DECODER) += ir-rc6-decoder.o
20 obj-$(CONFIG_IR_RCMM_DECODER) += ir-rcmm-decoder.o
21 obj-$(CONFIG_IR_SANYO_DECODER) += ir-sanyo-decoder.o
[all …]
/linux/drivers/media/pci/cx88/
H A Dcx88-input.c50 MODULE_PARM_DESC(ir_samplerate, "IR samplerate in kHz, 1 - 20, default 4");
53 module_param(ir_debug, int, 0644); /* debug level [IR] */
54 MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]");
58 printk(KERN_DEBUG "%s IR: " fmt, ir->core->name, ##arg);\
63 printk(KERN_DEBUG "cx88 IR: " fmt, ##arg); \
68 static void cx88_ir_handle_key(struct cx88_IR *ir) in cx88_ir_handle_key() argument
70 struct cx88_core *core = ir->core; in cx88_ir_handle_key()
74 gpio = cx_read(ir->gpio_addr); in cx88_ir_handle_key()
107 if (ir in cx88_ir_handle_key()
171 struct cx88_IR *ir = container_of(timer, struct cx88_IR, timer); cx88_ir_work() local
185 struct cx88_IR *ir; __cx88_ir_start() local
209 struct cx88_IR *ir; __cx88_ir_stop() local
261 struct cx88_IR *ir; cx88_ir_init() local
506 struct cx88_IR *ir = core->ir; cx88_ir_fini() local
525 struct cx88_IR *ir = core->ir; cx88_ir_irq() local
553 get_key_pvr2000(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_pvr2000() argument
[all...]
/linux/drivers/media/usb/au0828/
H A Dau0828-input.c2 // handle au0828 IR remotes via linux kernel input layer.
36 int (*get_key_i2c)(struct au0828_rc *ir);
40 * AU8522 has a builtin IR receiver. Add functions to get IR from it
43 static int au8522_rc_write(struct au0828_rc *ir, u16 reg, u8 data) in au8522_rc_write() argument
47 struct i2c_msg msg = { .addr = ir->i2c_dev_addr, .flags = 0, in au8522_rc_write()
50 rc = i2c_transfer(ir->dev->i2c_client.adapter, &msg, 1); in au8522_rc_write()
58 static int au8522_rc_read(struct au0828_rc *ir, u16 reg, int val, in au8522_rc_read() argument
63 struct i2c_msg msg[2] = { { .addr = ir->i2c_dev_addr, .flags = 0, in au8522_rc_read()
65 { .addr = ir in au8522_rc_read()
83 au8522_rc_andor(struct au0828_rc * ir,u16 reg,u8 mask,u8 value) au8522_rc_andor() argument
102 au8522_rc_set(ir,reg,bit) global() argument
103 au8522_rc_clear(ir,reg,bit) global() argument
113 au0828_get_key_au8522(struct au0828_rc * ir) au0828_get_key_au8522() argument
218 struct au0828_rc *ir = container_of(work, struct au0828_rc, work.work); au0828_rc_work() local
230 struct au0828_rc *ir = rc->priv; au0828_rc_start() local
244 struct au0828_rc *ir = rc->priv; au0828_rc_stop() local
274 struct au0828_rc *ir; au0828_rc_register() local
353 struct au0828_rc *ir = dev->ir; au0828_rc_unregister() local
368 struct au0828_rc *ir = dev->ir; au0828_rc_suspend() local
385 struct au0828_rc *ir = dev->ir; au0828_rc_resume() local
[all...]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-input.c42 struct bttv_ir *ir = btv->remote; in ir_handle_key() local
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()
58 (gpio & ir->mask_keydown) ? " down" : "", in ir_handle_key()
59 (gpio & ir->mask_keyup) ? " up" : ""); in ir_handle_key()
61 if ((ir->mask_keydown && (gpio & ir in ir_handle_key()
77 struct bttv_ir *ir = btv->remote; ir_enltv_handle_key() local
119 struct bttv_ir *ir = btv->remote; bttv_input_irq() local
129 struct bttv_ir *ir = timer_container_of(ir, t, timer); bttv_input_timer() local
185 struct bttv_ir *ir = timer_container_of(ir, t, timer); bttv_rc5_timer_end() local
237 struct bttv_ir *ir = btv->remote; bttv_rc5_irq() local
290 bttv_ir_start(struct bttv_ir * ir) bttv_ir_start() argument
323 get_key_pv951(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_pv951() argument
411 struct bttv_ir *ir; bttv_input_init() local
[all...]
/linux/drivers/media/pci/smipcie/
H A Dsmipcie-ir.c13 static void smi_ir_enableInterrupt(struct smi_rc *ir) in smi_ir_enableInterrupt() argument
15 struct smi_dev *dev = ir->dev; in smi_ir_enableInterrupt()
20 static void smi_ir_disableInterrupt(struct smi_rc *ir) in smi_ir_disableInterrupt() argument
22 struct smi_dev *dev = ir->dev; in smi_ir_disableInterrupt()
27 static void smi_ir_clearInterrupt(struct smi_rc *ir) in smi_ir_clearInterrupt() argument
29 struct smi_dev *dev = ir->dev; in smi_ir_clearInterrupt()
34 static void smi_ir_stop(struct smi_rc *ir) in smi_ir_stop() argument
36 struct smi_dev *dev = ir->dev; in smi_ir_stop()
38 smi_ir_disableInterrupt(ir); in smi_ir_stop()
59 static void smi_ir_decode(struct smi_rc *ir) in smi_ir_decode() argument
105 smi_ir_irq(struct smi_rc * ir,u32 int_status) smi_ir_irq() argument
119 smi_ir_start(struct smi_rc * ir) smi_ir_start() argument
136 struct smi_rc *ir = &dev->ir; smi_ir_init() local
179 struct smi_rc *ir = &dev->ir; smi_ir_exit() local
[all...]
/linux/drivers/media/usb/em28xx/
H A Dem28xx-input.c3 // handle em28xx IR remotes via linux kernel input layer.
27 MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]");
33 dev_printk(KERN_DEBUG, &ir->dev->intf->dev, \
38 * Polling structure used by em28xx IR's
63 int (*get_key_i2c)(struct i2c_client *ir, enum rc_proto *protocol,
65 int (*get_key)(struct em28xx_IR *ir, struct em28xx_ir_poll_result *r);
69 * I2C IR based get keycodes - should be used with ir-kbd-i2c
78 /* poll IR chip */ in em28xx_get_key_terratec()
109 /* poll IR chi in em28xx_get_key_em_haup()
194 default_polling_getkey(struct em28xx_IR * ir,struct em28xx_ir_poll_result * poll_result) default_polling_getkey() argument
237 em2874_polling_getkey(struct em28xx_IR * ir,struct em28xx_ir_poll_result * poll_result) em2874_polling_getkey() argument
293 em28xx_i2c_ir_handle_key(struct em28xx_IR * ir) em28xx_i2c_ir_handle_key() argument
313 em28xx_ir_handle_key(struct em28xx_IR * ir) em28xx_ir_handle_key() argument
358 struct em28xx_IR *ir = container_of(work, struct em28xx_IR, work.work); em28xx_ir_work() local
369 struct em28xx_IR *ir = rc->priv; em28xx_ir_start() local
379 struct em28xx_IR *ir = rc->priv; em28xx_ir_stop() local
386 struct em28xx_IR *ir = rc_dev->priv; em2860_ir_change_protocol() local
414 struct em28xx_IR *ir = rc_dev->priv; em2874_ir_change_protocol() local
450 struct em28xx_IR *ir = rc_dev->priv; em28xx_ir_change_protocol() local
690 struct em28xx_IR *ir; em28xx_ir_init() local
840 struct em28xx_IR *ir = dev->ir; em28xx_ir_fini() local
871 struct em28xx_IR *ir = dev->ir; em28xx_ir_suspend() local
890 struct em28xx_IR *ir = dev->ir; em28xx_ir_resume() local
[all...]
/linux/drivers/media/rc/img-ir/
H A DMakefile2 img-ir-y := img-ir-core.o
3 img-ir-$(CONFIG_IR_IMG_RAW) += img-ir-raw.o
4 img-ir-$(CONFIG_IR_IMG_HW) += img-ir-hw.o
5 img-ir-$(CONFIG_IR_IMG_NEC) += img-ir-nec.o
6 img-ir-$(CONFIG_IR_IMG_JVC) += img-ir-jvc.o
7 img-ir-$(CONFIG_IR_IMG_SONY) += img-ir-sony.o
8 img-ir-$(CONFIG_IR_IMG_SHARP) += img-ir-sharp.o
9 img-ir-$(CONFIG_IR_IMG_SANYO) += img-ir-sanyo.o
10 img-ir-$(CONFIG_IR_IMG_RC5) += img-ir-rc5.o
11 img-ir-$(CONFIG_IR_IMG_RC6) += img-ir-rc6.o
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-input.c4 * handle saa7134 IR remotes via linux kernel input layer.
24 MODULE_PARM_DESC(ir_debug,"enable debug messages [IR]");
34 #define ir_dbg(ir, fmt, arg...) do { \ argument
36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \
47 struct saa7134_card_ir *ir = dev->remote; in build_key() local
62 if (ir->polling) { in build_key()
63 if (ir->last_gpio == gpio) in build_key()
65 ir->last_gpio = gpio; in build_key()
68 data = ir_extract_bits(gpio, ir in build_key()
105 get_key_flydvb_trio(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_flydvb_trio() argument
160 get_key_msi_tvanywhere_plus(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_msi_tvanywhere_plus() argument
212 get_key_kworld_pc150u(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_kworld_pc150u() argument
263 get_key_purpletv(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_purpletv() argument
292 get_key_beholdm6xx(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_beholdm6xx() argument
332 get_key_pinnacle(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle,int parity_offset,int marker,int code_modulo) get_key_pinnacle() argument
390 get_key_pinnacle_grey(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_pinnacle_grey() argument
402 get_key_pinnacle_color(struct IR_i2c * ir,enum rc_proto * protocol,u32 * scancode,u8 * toggle) get_key_pinnacle_color() argument
416 struct saa7134_card_ir *ir; saa7134_input_irq() local
434 struct saa7134_card_ir *ir = timer_container_of(ir, t, timer); saa7134_input_timer() local
444 struct saa7134_card_ir *ir = dev->remote; saa7134_ir_open() local
496 struct saa7134_card_ir *ir = dev->remote; saa7134_ir_close() local
506 struct saa7134_card_ir *ir; saa7134_input_init1() local
990 struct saa7134_card_ir *ir = dev->remote; saa7134_raw_decode_irq() local
[all...]
/linux/Documentation/userspace-api/media/rc/
H A Dlirc-dev-intro.rst10 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.
24 rc rc0: lirc_dev: driver mceusb registered at minor = 0, raw IR receiver, raw IR transmitter
36 - ir-ctl: can receive raw IR and transmit IR, as well as query LIRC
39 - ir-keytable: can load keymaps; allows you to set IR kernel protocols; load
40 BPF IR decoders and test IR decoding. Some BPF IR decoders are also
49 LIRC supports some modes of receiving and sending IR codes, as shown
58 This mode is for both sending and receiving IR.
62 set to the :ref:`IR protocol <Remote_controllers_Protocols>`, and all other
[all …]
H A Drc-protos.rst9 IR is encoded as a series of pulses and spaces, using a protocol. These
14 Therefore out the output of the IR decoder is a scancode; a single u32
17 Other things can be encoded too. Some IR protocols encode a toggle bit; this
20 toggle bit will invert from one IR message to the next.
24 target set in IR.
32 This IR protocol uses manchester encoding to encode 14 bits. There is a
33 detailed description here https://www.sbprojects.net/knowledge/ir/rc5.php.
183 described here https://www.sbprojects.net/knowledge/ir/jvc.php.
186 and the command the higher 8 bits; this is reversed from IR order.
279 described here https://www.sbprojects.net/knowledge/ir/nec.php. Note
[all …]
H A Drc-tables.rst10 IR keycodes for different devices. This caused the same IR keyname to be
11 mapped completely differently on different IR devices. This resulted
12 that the same IR keyname to be mapped completely different on different
13 IR's. Due to that, V4L2 API now specifies a standard for mapping Media
14 keys on IR.
20 layer. This means that the IR key strokes will look like normal keyboard
30 .. flat-table:: IR default keymapping
42 - Key examples on IR
417 - IR Blue key
425 - IR Green Key
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dallwinner,sun4i-a10-ir.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun4i-a10-ir.yaml#
19 - const: allwinner,sun4i-a10-ir
20 - const: allwinner,sun5i-a13-ir
21 - const: allwinner,sun6i-a31-ir
24 - allwinner,suniv-f1c100s-ir
25 - allwinner,sun8i-a83t-ir
26 - allwinner,sun8i-r40-ir
27 - allwinner,sun50i-a64-ir
28 - allwinner,sun50i-h6-ir
29 - allwinner,sun50i-h616-ir
[all …]
H A Damlogic,meson6-ir.yaml4 $id: http://devicetree.org/schemas/media/amlogic,meson6-ir.yaml#
7 title: Amlogic Meson IR remote control receiver
19 - amlogic,meson6-ir
20 - amlogic,meson8b-ir
21 - amlogic,meson-gxbb-ir
22 - amlogic,meson-s4-ir
24 - const: amlogic,meson-gx-ir
25 - const: amlogic,meson-gxbb-ir
44 ir-receiver@c8100480 {
45 compatible = "amlogic,meson6-ir";
/linux/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c76 * @ir: Instruction
78 static inline int mipsr6_emul(struct pt_regs *regs, u32 ir) in mipsr6_emul() argument
80 switch (MIPSInst_OPCODE(ir)) { in mipsr6_emul()
82 if (MIPSInst_RT(ir)) in mipsr6_emul()
83 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
84 (s32)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul()
85 (s32)MIPSInst_SIMM(ir); in mipsr6_emul()
91 if (MIPSInst_RT(ir)) in mipsr6_emul()
92 regs->regs[MIPSInst_RT(ir)] = in mipsr6_emul()
93 (s64)regs->regs[MIPSInst_RS(ir)] + in mipsr6_emul()
[all …]
/linux/arch/parisc/math-emu/
H A Dfpudispatch.c19 * emfpudispatch(ir, dummy1, dummy2, fpregs)
20 * fpudispatch(ir, excp_code, holder, fpregs)
182 fpudispatch(u_int ir, u_int excp_code, u_int holder, u_int fpregs[]) in fpudispatch() argument
194 class = get_class(ir); in fpudispatch()
197 subop = get_subop1_PA2_0(ir); in fpudispatch()
199 subop = get_subop1_PA1_1(ir); in fpudispatch()
202 subop = get_subop(ir); in fpudispatch()
209 return(decode_0c(ir,class,subop,fpregs)); in fpudispatch()
211 return(decode_0e(ir,class,subop,fpregs)); in fpudispatch()
213 return(decode_06(ir,fpregs)); in fpudispatch()
[all …]
/linux/drivers/staging/media/av7110/
H A Dav7110_ir.c23 struct rc_dev *rcdev = av7110->ir.rcdev; in av7110_ir_handler()
28 dprintk(4, "ir command = %08x\n", ircom); in av7110_ir_handler()
31 switch (av7110->ir.ir_config) { in av7110_ir_handler()
62 dprintk(2, "unknown ir config %d\n", av7110->ir.ir_config); in av7110_ir_handler()
72 dprintk(4, "ir config = %08x\n", av7110->ir.ir_config); in av7110_set_ir_config()
75 av7110->ir.ir_config); in av7110_set_ir_config()
96 if (ir_config == av7110->ir.ir_config) in change_protocol()
99 av7110->ir in change_protocol()
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c2 // test ir decoder
6 // A lirc chardev is a device representing a consumer IR (cir) device which
7 // can receive infrared signals from remote control and/or transmit IR.
9 // IR is sent as a series of pulses and space somewhat like morse code. The
13 // This test works by sending IR over rc-loopback, so the IR is processed by
15 // associated with rc-loopback, see the output of ir-keytable(1).
24 // 2. Attach bpf_lirc_mode2 program which decodes some IR.
25 // 3. Send some IR to the same IR devic
[all...]
/linux/drivers/media/pci/cx23885/
H A Dcx23885-input.c45 v4l2_subdev_call(dev->sd_ir, ir, rx_read, (u8 *) ir_core_event, in cx23885_input_process_measurements()
91 * using the CX2388x integrated IR controller should be similar in cx23885_input_rx_work_handler()
106 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_rx_work_handler()
110 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
121 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_rx_work_handler()
134 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameters, &params); in cx23885_input_ir_start()
150 * The IR controller on this board only returns pulse widths. in cx23885_input_ir_start()
178 * The IR controller on this board only returns pulse widths. in cx23885_input_ir_start()
208 v4l2_subdev_call(dev->sd_ir, ir, rx_s_parameters, &params); in cx23885_input_ir_start()
237 v4l2_subdev_call(dev->sd_ir, ir, rx_g_parameter in cx23885_input_ir_stop()
[all...]
/linux/arch/sparc/math-emu/
H A Dmath_64.c184 int IR; in do_mathemu() local
262 IR = 2; in do_mathemu()
277 IR = 0; in do_mathemu()
279 /* case 0: IR = 0; break; */ /* Never */ in do_mathemu()
280 case 1: if (XR) IR = 1; break; /* Not Equal */ in do_mathemu()
281 case 2: if (XR == 1 || XR == 2) IR = 1; break; /* Less or Greater */ in do_mathemu()
282 case 3: if (XR & 1) IR = 1; break; /* Unordered or Less */ in do_mathemu()
283 case 4: if (XR == 1) IR = 1; break; /* Less */ in do_mathemu()
284 case 5: if (XR & 2) IR = 1; break; /* Unordered or Greater */ in do_mathemu()
285 case 6: if (XR == 2) IR = 1; break; /* Greater */ in do_mathemu()
[all …]
/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c2 // cx231xx IR glue driver
6 // Polaris (cx231xx) has its support for IR's with a design close to MCE.
7 // however, a few designs are using an external I2C chip for IR, instead
17 static int get_key_isdbt(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_isdbt() argument
23 dev_dbg(&ir->rc->dev, "%s\n", __func__); in get_key_isdbt()
25 /* poll IR chip */ in get_key_isdbt()
26 rc = i2c_master_recv(ir->c, &cmd, 1); in get_key_isdbt()
41 dev_dbg(&ir->rc->dev, "cmd %02x, scan = %02x\n", cmd, scancode); in get_key_isdbt()
60 request_module("ir-kbd-i2c"); in cx231xx_ir_init()
87 /* Load and bind ir-kbd-i2c */ in cx231xx_ir_init()
[all …]

12345678910>>...25