/linux/drivers/media/usb/em28xx/ |
A D | em28xx-input.c | 55 enum rc_proto protocol; 69 u64 rc_proto; member 227 switch (ir->rc_proto) { in default_polling_getkey() 273 switch (ir->rc_proto) { in em2874_polling_getkey() 306 enum rc_proto protocol; in em28xx_i2c_ir_handle_key() 403 *rc_proto = RC_PROTO_BIT_RC5; in em2860_ir_change_protocol() 411 *rc_proto = ir->rc_proto; in em2860_ir_change_protocol() 417 ir->rc_proto = *rc_proto; in em2860_ir_change_protocol() 446 *rc_proto = ir->rc_proto; in em2874_ir_change_protocol() 453 ir->rc_proto = *rc_proto; in em2874_ir_change_protocol() [all …]
|
/linux/tools/testing/selftests/ir/ |
A D | ir_loopback.c | 34 enum rc_proto proto; 135 unsigned int rc_proto = protocols[i].proto; in main() local 137 if (rc_proto == RC_PROTO_RC6_MCE) in main() 140 if (rc_proto == RC_PROTO_NECX && in main() 144 if (rc_proto == RC_PROTO_NEC32 && in main() 148 if (rc_proto == RC_PROTO_RCMM32 && in main() 154 .rc_proto = rc_proto, in main() 186 if (lsc.rc_proto != lsc2.rc_proto) in main() 188 lsc2.rc_proto); in main()
|
/linux/include/media/ |
A D | rc-core.h | 182 enum rc_proto wakeup_protocol; 194 enum rc_proto last_protocol; 212 int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto); 287 void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u64 scancode, 289 void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, 326 int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, 328 int ir_raw_encode_carrier(enum rc_proto protocol); 357 enum rc_proto *protocol) in ir_nec_bytes_to_scancode()
|
A D | rc-map.h | 162 enum rc_proto rc_proto; member
|
/linux/drivers/media/i2c/ |
A D | ir-kbd-i2c.c | 287 enum rc_proto protocol; in ir_key_poll() 727 u64 rc_proto = RC_PROTO_BIT_UNKNOWN; in ir_probe() local 752 rc_proto = RC_PROTO_BIT_OTHER; in ir_probe() 760 rc_proto = RC_PROTO_BIT_RC5; in ir_probe() 766 rc_proto = RC_PROTO_BIT_OTHER; in ir_probe() 772 rc_proto = RC_PROTO_BIT_UNKNOWN; in ir_probe() 778 rc_proto = RC_PROTO_BIT_OTHER; in ir_probe() 784 rc_proto = RC_PROTO_BIT_OTHER; in ir_probe() 809 rc_proto = init_data->type; in ir_probe() 852 if (!name || !ir->get_key || !rc_proto || !ir_codes) { in ir_probe() [all …]
|
/linux/drivers/media/usb/tm6000/ |
A D | tm6000-input.c | 61 u64 rc_proto; member 98 switch (ir->rc_proto) { in tm6000_ir_config() 112 if (ir->rc_proto == RC_PROTO_BIT_NEC) in tm6000_ir_config() 117 (ir->rc_proto == RC_PROTO_BIT_NEC) ? "NEC" : "RC-5", in tm6000_ir_config() 157 enum rc_proto protocol; in tm6000_ir_keydown() 164 switch (ir->rc_proto) { in tm6000_ir_keydown() 306 static int tm6000_ir_change_protocol(struct rc_dev *rc, u64 *rc_proto) in tm6000_ir_change_protocol() argument 315 ir->rc_proto = *rc_proto; in tm6000_ir_change_protocol() 404 u64 rc_proto; in tm6000_ir_init() local 450 rc_proto = RC_PROTO_BIT_UNKNOWN; in tm6000_ir_init() [all …]
|
/linux/drivers/media/rc/ |
A D | ir-nec-decoder.c | 43 enum rc_proto rc_proto; in ir_nec_decode() local 151 &rc_proto); in ir_nec_decode() 156 rc_keydown(dev, rc_proto, scancode, 0); in ir_nec_decode() 176 static u32 ir_nec_scancode_to_raw(enum rc_proto protocol, u32 scancode) in ir_nec_scancode_to_raw() 232 static int ir_nec_encode(enum rc_proto protocol, u32 scancode, in ir_nec_encode()
|
A D | rc-main.c | 215 const char *name, u64 rc_proto, size_t size) in ir_create_table() argument 220 rc_map->rc_proto = rc_proto; in ir_create_table() 788 .scancode = scancode, .rc_proto = protocol, in ir_do_keydown() 947 enum rc_proto protocol = dev->wakeup_protocol; in rc_validate_filter() 1500 enum rc_proto enabled; in show_wakeup_protocols() 1549 enum rc_proto protocol = RC_PROTO_UNKNOWN; in store_wakeup_protocols() 1787 u64 rc_proto; in rc_prepare_rx_device() local 1802 rc_proto = BIT_ULL(rc_map->rc_proto); in rc_prepare_rx_device() 1808 ir_raw_load_modules(&rc_proto); in rc_prepare_rx_device() 1811 rc = dev->change_protocol(dev, &rc_proto); in rc_prepare_rx_device() [all …]
|
A D | imon.c | 1122 if (*rc_proto && !(*rc_proto & rc->allowed_protocols)) in imon_ir_change_protocol() 1125 if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in imon_ir_change_protocol() 1128 *rc_proto = RC_PROTO_BIT_RC6_MCE; in imon_ir_change_protocol() 1129 } else if (*rc_proto & RC_PROTO_BIT_IMON) { in imon_ir_change_protocol() 1134 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol() 1140 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol() 1154 ictx->rc_proto = *rc_proto; in imon_ir_change_protocol() 1658 enum rc_proto proto; in imon_incoming_packet() 1900 ictx->rc_proto = allowed_protos; in imon_get_ffdc_type() 1992 rdev->allowed_protocols = ictx->rc_proto; in imon_init_rdev() [all …]
|
A D | rc-ir-raw.c | 245 static int change_protocol(struct rc_dev *dev, u64 *rc_proto) in change_protocol() argument 253 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol() 257 !(*rc_proto & handler->protocols) && in change_protocol() 268 if (handler->protocols & *rc_proto) { in change_protocol() 521 int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, in ir_raw_encode_scancode() 592 int ir_raw_encode_carrier(enum rc_proto protocol) in ir_raw_encode_carrier()
|
A D | ir-sony-decoder.c | 37 enum rc_proto protocol; in ir_sony_decode() 187 static int ir_sony_encode(enum rc_proto protocol, u32 scancode, in ir_sony_encode()
|
A D | rc-core-priv.h | 38 int (*encode)(enum rc_proto protocol, u32 scancode, 199 bool rc_validate_scancode(enum rc_proto proto, u32 scancode);
|
/linux/include/media/i2c/ |
A D | ir-kbd-i2c.h | 24 enum rc_proto *protocol, 55 enum rc_proto *protocol,
|
/linux/drivers/media/pci/saa7134/ |
A D | saa7134-input.c | 105 static int get_key_flydvb_trio(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_flydvb_trio() 161 enum rc_proto *protocol, in get_key_msi_tvanywhere_plus() 212 static int get_key_kworld_pc150u(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_kworld_pc150u() 263 static int get_key_purpletv(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_purpletv() 292 static int get_key_beholdm6xx(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_beholdm6xx() 332 static int get_key_pinnacle(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pinnacle() 390 static int get_key_pinnacle_grey(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pinnacle_grey() 402 static int get_key_pinnacle_color(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pinnacle_color()
|
/linux/drivers/media/usb/dvb-usb/ |
A D | dib0700_core.c | 640 int dib0700_change_protocol(struct rc_dev *rc, u64 *rc_proto) in dib0700_change_protocol() argument 656 if (*rc_proto & RC_PROTO_BIT_RC5) { in dib0700_change_protocol() 658 *rc_proto = RC_PROTO_BIT_RC5; in dib0700_change_protocol() 659 } else if (*rc_proto & RC_PROTO_BIT_NEC) { in dib0700_change_protocol() 661 *rc_proto = RC_PROTO_BIT_NEC; in dib0700_change_protocol() 662 } else if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in dib0700_change_protocol() 668 *rc_proto = RC_PROTO_BIT_RC6_MCE; in dib0700_change_protocol() 682 d->props.rc.core.protocol = *rc_proto; in dib0700_change_protocol() 714 enum rc_proto protocol; in dib0700_rc_urb_completion()
|
/linux/tools/include/uapi/linux/ |
A D | lirc.h | 158 __u16 rc_proto; member 199 enum rc_proto { enum
|
/linux/include/uapi/linux/ |
A D | lirc.h | 157 __u16 rc_proto; member 200 enum rc_proto { enum
|
/linux/drivers/media/pci/cx88/ |
A D | cx88-input.c | 265 u64 rc_proto = RC_PROTO_BIT_OTHER; in cx88_ir_init() local 346 rc_proto = RC_PROTO_BIT_NECX; in cx88_ir_init() 485 dev->allowed_protocols = rc_proto; in cx88_ir_init() 554 static int get_key_pvr2000(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pvr2000()
|
/linux/drivers/media/rc/keymaps/ |
A D | rc-khadas.c | 35 .rc_proto = RC_PROTO_NEC,
|
A D | rc-odroid.c | 35 .rc_proto = RC_PROTO_NEC,
|
A D | rc-geekbox.c | 30 .rc_proto = RC_PROTO_NEC,
|
A D | rc-minix-neo.c | 36 .rc_proto = RC_PROTO_NEC,
|
A D | rc-vega-s9x.c | 35 .rc_proto = RC_PROTO_NEC,
|
A D | rc-wetek-hub.c | 34 .rc_proto = RC_PROTO_NEC,
|
A D | rc-evga-indtube.c | 38 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
|