Home
last modified time | relevance | path

Searched refs:rc_proto (Results 1 – 25 of 166) sorted by relevance

1234567

/drivers/media/usb/em28xx/
Dem28xx-input.c55 enum rc_proto protocol;
69 u64 rc_proto; member
73 int (*get_key_i2c)(struct i2c_client *ir, enum rc_proto *protocol,
83 enum rc_proto *protocol, u32 *scancode) in em28xx_get_key_terratec()
114 enum rc_proto *protocol, u32 *scancode) in em28xx_get_key_em_haup()
144 enum rc_proto *protocol, in em28xx_get_key_pinnacle_usb_grey()
163 enum rc_proto *protocol, in em28xx_get_key_winfast_usbii_deluxe()
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()
[all …]
/drivers/media/i2c/
Dir-kbd-i2c.c59 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_avermedia_cardbus(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_avermedia_cardbus()
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()
[all …]
/drivers/media/usb/tm6000/
Dtm6000-input.c61 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 …]
/drivers/media/rc/
Dir-nec-decoder.c43 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()
Dzx-irdec.c54 enum rc_proto rc_proto; in zx_irdec_irq() local
73 &rc_proto); in zx_irdec_irq()
74 rc_keydown(irdec->rcd, rc_proto, scancode, 0); in zx_irdec_irq()
Drc-main.c161 .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()
848 void rc_keydown(struct rc_dev *dev, enum rc_proto protocol, u64 scancode, in rc_keydown()
878 void rc_keydown_notimeout(struct rc_dev *dev, enum rc_proto protocol, in rc_keydown_notimeout()
896 bool rc_validate_scancode(enum rc_proto proto, u32 scancode) in rc_validate_scancode()
[all …]
Dimon.c136 u64 rc_proto; /* iMON or MCE (RC6) IR protocol? */ member
1124 static int imon_ir_change_protocol(struct rc_dev *rc, u64 *rc_proto) in imon_ir_change_protocol() argument
1133 if (*rc_proto && !(*rc_proto & rc->allowed_protocols)) in imon_ir_change_protocol()
1136 if (*rc_proto & RC_PROTO_BIT_RC6_MCE) { in imon_ir_change_protocol()
1139 *rc_proto = RC_PROTO_BIT_RC6_MCE; in imon_ir_change_protocol()
1140 } else if (*rc_proto & RC_PROTO_BIT_IMON) { in imon_ir_change_protocol()
1145 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol()
1151 *rc_proto = RC_PROTO_BIT_IMON; in imon_ir_change_protocol()
1165 ictx->rc_proto = *rc_proto; in imon_ir_change_protocol()
1420 if (ictx->rc_proto == RC_PROTO_BIT_IMON && pad_stabilize) { in imon_pad_to_keys()
[all …]
Drc-ir-raw.c245 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()
Dir-sony-decoder.c37 enum rc_proto protocol; in ir_sony_decode()
187 static int ir_sony_encode(enum rc_proto protocol, u32 scancode, in ir_sony_encode()
Drc-core-priv.h38 int (*encode)(enum rc_proto protocol, u32 scancode,
199 bool rc_validate_scancode(enum rc_proto proto, u32 scancode);
/drivers/media/pci/saa7134/
Dsaa7134-input.c105 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()
/drivers/media/usb/dvb-usb/
Ddib0700_core.c638 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()
/drivers/media/pci/cx88/
Dcx88-input.c265 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()
/drivers/media/rc/keymaps/
Drc-geekbox.c30 .rc_proto = RC_PROTO_NEC,
Drc-odroid.c35 .rc_proto = RC_PROTO_NEC,
Drc-vega-s9x.c35 .rc_proto = RC_PROTO_NEC,
Drc-khadas.c35 .rc_proto = RC_PROTO_NEC,
Drc-wetek-hub.c34 .rc_proto = RC_PROTO_NEC,
Drc-evga-indtube.c38 .rc_proto = RC_PROTO_UNKNOWN, /* Legacy IR type */
Drc-alink-dtu-m.c37 .rc_proto = RC_PROTO_NEC,
Drc-terratec-slim-2.c41 .rc_proto = RC_PROTO_NEC,
Drc-msi-digivox-ii.c36 .rc_proto = RC_PROTO_NEC,
Drc-dtt200u.c36 .rc_proto = RC_PROTO_NEC,
Drc-astrometa-t2hybrid.c45 .rc_proto = RC_PROTO_NEC,
Drc-reddo.c54 .rc_proto = RC_PROTO_NECX,

1234567