Home
last modified time | relevance | path

Searched defs:ir (Results 1 – 25 of 47) sorted by relevance

12

/drivers/media/usb/tm6000/
Dtm6000-input.c66 struct tm6000_IR *ir = dev->ir; in tm6000_ir_wait() local
79 static int tm6000_ir_config(struct tm6000_IR *ir) in tm6000_ir_config()
152 static void tm6000_ir_keydown(struct tm6000_IR *ir, in tm6000_ir_keydown()
187 struct tm6000_IR *ir = dev->ir; in tm6000_ir_urb_received() local
218 struct tm6000_IR *ir = container_of(work, struct tm6000_IR, work.work); in tm6000_ir_handle_key() local
253 struct tm6000_IR *ir = container_of(work, struct tm6000_IR, work.work); in tm6000_ir_int_work() local
288 struct tm6000_IR *ir = rc->priv; in tm6000_ir_start() local
299 struct tm6000_IR *ir = rc->priv; in tm6000_ir_stop() local
308 struct tm6000_IR *ir = rc->priv; in tm6000_ir_change_protocol() local
324 struct tm6000_IR *ir = rc->priv; in __tm6000_ir_int_start() local
[all …]
Dtm6000.h118 int ir; member
238 struct tm6000_IR *ir; member
/drivers/media/pci/saa7134/
Dsaa7134-input.c34 #define ir_dbg(ir, fmt, arg...) do { \ argument
47 struct saa7134_card_ir *ir = dev->remote; in build_key() local
105 static int get_key_flydvb_trio(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_flydvb_trio()
160 static int get_key_msi_tvanywhere_plus(struct IR_i2c *ir, 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()
[all …]
/drivers/media/usb/au0828/
Dau0828-input.c43 static int au8522_rc_write(struct au0828_rc *ir, u16 reg, u8 data) in au8522_rc_write()
58 static int au8522_rc_read(struct au0828_rc *ir, u16 reg, int val, in au8522_rc_read()
83 static int au8522_rc_andor(struct au0828_rc *ir, u16 reg, u8 mask, u8 value) in au8522_rc_andor()
102 #define au8522_rc_set(ir, reg, bit) au8522_rc_andor(ir, (reg), (bit), (bit)) argument
103 #define au8522_rc_clear(ir, reg, bit) au8522_rc_andor(ir, (reg), (bit), 0) argument
113 static int au0828_get_key_au8522(struct au0828_rc *ir) in au0828_get_key_au8522()
218 struct au0828_rc *ir = container_of(work, struct au0828_rc, work.work); in au0828_rc_work() local
230 struct au0828_rc *ir = rc->priv; in au0828_rc_start() local
244 struct au0828_rc *ir = rc->priv; in au0828_rc_stop() local
274 struct au0828_rc *ir; in au0828_rc_register() local
[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()
285 static int ir_key_poll(struct IR_i2c *ir) in ir_key_poll()
310 struct IR_i2c *ir = container_of(work, struct IR_i2c, work.work); in ir_work() local
331 struct IR_i2c *ir = dev->priv; in ir_open() local
[all …]
/drivers/media/pci/smipcie/
Dsmipcie-ir.c13 static void smi_ir_enableInterrupt(struct smi_rc *ir) in smi_ir_enableInterrupt()
20 static void smi_ir_disableInterrupt(struct smi_rc *ir) in smi_ir_disableInterrupt()
27 static void smi_ir_clearInterrupt(struct smi_rc *ir) in smi_ir_clearInterrupt()
34 static void smi_ir_stop(struct smi_rc *ir) in smi_ir_stop()
59 static void smi_ir_decode(struct smi_rc *ir) in smi_ir_decode()
100 int smi_ir_irq(struct smi_rc *ir, u32 int_status) in smi_ir_irq()
114 void smi_ir_start(struct smi_rc *ir) in smi_ir_start()
131 struct smi_rc *ir = &dev->ir; in smi_ir_init() local
174 struct smi_rc *ir = &dev->ir; in smi_ir_exit() local
/drivers/media/rc/
Diguanair.c82 static void process_ir_data(struct iguanair *ir, unsigned len) in process_ir_data()
148 struct iguanair *ir; in iguanair_rx() local
182 struct iguanair *ir = urb->context; in iguanair_irq_out() local
192 static int iguanair_send(struct iguanair *ir, unsigned size) in iguanair_send()
209 static int iguanair_get_features(struct iguanair *ir) in iguanair_get_features()
262 static int iguanair_receiver(struct iguanair *ir, bool enable) in iguanair_receiver()
282 struct iguanair *ir = dev->priv; in iguanair_set_tx_carrier() local
324 struct iguanair *ir = dev->priv; in iguanair_set_tx_mask() local
338 struct iguanair *ir = dev->priv; in iguanair_tx() local
378 struct iguanair *ir = rdev->priv; in iguanair_open() local
[all …]
Dmtk-cir.c145 static inline u32 mtk_chkdata_reg(struct mtk_ir *ir, u32 i) in mtk_chkdata_reg()
150 static inline u32 mtk_chk_period(struct mtk_ir *ir) in mtk_chk_period()
171 static void mtk_w32_mask(struct mtk_ir *ir, u32 val, u32 mask, unsigned int reg) in mtk_w32_mask()
180 static void mtk_w32(struct mtk_ir *ir, u32 val, unsigned int reg) in mtk_w32()
185 static u32 mtk_r32(struct mtk_ir *ir, unsigned int reg) in mtk_r32()
190 static inline void mtk_irq_disable(struct mtk_ir *ir, u32 mask) in mtk_irq_disable()
198 static inline void mtk_irq_enable(struct mtk_ir *ir, u32 mask) in mtk_irq_enable()
208 struct mtk_ir *ir = dev_id; in mtk_ir_irq() local
299 struct mtk_ir *ir; in mtk_ir_probe() local
429 struct mtk_ir *ir = platform_get_drvdata(pdev); in mtk_ir_remove() local
Dmceusb.c596 static void mceusb_dev_printdata(struct mceusb_dev *ir, u8 *buf, int buf_len, in mceusb_dev_printdata()
774 static void mceusb_defer_kevent(struct mceusb_dev *ir, int kevent) in mceusb_defer_kevent()
804 static int mce_write(struct mceusb_dev *ir, u8 *data, int size) in mce_write()
894 static void mce_command_out(struct mceusb_dev *ir, u8 *data, int size) in mce_command_out()
927 struct mceusb_dev *ir = dev->priv; in mceusb_tx_ir() local
1007 struct mceusb_dev *ir = dev->priv; in mceusb_set_tx_mask() local
1027 struct mceusb_dev *ir = dev->priv; in mceusb_set_tx_carrier() local
1070 struct mceusb_dev *ir = dev->priv; in mceusb_set_timeout() local
1093 struct mceusb_dev *ir = dev->priv; in mceusb_set_rx_wideband() local
1119 struct mceusb_dev *ir = dev->priv; in mceusb_set_rx_carrier_report() local
[all …]
Digorplugusb.c48 static void igorplugusb_irdata(struct igorplugusb *ir, unsigned len) in igorplugusb_irdata()
95 struct igorplugusb *ir = urb->context; in igorplugusb_callback() local
120 static void igorplugusb_cmd(struct igorplugusb *ir, int cmd) in igorplugusb_cmd()
133 struct igorplugusb *ir = from_timer(ir, t, timer); in igorplugusb_timer() local
144 struct igorplugusb *ir; in igorplugusb_probe() local
230 struct igorplugusb *ir = usb_get_intfdata(intf); in igorplugusb_disconnect() local
Dtango-ir.c55 static void tango_ir_handle_nec(struct tango_ir *ir) in tango_ir_handle_nec()
70 static void tango_ir_handle_rc5(struct tango_ir *ir) in tango_ir_handle_rc5()
87 static void tango_ir_handle_rc6(struct tango_ir *ir) in tango_ir_handle_rc6()
108 struct tango_ir *ir = dev_id; in tango_ir_irq() local
135 struct tango_ir *ir = dev->priv; in tango_change_protocol() local
159 struct tango_ir *ir; in tango_ir_probe() local
253 struct tango_ir *ir = platform_get_drvdata(pdev); in tango_ir_remove() local
Dmeson-ir.c68 static void meson_ir_set_mask(struct meson_ir *ir, unsigned int reg, in meson_ir_set_mask()
81 struct meson_ir *ir = dev_id; in meson_ir_irq() local
107 struct meson_ir *ir; in meson_ir_probe() local
184 struct meson_ir *ir = platform_get_drvdata(pdev); in meson_ir_remove() local
199 struct meson_ir *ir = platform_get_drvdata(pdev); in meson_ir_shutdown() local
Dsunxi-cir.c109 struct sunxi_ir *ir = dev_id; in sunxi_ir_irq() local
156 struct sunxi_ir *ir; in sunxi_ir_probe() local
312 struct sunxi_ir *ir = platform_get_drvdata(pdev); in sunxi_ir_remove() local
/drivers/media/usb/em28xx/
Dem28xx-input.c204 static int default_polling_getkey(struct em28xx_IR *ir, in default_polling_getkey()
247 static int em2874_polling_getkey(struct em28xx_IR *ir, in em2874_polling_getkey()
303 static int em28xx_i2c_ir_handle_key(struct em28xx_IR *ir) in em28xx_i2c_ir_handle_key()
323 static void em28xx_ir_handle_key(struct em28xx_IR *ir) in em28xx_ir_handle_key()
368 struct em28xx_IR *ir = container_of(work, struct em28xx_IR, work.work); in em28xx_ir_work() local
379 struct em28xx_IR *ir = rc->priv; in em28xx_ir_start() local
389 struct em28xx_IR *ir = rc->priv; in em28xx_ir_stop() local
396 struct em28xx_IR *ir = rc_dev->priv; in em2860_ir_change_protocol() local
424 struct em28xx_IR *ir = rc_dev->priv; in em2874_ir_change_protocol() local
460 struct em28xx_IR *ir = rc_dev->priv; in em28xx_ir_change_protocol() local
[all …]
/drivers/media/pci/bt8xx/
Dbttv-input.c42 struct bttv_ir *ir = btv->remote; in ir_handle_key() local
77 struct bttv_ir *ir = btv->remote; in ir_enltv_handle_key() local
119 struct bttv_ir *ir = btv->remote; in bttv_input_irq() local
129 struct bttv_ir *ir = from_timer(ir, t, timer); in bttv_input_timer() local
185 struct bttv_ir *ir = from_timer(ir, t, timer); in bttv_rc5_timer_end() local
237 struct bttv_ir *ir = btv->remote; in bttv_rc5_irq() local
290 static void bttv_ir_start(struct bttv_ir *ir) in bttv_ir_start()
323 static int get_key_pv951(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pv951()
411 struct bttv_ir *ir; in bttv_input_init() local
/drivers/media/pci/cx88/
Dcx88-input.c68 static void cx88_ir_handle_key(struct cx88_IR *ir) in cx88_ir_handle_key()
171 struct cx88_IR *ir = container_of(timer, struct cx88_IR, timer); in cx88_ir_work() local
185 struct cx88_IR *ir; in __cx88_ir_start() local
210 struct cx88_IR *ir; in __cx88_ir_stop() local
262 struct cx88_IR *ir; in cx88_ir_init() local
507 struct cx88_IR *ir = core->ir; in cx88_ir_fini() local
526 struct cx88_IR *ir = core->ir; in cx88_ir_irq() local
554 static int get_key_pvr2000(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_pvr2000()
/drivers/video/fbdev/
Dbt431.h76 static inline void bt431_select_reg(struct bt431_regs *regs, int ir) in bt431_select_reg()
116 static inline u8 bt431_read_reg(struct bt431_regs *regs, int ir) in bt431_read_reg()
122 static inline void bt431_write_reg(struct bt431_regs *regs, int ir, u8 value) in bt431_write_reg()
Dbt455.h27 static inline void bt455_select_reg(struct bt455_regs *regs, int ir) in bt455_select_reg()
/drivers/media/usb/cx231xx/
Dcx231xx-input.c17 static int get_key_isdbt(struct IR_i2c *ir, enum rc_proto *protocol, in get_key_isdbt()
/drivers/hid/
Dhid-wiimote-core.c196 __u8 ir = wdata->state.flags & WIIPROTO_FLAGS_IR; in select_drm() local
1382 #define ir_to_input0(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 0) argument
1383 #define ir_to_input1(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 1) argument
1384 #define ir_to_input2(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 2) argument
1385 #define ir_to_input3(wdata, ir, packed) handler_ir((wdata), (ir), (packed), 3) argument
/drivers/pinctrl/meson/
Dpinctrl-meson.h140 #define BANK_DS(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib, \ argument
158 #define BANK(n, f, l, fi, li, per, peb, pr, pb, dr, db, or, ob, ir, ib) \ argument
/drivers/net/can/softing/
Dsofting_main.c359 uint8_t ir; in softing_irq_v2() local
369 uint8_t ir; in softing_irq_v1() local
/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-colors.c1155 double ir, ig, ib; in mult_matrix() local
/drivers/media/pci/dm1105/
Ddm1105.c324 struct infrared ir; member
658 struct infrared *ir = container_of(work, struct infrared, work); in dm1105_emit_key() local
/drivers/media/common/siano/
Dsms-cards.h60 int ir; member

12