| /linux/drivers/media/rc/ |
| H A D | ir-rc6-decoder.c | 65 if (!data->toggle) in rc6_mode() 84 u8 toggle; in ir_rc6_decode() local 154 data->toggle = ev.pulse; in ir_rc6_decode() 215 toggle = data->toggle; in ir_rc6_decode() 218 scancode, toggle); in ir_rc6_decode() 232 toggle = 0; in ir_rc6_decode() 236 toggle = 0; in ir_rc6_decode() 244 toggle = !!(scancode & RC6_6A_MCE_TOGGLE_MASK); in ir_rc6_decode() 249 toggle = 0; in ir_rc6_decode() 259 protocol, scancode, toggle); in ir_rc6_decode() [all …]
|
| H A D | ir-rc5-decoder.c | 43 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()
|
| H A D | ir-rcmm-decoder.c | 63 u8 toggle; in ir_rcmm_decode() local 151 toggle = !!(0x8000 & data->bits); in ir_rcmm_decode() 154 toggle = 0; in ir_rcmm_decode() 159 rc_keydown(dev, RC_PROTO_RCMM32, scancode, toggle); in ir_rcmm_decode()
|
| H A D | ir-xmp-decoder.c | 76 u8 addr, subaddr, subaddr2, toggle, oem, obc1, obc2, sum1, sum2; in ir_xmp_decode() local 120 toggle = n[10]; in ir_xmp_decode() 137 if (toggle == 0) { in ir_xmp_decode()
|
| H A D | ir-jvc-decoder.c | 66 data->toggle = !data->toggle; in ir_jvc_decode() 132 rc_keydown(dev, RC_PROTO_JVC, scancode, data->toggle); in ir_jvc_decode()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-iio-dac | 5 Toggle enable. Write 1 to enable toggle or 0 to disable it. This 9 - disable toggle operation; 11 - enable toggle operation. 18 specific to toggle enabled channels and refers to the DAC output 27 is specific to toggle enabled channels and allows switching between 36 Toggle enable. Write 1 to enable toggle or 0 to disable it. This 40 - disable toggle operation; 42 - enable toggle operation. 49 specific to toggle enabled channels and refers to the DAC output 58 is specific to toggle enabled channels and allows switching between
|
| H A D | sysfs-driver-uniwill-laptop | 26 Allows userspace applications to enable/disable the touchpad toggle functionality 29 Reading this file returns the current enable status of the touchpad toggle
|
| /linux/drivers/infiniband/hw/bng_re/ |
| H A D | bng_res.h | 50 u8 toggle; member 153 #define BNG_RE_INIT_DBHDR(xid, type, indx, toggle) \ argument 156 (((u32)(toggle)) << (BNG_RE_DBR_TOGGLE_SHIFT))) 163 u8 toggle = 0; in bng_re_ring_db() local 167 toggle = info->toggle; in bng_re_ring_db() 173 key = BNG_RE_INIT_DBHDR(info->xid, type, indx, toggle); in bng_re_ring_db()
|
| /linux/drivers/media/pci/saa7134/ |
| H A D | saa7134-input.c | 106 u32 *scancode, u8 *toggle) in get_key_flydvb_trio() argument 156 *toggle = 0; in get_key_flydvb_trio() 162 u32 *scancode, u8 *toggle) in get_key_msi_tvanywhere_plus() argument 207 *toggle = 0; in get_key_msi_tvanywhere_plus() 213 u32 *scancode, u8 *toggle) in get_key_kworld_pc150u() argument 259 *toggle = 0; in get_key_kworld_pc150u() 264 u32 *scancode, u8 *toggle) in get_key_purpletv() argument 288 *toggle = 0; in get_key_purpletv() 293 u32 *scancode, u8 *toggle) in get_key_beholdm6xx() argument 325 *toggle = 0; in get_key_beholdm6xx() [all …]
|
| /linux/drivers/tty/ |
| H A D | nozomi.c | 190 struct toggles toggle; member 255 struct toggles toggle; member 552 DBG3("toggle enabled: %d", dc->config_table.toggle.enabled); in dump_table() 553 DBG3("toggle up_mdm: %d", dc->config_table.toggle.mdm_ul); in dump_table() 554 DBG3("toggle dl_mdm: %d", dc->config_table.toggle.mdm_dl); in dump_table() 555 DBG3("toggle dl_dbg: %d", dc->config_table.toggle.diag_dl); in dump_table() 607 || (dc->config_table.toggle.enabled == TOGGLE_VALID)) { in nozomi_read_config_table() 613 dc->port[PORT_MDM].toggle_ul = dc->config_table.toggle.mdm_ul; in nozomi_read_config_table() 614 dc->port[PORT_MDM].toggle_dl = dc->config_table.toggle.mdm_dl; in nozomi_read_config_table() 615 dc->port[PORT_DIAG].toggle_dl = dc->config_table.toggle.diag_dl; in nozomi_read_config_table() [all …]
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110_ir.c | 26 u32 toggle; in av7110_ir_handler() local 36 toggle = ircom & 0x0800; in av7110_ir_handler() 42 toggle = ircom & 0x8000; in av7110_ir_handler() 58 toggle = ircom & 0x0800; in av7110_ir_handler() 66 rc_keydown(rcdev, proto, scancode, toggle != 0); in av7110_ir_handler()
|
| /linux/drivers/mailbox/ |
| H A D | bcm-flexrm-mailbox.c | 335 static u64 flexrm_next_table_desc(u32 toggle, dma_addr_t next_addr) in flexrm_next_table_desc() argument 340 DESC_ENC(desc, toggle, NPTR_TOGGLE_SHIFT, NPTR_TOGGLE_MASK); in flexrm_next_table_desc() 346 static u64 flexrm_null_desc(u32 toggle) in flexrm_null_desc() argument 351 DESC_ENC(desc, toggle, NULL_TOGGLE_SHIFT, NULL_TOGGLE_MASK); in flexrm_null_desc() 378 static u64 flexrm_header_desc(u32 toggle, u32 startpkt, u32 endpkt, in flexrm_header_desc() argument 384 DESC_ENC(desc, toggle, HEADER_TOGGLE_SHIFT, HEADER_TOGGLE_MASK); in flexrm_header_desc() 395 u64 desc, void **desc_ptr, u32 *toggle, in flexrm_enqueue_desc() argument 432 _toggle = (nhpos == 0) ? !(*toggle) : (*toggle); in flexrm_enqueue_desc() 454 *toggle = (*toggle) ? 0 : 1; in flexrm_enqueue_desc() 471 *toggle = (*toggle) ? 0 : 1; in flexrm_enqueue_desc() [all …]
|
| /linux/drivers/input/misc/ |
| H A D | keyspan_remote.c | 89 u8 toggle; member 118 int toggle; member 292 message.toggle = 0; in keyspan_check_data() 296 message.toggle = 1; in keyspan_check_data() 318 __func__, message.system, message.button, message.toggle); in keyspan_check_data() 320 if (message.toggle != remote->toggle) { in keyspan_check_data() 323 remote->toggle = message.toggle; in keyspan_check_data() 467 …remote->toggle = -1; /* Set to -1 so we will always not match the toggle from the first remote mes… in keyspan_probe()
|
| /linux/drivers/usb/host/ |
| H A D | fhci-mem.c | 87 enum fhci_ta_type type, int toggle, u8 *data, u32 len, in fhci_td_fill() argument 98 td->toggle = toggle; in fhci_td_fill()
|
| H A D | uhci-q.c | 377 unsigned int toggle = qh->initial_toggle; in uhci_fixup_toggles() local 388 toggle = 2; in uhci_fixup_toggles() 399 if (toggle > 1 || uhci_toggle(td_token(uhci, td)) == toggle) { in uhci_fixup_toggles() 402 toggle = uhci_toggle(td_token(uhci, td)) ^ 1; in uhci_fixup_toggles() 409 toggle ^= 1; in uhci_fixup_toggles() 417 usb_pipeout(pipe), toggle); in uhci_fixup_toggles() 926 unsigned int toggle; in uhci_submit_common() local 935 toggle = usb_gettoggle(urb->dev, usb_pipeendpoint(urb->pipe), in uhci_submit_common() 982 (toggle << TD_TOKEN_TOGGLE_SHIFT), in uhci_submit_common() 987 toggle ^= 1; in uhci_submit_common() [all …]
|
| /linux/include/media/i2c/ |
| H A D | ir-kbd-i2c.h | 25 u32 *scancode, u8 *toggle); 57 u32 *scancode, u8 *toggle);
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | bttv-input.c | 188 u8 toggle, command, system; in bttv_rc5_timer_end() local 216 toggle = RC5_TOGGLE(rc5); in bttv_rc5_timer_end() 231 rc_keydown(ir->dev, RC_PROTO_RC5, scancode, toggle); in bttv_rc5_timer_end() 232 dprintk("scancode %x, toggle %x\n", scancode, toggle); in bttv_rc5_timer_end() 324 u32 *scancode, u8 *toggle) in get_key_pv951() argument 357 *toggle = 0; in get_key_pv951()
|
| /linux/arch/powerpc/kvm/ |
| H A D | book3s_xive.h | 273 static inline u32 __xive_read_eq(__be32 *qpage, u32 msk, u32 *idx, u32 *toggle) in __xive_read_eq() argument 280 if ((cur >> 31) == *toggle) in __xive_read_eq() 284 (*toggle) ^= 1; in __xive_read_eq()
|
| H A D | book3s_xive.c | 142 u32 idx, toggle; in xive_vm_scan_interrupts() local 163 toggle = q->toggle; in xive_vm_scan_interrupts() 178 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in xive_vm_scan_interrupts() 199 q->toggle = toggle; in xive_vm_scan_interrupts() 243 q->toggle = toggle; in xive_vm_scan_interrupts() 400 u32 idx, toggle, entry, irq, hw_num; in xive_vm_scan_for_rerouted_irqs() local 406 toggle = q->toggle; in xive_vm_scan_for_rerouted_irqs() 416 if ((entry >> 31) == toggle) in xive_vm_scan_for_rerouted_irqs() 451 toggle ^= 1; in xive_vm_scan_for_rerouted_irqs() 2112 u32 toggle = q->toggle; in xive_pre_save_queue() local [all …]
|
| /linux/drivers/media/usb/cx231xx/ |
| H A D | cx231xx-input.c | 18 u32 *pscancode, u8 *toggle) in get_key_isdbt() argument 45 *toggle = 0; in get_key_isdbt()
|
| /linux/tools/kvm/kvm_stat/ |
| H A D | kvm_stat.txt | 32 *b*:: toggle events by guests (debugfs only, honors filters) 44 *o*:: toggle sorting order (Total vs CurAvg/s) 54 *x*:: toggle reporting of stats for child trace events
|
| /linux/Documentation/userspace-api/media/rc/ |
| H A D | rc-protos.rst | 17 Other things can be encoded too. Some IR protocols encode a toggle bit; this 20 toggle bit will invert from one IR message to the next. 357 toggle bit. 365 as in the protocol. There is also a toggle bit. 373 as in the protocol. There is also a toggle bit. 390 for the Microsoft MCE variant (vendor = 0x800f). The toggle bit in the 391 protocol itself is ignored, and the 16th bit should be takes as the toggle
|
| H A D | lirc-dev-intro.rst | 53 .. _lirc-scancode-flag-toggle: 71 The ``flags`` can have ``LIRC_SCANCODE_FLAG_TOGGLE`` set if the toggle 83 pressing the same button". The rc-5 and rc-6 protocols have a toggle bit. 84 When a button is released and pressed again, the toggle bit is inverted. 85 If the toggle bit is set, the ``LIRC_SCANCODE_FLAG_TOGGLE`` is set.
|
| /linux/drivers/video/fbdev/ |
| H A D | pxa168fb.h | 230 #define CFG_GRA_FTOGGLE(toggle) ((toggle) << 15) argument 247 #define CFG_DMA_FTOGGLE(toggle) ((toggle) << 7) argument
|
| /linux/tools/testing/selftests/net/ |
| H A D | psock_fanout.c | 330 static void test_control_group(int toggle) in test_control_group() argument 334 if (toggle) in test_control_group() 344 if (toggle) in test_control_group() 365 if (toggle) in test_control_group()
|