/linux-6.1.9/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 45 enum rc_proto protocol; 59 u64 rc_proto; member 63 int (*get_key_i2c)(struct i2c_client *ir, enum rc_proto *protocol, 73 enum rc_proto *protocol, u32 *scancode) in em28xx_get_key_terratec() 104 enum rc_proto *protocol, u32 *scancode) in em28xx_get_key_em_haup() 134 enum rc_proto *protocol, in em28xx_get_key_pinnacle_usb_grey() 153 enum rc_proto *protocol, in em28xx_get_key_winfast_usbii_deluxe() 217 switch (ir->rc_proto) { in default_polling_getkey() 263 switch (ir->rc_proto) { in em2874_polling_getkey() 296 enum rc_proto protocol; in em28xx_i2c_ir_handle_key() [all …]
|
/linux-6.1.9/tools/testing/selftests/ir/ |
D | ir_loopback.c | 43 enum rc_proto proto; 144 unsigned int rc_proto = protocols[i].proto; in main() local 146 if (rc_proto == RC_PROTO_RC6_MCE) in main() 149 if (rc_proto == RC_PROTO_NECX && in main() 153 if (rc_proto == RC_PROTO_NEC32 && in main() 157 if (rc_proto == RC_PROTO_RCMM32 && in main() 163 .rc_proto = rc_proto, in main() 195 if (lsc.rc_proto != lsc2.rc_proto) in main() 197 lsc2.rc_proto); in main()
|
/linux-6.1.9/include/media/ |
D | rc-core.h | 178 enum rc_proto wakeup_protocol; 190 enum rc_proto last_protocol; 206 int (*change_protocol)(struct rc_dev *dev, u64 *rc_proto); 281 void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u64 scancode, 283 void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, 320 int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, 322 int ir_raw_encode_carrier(enum rc_proto protocol); 351 enum rc_proto *protocol) in ir_nec_bytes_to_scancode()
|
/linux-6.1.9/drivers/media/i2c/ |
D | ir-kbd-i2c.c | 59 static int get_key_haup_common(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_haup_common() 133 static int get_key_haup(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_haup() 139 static int get_key_haup_xvr(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_haup_xvr() 158 static int get_key_pixelview(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pixelview() 179 static int get_key_fusionhdtv(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_fusionhdtv() 207 static int get_key_knc1(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_knc1() 241 static int get_key_geniatech(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_geniatech() 278 static int get_key_avermedia_cardbus(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_avermedia_cardbus() 324 enum rc_proto protocol; in ir_key_poll() 764 u64 rc_proto = RC_PROTO_BIT_UNKNOWN; in ir_probe() local [all …]
|
/linux-6.1.9/drivers/staging/media/deprecated/tm6000/ |
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-6.1.9/drivers/media/rc/ |
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()
|
D | rc-main.c | 161 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */ 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() 477 rc = ir_create_table(dev, rc_map, from->name, from->rc_proto, in ir_setkeytable() 743 .scancode = dev->last_scancode, .rc_proto = dev->last_protocol, in rc_repeat() 780 static void ir_do_keydown(struct rc_dev *dev, enum rc_proto protocol, in ir_do_keydown() 788 .scancode = scancode, .rc_proto = protocol, in ir_do_keydown() 849 void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u64 scancode, in rc_keydown() 879 void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, in rc_keydown_notimeout() 897 bool rc_validate_scancode(enum rc_proto proto, u32 scancode) in rc_validate_scancode() [all …]
|
D | imon.c | 136 u64 rc_proto; /* iMON or MCE (RC6) IR protocol? */ member 1119 static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_proto) in imon_ir_change_protocol() argument 1128 if (*rc_proto && !(*rc_proto & rc->allowed_protocols)) in imon_ir_change_protocol() 1131 if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in imon_ir_change_protocol() 1134 *rc_proto = RC_PROTO_BIT_RC6_MCE; in imon_ir_change_protocol() 1135 } else if (*rc_proto & RC_PROTO_BIT_IMON) { in imon_ir_change_protocol() 1140 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol() 1146 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol() 1160 ictx->rc_proto = *rc_proto; in imon_ir_change_protocol() 1415 if (ictx->rc_proto == RC_PROTO_BIT_IMON && pad_stabilize) { in imon_pad_to_keys() [all …]
|
D | rc-ir-raw.c | 243 static int change_protocol(struct rc_dev *dev, u64 *rc_proto) in change_protocol() argument 251 (*rc_proto & handler->protocols) && handler->raw_register) in change_protocol() 255 !(*rc_proto & handler->protocols) && in change_protocol() 266 if (handler->protocols & *rc_proto) { in change_protocol() 519 int ir_raw_encode_scancode(enum rc_proto protocol, u32 scancode, in ir_raw_encode_scancode() 590 int ir_raw_encode_carrier(enum rc_proto protocol) in ir_raw_encode_carrier()
|
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()
|
/linux-6.1.9/include/media/i2c/ |
D | ir-kbd-i2c.h | 24 enum rc_proto *protocol, 56 enum rc_proto *protocol,
|
/linux-6.1.9/drivers/media/pci/saa7134/ |
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-6.1.9/drivers/media/usb/dvb-usb/ |
D | dib0700_core.c | 638 int dib0700_change_protocol(struct rc_dev *rc, u64 *rc_proto) in dib0700_change_protocol() argument 654 if (*rc_proto & RC_PROTO_BIT_RC5) { in dib0700_change_protocol() 656 *rc_proto = RC_PROTO_BIT_RC5; in dib0700_change_protocol() 657 } else if (*rc_proto & RC_PROTO_BIT_NEC) { in dib0700_change_protocol() 659 *rc_proto = RC_PROTO_BIT_NEC; in dib0700_change_protocol() 660 } else if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in dib0700_change_protocol() 666 *rc_proto = RC_PROTO_BIT_RC6_MCE; in dib0700_change_protocol() 680 d->props.rc.core.protocol = *rc_proto; in dib0700_change_protocol() 712 enum rc_proto protocol; in dib0700_rc_urb_completion()
|
/linux-6.1.9/include/uapi/linux/ |
D | lirc.h | 162 __u16 rc_proto; member 205 enum rc_proto { enum
|
/linux-6.1.9/drivers/media/rc/keymaps/ |
D | rc-geekbox.c | 30 .rc_proto = RC_PROTO_NEC,
|
D | rc-khadas.c | 35 .rc_proto = RC_PROTO_NEC,
|
D | rc-minix-neo.c | 36 .rc_proto = RC_PROTO_NEC,
|
D | rc-odroid.c | 35 .rc_proto = RC_PROTO_NEC,
|
D | rc-vega-s9x.c | 35 .rc_proto = RC_PROTO_NEC,
|
D | rc-wetek-hub.c | 34 .rc_proto = RC_PROTO_NEC,
|
D | rc-evga-indtube.c | 38 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
|
D | rc-msi-digivox-ii.c | 36 .rc_proto = RC_PROTO_NEC,
|
D | rc-terratec-slim-2.c | 41 .rc_proto = RC_PROTO_NEC,
|
D | rc-alink-dtu-m.c | 37 .rc_proto = RC_PROTO_NEC,
|
D | rc-dtt200u.c | 36 .rc_proto = RC_PROTO_NEC,
|