Home
last modified time | relevance | path

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

12345678910>>...21

/linux/Documentation/devicetree/bindings/iio/dac/
H A 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 …]
H A Dadi,ltc2672.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Analog Devices LTC2672 5 channel, 12-/16-Bit, 300mA DAC
15 https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2672.pdf
20 - adi,ltc2672
25 spi-max-frequency:
28 vcc-supply:
[all …]
H A Dadi,ltc2664.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Kim Seer Paller <kimseer.paller@analog.com>
14 Analog Devices LTC2664 4 channel, 12-/16-Bit, +-10V DAC
15 https://www.analog.com/media/en/technical-documentation/data-sheets/2664fa.pdf
20 - adi,ltc2664
25 spi-max-frequency:
28 vcc-supply:
[all …]
/linux/drivers/media/rc/
H A 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/Documentation/userspace-api/media/rc/
H A 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 …]
H A 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/drivers/usb/host/
H A 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 …]
H A 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/drivers/usb/musb/
H A 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 …]
H A Dmediatek.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/dma-mapping.h>
25 /* MediaTek controller toggle enable and status reg */
57 struct device *dev = glue->dev; in mtk_musb_clks_get()
59 glue->clks[0].id = "main"; in mtk_musb_clks_get()
60 glue->clks[1].id = "mcu"; in mtk_musb_clks_get()
61 glue->clks[2].id = "univpll"; in mtk_musb_clks_get()
63 return devm_clk_bulk_get(dev, MTK_MUSB_CLKS_NUM, glue->clks); in mtk_musb_clks_get()
68 struct musb *musb = glue->musb; in mtk_otg_switch_set()
69 u8 devctl = readb(musb->mregs + MUSB_DEVCTL); in mtk_otg_switch_set()
[all …]
H A 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/tools/kvm/kvm_stat/
H A 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/arch/sparc/include/uapi/asm/
H A 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/drivers/iio/dac/
H A 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
106 .tx_buf = st->tx_data, in ltc2688_spi_read()
111 .tx_buf = st->tx_data + 3, in ltc2688_spi_read()
112 .rx_buf = st->rx_data, in ltc2688_spi_read()
119 memcpy(st->tx_data, reg, reg_size); in ltc2688_spi_read()
121 ret = spi_sync_transfer(st->spi, xfers, ARRAY_SIZE(xfers)); in ltc2688_spi_read()
125 memcpy(val, &st->rx_data[1], val_size); in ltc2688_spi_read()
[all …]
/linux/drivers/usb/gadget/udc/
H A 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 …]
H A 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/include/dt-bindings/pinctrl/
H A 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/drivers/platform/x86/
H A 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 …]
H A Dasus-nb-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include <linux/input/sparse-keymap.h>
21 #include "asus-wmi.h"
23 #define ASUS_NB_WMI_FILE "asus-nb-wmi"
29 #define ASUS_NB_WMI_EVENT_GUID "0B3CBB35-E3C2-45ED-91C2-4C5A6D195D1C"
42 static int wapf = -1;
46 static int tablet_mode_sw = -1;
48 MODULE_PARM_DESC(tablet_mode_sw, "Tablet mode detect: -1:auto 0:disable 1:kbd-dock 2:lid-flip 3:lid
61 if (quirks->filter_i8042_e1_extended_codes) { in asus_i8042_filter()
102 * and have duplicate events(ACPI and WMI) for display toggle
[all …]
/linux/include/linux/usb/
H A 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/drivers/media/rc/img-ir/
H A 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/Documentation/userspace-api/media/cec/
H A Dcec-pin-error-inj.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 has low-level support for the CEC bus. Most hardware today will have
10 high-level CEC support where the hardware deals with driving the CEC bus,
19 Currently only the cec-gpio driver (when the CEC line is directly
20 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver
25 now an ``error-inj`` file.
32 With ``cat error-inj`` you can see both the possible commands and the current
35 $ cat /sys/kernel/debug/cec/cec0/error-inj
38 # rx-clear clear all rx error injections
39 # tx-clear clear all tx error injections
[all …]
/linux/drivers/gpu/drm/ci/xfails/
H A Damdgpu-stoney-fails.txt5 amdgpu/amd_assr@assr-links,Fail
6 amdgpu/amd_assr@assr-links-dpms,Fail
7 amdgpu/amd_mall@static-screen,Crash
8 amdgpu/amd_mode_switch@mode-switch-first-last-pipe-2,Crash
9 amdgpu/amd_plane@mpo-pan-nv12,Fail
10 amdgpu/amd_plane@mpo-pan-p010,Fail
11 amdgpu/amd_plane@mpo-pan-rgb,Crash
12 amdgpu/amd_plane@mpo-scale-nv12,Fail
13 amdgpu/amd_plane@mpo-scale-p010,Fail
14 amdgpu/amd_plane@mpo-scale-rgb,Crash
[all …]
/linux/drivers/clk/qcom/
H A Dlpasscc-sc7280.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/clk-provider.h>
14 #include <dt-bindings/clock/qcom,lpass-sc7280.h>
16 #include "clk-regmap.h"
17 #include "clk-branch.h"
35 /* CLK_OFF would not toggle until LPASS is out of reset */
49 /* CLK_OFF would not toggle until LPASS is out of reset */
63 /* CLK_OFF would not toggle until LPASS is out of reset */
110 ret = devm_pm_runtime_enable(&pdev->dev); in lpass_cc_sc7280_probe()
114 ret = pm_clk_create(&pdev->dev); in lpass_cc_sc7280_probe()
[all …]
/linux/drivers/media/cec/core/
H A 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 …]

12345678910>>...21