/openbmc/linux/Documentation/driver-api/media/ |
H A D | rc-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------- 12 Every time a key is pressed on a remote controller, a scan code is produced. 23 infrared-based remote controllers, there's no key release event. Instead, 24 an extra code is produced to indicate key repeats. 33 hardware. When the carrier is switched on, it is called *PULSE*. 37 *PULSE* and *SPACE* events, each with a given duration. 40 *PULSE* and *SPACE* events depend on the protocol. 42 start with a 9ms *PULSE* and a 4.5ms SPACE. It then transmits 16 bits of 43 scan code, being 8 bits for address (usually it is a fixed number for a [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) 33 #define RC6_6A_LCC_MASK 0xffff0000 /* RC6-6A-32 long customer code mask */ 34 #define RC6_6A_MCE_CC 0x800f0000 /* MCE customer code */ 35 #define RC6_6A_ZOTAC_CC 0x80340000 /* Zotac customer code */ [all …]
|
H A D | ir-sanyo-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // ir-sanyo-decoder.c - handle SANYO IR Pulse/Space protocol 7 // 13 bits Custom Code 8 // 13 bits NOT(Custom Code) 17 #include "rc-core-priv.h" 40 * ir_sanyo_decode() - Decode one SANYO pulse or space 42 * @ev: the struct ir_raw_event descriptor of the pulse/space 44 * This function returns -EINVAL if the pulse violates the state machine 48 struct sanyo_dec *data = &dev->raw->sanyo; in ir_sanyo_decode() 55 dev_dbg(&dev->dev, "SANYO event overflow received. reset to state 0\n"); in ir_sanyo_decode() [all …]
|
H A D | ite-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #define ITE_DRIVER_NAME "ite-cir" 34 /* hw-specific operation function pointers; most of these must be 43 /* make rx enter the idle state; keep listening for a pulse, but stop 98 /* duty cycle, 0-100 */ 114 /* low-speed carrier frequency limits (Hz) */ 118 /* high-speed carrier frequency limits (Hz) */ 130 * n in RDCR produces a tolerance of +/- n * 6.25% around the center 135 * frequency A = (H - L) / (H + L). We can use this in order to honor the 136 * s_rx_carrier_range() call in ir-core. We'll suppose that any request [all …]
|
/openbmc/openbmc/poky/meta/recipes-multimedia/pulseaudio/ |
H A D | pulseaudio.inc | 1 SUMMARY = "Sound server for Linux and Unix-like operating systems" 7 # Most of PulseAudio code is under LGPL-2.1-or-later. There are a few 10 # The "adrian" echo canceller variant has code under a non-standard permissive 11 # license. See src/modules/echo-cancel/adrian-license.txt for details. This 18 # The src/pulsecore/filter/ directory contains code under the 3-clause BSD 22 # are some dependencies to GPL libraries. LGPL code that depends on GPL 23 # libraries probably becomes effectively GPL-licensed (at compile-time? or at 24 # at link-time?). I'm not a lawyer, though, so I'm not sure of the exact 35 # module-lirc (enabled by PACKAGECONFIG[lirc]) uses LIRC. 37 # module-equalizer-sink uses FFTW. This recipe disables that, however. [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 | lirc-write.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 4 .. _lirc-write: 13 lirc-write - Write to a LIRC device 18 .. code-block:: c 47 When in :ref:`LIRC_MODE_PULSE <lirc-mode-PULSE>` mode, the data written to 48 the chardev is a pulse/space sequence of integer values. Pulses and spaces 50 with a pulse, therefore, the data must always include an uneven number of 55 When in :ref:`LIRC_MODE_SCANCODE <lirc-mode-scancode>` mode, one 70 of data required for one frame. On error, -1 is returned, and the ``errno`` 72 :ref:`Generic Error Codes <gen-errors>` chapter.
|
/openbmc/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-sanyo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2012-2014 Imagination Technologies Ltd. 7 * From ir-sanyo-decoder.c: 10 * 13 bits Custom Code 11 * 13 bits NOT(Custom Code) 19 #include "img-ir-hw.h" 26 /* a repeat code has no data */ in img_ir_sanyo_scancode() 30 return -EINVAL; in img_ir_sanyo_scancode() 37 return -EINVAL; in img_ir_sanyo_scancode() 40 return -EINVAL; in img_ir_sanyo_scancode() [all …]
|
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 53 * struct img_ir_timing_range - range of timing values 65 * struct img_ir_symbol_timing - timing data for a symbol 66 * @pulse: Timing range for the length of the pulse in this symbol 70 struct img_ir_timing_range pulse; member [all …]
|
H A D | img-ir-nec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2010-2014 Imagination Technologies Ltd. 8 #include "img-ir-hw.h" 17 /* a repeat code has no data */ in img_ir_nec_scancode() 21 return -EINVAL; in img_ir_nec_scancode() 28 /* 32-bit NEC (used by Apple and TiVo remotes) */ in img_ir_nec_scancode() 30 request->scancode = bitrev8(addr) << 24 | in img_ir_nec_scancode() 34 request->protocol = RC_PROTO_NEC32; in img_ir_nec_scancode() 38 request->scancode = addr << 16 | in img_ir_nec_scancode() 41 request->protocol = RC_PROTO_NECX; in img_ir_nec_scancode() [all …]
|
/openbmc/linux/arch/powerpc/platforms/44x/ |
H A D | fsp2.h | 33 #define PLB4OPB_GESR0 0x0 /* Error status 0: Master Dev 0-3 */ 36 #define PLB4OPB_GESR1 0x4 /* Error Status 1: Master Dev 4-7 */ 37 #define PLB4OPB_GESR2 0xC /* Error Status 2: Master Dev 8-11 */ 39 /* PLB4-to-AHB Bridge */ 54 /* PLB4-to-PLB6 Bridge */ 60 /* PLB6-to-PLB4 Bridge */ 66 /* PLB6-to-MCIF Bridge */ 164 /* PLB-Attached DDR3/4 Core Wrapper */ 198 #define CMUN_URCR3_P 0x26 /* Unit Reset Control Reg 3 Pulse */ 199 #define CMUN_PW0 0x2C /* Pulse Width Register */ [all …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/lpc32xx/ |
H A D | cpu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2011-2015 by Vladimir Zapolskiy <vz@mleia.com> 20 setbits_le32(&clk->timclk_ctrl, CLK_TIMCLK_WATCHDOG); in reset_cpu() 22 /* To be compatible with the original U-Boot code: in reset_cpu() 23 * addr: - 0: perform hard reset. in reset_cpu() 24 * - !=0: perform a soft reset; i.e. "RESOUT_N" not asserted). */ in reset_cpu() 26 /* Reset pulse length is 13005 peripheral clock frames */ in reset_cpu() 27 writel(13000, &wdt->pulse); in reset_cpu() 31 | WDTIM_MCTRL_M_RES2, &wdt->mctrl); in reset_cpu() 34 writel(0x01, &wdt->emr); in reset_cpu() [all …]
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ir-kbd-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (c) 2000-2003 Gerd Knorr <kraxel@bytesex.org> 23 * - drivers/char/pctv_zilogir.[ch] from Hauppauge Broadway product 25 * - drivers/staging/media/lirc/lirc_zilog.c 26 * Copyright (c) 2000 Gerd Knorr <kraxel@goldbach.in-berlin.de> 50 #include <media/rc-core.h> 51 #include <media/i2c/ir-kbd-i2c.h> 63 int start, range, toggle, dev, code, ircode, vendor; in get_key_haup_common() local 66 if (size != i2c_master_recv(ir->c, buf, size)) in get_key_haup_common() 67 return -EIO; in get_key_haup_common() [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-linksys-viper.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * kirkwood-viper.dts - Device Tree file for Linksys viper (E4200v2 / EA4500) 12 /dts-v1/; 15 #include "kirkwood-6282.dtsi" 19 compatible = "linksys,viper", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 31 stdout-path = "serial0:115200n8"; 35 compatible = "gpio-keys"; 36 #address-cells = <1>; 37 #size-cells = <0>; 38 pinctrl-0 = < &pmx_btn_wps &pmx_btn_reset >; [all …]
|
/openbmc/linux/drivers/media/usb/au0828/ |
H A D | au0828-input.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 // Based on em28xx-input.c. 17 #include <media/rc-core.h> 47 struct i2c_msg msg = { .addr = ir->i2c_dev_addr, .flags = 0, in au8522_rc_write() 50 rc = i2c_transfer(ir->dev->i2c_client.adapter, &msg, 1); in au8522_rc_write() 55 return (rc == 1) ? 0 : -EIO; in au8522_rc_write() 63 struct i2c_msg msg[2] = { { .addr = ir->i2c_dev_addr, .flags = 0, in au8522_rc_read() 65 { .addr = ir->i2c_dev_addr, .flags = I2C_M_RD, in au8522_rc_read() 75 rc = i2c_transfer(ir->dev->i2c_client.adapter, msg, 2); in au8522_rc_read() 80 return (rc == 2) ? 0 : -EIO; in au8522_rc_read() [all …]
|
/openbmc/linux/sound/soc/tegra/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "SoC Audio for the Tegra System-on-Chip" 73 to interface with Pulse Density Modulation (PDM) input devices. 75 to Pulse Code Modulation (PCM) signals. This can be viewed as a 82 Config to enable the Inter-IC Sound (I2S) Controller which 83 implements full-duplex and bidirectional and single direction 84 point-to-point serial interfaces. It can interface with I2S 113 converts the multi-bit Pulse Code Modulation (PCM) audio input to 114 oversampled 1-bit Pulse Density Modulation (PDM) output. From the 116 that up-samples the input to the desired sampling rate by [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/pipewire/ |
H A D | pipewire_1.2.7.bb | 7 LICENSE = "MIT & LGPL-2.1-or-later & GPL-2.0-only" 25 GROUPADD_PARAM:${PN} = "--system pipewire" 27 USERADD_PARAM:${PN} = "--system --home / --no-create-home \ 28 --comment 'PipeWire multimedia daemon' \ 29 --gid pipewire --groups audio,video \ 41 # The session-managers list specifies which session managers Meson 56 -Devl=disabled \ 57 -Dtests=disabled \ 58 -Dudevrulesdir=${nonarch_base_libdir}/udev/rules.d/ \ 59 -Dsystemd-system-unit-dir=${systemd_system_unitdir} \ [all …]
|
/openbmc/linux/include/video/ |
H A D | s1d13xxxfb.h | 4 * (c) 2005 Thibaut VARENE <varenet@parisc-linux.org> 6 * Header file for Epson S1D13XXX driver code 26 #define S1DREG_REV_CODE 0x0000 /* Prod + Rev Code Register */ 45 #define S1DREG_LCD_NDISP_HPER 0x0034 /* LCD Horizontal Non-Display Period Register: ((val)+1)*8)=N… 47 #define S1DREG_TFT_FPLINE_PWIDTH 0x0036 /* TFT FPLINE Pulse Width Register. */ 50 #define S1DREG_LCD_NDISP_VPER 0x003A /* LCD Vertical Non-Display Period Register: (val)+1=NDlines … 52 #define S1DREG_TFT_FPFRAME_PWIDTH 0x003C /* TFT FPFRAME Pulse Width Register */ 64 #define S1DREG_CRT_NDISP_HPER 0x0052 /* CRT/TV Horizontal Non-Display Period Register */ 66 #define S1DREG_CRT_HRTC_PWIDTH 0x0054 /* CRT/TV HRTC Pulse Width Register */ 69 #define S1DREG_CRT_NDISP_VPER 0x0058 /* CRT/TV Vertical Non-Display Period Register */ [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-picolcd_cir.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2012 by Bruno Prémont <bonbons@linux-vserver.org> * 11 #include <linux/hid-debug.h> 13 #include "hid-ids.h" 28 #include <media/rc-core.h> 30 #include "hid-picolcd.h" 41 spin_lock_irqsave(&data->lock, flags); in picolcd_raw_cir() 42 if (!data->rc_dev || (data->status & PICOLCD_CIR_SHUN)) { in picolcd_raw_cir() 43 spin_unlock_irqrestore(&data->lock, flags); in picolcd_raw_cir() 46 spin_unlock_irqrestore(&data->lock, flags); in picolcd_raw_cir() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | pxa3xx_nand.h | 11 unsigned int tWP; /* ND_nWE pulse time */ 13 unsigned int tRP; /* ND_nRE pulse width */ 46 /* allow platform code to keep OBM/bootloader defined NFC config */ 52 /* use an flash-based bad block table */
|
/openbmc/openbmc/poky/meta/recipes-multimedia/alsa/ |
H A D | alsa-plugins_1.2.12.bb | 5 HOMEPAGE = "http://alsa-project.org" 6 BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" 10 # The primary license of alsa-plugins is LGPL-2.1-only. 12 # m4/attributes.m4 is licensed under GPL-2.0-or-later. m4/attributes.m4 is part 15 # The samplerate plugin source code is licensed under GPL-2.0-or-later to be 18 # the terms of LGPL-2.1-only like the rest of the plugins. 19 LICENSE = "LGPL-2.1-only & GPL-2.0-or-later" 26 SRC_URI = "https://www.alsa-project.org/files/pub/plugins/${BP}.tar.bz2" 29 DEPENDS += "alsa-lib" 38 PACKAGECONFIG[aaf] = "--enable-aaf,--disable-aaf,libavtp" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | nvidia,tegra186-dspk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra186-dspk.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Digital Speaker Controller (DSPK) can be viewed as a Pulse 11 Density Modulation (PDM) transmitter that up-samples the input to 13 over sampled Pulse Code Modulation (PCM) input to the desired 1-bit 17 - Jon Hunter <jonathanh@nvidia.com> 18 - Sameer Pujar <spujar@nvidia.com> 21 - $ref: dai-common.yaml# [all …]
|
/openbmc/qemu/hw/sensor/ |
H A D | max31785.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Maxim MAX31785 PMBus 6-Channel Fan Controller 75 #define MAX31785_FAN_CONFIG_PULSE(pulse) (pulse << 4) argument 76 #define MAX31785_DEFAULT_FAN_CONFIG_1_2(pulse) \ argument 77 (MAX31785_FAN_CONFIG_ENABLE | MAX31785_FAN_CONFIG_PULSE(pulse)) 88 * @code: The command code received 140 * |23-254 | Reserved | 172 switch (pmdev->code) { in max31785_read_byte() 175 if (pmdev->page <= MAX31785_MAX_FAN_PAGE) { in max31785_read_byte() 176 pmbus_send8(pmdev, pmdev->pages[pmdev->page].fan_config_1_2); in max31785_read_byte() [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | powermate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * pulse or two on a direction change; the granularity is so fine that I never 88 struct powermate_device *pm = urb->context; in powermate_irq() 89 struct device *dev = &pm->intf->dev; in powermate_irq() 92 switch (urb->status) { in powermate_irq() 96 case -ECONNRESET: in powermate_irq() 97 case -ENOENT: in powermate_irq() 98 case -ESHUTDOWN: in powermate_irq() 100 dev_dbg(dev, "%s - urb shutting down with status: %d\n", in powermate_irq() 101 __func__, urb->status); in powermate_irq() [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | aspeed_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 { .compatible = "aspeed,ast2400-wdt", .data = &ast2400_config }, 58 { .compatible = "aspeed,ast2500-wdt", .data = &ast2500_config }, 59 { .compatible = "aspeed,ast2600-wdt", .data = &ast2600_config }, 86 * WDT_RESET_WIDTH controls the characteristics of the external pulse (if 89 * * Pulse duration 90 * * Drive mode: push-pull vs open-drain 93 * Pulse duration configuration is available on both the AST2400 and AST2500, 103 * and bit 30 represents push-pull or open-drain. With respect to write, magic 106 * effect on the state of the drive mode or polarity bits. However, the pulse [all …]
|