/openbmc/linux/Documentation/devicetree/bindings/iio/dac/ |
H A D | adi,ltc2688.yaml | 1 # 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 …]
|
/openbmc/linux/drivers/media/rc/ |
H A D | ir-rc6-decoder.c | 1 // 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 …]
|
/openbmc/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-dev-intro.rst | 1 .. 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 D | rc-protos.rst | 1 .. 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 …]
|
/openbmc/linux/drivers/usb/musb/ |
H A D | musb_cppi41.c | 1 // 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 D | mediatek.c | 1 // 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 D | musb_host.c | 1 // 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 …]
|
/openbmc/linux/drivers/usb/host/ |
H A D | fhci-sched.c | 1 // 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 D | fhci.h | 1 /* 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 …]
|
/openbmc/linux/tools/kvm/kvm_stat/ |
H A D | kvm_stat.txt | 5 ---- 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 …]
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | display7seg.h | 1 /* 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 …]
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | m66592-udc.h | 1 // 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 …]
|
/openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
H A D | regs-common.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 18 * 1) Common read/write access. To use this mode, just write to the address of 24 * 4) Toggle bits only access. To toggle bits, write which bits you want to 25 * toggle to the address of the register + 0xc. 27 * IMPORTANT NOTE: Not all registers support accesses 2-4! Also, not all bits 29 * explicitly set/cleared by using access type 2-3.
|
/openbmc/linux/include/linux/usb/ |
H A D | r8a66597.h | 1 // 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 …]
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ltc2688.c | 1 // 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 …]
|
/openbmc/linux/include/dt-bindings/pinctrl/ |
H A D | k210-fpioa.h | 1 /* 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 …]
|
/openbmc/linux/drivers/platform/x86/ |
H A D | msi-wmi.c | 1 // 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 …]
|
/openbmc/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.h | 1 /* 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 …]
|
/openbmc/qemu/tests/qtest/ |
H A D | pflash-cfi02-test.c | 7 * See the COPYING file in the top-level directory. 16 * all. In particular, we're limited to a 16-bit wide flash device. 20 #define BASE_ADDR (0x100000000ULL - MP_FLASH_SIZE_MAX) 90 return (uint64_t)-1; in device_mask() 98 if (c->bank_width == 8) { in bank_mask() 99 return (uint64_t)-1; in bank_mask() 101 return (1ULL << (c->bank_width * 8)) - 1ULL; in bank_mask() 110 switch (c->bank_width) { in flash_write() 112 qtest_writeb(c->qtest, addr, data); in flash_write() 115 qtest_writew(c->qtest, addr, data); in flash_write() [all …]
|
/openbmc/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-pin-error-inj.rst | 1 .. 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 …]
|
/openbmc/u-boot/drivers/usb/host/ |
H A D | r8a66597.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * R8A66597 HCD (Host Controller Driver) for u-boot 93 #define XTAL 0xC000 /* b15-14: Crystal selection */ 101 #define LPSME 0x0100 /* b8: Low power sleep mode */ 103 #define HSE 0x0080 /* b7: Hi-speed enable */ 105 #define DRPD 0x0020 /* b5: D+/- pull down control */ 116 #define OVCBIT 0x8000 /* b15-14: Over-current bit */ 117 #define OVCMON 0xC000 /* b15-14: Over-current monitor */ 119 #define IDMON 0x0004 /* b3: ID-pin monitor */ 120 #define LNST 0x0003 /* b1-0: D+, D- line status */ [all …]
|
/openbmc/u-boot/arch/arm/mach-at91/ |
H A D | mpddrc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 17 int mode, in atmel_mpddr_op() argument 20 writel(mode, &mpddr->mr); in atmel_mpddr_op() 27 u16 version = readl(&mpddr->version) & 0xffff; in ddr2_decodtype_is_seq() 46 ba_off = (mpddr_value->cr & ATMEL_MPDDRC_CR_NC_MASK) + 9; in ddr2_init() 47 if (ddr2_decodtype_is_seq(base, mpddr_value->cr)) in ddr2_init() 48 ba_off += ((mpddr_value->cr & ATMEL_MPDDRC_CR_NR_MASK) >> 2) + 11; in ddr2_init() 50 ba_off += (mpddr_value->md & ATMEL_MPDDRC_MD_DBW_MASK) ? 1 : 2; in ddr2_init() 53 writel(mpddr_value->md, &mpddr->md); in ddr2_init() 56 writel(mpddr_value->cr, &mpddr->cr); in ddr2_init() [all …]
|
/openbmc/openbmc/meta-raspberrypi/docs/ |
H A D | extra-build-config.md | 6 <http://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html> 32 See: <https://www.raspberrypi.com/documentation/computers/config_txt.html#memory-options> 36 …erland`. Be aware that `userland` has not support for 64-bit arch. If you disable `vc4` on a 64-bi… 50 See: <https://www.raspberrypi.com/documentation/computers/config_txt.html#licence-key-and-codec-opt… 85 …b`. The "mmc" is required to load an image from the SD card, following the u-boot specification. S… 96 Mode" is officially supported by the Raspberry Pi and does not void warranty. Check 101 Example official settings for Turbo Mode in Raspberry Pi 2: 108 See: <https://www.raspberrypi.com/documentation/computers/config_txt.html#overclocking-options> 113 By default the video mode for these is autodetected on boot: the HDMI mode is 115 mode is defaulted to NTSC using a 4:3 aspect ratio. Check the config.txt for a [all …]
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | lpasscc-sc7280.c | 1 // 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 …]
|
/openbmc/linux/drivers/media/cec/core/ |
H A D | cec-pin-error-inj.c | 1 // 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 …]
|