Searched refs:ir_config (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/drivers/media/pci/ttpci/
H A Dav7110_ir.c241 av7110->ir.ir_config = 0x0001; av7110_check_ir_config()
244 av7110->ir.ir_config = 0x0002; av7110_check_ir_config()
247 av7110->ir.ir_config = 0x0000; av7110_check_ir_config()
252 av7110->ir.ir_config |= 0x8000; av7110_check_ir_config()
257 av7110->ir.ir_config); av7110_check_ir_config()
275 u32 ir_config; av7110_ir_proc_write() local
276 int size = sizeof ir_config + sizeof av_list[0]->ir.key_map; av7110_ir_proc_write()
291 memcpy(&ir_config, page, sizeof ir_config); av7110_ir_proc_write()
295 memcpy(av_list[i]->ir.key_map, page + sizeof ir_config, av7110_ir_proc_write()
298 ir_protocol[i] = ir_config & 0x0001; av7110_ir_proc_write()
299 ir_inversion[i] = ir_config & 0x8000 ? 1 : 0; av7110_ir_proc_write()
300 if (ir_config & 0x4000) av7110_ir_proc_write()
301 ir_device_mask[i] = 1 << ((ir_config >> 16) & 0x1f); av7110_ir_proc_write()
H A Dav7110.h87 u32 ir_config; member in struct:infrared
/linux-4.4.14/drivers/media/usb/em28xx/
H A Dem28xx-input.c414 u8 ir_config = EM2874_IR_RC5; em2874_ir_change_protocol() local
423 ir_config = EM2874_IR_NEC | EM2874_IR_NEC_NO_PARITY; em2874_ir_change_protocol()
428 ir_config = EM2874_IR_RC6_MODE_0; em2874_ir_change_protocol()
437 em28xx_write_regs(dev, EM2874_R50_IR_CONFIG, &ir_config, 1); em2874_ir_change_protocol()

Completed in 119 milliseconds