Home
last modified time | relevance | path

Searched +full:toggle +full:- +full:mode (Results 1 – 25 of 468) sorted by relevance

12345678910>>...19

/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/
Dadi,ltc2688.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nuno Sá <nuno.sa@analog.com>
13 Analog Devices LTC2688 16 channel, 16 bit, +-15V DAC
14 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2688.pdf
19 - adi,ltc2688
24 vcc-supply:
27 iovcc-supply:
30 vref-supply:
[all …]
/Linux-v6.1/drivers/media/rc/
Dir-rc6-decoder.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ir-rc6-decoder.c - A decoder for the RC6 IR protocol
7 #include "rc-core-priv.h"
12 * 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 */
33 #define RC6_6A_LCC_MASK 0xffff0000 /* RC6-6A-32 long customer code mask */
36 #define RC6_6A_KATHREIN_CC 0x80460000 /* Kathrein RCU-676 customer code */
[all …]
/Linux-v6.1/Documentation/userspace-api/media/rc/
Dlirc-dev-intro.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
10 a bi-directional interface for transporting raw IR and decoded scancodes
21 .. code-block:: none
28 .. code-block:: none
30 $ ls -l /dev/lirc*
31 crw-rw---- 1 root root 248, 0 Jul 2 22:20 /dev/lirc0
33 Note that the package `v4l-utils <https://git.linuxtv.org/v4l-utils.git/>`_
36 - ir-ctl: can receive raw IR and transmit IR, as well as query LIRC
39 - ir-keytable: can load keymaps; allows you to set IR kernel protocols; load
52 .. _lirc-mode-scancode:
[all …]
Drc-protos.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
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.
22 Some remotes have a pointer-type device which can used to control the
29 rc-5 (RC_PROTO_RC5)
30 -------------------
38 .. flat-table:: rc5 bits scancode mapping
41 * - rc-5 bit
43 - scancode bit
45 - description
[all …]
/Linux-v6.1/drivers/usb/musb/
Dmusb_cppi41.c1 // SPDX-License-Identifier: GPL-2.0
3 #include <linux/dma-mapping.h>
13 #define RNDIS_REG(x) (0x80 + ((x - 1) * 4))
50 unsigned int mode);
57 u8 toggle; in save_rx_toggle() local
59 if (cppi41_channel->is_tx) in save_rx_toggle()
61 if (!is_host_active(cppi41_channel->controller->controller.musb)) in save_rx_toggle()
64 csr = musb_readw(cppi41_channel->hw_ep->regs, MUSB_RXCSR); in save_rx_toggle()
65 toggle = csr & MUSB_RXCSR_H_DATATOGGLE ? 1 : 0; in save_rx_toggle()
67 cppi41_channel->usb_toggle = toggle; in save_rx_toggle()
[all …]
Dmediatek.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/dma-mapping.h>
24 /* MediaTek controller toggle enable and status reg */
56 struct device *dev = glue->dev; in mtk_musb_clks_get()
58 glue->clks[0].id = "main"; in mtk_musb_clks_get()
59 glue->clks[1].id = "mcu"; in mtk_musb_clks_get()
60 glue->clks[2].id = "univpll"; in mtk_musb_clks_get()
62 return devm_clk_bulk_get(dev, MTK_MUSB_CLKS_NUM, glue->clks); in mtk_musb_clks_get()
67 struct musb *musb = glue->musb; in mtk_otg_switch_set()
68 u8 devctl = readb(musb->mregs + MUSB_DEVCTL); in mtk_otg_switch_set()
[all …]
Dmusb_host.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2005-2006 by Texas Instruments
7 * Copyright (C) 2006-2007 Nokia Corporation
8 * Copyright (C) 2008-2009 MontaVista Software, Inc. <source@mvista.com>
18 #include <linux/dma-mapping.h>
24 /* MUSB HOST status 22-mar-2006
26 * - There's still lots of partial code duplication for fault paths, so
29 * - PIO mostly behaved when last tested.
36 * - DMA (CPPI) ... partially behaves, not currently recommended
41 * - DMA (Mentor/OMAP) ...has at least toggle update problems
[all …]
/Linux-v6.1/drivers/usb/host/
Dfhci-sched.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Jerry Huang <Chang-Ming.Huang@freescale.com>
30 pkt->data = NULL; in recycle_frame()
31 pkt->len = 0; in recycle_frame()
32 pkt->status = USB_TD_OK; in recycle_frame()
33 pkt->info = 0; in recycle_frame()
34 pkt->priv_data = NULL; in recycle_frame()
36 cq_put(&usb->ep0->empty_frame_Q, pkt); in recycle_frame()
48 td = fhci_remove_td_from_frame(usb->actual_frame); in fhci_transaction_confirm()
49 td_pkt = td->pkt; in fhci_transaction_confirm()
[all …]
Dfhci.h1 /* SPDX-License-Identifier: GPL-2.0+ */
7 * Jerry Huang <Chang-Ming.Huang@freescale.com>
45 #define PKT_PID_DATA0 0x80000000 /* PID - Data toggle zero */
46 #define PKT_PID_DATA1 0x40000000 /* PID - Data toggle one */
47 #define PKT_PID_SETUP 0x20000000 /* PID - Setup bit */
64 #define PKT_LOW_SPEED_PACKET 0x00001000 /* Low-Speed packet */
67 #define TRANS_INPROGRESS (-1)
68 #define TRANS_DISCARD (-2)
69 #define TRANS_FAIL (-3)
81 #define USB_TD_RX_ER_BITSTUFF 0x20000000 /* Frame Aborted-Received pkt */
[all …]
/Linux-v6.1/tools/kvm/kvm_stat/
Dkvm_stat.txt5 ----
6 kvm_stat - Report KVM kernel module event counters
9 --------
14 -----------
16 state transitions such as guest mode entry and exit.
21 While running in regular mode, use any of the keys listed in section
30 --------------------
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
[all …]
/Linux-v6.1/arch/sparc/include/uapi/asm/
Ddisplay7seg.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
4 * display7seg - Driver interface for the 7-segment display
18 #define D7SIOCTM _IO (D7S_IOC, 0x47) /* Translate mode (FLIP)*/
23 * 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)
26 * bits 0-4 - Character displayed (see definitions below)
32 * ---
34 * -g-
36 * ---
[all …]
/Linux-v6.1/drivers/usb/gadget/udc/
Dm66592-udc.h1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2006-2007 Renesas Solutions Corp.
17 #define M66592_XTAL 0xC000 /* b15-14: Crystal selection */
26 #define M66592_HSE 0x0080 /* b7: Hi-speed enable */
28 #define M66592_DMRPD 0x0020 /* b5: D- pull down control */
30 #define M66592_FSRPC 0x0004 /* b2: Full-speed receiver enable */
35 #define M66592_LNST 0x0003 /* b1-0: D+, D- line status */
47 #define M66592_RHST 0x0003 /* b1-0: Reset handshake status */
48 #define M66592_HSMODE 0x0003 /* Hi-Speed mode */
49 #define M66592_FSMODE 0x0002 /* Full-Speed mode */
[all …]
Dfsl_qe_udc.h1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2006-2008 Freescale Semiconductor, Inc. All rights reserved.
35 /* USB Mode Register bit define */
152 #define ep_index(EP) ((EP)->ep.desc->bEndpointAddress & 0xF)
153 #define ep_maxpacket(EP) ((EP)->ep.maxpacket)
154 #define ep_is_in(EP) ((ep_index(EP) == 0) ? (EP->udc->ep0_dir == \
155 USB_DIR_IN) : ((EP)->ep.desc->bEndpointAddress \
165 /* ep tramsfer mode */
171 /*-----------------------------------------------------------------------------
173 -----------------------------------------------------------------------------*/
[all …]
/Linux-v6.1/include/dt-bindings/pinctrl/
Dk210-fpioa.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * kendryte-standalone-sdk/lib/drivers/include/fpioa.h
16 #define K210_PCF_JTAG_TMS 2 /* JTAG Test Mode Select */
148 #define K210_PCF_DVP_PWDN 134 /* DVP Power Down Mode */
169 #define K210_PCF_UART1_OUT2 155 /* UART1 User-designated Output 2 */
170 #define K210_PCF_UART1_OUT1 156 /* UART1 User-designated Output 1 */
183 #define K210_PCF_UART2_OUT2 169 /* UART2 User-designated Output 2 */
184 #define K210_PCF_UART2_OUT1 170 /* UART2 User-designated Output 1 */
197 #define K210_PCF_UART3_OUT2 183 /* UART3 User-designated Output 2 */
198 #define K210_PCF_UART3_OUT1 184 /* UART3 User-designated Output 1 */
[all …]
/Linux-v6.1/drivers/iio/dac/
Dltc2688.c1 // SPDX-License-Identifier: GPL-2.0
54 #define LTC2688_DITHER_RAW_MAX_VAL (BIT(14) - 1)
55 #define LTC2688_CH_CALIBBIAS_MAX_VAL (BIT(14) - 1)
81 u8 mode; member
107 .tx_buf = st->tx_data, in ltc2688_spi_read()
112 .tx_buf = st->tx_data + 3, in ltc2688_spi_read()
113 .rx_buf = st->rx_data, in ltc2688_spi_read()
120 memcpy(st->tx_data, reg, reg_size); in ltc2688_spi_read()
122 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ltc2688_spi_read()
126 memcpy(val, &st->rx_data[1], val_size); in ltc2688_spi_read()
[all …]
/Linux-v6.1/include/linux/usb/
Dr8a66597.h1 // SPDX-License-Identifier: GPL-2.0
124 #define XTAL 0xC000 /* b15-14: Crystal selection */
132 #define LPSME 0x0100 /* b8: Low power sleep mode */
133 #define HSE 0x0080 /* b7: Hi-speed enable */
135 #define DRPD 0x0020 /* b5: D+/- pull down control */
140 #define OVCBIT 0x8000 /* b15-14: Over-current bit */
141 #define OVCMON 0xC000 /* b15-14: Over-current monitor */
143 #define IDMON 0x0004 /* b3: ID-pin monitor */
144 #define LNST 0x0003 /* b1-0: D+, D- line status */
146 #define FS_KSTS 0x0002 /* Full-Speed K State */
[all …]
/Linux-v6.1/drivers/platform/x86/
Dmsi-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Most stuff taken over from hp-wmi
14 #include <linux/input/sparse-keymap.h>
25 #define DRV_NAME "msi-wmi"
27 #define MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45"
28 #define MSIWMI_MSI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2"
29 #define MSIWMI_WIND_EVENT_GUID "5B3CC38A-40D9-7245-8AE6-1145B751BE3F"
43 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 */
[all …]
Dasus-nb-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 #include <linux/input/sparse-keymap.h>
19 #include "asus-wmi.h"
21 #define ASUS_NB_WMI_FILE "asus-nb-wmi"
27 #define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C"
40 static int wapf = -1;
44 static int tablet_mode_sw = -1;
46 MODULE_PARM_DESC(tablet_mode_sw, "Tablet mode detect: -1:auto 0:disable 1:kbd-dock 2:lid-flip 3:lid
82 * and have duplicate events(ACPI and WMI) for display toggle
126 pr_info("Identified laptop model '%s'\n", dmi->ident); in dmi_matched()
[all …]
/Linux-v6.1/drivers/media/rc/img-ir/
Dimg-ir-hw.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright 2010-2014 Imagination Technologies Ltd.
12 #include <media/rc-core.h>
18 #define IMG_IR_CODETYPE_BIPHASE 0x2 /* RC-5/6 */
19 #define IMG_IR_CODETYPE_2BITPULSEPOS 0x3 /* RC-MM */
25 * struct img_ir_control - Decoder control settings
28 * @hdrtog: Detect header toggle symbol after leader symbol
53 * struct img_ir_timing_range - range of timing values
65 * struct img_ir_symbol_timing - timing data for a symbol
75 * struct img_ir_free_timing - timing data for free time symbol
[all …]
/Linux-v6.1/Documentation/userspace-api/media/cec/
Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
7 has low-level support for the CEC bus. Most hardware today will have
8 high-level CEC support where the hardware deals with driving the CEC bus,
17 Currently only the cec-gpio driver (when the CEC line is directly
18 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
23 now an ``error-inj`` file.
30 With ``cat error-inj`` you can see both the possible commands and the current
33 $ cat /sys/kernel/debug/cec/cec0/error-inj
36 # rx-clear clear all rx error injections
37 # tx-clear clear all tx error injections
[all …]
/Linux-v6.1/drivers/media/cec/core/
Dcec-pin-error-inj.c1 // SPDX-License-Identifier: GPL-2.0-only
10 #include <media/cec-pin.h>
11 #include "cec-pin-priv.h"
20 { CEC_ERROR_INJ_RX_NACK_OFFSET, -1, "rx-nack" },
22 CEC_ERROR_INJ_RX_LOW_DRIVE_ARG_IDX, "rx-low-drive" },
23 { CEC_ERROR_INJ_RX_ADD_BYTE_OFFSET, -1, "rx-add-byte" },
24 { CEC_ERROR_INJ_RX_REMOVE_BYTE_OFFSET, -1, "rx-remove-byte" },
26 CEC_ERROR_INJ_RX_ARB_LOST_ARG_IDX, "rx-arb-lost" },
28 { CEC_ERROR_INJ_TX_NO_EOM_OFFSET, -1, "tx-no-eom" },
29 { CEC_ERROR_INJ_TX_EARLY_EOM_OFFSET, -1, "tx-early-eom" },
[all …]
/Linux-v6.1/Documentation/ABI/testing/
Dsysfs-driver-bd9571mwv-regulator1 What: /sys/bus/i2c/devices/.../bd9571mwv-regulator.*.auto/backup_mode
5 Description: Read/write the current state of DDR Backup Mode, which controls
11 Backup Mode is enabled by default when available, as the
13 B. With a toggle power switch (or level signal), the
16 1. Configure PMIC for backup mode, to change the role of
18 wake-up switch,
26 DDR Backup Mode must be explicitly enabled by the user,
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/
Dsummit,smb347-charger.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - David Heidelberg <david@ixit.cz>
11 - Dmitry Osipenko <digetx@gmail.com>
16 - summit,smb345
17 - summit,smb347
18 - summit,smb358
26 monitored-battery:
[all …]
/Linux-v6.1/drivers/media/i2c/
Dadv7183_regs.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * adv7183 - Analog Devices ADV7183 video decoder registers
35 #define ADV7183_AGC_MODE_CTRL 0x2C /* AGC mode control */
61 #define ADV7183_FREE_LINE_LEN 0x8F /* Free-Run line length 1 */
87 #define ADV7183_NTSC_F_TOGGLE 0xE7 /* NTSC F bit toggle */
90 #define ADV7183_PAL_F_TOGGLE 0xEA /* PAL F bit toggle */
93 #define ADV7183_VS_MODE_CTRL 0xF9 /* VS mode control */
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils_fw2x.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright (C) 2014-2019 aQuantia Corporation
5 * Copyright (C) 2019-2020 Marvell International Ltd.
101 self, self->mbox_addr, in aq_fw2x_init()
102 self->mbox_addr != 0U, in aq_fw2x_init()
106 self, self->rpc_addr, in aq_fw2x_init()
107 self->rpc_addr != 0U, in aq_fw2x_init()
110 err = aq_fw2x_settings_get(self, &self->settings_addr); in aq_fw2x_init()
195 /* There is not explicit mode of RX only pause frames, in aq_fw2x_upd_flow_control_bits()
196 * thus, we join this mode with FC full. in aq_fw2x_upd_flow_control_bits()
[all …]

12345678910>>...19