Home
last modified time | relevance | path

Searched refs:ir (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/openbmc/linux/drivers/media/rc/
H A Diguanair.c85 ir->version = (ir->buf_in[5] << 8) | in process_ir_data()
92 ir->bufsize = ir->buf_in[4]; in process_ir_data()
98 ir->cycle_overhead = ir->buf_in[5]; in process_ir_data()
393 ir = kzalloc(sizeof(*ir), GFP_KERNEL); in iguanair_probe()
407 if (!ir->buf_in || !ir->packet || !ir->urb_in || !ir->urb_out || in iguanair_probe()
423 ir->urb_out->transfer_dma = ir->dma_out; in iguanair_probe()
429 ir->urb_in->transfer_dma = ir->dma_in; in iguanair_probe()
442 snprintf(ir->name, sizeof(ir->name), in iguanair_probe()
445 usb_make_path(ir->udev, ir->phys, sizeof(ir->phys)); in iguanair_probe()
503 usb_free_coherent(ir->udev, MAX_IN_PACKET, ir->buf_in, ir->dma_in); in iguanair_disconnect()
[all …]
H A Dmtk-cir.c164 clk_get_rate(ir->bus) / ir->data->div); in mtk_chk_period()
193 val = mtk_r32(ir, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_disable()
194 mtk_w32(ir, val & ~mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_disable()
201 val = mtk_r32(ir, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_enable()
202 mtk_w32(ir, val | mask, ir->data->regs[MTK_IRINT_EN_REG]); in mtk_irq_enable()
228 val = mtk_r32(ir, mtk_chkdata_reg(ir, i)); in mtk_ir_irq()
303 if (!ir) in mtk_ir_probe()
306 ir->dev = dev; in mtk_ir_probe()
321 ir->bus = ir->clk; in mtk_ir_probe()
329 if (!ir->rc) { in mtk_ir_probe()
[all …]
H A Dmeson-ir-tx.c81 unsigned int cnt = DIV_ROUND_CLOSEST(ir->clk_rate, ir->carrier); in meson_irtx_set_mod()
86 ir->carrier, NSEC_PER_SEC / ir->clk_rate * cnt, in meson_irtx_set_mod()
150 while (ir->buf_head < ir->buf_len && nr < max_fifo_level) { in meson_irtx_send_buffer()
151 writel(ir->buf[ir->buf_head], ir->reg_base + IRB_ADDR2); in meson_irtx_send_buffer()
206 if (ir->buf_head < ir->buf_len) in meson_irtx_irqhandler()
241 ir->buf = buf; in meson_irtx_update_buf()
303 dev_info(ir->dev, "F_clk = %luHz\n", ir->clk_rate); in meson_irtx_mod_clock_probe()
317 ir = devm_kzalloc(dev, sizeof(*ir), GFP_KERNEL); in meson_irtx_probe()
318 if (!ir) in meson_irtx_probe()
329 ir->dev = dev; in meson_irtx_probe()
[all …]
H A Dmceusb.c1235 ir->pulse_tunit, ir->flags.rx2); in mceusb_handle_command()
1281 ir->rem = mceusb_cmd_datasize(ir->cmd, ir->buf_in[i]); in mceusb_process_ir_data()
1314 ir->cmd = ir->buf_in[i]; in mceusb_process_ir_data()
1487 if (ir->num_txports && !ir->flags.no_tx) in mceusb_get_parameters()
1601 usb_make_path(ir->usbdev, ir->phys, sizeof(ir->phys)); in mceusb_init_rc_dev()
1752 ir->pipe_out = usb_sndintpipe(ir->usbdev, in mceusb_dev_probe()
1774 ir->rc = mceusb_init_rc_dev(ir); in mceusb_dev_probe()
1786 ir->urb_in->transfer_dma = ir->dma_in; in mceusb_dev_probe()
1820 ir->num_txports, ir->txports_cabled, in mceusb_dev_probe()
1821 ir->num_rxports, ir->rxports_active); in mceusb_dev_probe()
[all …]
H A Dsunxi-cir.c117 rc = rc > ir->fifo_size ? ir->fifo_size : rc; in sunxi_ir_irq()
199 sunxi_ir_set_timeout(ir->rc, ir->rc->timeout); in sunxi_ir_hw_init()
259 struct sunxi_ir *ir; in sunxi_ir_probe() local
263 if (!ir) in sunxi_ir_probe()
292 if (IS_ERR(ir->rst)) in sunxi_ir_probe()
310 if (!ir->rc) { in sunxi_ir_probe()
315 ir->rc->priv = ir; in sunxi_ir_probe()
323 ir->rc->map_name = ir->map_name ?: RC_MAP_EMPTY; in sunxi_ir_probe()
344 if (ir->irq < 0) { in sunxi_ir_probe()
345 ret = ir->irq; in sunxi_ir_probe()
[all …]
H A Digorplugusb.c53 dev_dbg(ir->dev, "irdata: %*ph (len=%u)", len, ir->buf_in, len); in igorplugusb_irdata()
134 struct igorplugusb *ir = from_timer(ir, t, timer); in igorplugusb_timer() local
163 ir = devm_kzalloc(&intf->dev, sizeof(*ir), GFP_KERNEL); in igorplugusb_probe()
164 if (!ir) in igorplugusb_probe()
176 if (!ir->urb) in igorplugusb_probe()
180 if (!ir->buf_in) in igorplugusb_probe()
184 ir->buf_in, MAX_PACKET, igorplugusb_callback, ir); in igorplugusb_probe()
186 usb_make_path(udev, ir->phys, sizeof(ir->phys)); in igorplugusb_probe()
206 rc->priv = ir; in igorplugusb_probe()
212 ir->rc = rc; in igorplugusb_probe()
[all …]
H A Dmeson-ir.c67 struct meson_ir *ir = dev_id; in meson_ir_irq() local
71 spin_lock(&ir->lock); in meson_ir_irq()
82 spin_unlock(&ir->lock); in meson_ir_irq()
93 struct meson_ir *ir; in meson_ir_probe() local
97 if (!ir) in meson_ir_probe()
106 if (IS_ERR(ir->reg)) in meson_ir_probe()
107 return PTR_ERR(ir->reg); in meson_ir_probe()
114 if (!ir->rc) { in meson_ir_probe()
119 ir->rc->priv = ir; in meson_ir_probe()
127 ir->rc->min_timeout = 1; in meson_ir_probe()
[all …]
H A DMakefile5 rc-core-y := rc-main.o rc-ir-raw.o
15 obj-$(CONFIG_IR_JVC_DECODER) += ir-jvc-decoder.o
30 obj-$(CONFIG_IR_GPIO_CIR) += gpio-ir-recv.o
31 obj-$(CONFIG_IR_GPIO_TX) += gpio-ir-tx.o
32 obj-$(CONFIG_IR_HIX5HD2) += ir-hix5hd2.o
35 obj-$(CONFIG_IR_IMG) += img-ir/
40 obj-$(CONFIG_IR_MESON) += meson-ir.o
41 obj-$(CONFIG_IR_MESON_TX) += meson-ir-tx.o
44 obj-$(CONFIG_IR_PWM_TX) += pwm-ir-tx.o
46 obj-$(CONFIG_IR_RX51) += ir-rx51.o
[all …]
/openbmc/linux/drivers/media/pci/cx88/
H A Dcx88-input.c190 ir = core->ir; in __cx88_ir_start()
215 ir = core->ir; in __cx88_ir_stop()
271 ir = kzalloc(sizeof(*ir), GFP_KERNEL); in cx88_ir_init()
276 ir->dev = dev; in cx88_ir_init()
489 core->ir = ir; in cx88_ir_init()
501 kfree(ir); in cx88_ir_init()
507 struct cx88_IR *ir = core->ir; in cx88_ir_fini() local
510 if (!ir) in cx88_ir_fini()
515 kfree(ir); in cx88_ir_fini()
526 struct cx88_IR *ir = core->ir; in cx88_ir_irq() local
[all …]
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-input.c61 if ((ir->mask_keydown && (gpio & ir->mask_keydown)) || in ir_handle_key()
62 (ir->mask_keyup && !(gpio & ir->mask_keyup))) { in ir_handle_key()
129 struct bttv_ir *ir = from_timer(ir, t, timer); in bttv_input_timer() local
185 struct bttv_ir *ir = from_timer(ir, t, timer); in bttv_rc5_timer_end() local
213 ir->code = (ir->code << ir->shift_by) | 1; in bttv_rc5_timer_end()
270 ir->code |= 1 << ir->last_bit; in bttv_rc5_irq()
275 ir->code = 0; in bttv_rc5_irq()
419 ir = kzalloc(sizeof(*ir),GFP_KERNEL); in bttv_input_init()
528 ir->dev = rc; in bttv_input_init()
533 snprintf(ir->phys, sizeof(ir->phys), "pci-%s/ir0", in bttv_input_init()
[all …]
/openbmc/linux/drivers/media/usb/au0828/
H A Dau0828-input.c221 rc = ir->get_key_i2c(ir); in au0828_rc_work()
286 ir = kzalloc(sizeof(*ir), GFP_KERNEL); in au0828_rc_register()
293 dev->ir = ir; in au0828_rc_register()
322 strlcat(ir->phys, "/input0", sizeof(ir->phys)); in au0828_rc_register()
347 kfree(ir); in au0828_rc_register()
353 struct au0828_rc *ir = dev->ir; in au0828_rc_unregister() local
356 if (!ir) in au0828_rc_unregister()
368 struct au0828_rc *ir = dev->ir; in au0828_rc_suspend() local
370 if (!ir) in au0828_rc_suspend()
385 struct au0828_rc *ir = dev->ir; in au0828_rc_resume() local
[all …]
/openbmc/linux/drivers/media/i2c/
H A Dir-kbd-i2c.c262 if (ir->old == b) in get_key_geniatech()
264 ir->old = b; in get_key_geniatech()
330 rc = ir->get_key(ir, &protocol, &scancode, &toggle); in ir_key_poll()
358 ir->rc = NULL; in ir_work()
542 ir->duty_cycle * XTAL_FREQ / 1000, ir->carrier); in zilog_ir_format()
544 (100 - ir->duty_cycle) * XTAL_FREQ / 1000, ir->carrier); in zilog_ir_format()
766 struct IR_i2c *ir; in ir_probe() local
778 ir = devm_kzalloc(&client->dev, sizeof(*ir), GFP_KERNEL); in ir_probe()
779 if (!ir) in ir_probe()
782 ir->c = client; in ir_probe()
[all …]
/openbmc/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 …]
/openbmc/linux/drivers/media/pci/smipcie/
H A Dsmipcie-ir.c15 struct smi_dev *dev = ir->dev; in smi_ir_enableInterrupt()
38 smi_ir_disableInterrupt(ir); in smi_ir_stop()
112 smi_ir_decode(ir); in smi_ir_irq()
136 struct smi_rc *ir = &dev->ir; in smi_ir_init() local
143 snprintf(ir->device_name, sizeof(ir->device_name), "IR (%s)", in smi_ir_init()
145 snprintf(ir->input_phys, sizeof(ir->input_phys), "pci-%s/ir0", in smi_ir_init()
162 ir->rc_dev = rc_dev; in smi_ir_init()
163 ir->dev = dev; in smi_ir_init()
179 struct smi_rc *ir = &dev->ir; in smi_ir_exit() local
183 smi_ir_stop(ir); in smi_ir_exit()
[all …]
/openbmc/linux/drivers/media/usb/em28xx/
H A Dem28xx-input.c319 result = ir->get_key(ir, &poll_result); in em28xx_ir_handle_key()
727 ir = kzalloc(sizeof(*ir), GFP_KERNEL); in em28xx_ir_init()
728 if (!ir) in em28xx_ir_init()
736 dev->ir = ir; in em28xx_ir_init()
811 strlcat(ir->phys, "/input0", sizeof(ir->phys)); in em28xx_ir_init()
840 struct em28xx_IR *ir = dev->ir; in em28xx_ir_fini() local
852 if (!ir) in em28xx_ir_fini()
871 struct em28xx_IR *ir = dev->ir; in em28xx_ir_suspend() local
877 if (ir) in em28xx_ir_suspend()
890 struct em28xx_IR *ir = dev->ir; in em28xx_ir_resume() local
[all …]
/openbmc/linux/drivers/media/pci/saa7134/
H A Dsaa7134-input.c62 if (ir->polling) { in build_key()
83 if ((ir->mask_keydown && (0 != (gpio & ir->mask_keydown))) || in build_key()
84 (ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) { in build_key()
92 if ((ir->mask_keydown && (0 != (gpio & ir->mask_keydown))) || in build_key()
93 (ir->mask_keyup && (0 == (gpio & ir->mask_keyup)))) { in build_key()
425 if (!ir->polling && !ir->raw_decode) { in saa7134_input_irq()
434 struct saa7134_card_ir *ir = from_timer(ir, t, timer); in saa7134_input_timer() local
771 ir = kzalloc(sizeof(*ir), GFP_KERNEL); in saa7134_input_init1()
778 ir->dev = rc; in saa7134_input_init1()
789 snprintf(ir->phys, sizeof(ir->phys), "pci-%s/ir0", in saa7134_input_init1()
[all …]
/openbmc/linux/arch/mips/math-emu/
H A Dcp1emu.c898 if (MIPSInst_RT(ir)) in cop1_cfc()
912 if (MIPSInst_RT(ir) == 0) in cop1_ctc()
976 mips_instruction ir; in cop1Emulate() local
1127 MIPSInst_RD(ir)); in cop1Emulate()
1136 DITOREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir)); in cop1Emulate()
1146 MIPSInst_RD(ir)); in cop1Emulate()
1155 SITOHREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir)); in cop1Emulate()
1162 MIPSInst_RD(ir)); in cop1Emulate()
1168 SITOREG(xcp->regs[MIPSInst_RT(ir)], MIPSInst_RD(ir)); in cop1Emulate()
1265 ir = (ir & (~0xffff)) | MM_NOP16; in cop1Emulate()
[all …]
/openbmc/linux/arch/mips/kernel/
H A Dmips-r2-to-r6-emul.c82 if (MIPSInst_RT(ir)) in mipsr6_emul()
91 if (MIPSInst_RT(ir)) in mipsr6_emul()
105 if (MIPSInst_RD(ir)) in mipsr6_emul()
186 ir, MIPSInst_OPCODE(ir)); in mipsr6_emul()
208 regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)]; in movf_func()
231 regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)]; in movt_func()
306 if (((regs->regs[MIPSInst_RT(ir)]) == 0) && MIPSInst_RD(ir)) in movz_func()
307 regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)]; in movz_func()
322 if (((regs->regs[MIPSInst_RT(ir)]) != 0) && MIPSInst_RD(ir)) in movn_func()
323 regs->regs[MIPSInst_RD(ir)] = regs->regs[MIPSInst_RS(ir)]; in movn_func()
[all …]
/openbmc/linux/arch/parisc/math-emu/
H A Dfpudispatch.c733 r1 = ((extru(ir,fpr1pos,5)<<1)|(extru(ir,fpxr1pos,1)));
736 t = ((extru(ir,fptpos,5)<<1)|(extru(ir,fpxtpos,1)));
979 r2 = ((extru(ir,fpr2pos,5)<<1)|(extru(ir,fpxr2pos,1)));
1055 r2 = ((extru(ir,fpr2pos,5)<<1)|(extru(ir,fpxr2pos,1)));
1155 u_int ir; in decode_06()
1295 u_int ir; in decode_26()
1386 u_int ir; in decode_2e()
1417 rm1 = (extru(ir,fprm1pos,5)<<1)|(extru(ir,fpxrm1pos,1));
1420 rm2 = (extru(ir,fprm2pos,5)<<1)|(extru(ir,fpxrm2pos,1));
1423 ra = (extru(ir,fpraupos,3)<<3)|extru(ir,fpralpos,3);
[all …]
/openbmc/linux/drivers/media/common/siano/
H A Dsmsir.c34 ir_raw_event_store(coredev->ir.dev, &ev); in sms_ir_event()
36 ir_raw_event_handle(coredev->ir.dev); in sms_ir_event()
51 coredev->ir.timeout = US_TO_NS(IR_DEFAULT_TIMEOUT); in sms_ir_init()
53 coredev->ir.controller, coredev->ir.timeout); in sms_ir_init()
55 snprintf(coredev->ir.name, sizeof(coredev->ir.name), in sms_ir_init()
58 strscpy(coredev->ir.phys, coredev->devpath, sizeof(coredev->ir.phys)); in sms_ir_init()
59 strlcat(coredev->ir.phys, "/ir0", sizeof(coredev->ir.phys)); in sms_ir_init()
61 dev->device_name = coredev->ir.name; in sms_ir_init()
62 dev->input_phys = coredev->ir.phys; in sms_ir_init()
88 coredev->ir.dev = dev; in sms_ir_init()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Dallwinner,sun4i-a10-ir.yaml19 - const: allwinner,sun4i-a10-ir
20 - const: allwinner,sun5i-a13-ir
21 - const: allwinner,sun6i-a31-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
46 - const: ir
67 ir0: ir@1c21800 {
[all …]
/openbmc/qemu/linux-user/alpha/
H A Dcpu_loop.c75 trapnr = env->ir[IR_V0]; in cpu_loop()
77 env->ir[IR_A0], env->ir[IR_A1], in cpu_loop()
78 env->ir[IR_A2], env->ir[IR_A3], in cpu_loop()
79 env->ir[IR_A4], env->ir[IR_A5], in cpu_loop()
91 trapnr = (env->ir[IR_V0] != 0 && sysret < 0); in cpu_loop()
92 env->ir[IR_V0] = (trapnr ? -sysret : sysret); in cpu_loop()
93 env->ir[IR_A3] = trapnr; in cpu_loop()
113 switch (env->ir[IR_A0]) { in cpu_loop()
181 env->ir[i] = ((abi_ulong *)regs)[i]; in target_cpu_copy_regs()
183 env->ir[IR_SP] = regs->usp; in target_cpu_copy_regs()
/openbmc/linux/lib/lzo/
H A Dlzo1x_compress.c52 const unsigned char *ir = ip + 4; in lzo1x_1_do_compress() local
58 for (; (ir + 32) <= limit; ir += 32) { in lzo1x_1_do_compress()
66 for (; (ir + 8) <= limit; ir += 8) { in lzo1x_1_do_compress()
81 ALIGN((uintptr_t)ir, 4)) && in lzo1x_1_do_compress()
82 (ir < limit) && (*ir == 0)) in lzo1x_1_do_compress()
83 ir++; in lzo1x_1_do_compress()
85 for (; (ir + 4) <= limit; ir += 4) { in lzo1x_1_do_compress()
86 dv = *((u32 *)ir); in lzo1x_1_do_compress()
100 while (likely(ir < limit) && unlikely(*ir == 0)) in lzo1x_1_do_compress()
101 ir++; in lzo1x_1_do_compress()
[all …]
/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110_ir.c23 struct rc_dev *rcdev = av7110->ir.rcdev; in av7110_ir_handler()
31 switch (av7110->ir.ir_config) { in av7110_ir_handler()
63 av7110->ir.ir_config); in av7110_ir_handler()
76 av7110->ir.ir_config); in av7110_set_ir_config()
97 if (ir_config == av7110->ir.ir_config) in change_protocol()
100 av7110->ir.ir_config = ir_config; in change_protocol()
117 snprintf(av7110->ir.input_phys, sizeof(av7110->ir.input_phys), in av7110_ir_init()
139 av7110->ir.rcdev = rcdev; in av7110_ir_init()
140 av7110->ir.ir_config = IR_RC5; in av7110_ir_init()
145 av7110->ir.rcdev = NULL; in av7110_ir_init()
[all …]
/openbmc/openbmc/poky/meta/recipes-gnome/gobject-introspection/
H A Dgobject-introspection_1.78.1.bb27 MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner"
78 chmod +x ${B}/g-ir-scanner-qemuwrapper
84 cat > ${B}/g-ir-scanner-wrapper << EOF
91 chmod +x ${B}/g-ir-scanner-wrapper
95 cat > ${B}/g-ir-compiler-wrapper << EOF
97 ${STAGING_BINDIR}/g-ir-scanner-qemuwrapper ${STAGING_BINDIR}/g-ir-compiler "\$@"
99 chmod +x ${B}/g-ir-compiler-wrapper
107 chmod +x ${B}/g-ir-scanner-lddwrapper
163 rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper
164 rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper
[all …]

12345678910>>...17