/linux-4.1.27/include/media/ |
H A D | tveeprom.h | 19 /* If has_ir == 0, then it is unknown what the IR capabilities are, 21 bit 0: 1 (= IR capabilities are known) 22 bit 1: IR receiver present 23 bit 2: IR transmitter (blaster) present */
|
H A D | rc-core.h | 106 * @open: callback to allow drivers to enable polling/irq when IR input device 108 * @close: callback to allow drivers to disable polling/irq when IR input device 114 * @tx_ir: transmit IR 116 * device doesn't interrupt host until it sees IR pulses
|
/linux-4.1.27/arch/sparc/math-emu/ |
H A D | math_64.c | 183 int IR; do_mathemu() local 261 IR = 2; do_mathemu() 276 IR = 0; do_mathemu() 278 /* case 0: IR = 0; break; */ /* Never */ do_mathemu() 279 case 1: if (XR) IR = 1; break; /* Not Equal */ do_mathemu() 280 case 2: if (XR == 1 || XR == 2) IR = 1; break; /* Less or Greater */ do_mathemu() 281 case 3: if (XR & 1) IR = 1; break; /* Unordered or Less */ do_mathemu() 282 case 4: if (XR == 1) IR = 1; break; /* Less */ do_mathemu() 283 case 5: if (XR & 2) IR = 1; break; /* Unordered or Greater */ do_mathemu() 284 case 6: if (XR == 2) IR = 1; break; /* Greater */ do_mathemu() 285 case 7: if (XR == 3) IR = 1; break; /* Unordered */ do_mathemu() 288 IR ^= 1; do_mathemu() 297 IR = 0; do_mathemu() 300 /* case 0: IR = 0; break; */ /* Never */ do_mathemu() 301 case 1: if (XR & 4) IR = 1; break; /* Equal */ do_mathemu() 302 case 2: if ((XR & 4) || freg) IR = 1; break; /* Less or Equal */ do_mathemu() 303 case 3: if (freg) IR = 1; break; /* Less */ do_mathemu() 304 case 4: if (XR & 5) IR = 1; break; /* Less or Equal Unsigned */ do_mathemu() 305 case 5: if (XR & 1) IR = 1; break; /* Carry Set */ do_mathemu() 306 case 6: if (XR & 8) IR = 1; break; /* Negative */ do_mathemu() 307 case 7: if (XR & 2) IR = 1; break; /* Overflow Set */ do_mathemu() 310 IR ^= 1; do_mathemu() 334 IR = 0; do_mathemu() 336 case 1: if (!XR) IR = 1; break; /* Register Zero */ do_mathemu() 337 case 2: if (XR <= 0) IR = 1; break; /* Register Less Than or Equal to Zero */ do_mathemu() 338 case 3: if (XR < 0) IR = 1; break; /* Register Less Than Zero */ do_mathemu() 341 IR ^= 1; do_mathemu() 344 if (IR == 0) { do_mathemu() 350 } else if (IR == 1) { do_mathemu() 460 case FSTOI: FP_TO_INT_S (IR, SB, 32, 1); break; do_mathemu() 461 case FDTOI: FP_TO_INT_D (IR, DB, 32, 1); break; do_mathemu() 462 case FQTOI: FP_TO_INT_Q (IR, QB, 32, 1); break; do_mathemu() 467 case FITOQ: IR = rs2->s; FP_FROM_INT_Q (QR, IR, 32, int); break; do_mathemu() 473 case FITOS: IR = rs2->s; FP_FROM_INT_S (SR, IR, 32, int); break; do_mathemu() 475 case FITOD: IR = rs2->s; FP_FROM_INT_D (DR, IR, 32, int); break; do_mathemu() 506 case 1: rd->s = IR; break; do_mathemu()
|
H A D | math_32.c | 288 int IR; do_one_mathemu() local 455 case FSTOI: FP_TO_INT_S (IR, SB, 32, 1); break; do_one_mathemu() 456 case FDTOI: FP_TO_INT_D (IR, DB, 32, 1); break; do_one_mathemu() 457 case FQTOI: FP_TO_INT_Q (IR, QB, 32, 1); break; do_one_mathemu() 459 case FITOS: IR = rs2->s; FP_FROM_INT_S (SR, IR, 32, int); break; do_one_mathemu() 460 case FITOD: IR = rs2->s; FP_FROM_INT_D (DR, IR, 32, int); break; do_one_mathemu() 461 case FITOQ: IR = rs2->s; FP_FROM_INT_Q (QR, IR, 32, int); break; do_one_mathemu() 472 FP_CMP_S(IR, SB, SA, 3); do_one_mathemu() 473 if (IR == 3 && do_one_mathemu() 481 FP_CMP_D(IR, DB, DA, 3); do_one_mathemu() 482 if (IR == 3 && do_one_mathemu() 490 FP_CMP_Q(IR, QB, QA, 3); do_one_mathemu() 491 if (IR == 3 && do_one_mathemu() 500 if (IR == -1) IR = 2; do_one_mathemu() 502 fsr &= ~0xc00; fsr |= (IR << 10); do_one_mathemu() 505 case 1: rd->s = IR; break; do_one_mathemu()
|
/linux-4.1.27/drivers/staging/media/lirc/ |
H A D | lirc_zilog.c | 2 * i2c IR lirc driver for devices with zilog IR processors 16 * modified for Hauppauge PVR-150 IR TX device by 67 struct IR; 71 struct IR *ir; 87 struct IR *ir; 98 struct IR { struct 118 /* IR transceiver instance object list */ 122 * b. struct IR kref get()s and put()s 128 /* Block size for IR transmitter */ 131 /* Hauppauge IR transmitter data */ 158 static bool tx_only; /* only handle the IR Tx function */ 162 /* struct IR reference counting */ get_ir_device() 163 static struct IR *get_ir_device(struct IR *ir, bool ir_devices_lock_held) get_ir_device() 177 struct IR *ir = container_of(ref, struct IR, ref); release_ir_device() 197 static int put_ir_device(struct IR *ir, bool ir_devices_lock_held) put_ir_device() 212 static struct IR_rx *get_ir_rx(struct IR *ir) get_ir_rx() 238 struct IR *ir = rx->ir; release_ir_rx() 255 struct IR *ir = rx->ir; put_ir_rx() 274 static struct IR_tx *get_ir_tx(struct IR *ir) get_ir_tx() 289 struct IR *ir = tx->ir; release_ir_tx() 300 struct IR *ir = tx->ir; put_ir_tx() 311 static int add_to_buf(struct IR *ir) add_to_buf() 376 "unable to read from the IR chip after 3 resets, giving up\n"); add_to_buf() 382 "polling the IR receiver chip failed, trying reset\n"); add_to_buf() 465 struct IR *ir = arg; lirc_thread() 644 /* send a block of data to the IR TX device */ send_data_block() 670 /* send boot data to the IR TX device */ send_boot_data() 714 dev_err(tx->ir->l.dev, "unexpected IR TX init response: %02x\n", send_boot_data() 719 "Zilog/Hauppauge IR blaster firmware version %d.%d.%d loaded\n", send_boot_data() 735 pr_debug("successfully unloaded IR blaster firmware\n"); fw_unload_locked() 739 /* unload "firmware" for the IR TX device */ fw_unload() 747 /* load "firmware" for the IR TX device */ fw_load() 816 dev_dbg(tx->ir->l.dev, "%u IR blaster codesets loaded\n", fw_load() 894 struct IR *ir = filep->private_data; read() 978 /* send a keypress to the IR TX device */ send_code() 1030 dev_err(tx->ir->l.dev, "unexpected IR TX response #1: %02x\n", send_code() 1072 "IR TX chip never got ready: last i2c_master_send failed with %d\n", send_code() 1084 dev_err(tx->ir->l.dev, "unexpected IR TX response #2: %02x\n", send_code() 1103 struct IR *ir = filep->private_data; write() 1177 "sending to the IR transmitter chip failed, trying reset\n"); write() 1181 "unable to send to the IR chip after 3 resets, giving up\n"); write() 1210 struct IR *ir = filep->private_data; poll() 1243 struct IR *ir = filep->private_data; ioctl() 1293 static struct IR *get_ir_device_by_minor(unsigned int minor) get_ir_device_by_minor() 1295 struct IR *ir; get_ir_device_by_minor() 1296 struct IR *ret = NULL; get_ir_device_by_minor() 1314 * Open the IR device. Get hold of our IR structure and 1319 struct IR *ir; open() 1322 /* find our IR struct */ open() 1330 /* stash our IR struct */ open() 1337 /* Close the IR device */ close() 1340 /* find our IR struct */ close() 1341 struct IR *ir = filep->private_data; close() 1371 .name = "Zilog/Hauppauge i2c IR", 1431 static struct IR *get_ir_device_by_adapter(struct i2c_adapter *adapter) get_ir_device_by_adapter() 1433 struct IR *ir; get_ir_device_by_adapter() 1449 struct IR *ir; ir_probe() 1460 * The IR receiver is at i2c address 0x71. ir_probe() 1461 * The IR transmitter is at i2c address 0x70. ir_probe() 1469 pr_info("probing IR %s on %s (i2c-%d)\n", ir_probe() 1474 /* Use a single struct IR instance for both the Rx and Tx functions */ ir_probe() 1477 ir = kzalloc(sizeof(struct IR), GFP_KERNEL); ir_probe() 1552 "probe of IR Tx on %s (i2c-%d) done. Waiting on IR Rx.\n", ir_probe() 1592 "%s: could not start IR Rx polling thread\n", ir_probe() 1605 pr_info("probe of IR Rx on %s (i2c-%d) done. Waiting on IR Tx.\n", ir_probe() 1622 "IR unit on %s (i2c-%d) registered as lirc%d and ready\n", ir_probe() 1632 "probe of IR %s on %s (i2c-%d) done\n", ir_probe() 1646 "%s: probing IR %s on %s (i2c-%d) failed with %d\n", ir_probe() 1656 pr_notice("Zilog/Hauppauge IR driver initializing\n"); zilog_init() 1676 pr_notice("Zilog/Hauppauge IR driver unloaded\n"); zilog_exit() 1697 MODULE_PARM_DESC(tx_only, "Only handle the IR transmit function");
|
H A D | lirc_sasem.c | 10 * "lirc_imon - "LIRC/VFD driver for Ahanix/Soundgraph IMON IR/VFD" 14 * "Sasem OnAir VFD/IR USB driver" 92 int ir_isopen; /* IR port has been opened */ 168 usb_free_urb(context->rx_urb); /* IR */ delete_context() 300 /* Device disconnected before close and IR port is vfd_close() 301 * not open. If IR port is open, context will be vfd_close() 492 dev_err(&context->dev->dev, "%s: IR port is already open\n", ir_open() 511 dev_info(&context->dev->dev, "IR port opened\n"); ir_open() 538 pr_info("IR port closed\n"); ir_close() 543 * Device disconnected while IR port was ir_close() 690 * first input endpoint = IR endpoint sasem_probe() 715 "%s: found IR endpoint\n", __func__); sasem_probe() 732 "%s: no valid input (IR) endpoint found.\n", __func__); sasem_probe() 770 "%s: usb_alloc_urb failed for IR urb\n", __func__); sasem_probe() 907 /* De-register from lirc_dev if IR port is not open */ sasem_disconnect()
|
H A D | lirc_imon.c | 2 * lirc_imon.c: LIRC/VFD/LCD driver for SoundGraph iMON IR/VFD/LCD 37 #define MOD_DESC "Driver for SoundGraph iMON MultiMedia IR/Display" 82 int ir_isopen; /* IR port open */ 130 /* TriGem iMON (IR only) -- TG_iMON.inf */ 133 /* SoundGraph iMON (IR only) -- sg_imon.inf */ 136 /* SoundGraph iMON VFD (IR & VFD) -- iMON_VFD.inf */ 139 /* SoundGraph iMON SS (IR & VFD) -- iMON_SS.inf */ 303 * Device disconnected before close and IR port is not display_close() 304 * open. If IR port is open, context will be deleted by display_close() 497 /* initial IR protocol decode variables */ ir_open() 503 dev_info(context->driver->dev, "IR port opened\n"); ir_open() 525 dev_info(context->driver->dev, "IR port closed\n"); ir_close() 529 * Device disconnected while IR port was still open. Driver ir_close() 585 * just bail out if no listening IR client imon_incoming_packet() 735 * first input endpoint = IR endpoint imon_probe() 753 dev_dbg(dev, "%s: found IR endpoint\n", __func__); imon_probe() 775 dev_err(dev, "%s: no valid input (IR) endpoint found.\n", imon_probe() 808 dev_err(dev, "%s: usb_alloc_urb failed for IR urb\n", __func__); imon_probe() 859 * remotes, set IR protocol, and maybe more... imon_probe()
|
/linux-4.1.27/include/linux/i2c/ |
H A D | apds990x.h | 38 * @irf1: IR channel factor 1 for raw to lux conversion 40 * @irf2: IR channel factor 2 for raw to lux conversion 61 * @pddrive: IR-led driving current 62 * @ppcount: number of IR pulses used for proximity estimation
|
H A D | bh1770glc.h | 30 * @led_def_curr: IR led driving current.
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-input.c | 99 * using the CX2388x integrated IR controller should be similar cx23885_input_rx_work_handler() 157 * The IR controller on this board only returns pulse widths. cx23885_input_ir_start() 185 * The IR controller on this board only returns pulse widths. cx23885_input_ir_start() 276 * If the IR device (hardware registers, chip, GPIO lines, etc.) isn't cx23885_input_init() 287 /* Integrated CX2388[58] IR controller */ cx23885_input_init() 294 /* Integrated CX23885 IR controller */ cx23885_input_init() 301 /* Integrated CX23885 IR controller */ cx23885_input_init() 308 /* Integrated CX23885 IR controller */ cx23885_input_init() 316 /* Integrated CX23885 IR controller */ cx23885_input_init() 328 /* Integrated CX23885 IR controller */ cx23885_input_init() 334 /* Integrated CX23885 IR controller */ cx23885_input_init() 343 /* cx23885 board instance kernel IR state */ cx23885_input_init() 349 kernel_ir->name = kasprintf(GFP_KERNEL, "cx23885 IR (%s)", cx23885_input_init() 403 /* Always stop the IR hardware from generating interrupts */ cx23885_input_fini()
|
H A D | cx23885-cards.c | 42 "Enable integrated IR controller for supported\n" 948 .card = CX23885_BOARD_HAUPPAUGE_HVR4400, /* Hauppauge WinTV HVR-4400 (Model 121xxx, Hybrid DVB-T/S2, IR) */ 952 .card = CX23885_BOARD_HAUPPAUGE_HVR4400, /* Hauppauge WinTV HVR-5500 (Model 121xxx, Hybrid DVB-T/C/S2, IR) */ 956 .card = CX23885_BOARD_HAUPPAUGE_STARBURST, /* Hauppauge WinTV Starburst (Model 121x00, DVB-S2, IR) */ 960 .card = CX23885_BOARD_HAUPPAUGE_HVR4400, /* Hauppauge WinTV HVR-5500 (Model 121xxx, Hybrid DVB-T/C/S2, IR) */ 1048 * ATSC/QAM and basic analog, IR Blast */ hauppauge_eeprom() 1051 * DVB-T and basic analog, IR Blast */ hauppauge_eeprom() 1054 * ATSC/QAM and basic analog, IR Recv */ hauppauge_eeprom() 1057 * DVB-T and basic analog, IR Recv */ hauppauge_eeprom() 1060 * ATSC/QAM and basic analog, IR Recv */ hauppauge_eeprom() 1063 * DVB-T and basic analog, IR Recv */ hauppauge_eeprom() 1066 * ATSC/QAM and basic analog, IR Blast */ hauppauge_eeprom() 1069 * DVB-T and basic analog, IR Blast */ hauppauge_eeprom() 1072 * ATSC/QAM and basic analog, IR Recv */ hauppauge_eeprom() 1075 * DVB-T and basic analog, IR Recv */ hauppauge_eeprom() 1078 * ATSC/QAM and basic analog, IR Recv */ hauppauge_eeprom() 1081 * DVB-T and basic analog, IR Recv */ hauppauge_eeprom() 1113 /* WinTV-HVR1800lp (PCIe, Retail, No IR, Dual hauppauge_eeprom() 1116 /* WinTV-HVR1500 (Express Card, OEM, No IR, ATSC hauppauge_eeprom() 1119 /* WinTV-HVR1500 (Express Card, Retail, No IR, ATSC hauppauge_eeprom() 1122 /* WinTV-HVR1500Q (Express Card, OEM, No IR, ATSC/QAM hauppauge_eeprom() 1125 /* WinTV-HVR1500Q (Express Card, Retail, No IR, ATSC/QAM hauppauge_eeprom() 1128 /* WinTV-HVR1800 (PCIe, Retail, 3.5mm in, IR, No FM, hauppauge_eeprom() 1131 /* WinTV-HVR1800 (PCIe, OEM, RCA in, No IR, FM, hauppauge_eeprom() 1134 /* WinTV-HVR1800 (PCIe, OEM, RCA in, No IR, FM, hauppauge_eeprom() 1137 /* WinTV-HVR1800 (PCIe, OEM, RCA in, No IR, No FM, hauppauge_eeprom() 1140 /* WinTV-HVR1800 (PCIe, OEM, No IR, No FM, hauppauge_eeprom() 1143 /* WinTV-HVR1250 (PCIe, Retail, IR, full height, hauppauge_eeprom() 1146 /* WinTV-HVR1250 (PCIe, Retail, IR, half height, hauppauge_eeprom() 1149 /* WinTV-HVR1250 (PCIe, No IR, half height, hauppauge_eeprom() 1152 /* WinTV-HVR1250 (PCIe, OEM, No IR, half height, hauppauge_eeprom() 1155 /* WinTV-HVR1250 (PCIe, OEM, No IR, full height, hauppauge_eeprom() 1158 /* WinTV-HVR1250 (PCIe, OEM, No IR, half height, hauppauge_eeprom() 1161 /* WinTV-HVR1400 (Express Card, Retail, IR, hauppauge_eeprom() 1164 /* WinTV-HVR1700 (PCIe, OEM, No IR, half height) hauppauge_eeprom() 1167 /* WinTV-HVR1700 (PCIe, OEM, No IR, full height) hauppauge_eeprom() 1171 /* WinTV-HVR1850 (PCIe, Retail, 3.5mm in, IR, FM, hauppauge_eeprom() 1175 /* WinTV-HVR1290 (PCIe, OEM, RCA in, IR, hauppauge_eeprom() 1739 * IR controller to have the LED off while idle cx23885_ir_init() 2085 /* Currently only enabled for the integrated IR controller */ cx23885_card_setup()
|
H A D | cx23885-ir.c | 88 * For the CX23888 integrated IR, we are in an interrupt context. cx23885_ir_rx_v4l2_dev_notify() 107 * For the CX23888 integrated IR, we are in an interrupt context. cx23885_ir_tx_v4l2_dev_notify()
|
H A D | cx23888-ir.c | 30 MODULE_PARM_DESC(ir_888_debug, "enable debug messages [CX23888 IR controller]"); 148 * IR register block read and write functions 340 * IR Control Register helpers 438 * IR Rx & Tx Clock Register helpers 485 * IR Tx Carrier Duty Cycle register helpers 501 * IR Filter Register helpers 511 * IR IRQ Enable Register helpers 527 * V4L2 Subdevice IR Ops 621 v4l2_err(sd, "IR receiver software FIFO overrun\n"); cx23888_ir_irq_handler() 630 v4l2_err(sd, "IR receiver hardware FIFO overrun\n"); cx23888_ir_irq_handler() 634 * The IR Receiver Enable (CNTRL_RXE) must be toggled to clear cx23888_ir_irq_handler() 684 /* Assume RTO was because of no IR light input */ cx23888_ir_rx_read() 729 /* Disable or slow down all IR Rx circuits and counters */ cx23888_ir_rx_shutdown() 859 /* Disable or slow down all IR Tx circuits and counters */ cx23888_ir_tx_shutdown() 962 v4l2_info(sd, "IR Receiver:\n"); cx23888_ir_log_status() 1048 v4l2_info(sd, "IR Transmitter:\n"); cx23888_ir_log_status() 1199 * similar IR controller cores. cx23888_ir_probe()
|
H A D | cx23885-i2c.c | 339 /* Instantiate the IR receiver device, if present */ cx23885_i2c_register() 348 /* Use quick read command for probe, some IR chips don't cx23885_i2c_register()
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828-cards.c | 165 case 72000: /* WinTV-HVR950q (Retail, IR, ATSC/QAM */ hauppauge_eeprom() 166 case 72001: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 167 case 72101: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 168 case 72201: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 169 case 72211: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 170 case 72221: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 171 case 72231: /* WinTV-HVR950q (OEM, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 172 case 72241: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */ hauppauge_eeprom() 173 case 72251: /* WinTV-HVR950q (Retail, IR, ATSC/QAM and analog video */ hauppauge_eeprom() 174 case 72261: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */ hauppauge_eeprom() 175 case 72271: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */ hauppauge_eeprom() 176 case 72281: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM and analog video */ hauppauge_eeprom() 177 case 72301: /* WinTV-HVR850 (Retail, IR, ATSC and analog video */ hauppauge_eeprom() 178 case 72500: /* WinTV-HVR950q (OEM, No IR, ATSC/QAM */ hauppauge_eeprom()
|
H A D | au0828-input.c | 2 handle au0828 IR remotes via linux kernel input layer. 51 * AU8522 has a builtin IR receiver. Add functions to get IR from it 136 /* Check IR int */ au0828_get_key_au8522() 139 /* Be sure that IR is enabled */ au0828_get_key_au8522() 151 /* Disable IR */ au0828_get_key_au8522() 154 /* Enable IR */ au0828_get_key_au8522() 227 * Generic IR code 248 /* Enable IR */ au0828_rc_start() 264 /* Disable IR */ au0828_rc_stop() 328 /* This is how often we ask the chip for IR information */ au0828_rc_register() 332 snprintf(ir->name, sizeof(ir->name), "au0828 IR (%s)", au0828_rc_register() 391 /* Disable IR */ au0828_rc_suspend() 406 /* Enable IR */ au0828_rc_resume()
|
H A D | au0828-core.c | 35 * 16 = IR related 40 "set debug bitmask: 1=general, 2=USB, 4=I2C, 8=bridge, 16=IR"); 157 dev->usbdev is NULL, for poll (e.g: IR) try to access au0828_usb_disconnect() 361 pr_info("%s() IR Debugging is enabled\n", au0828_init()
|
/linux-4.1.27/drivers/iio/temperature/ |
H A D | mlx90614.c | 2 * mlx90614.c - Support for Melexis MLX90614 contactless IR temperature sensor 11 * Driver for the Melexis MLX90614 I2C 16-bit IR thermopile sensor 29 #define MLX90614_RAW1 (MLX90614_OP_RAM | 0x04) /* raw data IR channel 1 */ 30 #define MLX90614_RAW2 (MLX90614_OP_RAM | 0x05) /* raw data IR channel 2 */ 42 #define MLX90614_CONFIG_DUAL_SHIFT 6 /* single (0) or dual (1) IR sensor */ 220 MODULE_DESCRIPTION("Melexis MLX90614 contactless IR temperature sensor driver");
|
H A D | tmp006.c | 2 * tmp006.c - Support for TI TMP006 IR thermopile sensor 10 * Driver for the Texas Instruments I2C 16-bit IR thermopile sensor 292 MODULE_DESCRIPTION("TI TMP006 IR thermopile sensor driver");
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-i2c-core.c | 45 MODULE_PARM_DESC(ir_mode,"specify: 0=disable IR reception, 1=normal IR"); 51 "1=do not try to autoload ir_video IR receiver"); 199 the IR receiver. The implementation here simulates the IR receiver by 202 devices, where the IR receiver chip has been removed and replaced with 231 /* Issue a command to the FX2 to read the IR receiver. */ i2c_24xxx_ir() 246 /* Mangle the results into something that looks like the real IR i2c_24xxx_ir() 255 /* Mash the FX2 firmware-provided IR code into something i2c_24xxx_ir() 580 case PVR2_IR_SCHEME_24XXX: /* FX2-controlled IR */ pvr2_i2c_register_ir() 587 /* IR Receiver */ pvr2_i2c_register_ir() 601 /* IR Receiver */ pvr2_i2c_register_ir() 608 /* IR Trasmitter */ pvr2_i2c_register_ir() 617 /* The device either doesn't support I2C-based IR or we pvr2_i2c_register_ir() 618 don't know (yet) how to operate IR on the device. */ pvr2_i2c_register_ir() 635 printk(KERN_INFO "%s: IR disabled\n",hdw->name); pvr2_i2c_core_init() 639 /* Set up translation so that our IR looks like a pvr2_i2c_core_init() 662 /* Probe for a different type of IR receiver on this pvr2_i2c_core_init() 665 IR blaster. If the IR blaster is present, the IR pvr2_i2c_core_init() 667 the emulated IR receiver. */ pvr2_i2c_core_init() 670 "Device has newer IR hardware;" pvr2_i2c_core_init() 671 " disabling unneeded virtual IR device"); pvr2_i2c_core_init()
|
H A D | pvrusb2-devattr.h | 82 #define PVR2_IR_SCHEME_24XXX 1 /* FX2-controlled IR */ 168 /* Indicate IR scheme of hardware. If not set, then it is assumed 169 that IR can work without any help from the driver. */
|
H A D | pvrusb2-hdw-internal.h | 204 /* IR related */ 205 unsigned int ir_scheme_active; /* IR scheme as seen from the outside */ 206 struct IR_i2c_init_data ir_init_data; /* params passed to IR modules */
|
/linux-4.1.27/drivers/media/rc/keymaps/ |
H A D | rc-kworld-plus-tv-analog.c | 16 /* Kworld Plus TV Analog Lite PCI IR 54 /* The lower part of the IR 81 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-real-audio-220-32-keys.c | 16 /* Zogis Real Audio 220 - 32 keys IR */ 60 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-evga-indtube.c | 43 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-lirc.c | 2 * all raw IR data to the lirc userspace decoder.
|
H A D | rc-twinhan1027.c | 69 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-nec-terratec-cinergy-xs.c | 22 /* Terratec Grey IR, with most keys in orange */ 84 /* Terratec Black IR, with most keys in black */
|
H A D | rc-avermedia-m135a.c | 18 * On Avermedia M135A with IR model RM-JX, the same codes exist on both 19 * Positivo (BR) and original IR, initial version and remote control codes
|
H A D | rc-msi-tvanywhere-plus.c | 72 same IR code as Ch+, Ch-, >>, and << . The raw code assigned 105 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-adstech-dvb-t-pci.c | 71 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-apac-viewcomp.c | 62 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-ati-tv-wonder-hd-600.c | 51 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-avermedia-a16d.c | 57 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-avermedia-dvbt.c | 60 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-avermedia-m733a-rm-k6.c | 15 * Avermedia M733A with IR model RM-K6
|
H A D | rc-avermedia.c | 68 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-avertv-303.c | 67 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-cinergy-1400.c | 66 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-cinergy.c | 60 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-dm1105-nec.c | 58 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-dntv-live-dvb-t.c | 60 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-dntv-live-dvbt-pro.c | 79 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-em-terratec.c | 51 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-encore-enltv-fm53.c | 63 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-encore-enltv2.c | 72 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-flydvb.c | 59 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-flyvideo.c | 52 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-fusionhdtv-mce.c | 80 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-gadmei-rm008z.c | 63 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-genius-tvgo-a11mce.c | 66 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-gotview7135.c | 61 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-iodata-bctv7e.c | 70 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-kaiomy.c | 69 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-kworld-pc150u.c | 83 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-msi-tvanywhere.c | 51 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-norwood.c | 67 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-npgtech.c | 62 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pctv-sedna.c | 62 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pinnacle-color.c | 76 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pinnacle-grey.c | 71 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pixelview-002t.c | 17 * Keytable for 002-T IR remote provided together with Pixelview
|
H A D | rc-pixelview-mk12.c | 17 * Keytable for MK-F12 IR remote provided together with Pixelview
|
H A D | rc-pixelview-new.c | 65 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pixelview.c | 64 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-powercolor-real-angel.c | 63 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-proteus-2309.c | 51 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-purpletv.c | 63 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-pv951.c | 60 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-streamzap.c | 2 * with the Streamzap PC Remote IR Receiver.
|
H A D | rc-tbs-nec.c | 57 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-terratec-cinergy-xs.c | 74 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-tevii-nec.c | 70 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-videomate-m1f.c | 74 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-videomate-s350.c | 67 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-videomate-tv-pvr.c | 69 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-winfast-usbii-deluxe.c | 64 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-avermedia-cardbus.c | 79 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-behold-columbus.c | 90 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-budget-ci-old.c | 75 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-encore-enltv.c | 94 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-eztv.c | 78 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-manli.c | 116 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-tivo.c | 16 * which also ships with a TiVo-branded IR transceiver, supported by the mceusb
|
H A D | rc-winfast.c | 84 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */
|
H A D | rc-imon-mce.c | 2 * with the SoundGraph iMON/Antec Veris hardware IR decoder
|
/linux-4.1.27/drivers/media/rc/ |
H A D | sunxi-cir.c | 2 * Driver for Allwinner sunXi IR controller 32 /* IR Control */ 68 /* IR Sample Config */ 77 /* Frequency after IR internal divider */ 281 /* Enable IR Module */ sunxi_ir_probe() 285 dev_info(dev, "initialized sunXi IR driver\n"); sunxi_ir_probe() 312 /* disable IR IRQ */ sunxi_ir_remove() 316 /* disable IR */ sunxi_ir_remove() 341 MODULE_DESCRIPTION("Allwinner sunXi IR controller driver");
|
H A D | Makefile | 18 # stand-alone IR receivers/transmitters
|
H A D | mceusb.c | 14 * partially on a port to an earlier proposed IR infrastructure by 16 * incoming IR buffer parsing routines. 21 * Windows-Media-Center-RC-IR-Collection-Green-Button-Specification-03-08-2011-V2.pdf 64 #define MCE_IRDATA_TRAILER 0x80 /* End of IR data */ 72 * The interface between the host and the IR hardware is command-response 90 #define MCE_CMD_PORT_IR 0x9f /* IR-related cmd/rsp */ 91 #define MCE_CMD_PORT_SYS 0xff /* System (non-IR) device cmd/rsp */ 152 * then we're looking at a raw IR data sample */ 244 .name = "Conexant Hybrid TV (cx231xx) MCE IR", 248 .name = "Conexant Hybrid TV (cx231xx) MCE IR", 252 .name = "Conexant Hybrid TV (cx231xx) MCE IR no TX", 265 /* Original Microsoft MCE IR Transceiver (often HP-branded) */ 281 /* Philips/Spinel plus IR transceiver for ASUS */ 283 /* Philips/Spinel plus IR transceiver for ASUS */ 285 /* Philips IR transceiver (Dell branded) */ 288 /* Realtek MCE IR Receiver and card reader */ 370 /* Elitegroup Computer Systems IR */ 380 /* TiVo PC IR Receiver */ 442 u8 cmd, rem; /* Remaining IR data bytes in packet */ 694 dev_dbg(dev, "End of raw IR data"); mceusb_dev_printdata() 697 dev_dbg(dev, "Raw IR data, %d pulse/space samples", ir->rem); mceusb_dev_printdata() 817 /* Send data out the IR blaster port(s) */ mceusb_tx_ir() 880 /* Sets active IR outputs -- mce devices typically have two */ mceusb_set_tx_mask() 1024 /* IR data packets can span USB messages - rem */ mceusb_process_ir_data() 1046 dev_dbg(ir->dev, "processed IR data"); mceusb_process_ir_data() 1294 /* There are multi-function devices with non-IR interfaces */ mceusb_dev_probe()
|
H A D | ir-jvc-decoder.c | 1 /* ir-jvc-decoder.c - handle JVC IR Pulse/Space protocol 185 printk(KERN_INFO "IR JVC protocol handler initialized\n"); ir_jvc_decode_init() 199 MODULE_DESCRIPTION("JVC IR protocol decoder");
|
H A D | ir-nec-decoder.c | 1 /* ir-nec-decoder.c - handle NEC IR Pulse/Space protocol 212 printk(KERN_INFO "IR NEC protocol handler initialized\n"); ir_nec_decode_init() 227 MODULE_DESCRIPTION("NEC IR protocol decoder");
|
H A D | ir-sanyo-decoder.c | 1 /* ir-sanyo-decoder.c - handle SANYO IR Pulse/Space protocol 190 printk(KERN_INFO "IR SANYO protocol handler initialized\n"); ir_sanyo_decode_init() 205 MODULE_DESCRIPTION("SANYO IR protocol decoder");
|
H A D | ir-sharp-decoder.c | 1 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol 186 pr_info("IR Sharp protocol handler initialized\n"); ir_sharp_decode_init() 200 MODULE_DESCRIPTION("Sharp IR protocol decoder");
|
H A D | ir-sony-decoder.c | 1 /* ir-sony-decoder.c - handle Sony IR Pulse/Space protocol 185 printk(KERN_INFO "IR Sony protocol handler initialized\n"); ir_sony_decode_init() 199 MODULE_DESCRIPTION("Sony IR protocol decoder");
|
H A D | ir-xmp-decoder.c | 1 /* ir-xmp-decoder.c - handle XMP IR Pulse/Space protocol 210 printk(KERN_INFO "IR XMP protocol handler initialized\n"); ir_xmp_decode_init() 225 MODULE_DESCRIPTION("XMP IR protocol decoder");
|
H A D | ir-mce_kbd-decoder.c | 1 /* ir-mce_kbd-decoder.c - A decoder for the RC6-ish keyboard/mouse IR protocol 23 * - MCIR-2 29-bit IR signals used for mouse movement and buttons 24 * - MCIR-2 32-bit IR signals used for standard keyboard keys 368 "MCE IR Keyboard/Mouse (%s)", dev->driver_name); ir_mce_kbd_register() 435 printk(KERN_INFO "IR MCE Keyboard/mouse protocol handler initialized\n"); ir_mce_kbd_decode_init() 449 MODULE_DESCRIPTION("MCE Keyboard/mouse IR protocol decoder");
|
H A D | imon.c | 2 * imon.c: input and display driver for SoundGraph iMON IR/VFD/LCD 48 #define MOD_DESC "Driver for SoundGraph iMON MultiMedia IR/Display" 140 struct input_dev *idev; /* input device for panel & IR mouse */ 148 u64 rc_type; /* iMON or MCE (RC6) IR protocol? */ 345 * SoundGraph iMON PAD (IR & VFD) 346 * SoundGraph iMON PAD (IR & LCD) 347 * SoundGraph iMON Knob (IR only) 357 /* SoundGraph iMON OEM Touch LCD (IR & 7" VGA LCD) */ 360 /* SoundGraph iMON OEM Touch LCD (IR & 4.3" VGA LCD) */ 363 /* SoundGraph iMON OEM VFD (IR & VFD) */ 369 /* SoundGraph iMON OEM LCD (IR & LCD) */ 372 /* SoundGraph iMON UltraBay (IR & LCD) */ 381 /* SoundGraph iMON OEM Inside (IR only) */ 396 /* SoundGraph iMON MINI (IR only) */ 399 /* Antec Veris Multimedia Station EZ External (IR only) */ 402 /* Antec Veris Multimedia Station Basic Internal (IR only) */ 405 /* Antec Veris Multimedia Station Elite (IR & VFD) */ 408 /* Antec Veris Multimedia Station Premiere (IR & LCD) */ 454 * cause confusion, so allow disabling it when the IR device is open. 458 MODULE_PARM_DESC(nomouse, "Disable mouse input device mode when IR device is " 657 * some versions of the "IR & VFD" combo. The only way to determine if it 1095 * iMON IR receivers support two different signal sets -- those used by 1118 dev_warn(dev, "Looks like you're trying to use an IR protocol " imon_ir_change_protocol() 1122 dev_dbg(dev, "Configuring IR receiver for MCE protocol\n"); imon_ir_change_protocol() 1126 dev_dbg(dev, "Configuring IR receiver for iMON protocol\n"); imon_ir_change_protocol() 1132 dev_warn(dev, "Unsupported IR protocol specified, overriding " imon_ir_change_protocol() 1133 "to iMON IR protocol\n"); imon_ir_change_protocol() 1538 * care about repeats, as those will be auto-generated within the IR 1834 * figure out which display type (if any) and what IR protocol the device 1835 * actually supports. These devices have their IR protocol hard-coded into 1845 /* iMON Knob, no display, iMON IR + vol knob */ imon_get_ffdc_type() 1847 dev_info(ictx->dev, "0xffdc iMON Knob, iMON IR"); imon_get_ffdc_type() 1856 /* iMON VFD, no IR (does have vol knob tho) */ imon_get_ffdc_type() 1858 dev_info(ictx->dev, "0xffdc iMON VFD + knob, no IR"); imon_get_ffdc_type() 1861 /* iMON VFD, iMON IR */ imon_get_ffdc_type() 1864 dev_info(ictx->dev, "0xffdc iMON VFD, iMON IR"); imon_get_ffdc_type() 1867 /* iMON VFD, MCE IR */ imon_get_ffdc_type() 1871 dev_info(ictx->dev, "0xffdc iMON VFD, MCE IR"); imon_get_ffdc_type() 1875 /* iMON LCD, MCE IR */ imon_get_ffdc_type() 1877 dev_info(ictx->dev, "0xffdc iMON LCD, MCE IR"); imon_get_ffdc_type() 1883 "defaulting to VFD and iMON IR"); imon_get_ffdc_type() 2121 * first input endpoint = IR endpoint imon_find_endpoints() 2134 dev_dbg(ictx->dev, "%s: found IR endpoint\n", __func__); imon_find_endpoints() 2148 * remotes, set IR protocol, and maybe more... imon_find_endpoints() 2187 pr_err("no valid input (IR) endpoint found\n"); imon_find_endpoints() 2215 dev_err(dev, "%s: usb_alloc_urb failed for IR urb", __func__); imon_init_intf0() 2309 pr_err("usb_alloc_urb failed for IR urb\n"); imon_init_intf1()
|
H A D | winbond-cir.c | 2 * winbond-cir.c - Driver for the Consumer IR functionality of Winbond 23 * o IR Receive 24 * o IR Transmit 74 #define WBCIR_REG_ECEIR_CTS 0x00 /* Enhanced IR Control Status */ 111 #define WBCIR_REG_SP3_IRRXDC 0x00 /* IR RX Demod Control */ 112 #define WBCIR_REG_SP3_IRTXMC 0x01 /* IR TX Mod Control */ 172 /* Supported power-on IR Protocols */ 179 /* Possible states for IR reception */ 186 /* Possible states for IR transmission */ 200 #define SP_IOMEM_LEN 0x08 /* Serial Port 3 (IR) Reg Len */ 230 MODULE_PARM_DESC(protocol, "IR protocol to use for the power-on command " 235 MODULE_PARM_DESC(invert, "Invert the signal from the IR receiver"); 243 MODULE_PARM_DESC(wake_sc, "Scancode of the power-on IR command"); 915 * Clear IR LED, set SP3 clock to 24Mhz, set TX mask to IRTX1, wbcir_init_hw() 926 * Configure baud generator, IR data will be sampled at wbcir_init_hw() 1227 MODULE_DESCRIPTION("Winbond SuperI/O Consumer IR Driver");
|
H A D | ir-rc5-decoder.c | 196 printk(KERN_INFO "IR RC5(x/sz) protocol handler initialized\n"); ir_rc5_decode_init() 211 MODULE_DESCRIPTION("RC5(x/sz) IR protocol decoder");
|
H A D | meson-ir.c | 2 * Driver for Amlogic Meson IR remote receiver 214 MODULE_DESCRIPTION("Amlogic Meson IR remote receiver driver");
|
H A D | ir-lirc-codec.c | 26 * ir_lirc_decode() - Send raw IR data to lirc_dev to be relayed to the 169 * wait for the actual IR signal to be transmitted before ir_lirc_transmit_ir() 437 printk(KERN_INFO "IR LIRC bridge handler initialized\n"); ir_lirc_codec_init() 452 MODULE_DESCRIPTION("LIRC IR handler bridge");
|
H A D | rc-ir-raw.c | 1 /* rc-ir-raw.c - handle IR pulse/space events 26 /* Used to keep track of IR raw clients, protected by ir_raw_handler_lock */ 29 /* Used to handle IR raw handler extensions */ 318 * Extension interface - used to register the IR decoders
|
H A D | rc-main.c | 67 printk(KERN_ERR "Couldn't load IR keymap %s\n", name); rc_map_get() 70 msleep(20); /* Give some time for IR to register */ rc_map_get() 76 printk(KERN_ERR "IR keymap %s not found\n", name); rc_map_get() 80 printk(KERN_INFO "Registered IR keymap %s\n", map->map.name); rc_map_get() 112 .rc_type = RC_TYPE_UNKNOWN, /* Legacy IR type */ 281 * Unfortunately, some hardware-based IR decoders don't provide ir_establish_scancode() 282 * all bits for the complete IR code. In general, they provide only ir_establish_scancode() 283 * the command part of the IR code. Yet, as it is possible to replace ir_establish_scancode() 284 * the provided IR with another one, it is needed to allow loading ir_establish_scancode() 285 * IR tables from other remotes. So, we support specifying a mask to ir_establish_scancode() 599 * This routine is used by IR decoders when a repeat message which does 832 * show_protocols() - shows the current/wakeup IR protocol(s) 837 * This routine is a callback routine for input read the IR protocol type(s). 959 * store_protocols() - changes the current/wakeup IR protocol(s) 965 * This routine is for changing the IR protocol type. 1203 * Static device attribute struct with the sysfs attributes for IR's
|
H A D | st_rc.c | 39 /* IRB IR/UHF receiver registers */ 75 * RX graphical example to better understand the difference between ST IR block 114 dev_info(dev->dev, "IR RX overrun\n"); st_rc_rx_interrupt() 323 dev_info(dev, "setup in %s mode\n", rc_dev->rxuhfmode ? "UHF" : "IR"); st_rc_probe()
|
H A D | fintek-cir.h | 31 #define FINTEK_DESCRIPTION "Fintek LPC SuperIO Consumer IR Transceiver" 181 #define CIR_CR_IRCS 0x05 /* Before host writes command to IR, host 183 command to IR, host must clear to 0. */
|
H A D | igorplugusb.c | 2 * IgorPlug-USB IR Receiver 30 #define DRIVER_DESC "IgorPlug-USB IR Receiver" 113 else /* request IR */ igorplugusb_callback()
|
H A D | ir-rc6-decoder.c | 1 /* ir-rc6-decoder.c - A decoder for the RC6 IR protocol 305 printk(KERN_INFO "IR RC6 protocol handler initialized\n"); ir_rc6_decode_init() 319 MODULE_DESCRIPTION("RC6 IR protocol decoder");
|
H A D | nuvoton-cir.c | 605 * Process raw data in rx driver buffer, store it in raw IR event kfifo, 608 * We get IR data samples one byte at a time. If the msb is set, its a pulse, 612 * to signal more IR coming (repeats) or end of IR, respectively. We store 644 * BUF_PULSE_BIT indicates end of IR data, BUF_REPEAT_BYTE nvt_process_rx_ir_data() 645 * indicates end of IR signal, but new data incoming. In both nvt_process_rx_ir_data() 766 * Get IR Status register contents. Write 1 to ack/clear nvt_cir_isr() 981 /* input device for IR remote (and tx) */ nvt_probe() 996 dev_err(&pdev->dev, "IR PNP Port not valid!\n"); nvt_probe() 1128 /* enable CIR Wake (for IR power-on) */ nvt_remove()
|
H A D | fintek-cir.c | 362 * We must read data from CIR_RX_DATA until the hardware IR buffer fintek_get_rx_ir_data() 406 * Get IR Status register contents. Write 1 to ack/clear fintek_cir_isr() 499 /* input device for IR remote (and tx) */ fintek_probe() 507 dev_err(&pdev->dev, "IR PNP Port not valid!\n"); fintek_probe() 512 dev_err(&pdev->dev, "IR PNP IRQ not valid!\n"); fintek_probe() 603 /* enable CIR Wake (for IR power-on) */ fintek_remove()
|
H A D | ttusbir.c | 2 * TechnoTrend USB IR Receiver 29 #define DRIVER_DESC "TechnoTrend USB IR Receiver" 33 * messages per second (!), whether IR is idle or not.
|
H A D | ene_ir.h | 78 #define ENEB_IRQ_STATUS_IR 0x20 /* IR irq */ 208 bool hw_fan_input; /* fan input is IR data source */
|
H A D | rc-core-priv.h | 120 /* macros for IR decoders */ geq_margin() 167 * loads the compiled decoders for their usage with IR raw events
|
H A D | redrat3.c | 2 * USB RedRat3 IR Transceiver rc-core driver 60 #define DRIVER_DESC "RedRat3 USB IR Transceiver Driver" 108 /* USB bulk-in IR data endpoint address */ 235 /* Codes 0x20 through 0x2f are IR Firmware Errors */ redrat3_dump_fw_error() 250 pr_cont("Insufficient memory available for IR signal " redrat3_dump_fw_error() 358 /* Make sure we reset the IR kfifo after a bit of inactivity */ redrat3_process_ir_data() 617 /* gather IR data from incoming urb, process it when we have enough */ redrat3_get_ir_data() 639 /* if we get here, we've got IR data to decode */ redrat3_get_ir_data()
|
H A D | iguanair.c | 2 * IguanaWorks USB IR Transceiver support 489 "IguanaWorks USB IR Transceiver version 0x%04x", ir->version); iguanair_probe() 614 MODULE_DESCRIPTION("IguanaWorks USB IR Transceiver");
|
H A D | gpio-ir-recv.c | 251 MODULE_DESCRIPTION("GPIO IR Receiver driver");
|
/linux-4.1.27/drivers/media/usb/cx231xx/ |
H A D | cx231xx-input.c | 2 * 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 35 /* poll IR chip */ get_key_isdbt()
|
/linux-4.1.27/drivers/media/common/siano/ |
H A D | smsir.c | 9 - IR raw event decoding is now done at rc-core 67 pr_debug("IR port %d, timeout %d ms\n", sms_ir_init() 71 "SMS IR (%s)", sms_get_board(board_id)->name); sms_ir_init() 94 pr_debug("Input device (IR) %s is set for key events\n", sms_ir_init()
|
H A D | smsir.h | 9 - IR raw event decoding is now done at rc-core
|
H A D | sms-cards.h | 88 char *rc_codes; /* Name of IR codes table */
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | rtl28xxu.h | 241 #define SYS_IRRC_PSR 0x3020 /* IR protocol selection */ 242 #define SYS_IRRC_PER 0x3024 /* IR protocol extension */ 243 #define SYS_IRRC_SF 0x3028 /* IR sampling frequency */ 244 #define SYS_IRRC_DPIR 0x302C /* IR data package interval */ 245 #define SYS_IRRC_CR 0x3030 /* IR control */ 246 #define SYS_IRRC_RP 0x3034 /* IR read port */ 247 #define SYS_IRRC_SR 0x3038 /* IR status */ 256 * IR registers
|
H A D | anysee.h | 211 | 00 | 0x16 LED and IR control command 230 | 00-63 | IR CONTROL REQUEST PACKET 232 | 00 | 0x16 LED and IR control command 234 | 01 | 0x02 (IR) 236 | 03 | 0x00 IR disabled 237 | | 0x01 IR enabled
|
/linux-4.1.27/drivers/net/phy/ |
H A D | amd.c | 24 #define MII_AM79C_IR_EN_LINK 0x0400 /* IR enable Linkstate */ 25 #define MII_AM79C_IR_EN_ANEG 0x0100 /* IR enable Aneg Complete */
|
/linux-4.1.27/drivers/media/pci/cx88/ |
H A D | cx88-input.c | 62 MODULE_PARM_DESC(ir_samplerate, "IR samplerate in kHz, 1 - 20, default 4"); 65 module_param(ir_debug, int, 0644); /* debug level [IR] */ 66 MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); 69 printk(KERN_DEBUG "%s IR: " fmt , ir->core->name , ##arg) 72 printk(KERN_DEBUG "cx88 IR: " fmt , ##arg) 270 * used with a full-code IR table cx88_ir_init() 343 * IR's with different address won't work. Still, there are cx88_ir_init() 344 * other IR's from the same manufacturer that works, like the cx88_ir_init() 450 * the full scancodes, since it allows replacing the IR remote by cx88_ir_init() 461 snprintf(ir->name, sizeof(ir->name), "cx88 IR (%s)", core->board.name); cx88_ir_init() 563 /* poll IR chip */ get_key_pvr2000() 580 dprintk("IR Key/Flags: (0x%02x/0x%02x)\n", get_key_pvr2000() 602 /* Instantiate the IR receiver device, if present */ cx88_i2c_init_ir() 652 MODULE_DESCRIPTION("input driver for cx88 GPIO-based IR remote controls");
|
H A D | cx88-cards.c | 51 MODULE_PARM_DESC(disable_ir, "Disable IR support"); 2153 .name = "Hauppauge WinTV-IR Only", 2868 case 14009: /* WinTV-HVR3000 (Retail, IR, b/panel video, 3.5mm audio in) */ hauppauge_eeprom() 2869 case 14019: /* WinTV-HVR3000 (Retail, IR Blaster, b/panel video, 3.5mm audio in) */ hauppauge_eeprom() 2870 case 14029: /* WinTV-HVR3000 (Retail, IR, b/panel video, 3.5mm audio in - 880 bridge) */ hauppauge_eeprom() 2871 case 14109: /* WinTV-HVR3000 (Retail, IR, b/panel video, 3.5mm audio in - low profile) */ hauppauge_eeprom() 2872 case 14129: /* WinTV-HVR3000 (Retail, IR, b/panel video, 3.5mm audio in - 880 bridge - LP) */ hauppauge_eeprom() 2873 case 14559: /* WinTV-HVR3000 (OEM, no IR, b/panel video, 3.5mm audio in) */ hauppauge_eeprom() 2874 case 14569: /* WinTV-HVR3000 (OEM, no IR, no back panel video) */ hauppauge_eeprom() 2875 case 14659: /* WinTV-HVR3000 (OEM, no IR, b/panel video, RCA audio in - Low profile) */ hauppauge_eeprom() 2876 case 14669: /* WinTV-HVR3000 (OEM, no IR, no b/panel video - Low profile) */ hauppauge_eeprom() 2877 case 28552: /* WinTV-PVR 'Roslyn' (No IR) */ hauppauge_eeprom() 2880 /* WinTV-HVR4000 (DVBS/S2/T, Video and IR, back panel inputs) */ hauppauge_eeprom() 2881 case 69100: /* WinTV-HVR4000LITE (DVBS/S2, IR) */ hauppauge_eeprom() 2882 case 69500: /* WinTV-HVR4000LITE (DVBS/S2, No IR) */ hauppauge_eeprom() 2884 /* WinTV-HVR4000 (DVBS/S2/T, Video no IR, back panel inputs) */ hauppauge_eeprom() 2885 case 69569: /* WinTV-HVR4000 (DVBS/S2/T, Video no IR) */ hauppauge_eeprom() 2887 case 92001: /* Nova-S-Plus (Video and IR) */ hauppauge_eeprom() 2888 case 92002: /* Nova-S-Plus (Video and IR) */ hauppauge_eeprom() 2891 case 90501: /* Nova-T-PCI (oem/IR) */ hauppauge_eeprom() 2892 case 92000: /* Nova-SE2 (OEM, No Video or IR) */ hauppauge_eeprom() 2894 case 94009: /* WinTV-HVR1100 (Video and IR Retail) */ hauppauge_eeprom() 2895 case 94501: /* WinTV-HVR1100 (Video and IR OEM) */ hauppauge_eeprom() 2896 case 96009: /* WinTV-HVR1300 (PAL Video, MPEG Video and IR RX) */ hauppauge_eeprom() 2897 case 96019: /* WinTV-HVR1300 (PAL Video, MPEG Video and IR RX/TX) */ hauppauge_eeprom() 2898 case 96559: /* WinTV-HVR1300 (PAL Video, MPEG Video no IR) */ hauppauge_eeprom() 2901 case 98559: /* WinTV-HVR1100LP (Video no IR, Retail - Low Profile) */ hauppauge_eeprom() 3302 * "reset the IR receiver on GPIO[3]" cx88_card_setup_pre_i2c()
|
/linux-4.1.27/drivers/net/irda/ |
H A D | tekram-sir.c | 5 * Description: Implementation of the Tekram IrMate IR-210B dongle 54 .driver_name = "Tekram IR-210B", 108 * 3. send Control Byte to the IR-210 through TXD to set new baud rate 193 * 0. Clear RTS and DTR, and wait 50 ms (power off the IR-210 ) 220 MODULE_DESCRIPTION("Tekram IrMate IR-210B dongle driver");
|
H A D | actisys-sir.c | 5 * Description: Implementation for the ACTiSYS IR-220L and IR-220L+ 149 * Change speed of the ACTiSYS IR-220L and IR-220L+ type IrDA dongles. 239 MODULE_DESCRIPTION("ACTiSYS IR-220L and IR-220L+ dongle driver");
|
H A D | vlsi_ir.h | 85 CLKCTL_WAKE = 0x08 /* set to enable wakeup feature: whenever IR activity 131 /* VLSI_PCIIRMISC: IR Miscellaneous Register (u8, rw) */ 145 /* IR transceiver control */ 147 IRMISC_IRRAIL = 0x40, /* (ro?) IR rail power indication (and control?) 295 /* VLSI_PIO_IRCFG: IR Config Register (u16, rw) */ 340 /* VLSI_PIO_IRENABLE: IR Enable Register (u16, rw/ro) */ 343 * - IREN acts as gate for latching the configured IR mode information 351 IRENABLE_PHYANDCLOCK = 0x8000, /* enable IR phy and gate the mode config (rw) */ 365 /* VLSI_PIO_PHYCTL: IR Physical Layer Current Control Register (u16, ro) */ 374 /* VLSI_PIO_NPHYCTL: IR Physical Layer Next Control Register (u16, rw) */
|
H A D | donauboe.h | 29 * Toshiba refers to this chip as the type-O IR port, 30 * or the type-DO IR port. 290 #define OBOE_CTL_TX_DISTX_CRC 0x40 /*W Disable CRC generation for [FM]IR */ 301 #define OBOE_CTL_RX_CRCERR 0x20 /*R CRC error only set for [FM]IR */
|
H A D | w83977af_ir.h | 44 #define ICR_EUSRI 0x04//* IR status interrupt */ 91 #define USR 0x05 /* IR status register */
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 2 handle em28xx IR remotes via linux kernel input layer. 40 MODULE_PARM_DESC(ir_debug, "enable debug messages [IR]"); 50 Polling structure used by em28xx IR's 81 I2C IR based get keycodes - should be used with ir-kbd-i2c 89 /* poll IR chip */ em28xx_get_key_terratec() 114 /* poll IR chip */ em28xx_get_key_em_haup() 127 * The original Hauppauge Grey IR and another RC5 that uses addr=0x08 em28xx_get_key_em_haup() 131 * work with the provided RC5 IR. em28xx_get_key_em_haup() 143 /* poll IR chip */ em28xx_get_key_pinnacle_usb_grey() 319 /* read the registers containing the IR status */ em28xx_ir_handle_key() 387 /* Adjust xclk based on IR table for RC5/NEC tables */ em2860_ir_change_protocol() 416 /* Adjust xclk and set type based on IR table for RC5/NEC/RC6 tables */ em2874_ir_change_protocol() 461 printk("Unrecognized em28xx chip id 0x%02x: IR not supported\n", em28xx_ir_change_protocol() 470 /* Leadtek winfast tv USBII deluxe can find a non working IR-device */ em28xx_probe_i2c_ir() 685 /* Shouldn't initialize IR for this interface */ em28xx_ir_init() 699 em28xx_warn("No i2c IR remote control device found.\n"); em28xx_ir_init() 791 /* This is how often we ask the chip for IR information */ em28xx_ir_init() 795 snprintf(ir->name, sizeof(ir->name), "em28xx IR (%s)", dev->name); em28xx_ir_init() 831 /* Shouldn't initialize IR for this interface */ em28xx_ir_fini()
|
H A D | em28xx-reg.h | 189 0x46 IR brand 190 0x47 IR data 212 /* em2874 IR config register (0x50) */
|
/linux-4.1.27/drivers/media/usb/tm6000/ |
H A D | tm6000-input.c | 73 /* IR device properties */ 100 * The IR decoder supports RC-5 or NEC, with a configurable timing. tm6000_ir_config() 108 * IR, in order to discard such decoding tm6000_ir_config() 133 /* Remote WAKEUP = enable, normal mode, from IR decoder output */ tm6000_ir_config() 136 /* Enable IR reception on non-busrt mode */ tm6000_ir_config() 139 /* IR_WKUP_SEL = Low byte in decoded IR data */ tm6000_ir_config() 156 /* Shows that IR is working via the LED */ tm6000_ir_config() 205 printk(KERN_INFO "tm6000: IR URB failure: status: %i, length %i\n", tm6000_ir_urb_received() 214 print_hex_dump(KERN_DEBUG, "tm6000: IR data: ", tm6000_ir_urb_received() 279 printk(KERN_ERR "tm6000: Can't submit an IR interrupt. Error %i\n", tm6000_ir_int_work() 360 dprintk(1, "IR max size: %d\n", size); __tm6000_ir_int_start() 461 snprintf(ir->name, sizeof(ir->name), "tm5600/60x0 IR (%s)", tm6000_ir_init()
|
/linux-4.1.27/drivers/media/rc/img-ir/ |
H A D | img-ir-raw.c | 2 * ImgTec IR Raw Decoder found in PowerDown Controller. 11 * This ties into the input subsystem using the RC-core in raw mode. Raw IR 41 /* report the edge to the IR raw decoders */ img_ir_refresh_raw() 126 dev_err(priv->dev, "failed to register raw IR input device\n"); img_ir_probe_raw()
|
H A D | img-ir.h | 2 * ImgTec IR Decoder found in PowerDown Controller. 23 /* relative to the start of the IR block of registers */ 142 * @reg_base: Iomem base address of IR register block. 143 * @lock: Protects IR registers and variables in this struct.
|
H A D | img-ir-hw.c | 2 * ImgTec IR Hardware Decoder found in PowerDown Controller. 63 * received any new data after an incomplete IR code is decoded. 171 * @clock_hz: IR clock rate in Hz. 174 * Converts min and max from microseconds to IR clock cycles, applies a 343 * @clock_hz: IR clock rate in Hz. 368 * @priv: IR private data 401 dev_dbg(priv->dev, "IR filter=%016llx & %016llx\n", img_ir_write_filter() 411 dev_dbg(priv->dev, "IR clearing filter\n"); img_ir_write_filter() 469 dev_dbg(priv->dev, "IR scancode %sfilter=%08x & %08x\n", img_ir_set_filter() 494 dev_dbg(priv->dev, "IR raw %sfilter=%016llx & %016llx\n", img_ir_set_filter() 531 * @priv: IR private data. 574 /* always read data to clear buffer if IR wakes the device */ img_ir_set_decoder() 616 * @priv: IR private data. 636 * @priv: IR private data. 708 /* Set up IR decoders */ img_ir_init_decoders() 725 * @priv: IR private data. 727 * Returns: non-zero if the IR can wake the system. 751 * @priv: IR private data 973 * multiple Interrupts generated when an incomplete IR code is img_ir_isr_hw() 1025 * @priv: IR private data. 1090 dev_err(priv->dev, "failed to register IR input device\n"); img_ir_probe_hw()
|
H A D | img-ir-core.c | 2 * ImgTec IR Decoder found in PowerDown Controller. 70 "IMG IR Decoder (%d.%d.%d.%d) probed successfully\n", img_ir_ident() 200 MODULE_DESCRIPTION("ImgTec IR");
|
H A D | img-ir-hw.h | 2 * ImgTec IR Hardware Decoder found in PowerDown Controller. 106 * struct img_ir_filter - Filter IR events. 150 * struct img_ir_decoder - Decoder settings for an IR protocol. 159 * @scancode: Pointer to function to convert the IR data into a scancode (it
|
H A D | img-ir-jvc.c | 2 * ImgTec IR Decoder setup for JVC protocol.
|
H A D | img-ir-raw.h | 2 * ImgTec IR Raw Decoder found in PowerDown Controller.
|
H A D | img-ir-rc5.c | 2 * ImgTec IR Decoder setup for Philips RC-5 protocol.
|
H A D | img-ir-sharp.c | 2 * ImgTec IR Decoder setup for Sharp protocol.
|
H A D | img-ir-rc6.c | 2 * ImgTec IR Decoder setup for Philips RC-6 protocol.
|
H A D | img-ir-sanyo.c | 2 * ImgTec IR Decoder setup for Sanyo protocol.
|
H A D | img-ir-nec.c | 2 * ImgTec IR Decoder setup for NEC protocol.
|
H A D | img-ir-sony.c | 2 * ImgTec IR Decoder setup for Sony (SIRC) protocol.
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | tda18218_priv.h | 66 #define R28_IRCAL1 0x28 /* IR CAL byte 1 */ 67 #define R29_IRCAL2 0x29 /* IR CAL byte 2 */ 68 #define R2A_IRCAL3 0x2a /* IR CAL byte 3 */ 69 #define R2B_IRCAL4 0x2b /* IR CAL byte 4 */
|
H A D | tda18271.h | 109 * delaying both IR & RF calibration until init()
|
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/ |
H A D | h3xxx.h | 74 #define H3600_EGPIO_IR_ON (H3XXX_EGPIO_BASE + 9) /* apply power to IR module. active high. */ 78 #define H3600_EGPIO_IR_FSEL (H3XXX_EGPIO_BASE + 13) /* IR speed select: 1->fast, 0->slow */
|
H A D | assabet.h | 61 #define ASSABET_BCR_TV_IR_DEC (1<<20) /* TV IR Decode Enable (not implemented) */
|
/linux-4.1.27/arch/powerpc/math-emu/ |
H A D | math_efp.c | 183 int IR, cmp; do_spe_mathemu() local 335 FP_CMP_S(IR, SA, SB, 3); do_spe_mathemu() 336 if (IR == 3 && (FP_ISSIGNAN_S(SA) || FP_ISSIGNAN_S(SB))) do_spe_mathemu() 338 if (IR == cmp) { do_spe_mathemu() 339 IR = 0x4; do_spe_mathemu() 341 IR = 0; do_spe_mathemu() 477 FP_CMP_D(IR, DA, DB, 3); do_spe_mathemu() 478 if (IR == 3 && (FP_ISSIGNAN_D(DA) || FP_ISSIGNAN_D(DB))) do_spe_mathemu() 480 if (IR == cmp) { do_spe_mathemu() 481 IR = 0x4; do_spe_mathemu() 483 IR = 0; do_spe_mathemu() 649 IR = (ch << 3) | (cl << 2) | ((ch | cl) << 1) | do_spe_mathemu() 660 regs->ccr |= (IR << ((7 - ((speinsn >> 23) & 0x7)) << 2)); do_spe_mathemu()
|
/linux-4.1.27/drivers/media/i2c/ |
H A D | ir-kbd-i2c.c | 3 * keyboard input driver for i2c IR remote controls 71 /* poll IR chip */ get_key_haup_common() 137 /* poll IR chip */ get_key_pixelview() 154 /* poll IR chip */ get_key_fusionhdtv() 179 /* poll IR chip */ get_key_knc1() 416 snprintf(ir->name, sizeof(ir->name), "i2c IR (%s)", name); ir_probe() 474 /* Generic entry for any IR receiver */ 476 /* IR device specific entries should be added here */ 496 MODULE_DESCRIPTION("input driver for i2c IR remote controls");
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 34 MODULE_PARM_DESC(ir_debug, "enable integrated IR debug messages"); 332 * IR Control Register helpers 423 * IR Rx & Tx Clock Register helpers 470 * IR Tx Carrier Duty Cycle register helpers 486 * IR Filter Register helpers 496 * IR IRQ Enable Register helpers 520 * V4L2 Subdevice IR Ops 541 /* Only support the IR controller for the CX2388[57] AV Core for now */ cx25840_ir_irq_handler() 561 v4l2_dbg(2, ir_debug, sd, "IR IRQ Status: %s %s %s %s %s %s\n", cx25840_ir_irq_handler() 567 v4l2_dbg(2, ir_debug, sd, "IR IRQ Enables: %s %s %s %s\n", cx25840_ir_irq_handler() 626 v4l2_err(sd, "IR receiver software FIFO overrun\n"); cx25840_ir_irq_handler() 635 v4l2_err(sd, "IR receiver hardware FIFO overrun\n"); cx25840_ir_irq_handler() 639 * The IR Receiver Enable (CNTRL_RXE) must be toggled to clear cx25840_ir_irq_handler() 694 /* Assume RTO was because of no IR light input */ cx25840_ir_rx_read() 748 /* Disable or slow down all IR Rx circuits and counters */ cx25840_ir_rx_shutdown() 938 /* Disable or slow down all IR Tx circuits and counters */ cx25840_ir_tx_shutdown() 1046 /* The CX23888 chip doesn't have an IR controller on the A/V core */ cx25840_ir_log_status() 1060 v4l2_info(sd, "IR Receiver:\n"); cx25840_ir_log_status() 1146 v4l2_info(sd, "IR Transmitter:\n"); cx25840_ir_log_status() 1229 /* Only init the IR controller for the CX2388[57] AV Core for now */ cx25840_ir_probe()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | dm355evm_keys.c | 2 * dm355evm_keys.c - support buttons and IR remote on DM355 EVM board 24 * and an IR receptor used for the remote control. When any key is 44 * power connector is immediately in front of you and the IR sensor 55 * IR buttons ... codes assigned to match the universal remote
|
/linux-4.1.27/arch/powerpc/platforms/82xx/ |
H A D | pq2.c | 30 /* Clear the ME,EE,IR & DR bits in MSR to cause checkstop */ pq2_restart()
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | mpu.h | 24 /* Individual bits in the DR/IR ACR */
|
/linux-4.1.27/drivers/media/pci/ivtv/ |
H A D | ivtv-i2c.c | 25 CPU on the PVR-150 which handles IR functions (occasional inability to 158 /* poll IR chip */ get_key_adaptec() 184 /* Only allow one IR transmitter to be registered per board */ ivtv_i2c_new_ir() 194 /* Only allow one IR receiver to be registered per board */ ivtv_i2c_new_ir() 238 /* Instantiate the IR receiver device using probing -- undesirable */ ivtv_i2c_new_ir_legacy() 243 * The external IR receiver is at i2c address 0x34. ivtv_i2c_new_ir_legacy() 244 * The internal IR receiver is at i2c address 0x30. ivtv_i2c_new_ir_legacy() 254 0x1a, /* Hauppauge IR external - collides with WM8739 */ ivtv_i2c_new_ir_legacy() 255 0x18, /* Hauppauge IR internal */ ivtv_i2c_new_ir_legacy() 295 /* It's an I2C device other than an analog tuner or IR chip */ ivtv_i2c_register()
|
/linux-4.1.27/drivers/media/pci/saa7134/ |
H A D | saa7134-input.c | 3 * handle saa7134 IR remotes via linux kernel input layer. 38 MODULE_PARM_DESC(ir_debug,"enable debug messages [IR]"); 136 /* poll IR chip */ get_key_flydvb_trio() 137 /* weak up the IR chip */ get_key_flydvb_trio() 149 i2cdprintk("send wake up byte to pic16C505 (IR chip)" get_key_flydvb_trio() 266 /* poll IR chip */ get_key_purpletv() 291 /* poll IR chip */ get_key_hvr1110() 360 /* poll IR chip */ get_key_pinnacle() 834 printk("%s: Oops: IR config error [card=%d]\n", saa7134_input_init1() 857 snprintf(ir->name, sizeof(ir->name), "saa7134 IR (%s)", saa7134_input_init1() 919 dprintk("IR has been disabled, not probing for i2c remote\n"); saa7134_probe_i2c_ir() 1022 dprintk("No I2C IR support for board %x\n", dev->board); saa7134_probe_i2c_ir() 1044 * Wait 15 ms from the start of the first IR event before processing saa7134_raw_decode_irq()
|
/linux-4.1.27/drivers/iio/light/ |
H A D | vcnl4000.c | 14 * allow to adjust IR current 30 #define VCNL4000_LED_CURRENT 0x83 /* IR LED current for proximity mode */
|
/linux-4.1.27/drivers/char/mwave/ |
H A D | smapi.c | 378 /* Check IR port */ smapi_set_DSP_cfg() 386 if ((usCX & 0xff) != 0xff) { /* IR port not disabled */ smapi_set_DSP_cfg() 390 "smapi::smapi_set_DSP_cfg: IR port irq %x conflicts with mwave_uart_irq %x\n", usCX & 0xff, mwave_uart_irq); smapi_set_DSP_cfg() 393 "smapi::smapi_set_DSP_cfg: IR port irq %x conflicts with mwave_uart_irq %x\n", usCX & 0xff, mwave_uart_irq); smapi_set_DSP_cfg() 397 "smapi::smapi_set_DSP_cfg Disabling conflicting IR port\n"); smapi_set_DSP_cfg() 417 "smapi::smapi_set_DSP_cfg: IR port base I/O address %x conflicts with mwave uart I/O %x\n", ausUartBases[usSI & 0xff], ausUartBases[uartio_index]); smapi_set_DSP_cfg() 420 "smapi::smapi_set_DSP_cfg: IR port base I/O address %x conflicts with mwave uart I/O %x\n", ausUartBases[usSI & 0xff], ausUartBases[uartio_index]); smapi_set_DSP_cfg() 424 "smapi::smapi_set_DSP_cfg Disabling conflicting IR port\n"); smapi_set_DSP_cfg()
|
/linux-4.1.27/drivers/hid/ |
H A D | hid-picolcd_cir.c | 62 * for space - is it a matter of IR chip? (pulse for my TSOP2236) picolcd_raw_cir() 65 * interval for non-first report of IR data - thus the quirk below picolcd_raw_cir()
|
H A D | hid-twinhan.c | 2 * HID driver for TwinHan IR remote control
|
H A D | hid-wiimote-modules.c | 16 * initial features like the IR camera. Therefore, each peripheral device is 548 * IR Cam 549 * Up to 4 IR sources can be tracked by a normal Wii Remote. The IR cam needs 551 * power. Therefore, as long as no application uses the IR input device, it is 553 * Nearly no other device than the normal Wii Remotes supports the IR cam so 590 * Basic IR data is encoded into 3 bytes. The first two bytes are the wiimod_ir_in_ir() 595 * have two IR sets in 5 bytes instead of 6. wiimod_ir_in_ir() 661 /* enable IR LOGIC */ wiimod_ir_change() 675 /* enable IR cam but do not make it send data, yet */ wiimod_ir_change() 693 /* put IR cam into desired state */ wiimod_ir_change() 709 /* make IR cam send data */ wiimod_ir_change() 714 /* request new DRM mode compatible to IR mode */ wiimod_ir_change() 757 wdata->ir->name = WIIMOTE_NAME " IR"; wiimod_ir_probe()
|
/linux-4.1.27/arch/arm/mach-spear/ |
H A D | time.c | 40 #define IR(x) ((x) * 0x80 + 0x84) macro 166 writew(INT_STATUS, gpt_base + IR(CLKEVT)); spear_timer_interrupt()
|
/linux-4.1.27/arch/arm/mm/ |
H A D | proc-v7-2level.S | 121 * IR = NMRR[2n+1:2n] - inner cacheable property 124 * n TR IR OR
|
/linux-4.1.27/arch/arm/mach-davinci/ |
H A D | board-neuros-osd2.c | 14 * Additionally realtime clock, IR remote control receiver, 15 * IR Blaster based on MSP430 (firmware although is different
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | ir-usb.c | 2 * USB IR Dongle driver 42 #define DRIVER_DESC "USB IR Dongle driver" 79 .description = "IR Dongle", 330 * capability stated in the IR header that we got in the ir_set_termios()
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | mach-smdk2443.c | 93 /* IR port */
|
H A D | mach-rx3715.c | 90 /* IR port */
|
H A D | mach-smdk2413.c | 71 /* IR port */
|
H A D | mach-smdk2440.c | 93 /* IR port */
|
H A D | mach-smdk2416.c | 111 /* IR port */
|
/linux-4.1.27/drivers/media/pci/bt8xx/ |
H A D | bttv-input.c | 344 /* poll IR chip */ get_key_pv951() 373 /* Instantiate the I2C IR receiver device, if present */ init_bttv_i2c_ir() 404 * The external IR receiver is at i2c address 0x34 (0x35 for init_bttv_i2c_ir() 522 dprintk("Ooops: IR config error [card=%d]\n", btv->c.type); bttv_input_init() 542 snprintf(ir->name, sizeof(ir->name), "bttv IR (card=%d)", bttv_input_init()
|
H A D | bttv-if.c | 43 /* gpio ports (IR for example) */
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | dvb-usb-remote.c | 194 input_dev->name = "IR-receiver inside an USB DVB receiver"; legacy_dvb_usb_remote_init() 250 * driver was running, or when bulk mode is enabled after IR init dvb_usb_read_remote_control() 278 dev->input_name = "IR-receiver inside an USB DVB receiver"; rc_core_dvb_usb_remote_init()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
H A D | kinect.c | 325 /* turn off IR-reset function */ sd_start_video() 333 * IR. This is a stupid workaround, but we've yet to find a better sd_start_video() 360 /* turn off IR-reset function */ sd_start_depth()
|
/linux-4.1.27/drivers/staging/iio/light/ |
H A D | isl29028.c | 153 /* Enable the ALS/IR */ isl29028_set_als_ir_mode() 159 /* Need to wait for conversion time if ALS/IR mode enabled */ isl29028_set_als_ir_mode() 257 "Error in enabling IR mode err %d\n", ret); isl29028_ir_get()
|
/linux-4.1.27/drivers/media/pci/saa7164/ |
H A D | saa7164-cards.c | 628 * ATSC/QAM (TDA18271/S5H1411) and basic analog, no IR, FM */ hauppauge_eeprom() 635 * ATSC/QAM (TDA18271/S5H1411) and basic analog, no IR, FM */ hauppauge_eeprom() 644 * DVB-T (TDA18271/TDA10048) and basic analog, no IR */ hauppauge_eeprom() 648 * DVB-T (TDA18271/TDA10048) and basic analog, no IR */ hauppauge_eeprom()
|
/linux-4.1.27/drivers/message/fusion/lsi/ |
H A D | mpi_log_sas.h | 22 /* Bits 27-24: IOC_LOGINFO_ORIGINATOR: 0=IOP, 1=PL, 2=IR */ 222 /* IR LOGINFO_CODE defines, valid if IOC_LOGINFO_ORIGINATOR = IR */ 269 /* Compatibility Error : IR Disabled */
|
/linux-4.1.27/drivers/misc/altera-stapl/ |
H A D | altera-jtag.h | 55 /* Store current stop-state for DR and IR scan commands */
|
H A D | altera-jtag.c | 414 * into one buffer for IR or DR scans. altera_concatenate_data() 551 /* loop in the SHIFT-IR state */ alt_jtag_irscan() 664 * Copy preamble data, IR data, altera_irscan() 763 * Copy preamble data, IR data, altera_swap_ir()
|
/linux-4.1.27/include/net/irda/ |
H A D | irqueue.h | 17 * Kvalnes and has been ported to Linux and Linux/IR by Dag Brattli
|
H A D | irda_device.h | 64 #define IFF_AIR 0x0100 /* Supports Advanced IR (AIR) standards */ 73 TV_REMOTE, /* Also known as Consumer Electronics IR */
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | book3s_32_sr.S | 30 * MSR = ~IR|DR
|
H A D | book3s_64_slb.S | 34 * MSR = ~IR|DR
|
H A D | book3s_rmhandlers.S | 159 andc r6, r5, r6 /* Clear DR and IR in MSR value */
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | corgi.h | 38 #define CORGI_GPIO_IR_ON (22) /* Enable IR Transceiver */
|
H A D | h5000.h | 101 #define H5000_GPIO_CIR_RESET (70) /* consumer IR reset */
|
H A D | irqs.h | 61 #define IRQ_CIR PXA_IRQ(34) /* Consumer IR */
|
/linux-4.1.27/net/wireless/ |
H A D | genregdb.awk | 111 } else if (flagarray[arg] == "NO-IR") {
|
/linux-4.1.27/drivers/media/pci/cx18/ |
H A D | cx18-gpio.c | 329 CX18_DEBUG_INFO("Resetting IR microcontroller\n"); cx18_reset_ir_gpio() 335 /* This symbol is exported for use by lirc_pvr150 for the IR-blaster */
|
H A D | cx18-cards.h | 96 u32 ir_reset_mask; /* GPIO to reset the Zilog Z8F0811 IR contoller */
|
/linux-4.1.27/drivers/net/ethernet/apple/ |
H A D | mace.h | 95 * Bits in IR and IMR. The IR clears itself when read.
|
/linux-4.1.27/drivers/misc/ |
H A D | apds990x.c | 59 #define APDS990X_IRDATAL 0x16 /* IR ADC low data register */ 60 #define APDS990X_IRDATAH 0x17 /* IR ADC high data register */ 275 * Reported LUX value is a combination of the IR and CLEAR channel apds990x_lux_to_threshold() 279 * IR level compared to visible light varies heavily depending on the apds990x_lux_to_threshold() 297 * Convert IR light from the latest result to match with apds990x_lux_to_threshold() 305 * Compensate count with IR light impact apds990x_lux_to_threshold() 448 int iac, iac1, iac2; /* IR adjusted counts */ apds990x_get_lux()
|
/linux-4.1.27/net/sched/ |
H A D | sch_qfq.c | 126 enum qfq_state { ER, IR, EB, IB, QFQ_MAX_STATE }; enumerator in enum:qfq_state 768 * The state computation relies on ER=0, IR=1, EB=2, IB=3 815 qfq_move_groups(q, mask, IB, IR); qfq_unblock_groups() 842 qfq_move_groups(q, mask, IR, ER); qfq_make_eligible() 988 ineligible = q->bitmaps[IR] | q->bitmaps[IB]; qfq_update_eligible() 1311 __clear_bit(grp->index, &q->bitmaps[IR]); qfq_schedule_agg() 1388 __clear_bit(grp->index, &q->bitmaps[IR]); qfq_deactivate_agg() 1400 qfq_move_groups(q, mask, IB, IR); qfq_deactivate_agg() 1408 __clear_bit(grp->index, &q->bitmaps[IR]); qfq_deactivate_agg()
|
/linux-4.1.27/drivers/media/usb/hdpvr/ |
H A D | hdpvr-i2c.c | 7 * IR device registration code is
|
H A D | hdpvr-core.c | 374 v4l2_err(&dev->v4l2_dev, "i2c IR RX device register failed\n"); hdpvr_probe() 381 v4l2_err(&dev->v4l2_dev, "i2c IR TX device register failed\n"); hdpvr_probe()
|
/linux-4.1.27/include/uapi/linux/ |
H A D | pmu.h | 54 #define PMU_POW_IRLED 0x04 /* IR led power (on wallstreet) */
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
H A D | wii.c | 157 /* turn off the front blue led and IR light */ wii_setup_arch()
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | cpu_setup_ppc970.S | 145 /* Called with no MMU context (typically MSR:IR/DR off) to
|
/linux-4.1.27/scripts/dtc/ |
H A D | srcpos.h | 98 * Fictional source position used for IR nodes that are
|