Home
last modified time | relevance | path

Searched full:toggle (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-dac5 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
/linux/drivers/media/rc/
H A Dir-rc6-decoder.c12 * RC6-0-16 (standard toggle bit in header)
13 * RC6-6A-20 (no toggle bit)
14 * RC6-6A-24 (no toggle bit)
15 * RC6-6A-32 (MCE version with toggle bit in body)
19 #define RC6_HEADER_NBITS 4 /* not including toggle bit */
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()
217 dev_dbg(&dev->dev, "RC6(0) scancode 0x%04x (toggle: %u)\n", in ir_rc6_decode()
[all …]
H A 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()
H A Dir-rcmm-decoder.c63 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 Dir-xmp-decoder.c7 * - Ignore Toggle=9 frames
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()
/linux/Documentation/devicetree/bindings/iio/dac/
H A Dadi,ltc2688.yaml58 adi,toggle-mode:
60 Set the channel as a toggle enabled channel. Toggle operation enables
88 adi,toggle-dither-input:
91 only makes sense for toggle or dither enabled channels. If
92 @adi,toggle-mode is not set and this property is given, the channel is
104 adi,toggle-dither-input: [ clocks ]
133 adi,toggle-mode;
142 adi,toggle-dither-input = <2>;
H A Dadi,ltc2672.yaml99 adi,toggle-mode:
101 Set the channel as a toggle enabled channel. Toggle operation enables
150 adi,toggle-mode;
/linux/drivers/tty/
H A Dnozomi.c144 /* Two different toggle channels exist */
175 * Toggle fields are valid if enabled is 0,
190 struct toggles toggle; member
239 /* This represents the toggle information */
245 * Toggle fields are valid if enabled is 0,
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()
[all …]
/linux/drivers/mailbox/
H A Dbcm-flexrm-mailbox.c335 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
422 * TOGGLE bit of the first HEADER will be set to invalid state to in flexrm_enqueue_desc()
425 * the TOGGLE bit of first HEADER after all descriptors are in flexrm_enqueue_desc()
432 _toggle = (nhpos == 0) ? !(*toggle) : (*toggle); in flexrm_enqueue_desc()
[all …]
/linux/include/dt-bindings/pinctrl/
H A Dk210-fpioa.h204 #define K210_PCF_TIMER0_TOGGLE1 190 /* TIMER0 Toggle Output 1 */
205 #define K210_PCF_TIMER0_TOGGLE2 191 /* TIMER0 Toggle Output 2 */
206 #define K210_PCF_TIMER0_TOGGLE3 192 /* TIMER0 Toggle Output 3 */
207 #define K210_PCF_TIMER0_TOGGLE4 193 /* TIMER0 Toggle Output 4 */
208 #define K210_PCF_TIMER1_TOGGLE1 194 /* TIMER1 Toggle Output 1 */
209 #define K210_PCF_TIMER1_TOGGLE2 195 /* TIMER1 Toggle Output 2 */
210 #define K210_PCF_TIMER1_TOGGLE3 196 /* TIMER1 Toggle Output 3 */
211 #define K210_PCF_TIMER1_TOGGLE4 197 /* TIMER1 Toggle Output 4 */
212 #define K210_PCF_TIMER2_TOGGLE1 198 /* TIMER2 Toggle Output 1 */
213 #define K210_PCF_TIMER2_TOGGLE2 199 /* TIMER2 Toggle Output 2 */
[all …]
/linux/drivers/input/misc/
H A Dkeyspan_remote.c89 u8 toggle; member
118 int toggle; member
243 * toggle code, and stop. in keyspan_check_data()
292 message.toggle = 0; in keyspan_check_data()
296 message.toggle = 1; in keyspan_check_data()
301 "%s - Error in message, invalid toggle.\n", in keyspan_check_data()
317 "%s found valid message: system: %d, button: %d, toggle: %d\n", 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()
[all …]
/linux/Documentation/userspace-api/media/rc/
H A Drc-protos.rst17 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.
63 - Toggle bit
113 - Toggle bit
158 - Toggle bit
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 Dlirc-dev-intro.rst53 .. _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/staging/media/av7110/
H A Dav7110_ir.c26 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/media/pci/saa7134/
H A Dsaa7134-input.c106 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/Documentation/devicetree/bindings/watchdog/
H A Dlinux,wdt-gpio.yaml28 const: toggle
46 It will only cease to toggle the signal when the device is open and the
66 hw_algo = "toggle";
/linux/drivers/platform/x86/
H A Dmsi-wmi.c43 WIND_KEY_TOUCHPAD = 0x08, /* Fn+F3 touchpad toggle */
44 WIND_KEY_BLUETOOTH = 0x56, /* Fn+F11 Bluetooth toggle */
45 WIND_KEY_CAMERA, /* Fn+F6 webcam toggle */
46 WIND_KEY_WLAN = 0x5f, /* Fn+F11 Wi-Fi toggle */
47 WIND_KEY_TURBO, /* Fn+F10 turbo mode toggle */
48 WIND_KEY_ECO = 0x69, /* Fn+F10 ECO mode toggle */
/linux/arch/sparc/include/uapi/asm/
H A Ddisplay7seg.h23 * POINT - Toggle decimal point (0=absent 1=present)
24 * ALARM - Toggle alarm LED (0=green 1=red)
25 * FLIP - Toggle inverted mode (0=normal 1=flipped)
/linux/drivers/iio/dac/
H A Dltc2688.c219 * If in dither/toggle mode the dac should be updated by an in ltc2688_dac_code_write()
220 * external signal (or sw toggle) and not here. in ltc2688_dac_code_write()
594 * For toggle mode we only expose the symbol attr (sw_toggle) in case a TGPx is
765 if (fwnode_property_read_bool(child, "adi,toggle-mode")) { in ltc2688_channel_config()
767 /* assume sw toggle ABI */ in ltc2688_channel_config()
770 * Clear IIO_CHAN_INFO_RAW bit as toggle channels expose in ltc2688_channel_config()
790 ret = fwnode_property_read_u32(child, "adi,toggle-dither-input", in ltc2688_channel_config()
795 "toggle-dither-input inv value(%d)\n", in ltc2688_channel_config()
804 * 0 means software toggle which is the default mode. in ltc2688_channel_config()
811 * capable channel (unless toggle is already enabled). in ltc2688_channel_config()
[all …]
/linux/drivers/media/pci/bt8xx/
H A Dbttv-input.c177 dprintk("code=%x, rc5=%x, start=%x, toggle=%x, address=%x, instr=%x\n", in bttv_rc5_decode()
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()
282 /* toggle GPIO pin 4 to reset the irq */ in bttv_rc5_irq()
324 u32 *scancode, u8 *toggle) in get_key_pv951() argument
357 *toggle = 0; in get_key_pv951()
/linux/drivers/usb/host/
H A 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()
H A Duhci-q.c310 * save its toggle value (if it is first and is currently executing).
332 * of the last TD in the previous URB. The toggle doesn't need in uhci_cleanup_queue()
358 /* Save the next toggle value */ in uhci_cleanup_queue()
377 unsigned int toggle = qh->initial_toggle; in uhci_fixup_toggles() local
388 toggle = 2; in uhci_fixup_toggles()
390 /* Fix up the toggle for the URBs in the queue. Normally this in uhci_fixup_toggles()
396 /* If the first TD has the right toggle value, we don't 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()
[all …]
/linux/tools/kvm/kvm_stat/
H A Dkvm_stat.txt32 *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/sound/ppc/
H A DKconfig25 bool "Toggle DRC automatically at headphone/line plug-in"
29 Say Y here to enable the automatic toggle of DRC (dynamic
/linux/include/media/i2c/
H A Dir-kbd-i2c.h25 u32 *scancode, u8 *toggle);
57 u32 *scancode, u8 *toggle);

12345678910>>...24