Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/media/rc/
Dir-rc6-decoder.c71 if (!data->toggle) in rc6_mode()
90 u8 toggle; in ir_rc6_decode() local
160 data->toggle = ev.pulse; in ir_rc6_decode()
221 toggle = data->toggle; in ir_rc6_decode()
224 scancode, toggle); in ir_rc6_decode()
238 toggle = 0; in ir_rc6_decode()
242 toggle = 0; in ir_rc6_decode()
247 toggle = !!(scancode & RC6_6A_MCE_TOGGLE_MASK); in ir_rc6_decode()
251 toggle = 0; in ir_rc6_decode()
260 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()
/Linux-v4.19/drivers/media/i2c/
Dir-kbd-i2c.c73 int start, range, toggle, dev, code, ircode, vendor; in get_key_haup_common() local
85 toggle = (buf[offset] >> 5) & 1; in get_key_haup_common()
99 ircode = (start << 12) | (toggle << 11) | (dev << 6) | code; in get_key_haup_common()
108 start, range, toggle, dev, code); in get_key_haup_common()
112 *ptoggle = toggle; in get_key_haup_common()
144 u32 *scancode, u8 *toggle) in get_key_haup() argument
146 return get_key_haup_common(ir, protocol, scancode, toggle, 3); in get_key_haup()
150 u32 *scancode, u8 *toggle) in get_key_haup_xvr() argument
165 return get_key_haup_common(ir, protocol, scancode, toggle, 6); in get_key_haup_xvr()
169 u32 *scancode, u8 *toggle) in get_key_pixelview() argument
[all …]
/Linux-v4.19/drivers/media/pci/saa7134/
Dsaa7134-input.c116 u32 *scancode, u8 *toggle) in get_key_flydvb_trio() argument
166 *toggle = 0; in get_key_flydvb_trio()
172 u32 *scancode, u8 *toggle) in get_key_msi_tvanywhere_plus() argument
217 *toggle = 0; in get_key_msi_tvanywhere_plus()
223 u32 *scancode, u8 *toggle) in get_key_kworld_pc150u() argument
269 *toggle = 0; in get_key_kworld_pc150u()
274 u32 *scancode, u8 *toggle) in get_key_purpletv() argument
298 *toggle = 0; in get_key_purpletv()
303 u32 *scancode, u8 *toggle) in get_key_hvr1110() argument
334 *toggle = !!(buf[3] & 0x40); in get_key_hvr1110()
[all …]
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_xive_template.c124 u32 idx, toggle; in GLUE() local
155 toggle = q->toggle; in GLUE()
170 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in GLUE()
205 q->toggle = toggle; in GLUE()
392 u32 idx, toggle, entry, irq, hw_num; in GLUE() local
398 toggle = q->toggle; in GLUE()
408 if ((entry >> 31) == toggle) in GLUE()
443 toggle ^= 1; in GLUE()
Dbook3s_xive.h222 static inline u32 __xive_read_eq(__be32 *qpage, u32 msk, u32 *idx, u32 *toggle) in __xive_read_eq() argument
229 if ((cur >> 31) == *toggle) in __xive_read_eq()
233 (*toggle) ^= 1; in __xive_read_eq()
/Linux-v4.19/drivers/tty/
Dnozomi.c210 struct toggles toggle; member
275 struct toggles toggle; member
581 DBG3("toggle enabled: %d", dc->config_table.toggle.enabled); in dump_table()
582 DBG3("toggle up_mdm: %d", dc->config_table.toggle.mdm_ul); in dump_table()
583 DBG3("toggle dl_mdm: %d", dc->config_table.toggle.mdm_dl); in dump_table()
584 DBG3("toggle dl_dbg: %d", dc->config_table.toggle.diag_dl); in dump_table()
636 || (dc->config_table.toggle.enabled == TOGGLE_VALID)) { in nozomi_read_config_table()
642 dc->port[PORT_MDM].toggle_ul = dc->config_table.toggle.mdm_ul; in nozomi_read_config_table()
643 dc->port[PORT_MDM].toggle_dl = dc->config_table.toggle.mdm_dl; in nozomi_read_config_table()
644 dc->port[PORT_DIAG].toggle_dl = dc->config_table.toggle.diag_dl; in nozomi_read_config_table()
[all …]
/Linux-v4.19/drivers/media/usb/dvb-usb/
Dnova-t-usb2.c77 u8 *buf, data, toggle, custom; in nova_t_rc_query() local
96 toggle = !!(raw & 0x800); in nova_t_rc_query()
101 buf[1], buf[2], buf[3], custom, data, toggle); in nova_t_rc_query()
112 if (st->old_toggle == toggle) { in nova_t_rc_query()
117 st->old_toggle = toggle; in nova_t_rc_query()
/Linux-v4.19/drivers/mailbox/
Dbcm-flexrm-mailbox.c347 static u64 flexrm_next_table_desc(u32 toggle, dma_addr_t next_addr) in flexrm_next_table_desc() argument
352 DESC_ENC(desc, toggle, NPTR_TOGGLE_SHIFT, NPTR_TOGGLE_MASK); in flexrm_next_table_desc()
358 static u64 flexrm_null_desc(u32 toggle) in flexrm_null_desc() argument
363 DESC_ENC(desc, toggle, NULL_TOGGLE_SHIFT, NULL_TOGGLE_MASK); in flexrm_null_desc()
390 static u64 flexrm_header_desc(u32 toggle, u32 startpkt, u32 endpkt, in flexrm_header_desc() argument
396 DESC_ENC(desc, toggle, HEADER_TOGGLE_SHIFT, HEADER_TOGGLE_MASK); in flexrm_header_desc()
407 u64 desc, void **desc_ptr, u32 *toggle, in flexrm_enqueue_desc() argument
444 _toggle = (nhpos == 0) ? !(*toggle) : (*toggle); in flexrm_enqueue_desc()
466 *toggle = (*toggle) ? 0 : 1; in flexrm_enqueue_desc()
483 *toggle = (*toggle) ? 0 : 1; in flexrm_enqueue_desc()
[all …]
/Linux-v4.19/drivers/input/misc/
Dkeyspan_remote.c92 u8 toggle; member
121 int toggle; member
295 message.toggle = 0; in keyspan_check_data()
299 message.toggle = 1; in keyspan_check_data()
321 __func__, message.system, message.button, message.toggle); in keyspan_check_data()
323 if (message.toggle != remote->toggle) { in keyspan_check_data()
326 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-v4.19/Documentation/devicetree/bindings/watchdog/
Dgpio-wdt.txt8 - toggle: Either a high-to-low or a low-to-high transition clears
19 to toggle the signal when the device is open and the timeout elapsed.
26 hw_algo = "toggle";
/Linux-v4.19/drivers/usb/host/
Dfhci-mem.c87 enum fhci_ta_type type, int toggle, u8 *data, u32 len, in fhci_td_fill() argument
98 td->toggle = toggle; in fhci_td_fill()
Dfhci-sched.c88 td->toggle = !td->toggle; in fhci_transaction_confirm()
110 td->toggle = !td->toggle; in fhci_transaction_confirm()
162 if (td->toggle == USB_TD_TOGGLE_CARRY) in add_packet()
163 td->toggle = ed->toggle_carry; in add_packet()
240 ed->ep_addr, ed->mode, ed->speed, td->toggle)) { in add_packet()
703 int toggle = 0; in fhci_queue_urb() local
752 toggle = USB_TD_TOGGLE_CARRY; in fhci_queue_urb()
754 toggle = USB_TD_TOGGLE_DATA0; in fhci_queue_urb()
779 toggle, in fhci_queue_urb()
788 cnt ? USB_TD_TOGGLE_CARRY : toggle, in fhci_queue_urb()
/Linux-v4.19/include/media/i2c/
Dir-kbd-i2c.h25 u32 *scancode, u8 *toggle);
56 u32 *scancode, u8 *toggle);
/Linux-v4.19/drivers/media/pci/ttpci/
Dav7110_ir.c107 u16 toggle; in av7110_emit_key() local
115 toggle = ircom & 0x0800; in av7110_emit_key()
121 toggle = ircom & 0x8000; in av7110_emit_key()
130 toggle = ircom & 0x0800; in av7110_emit_key()
157 (ir->last_key != keycode || toggle != ir->last_toggle)) in av7110_emit_key()
165 ir->last_toggle = toggle; in av7110_emit_key()
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wlan_cfg.c331 static int toggle; in wilc_wlan_parse_response_frame() local
333 i += toggle; in wilc_wlan_parse_response_frame()
334 toggle ^= 1; in wilc_wlan_parse_response_frame()
487 static int toggle; in wilc_wlan_cfg_get_wid_value() local
489 i += toggle; in wilc_wlan_cfg_get_wid_value()
490 toggle ^= 1; in wilc_wlan_cfg_get_wid_value()
/Linux-v4.19/Documentation/media/uapi/rc/
Dlirc-dev-intro.rst40 .. _lirc-scancode-flag-toggle:
57 The ``flags`` can have ``LIRC_SCANCODE_FLAG_TOGGLE`` set if the toggle
69 pressing the same button". The rc-5 and rc-6 protocols have a toggle bit.
70 When a button is released and pressed again, the toggle bit is inverted.
71 If the toggle bit is set, the ``LIRC_SCANCODE_FLAG_TOGGLE`` is set.
/Linux-v4.19/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-v4.19/tools/kvm/kvm_stat/
Dkvm_stat.txt32 *b*:: toggle events by guests (debugfs only, honors filters)
42 *o*:: toggle sorting order (Total vs CurAvg/s)
52 *x*:: toggle reporting of stats for child trace events
/Linux-v4.19/drivers/media/pci/bt8xx/
Dbttv-input.c197 u8 toggle, command, system; in bttv_rc5_timer_end() local
225 toggle = RC5_TOGGLE(rc5); in bttv_rc5_timer_end()
240 rc_keydown(ir->dev, RC_PROTO_RC5, scancode, toggle); in bttv_rc5_timer_end()
241 dprintk("scancode %x, toggle %x\n", scancode, toggle); in bttv_rc5_timer_end()
333 u32 *scancode, u8 *toggle) in get_key_pv951() argument
366 *toggle = 0; in get_key_pv951()
/Linux-v4.19/drivers/media/usb/cx231xx/
Dcx231xx-input.c18 u32 *pscancode, u8 *toggle) in get_key_isdbt() argument
45 *toggle = 0; in get_key_isdbt()
/Linux-v4.19/drivers/usb/musb/
Dmusb_cppi41.c57 u8 toggle; in save_rx_toggle() local
65 toggle = csr & MUSB_RXCSR_H_DATATOGGLE ? 1 : 0; in save_rx_toggle()
67 cppi41_channel->usb_toggle = toggle; in save_rx_toggle()
75 u8 toggle; in update_rx_toggle() local
84 toggle = csr & MUSB_RXCSR_H_DATATOGGLE ? 1 : 0; in update_rx_toggle()
91 if (!toggle && toggle == cppi41_channel->usb_toggle) { in update_rx_toggle()
97 cppi41_channel->usb_toggle = toggle; in update_rx_toggle()

123456