Home
last modified time | relevance | path

Searched refs:toggle (Results 1 – 22 of 22) sorted by relevance

/linux-4.19.296/drivers/media/rc/
Dir-rc6-decoder.c72 if (!data->toggle) in rc6_mode()
91 u8 toggle; in ir_rc6_decode() local
161 data->toggle = ev.pulse; in ir_rc6_decode()
222 toggle = data->toggle; in ir_rc6_decode()
225 scancode, toggle); in ir_rc6_decode()
239 toggle = 0; in ir_rc6_decode()
243 toggle = 0; in ir_rc6_decode()
250 toggle = !!(scancode & RC6_6A_MCE_TOGGLE_MASK); in ir_rc6_decode()
255 toggle = 0; in ir_rc6_decode()
265 protocol, scancode, toggle); in ir_rc6_decode()
[all …]
Dir-rc5-decoder.c43 u8 toggle; in ir_rc5_decode() local
122 toggle = (data->bits & 0x20000) ? 1 : 0; in ir_rc5_decode()
136 toggle = (data->bits & 0x00800) ? 1 : 0; in ir_rc5_decode()
150 toggle = (data->bits & 0x01000) ? 1 : 0; in ir_rc5_decode()
158 scancode, protocol, toggle); in ir_rc5_decode()
160 rc_keydown(dev, protocol, scancode, toggle); in ir_rc5_decode()
Dtango-ir.c76 u32 data, field, toggle, addr, cmd, code; in tango_ir_handle_rc5() local
83 toggle = data >> 11 & 1; in tango_ir_handle_rc5()
88 rc_keydown(ir->rc, RC_PROTO_RC5, code, toggle); in tango_ir_handle_rc5()
93 u32 data0, data1, toggle, mode, addr, cmd, code; in tango_ir_handle_rc6() local
102 toggle = data0 & 1; in tango_ir_handle_rc6()
107 rc_keydown(ir->rc, RC_PROTO_RC6_0, code, toggle); in tango_ir_handle_rc6()
Dir-jvc-decoder.c74 data->toggle = !data->toggle; in ir_jvc_decode()
140 rc_keydown(dev, RC_PROTO_JVC, scancode, data->toggle); in ir_jvc_decode()
Dir-xmp-decoder.c83 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local
127 toggle = n[10]; in ir_xmp_decode()
144 if (toggle == 0) { in ir_xmp_decode()
Drc-core-priv.h84 bool toggle; member
99 bool toggle; member
Dbpf-lirc.c41 u32, toggle) in BPF_CALL_4() argument
47 rc_keydown(ctrl->dev, protocol, scancode, toggle != 0); in BPF_CALL_4()
Drc-main.c739 u32 scancode, u32 keycode, u8 toggle) in ir_do_keydown() argument
744 dev->last_toggle != toggle); in ir_do_keydown()
747 .flags = toggle ? LIRC_SCANCODE_FLAG_TOGGLE : 0, in ir_do_keydown()
761 dev->last_toggle = toggle; in ir_do_keydown()
806 u8 toggle) in rc_keydown() argument
812 ir_do_keydown(dev, protocol, scancode, keycode, toggle); in rc_keydown()
836 u32 scancode, u8 toggle) in rc_keydown_notimeout() argument
842 ir_do_keydown(dev, protocol, scancode, keycode, toggle); in rc_keydown_notimeout()
/linux-4.19.296/include/media/i2c/
Dir-kbd-i2c.h25 u32 *scancode, u8 *toggle);
56 u32 *scancode, u8 *toggle);
/linux-4.19.296/drivers/s390/char/
Dsclp_tty.c364 int toggle; in sclp_switch_cases() local
367 toggle = 0; in sclp_switch_cases()
385 toggle = ~toggle; in sclp_switch_cases()
390 if (toggle) in sclp_switch_cases()
/linux-4.19.296/drivers/media/rc/img-ir/
Dimg-ir-rc5.c38 request->toggle = tgl; in img_ir_rc5_scancode()
Dimg-ir-rc6.c59 request->toggle = trl2; in img_ir_rc6_scancode()
Dimg-ir-hw.h146 u8 toggle; member
Dimg-ir-hw.c827 request.toggle = 0; in img_ir_handle_data()
839 request.scancode, request.toggle); in img_ir_handle_data()
841 request.toggle); in img_ir_handle_data()
/linux-4.19.296/include/linux/usb/
Dhcd.h506 #define usb_gettoggle(dev, ep, out) (((dev)->toggle[out] >> (ep)) & 1)
507 #define usb_dotoggle(dev, ep, out) ((dev)->toggle[out] ^= (1 << (ep)))
509 ((dev)->toggle[out] = ((dev)->toggle[out] & ~(1 << (ep))) | \
/linux-4.19.296/include/media/
Drc-core.h296 u8 toggle);
298 u32 scancode, u8 toggle);
/linux-4.19.296/include/linux/platform_data/
Dpwm_omap_dmtimer.h81 int toggle, int trigger);
Ddmtimer-omap.h49 int toggle, int trigger);
/linux-4.19.296/drivers/bluetooth/
Dbfusb.c559 data->udev->toggle[0] = data->udev->toggle[1] = 0; in bfusb_load_firmware()
596 data->udev->toggle[0] = data->udev->toggle[1] = 0; in bfusb_load_firmware()
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Ddvbsky.c199 u8 obuf[2], ibuf[2], toggle; in dvbsky_rc_query() local
212 toggle = (code & 0x800) ? 1 : 0; in dvbsky_rc_query()
214 rc_keydown(d->rc_dev, RC_PROTO_RC5, scancode, toggle); in dvbsky_rc_query()
/linux-4.19.296/drivers/pci/
Dprobe.c1589 u16 orig, toggle, new; in pci_intx_mask_broken() local
1592 toggle = orig ^ PCI_COMMAND_INTX_DISABLE; in pci_intx_mask_broken()
1593 pci_write_config_word(dev, PCI_COMMAND, toggle); in pci_intx_mask_broken()
1603 if (new != toggle) in pci_intx_mask_broken()
/linux-4.19.296/include/linux/
Dusb.h649 unsigned int toggle[2]; member