/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 21 - azoteq,iqs7222a 22 - azoteq,iqs7222b 23 - azoteq,iqs7222c 24 - azoteq,iqs7222d 29 irq-gpios: 32 Specifies the GPIO connected to the device's active-low RDY output. [all …]
|
H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": 37 azoteq,suspend-mode: [all …]
|
H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: 37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/openbmc/linux/drivers/input/misc/ |
H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for each of the two 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() 305 return -EINVAL; in iqs269_ati_mode_set() [all …]
|
H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", 378 .name = "trackpad-3x2", [all …]
|
H A D | iqs7222.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d", 117 [IQS7222_REG_GRP_CHAN] = "channel-%d", 118 [IQS7222_REG_GRP_SLDR] = "slider-%d", 120 [IQS7222_REG_GRP_GPIO] = "gpio-%d", 150 .name = "event-prox", 155 .name = "event-touch", 162 { .name = "event-press", }, 164 .name = "event-tap", 171 .name = "event-swipe-pos", [all …]
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_intel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * hda_intel.c - Implementation of primary alsa driver code base 27 #include <linux/dma-mapping.h> 50 #include <sound/intel-dsp-config.h> 53 #include <linux/apple-gmux.h> 73 /* Defines for ATI HD Audio support in SB450 south bridge */ 91 /* ICH, ATI and VIA have 4 playback and 4 capture */ 99 /* ATI HDMI may have up to 8 playbacks and 0 capture */ 108 static int position_fix[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; 109 static int bdl_pos_adj[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = -1}; [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 16 for Cypress CCGx Type-C controller. Individual bus drivers 25 controller is part of the 7101 device, which is an ACPI-compliant 29 will be called i2c-ali1535. 37 controller is part of the 7101 device, which is an ACPI-compliant 41 will be called i2c-ali1563. 51 will be called i2c-ali15x [all...] |
/openbmc/qemu/roms/ |
H A D | Makefile | 2 vgabios_variants := stdvga cirrus vmware qxl isavga virtio bochs-display ramfb ati 3 vgabios_targets := $(subst -isavga,,$(patsubst %,vgabios-%.bin,$(vgabios_variants))) 7 pxe-rom-e1000 efi-rom-e1000 : VID := 8086 8 pxe-rom-e1000 efi-rom-e1000 : DID := 100e 9 pxe-rom-e1000e efi-rom-e1000e : VID := 8086 10 pxe-rom-e1000e efi-rom-e1000e : DID := 10d3 11 pxe-rom-eepro100 efi-rom-eepro100 : VID := 8086 12 pxe-rom-eepro100 efi-rom-eepro100 : DID := 1209 13 pxe-rom-ne2k_pci efi-rom-ne2k_pci : VID := 1050 14 pxe-rom-ne2k_pci efi-rom-ne2k_pci : DID := 0940 [all …]
|
/openbmc/qemu/hw/vfio/ |
H A D | pci-quirks.c | 4 * Copyright Red Hat, Inc. 2012-2015 10 * the COPYING file in the top-level directory. 18 #include "qemu/error-report.h" 19 #include "qemu/main-loop.h" 26 #include "hw/qdev-properties.h" 56 trace_vfio_quirk_rom_in_denylist(vdev->vbasedev.name, in vfio_opt_rom_in_denylist() 108 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_read() 110 return vfio_region_read(&vdev->bars[window->bar].region, in vfio_generic_window_quirk_address_read() 111 addr + window->address_offset, size); in vfio_generic_window_quirk_address_read() 119 VFIOPCIDevice *vdev = window->vdev; in vfio_generic_window_quirk_address_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_mode.h | 2 * Copyright 2000 ATI Technologies Inc., Markham, Ontario, and 41 #include <linux/i2c-algo-bit.h> 127 /* amdgpu gpio-based i2c 149 /* uses multi-media i2c engine */ 315 /* DVI-I properties */ 425 int dig_encoder; /* -1 disabled, 0 DIGA, 1 DIGB, etc. */ 614 uint32_t page_flip_flags, uint32_t target,
|
H A D | atom.c | 38 #include "atom-names.h" 39 #include "atom-bits.h" 98 while (n--) in debug_print_spaces() 120 temp = ctx->card->reg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 124 ctx->card->reg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute() 129 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute() 135 (0xFFFFFFFF >> (32 - CU8(base + 1))) << CU8(base + in atom_iio_execute() 141 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute() 145 (0xFFFFFFFF >> (32 - CU8(base + 1)))) << CU8(base + in atom_iio_execute() 151 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute() [all …]
|
H A D | amdgpu_display.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 51 * amdgpu_display_hotplug_work_func - work handler for display hotplug event 71 struct drm_mode_config *mode_config = &dev->mode_config; in amdgpu_display_hotplug_work_func() 75 mutex_lock(&mode_config->mutex); in amdgpu_display_hotplug_work_func() 80 mutex_unlock(&mode_config->mutex); in amdgpu_display_hotplug_work_func() 97 schedule_work(&work->flip_work.work); in amdgpu_display_flip_callback() 110 if (!dma_fence_add_callback(fence, &work->cb, in amdgpu_display_flip_handle_fence() 124 struct amdgpu_device *adev = work->adev; in amdgpu_display_flip_work_func() 125 struct amdgpu_crtc *amdgpu_crtc = adev->mode_info.crtcs[work->crtc_id]; in amdgpu_display_flip_work_func() 127 struct drm_crtc *crtc = &amdgpu_crtc->base; in amdgpu_display_flip_work_func() [all …]
|
/openbmc/linux/sound/hda/ |
H A D | hdac_device.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HD-audio codec core device 27 * snd_hdac_device_init - initialize the HD-audio codec base device 47 dev = &codec->dev; in snd_hdac_device_init() 49 dev->parent = bus->dev; in snd_hdac_device_init() 50 dev->bus = &snd_hda_bus_type; in snd_hdac_device_init() 51 dev->release = default_release; in snd_hdac_device_init() 52 dev->groups = hdac_dev_attr_groups; in snd_hdac_device_init() 56 codec->bus = bus; in snd_hdac_device_init() 57 codec->addr = addr; in snd_hdac_device_init() [all …]
|
/openbmc/linux/drivers/video/fbdev/aty/ |
H A D | atyfb_base.c | 2 * ATI Frame Buffer Device Driver Core 5 * Copyright (C) 1997-2001 Geert Uytterhoeven 9 * This driver supports the following ATI graphics chips: 10 * - ATI Mach64 13 * - ATI Rage128 (from aty128fb.c) 14 * - ATI Radeon (from radeonfb.c) 20 * and on the PowerMac ATI/mach64 display driver: 35 * Many thanks to Nitya from ATI devrel for support and patience ! 42 - cursor support on all cards and all ramdacs. 43 - cursor parameters controlable via ioctl()s. [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atom.c | 38 #include "atom-names.h" 39 #include "atom-bits.h" 97 while (n--) in debug_print_spaces() 111 struct radeon_device *rdev = ctx->card->dev->dev_private; in atom_iio_execute() 120 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 124 if (rdev->family == CHIP_RV515) in atom_iio_execute() 125 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 126 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute() 131 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute() 137 (0xFFFFFFFF >> (32 - CU8(base + 1))) << CU8(base + in atom_iio_execute() [all …]
|
H A D | radeon_display.c | 2 * Copyright 2007-8 Advanced Micro Devices, Inc. 52 struct drm_device *dev = crtc->dev; in avivo_crtc_load_lut() 53 struct radeon_device *rdev = dev->dev_private; in avivo_crtc_load_lut() 57 DRM_DEBUG_KMS("%d\n", radeon_crtc->crtc_id); in avivo_crtc_load_lut() 58 WREG32(AVIVO_DC_LUTA_CONTROL + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 60 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_BLUE + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 61 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_GREEN + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 62 WREG32(AVIVO_DC_LUTA_BLACK_OFFSET_RED + radeon_crtc->crtc_offset, 0); in avivo_crtc_load_lut() 64 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_BLUE + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut() 65 WREG32(AVIVO_DC_LUTA_WHITE_OFFSET_GREEN + radeon_crtc->crtc_offset, 0xffff); in avivo_crtc_load_lut() [all …]
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | besys.c | 11 * Copyright (C) 1991-2004 SciTech Software, Inc. All rights reserved. 42 * Jason ported this file to u-boot to run the ATI video card 43 * BIOS in u-boot. Removed some emulate functions such as the 55 /*------------------------- Global Variables ------------------------------*/ 71 /*----------------------------- Implementation ----------------------------*/ 75 addr - Emulator memory address to convert 81 This function converts an emulator memory address in a 32-bit range to 89 return (u8*)(_BE_env.biosmem_base + addr - 0xC0000); in BE_memaddr() 95 return (u8*)(_BE_env.busmem_base + addr - 0xA0000); in BE_memaddr() 102 return (u8 *)_BE_env.busmem_base + addr - 0xA0000; in BE_memaddr() [all …]
|
/openbmc/linux/sound/pci/ |
H A D | bt87x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * bt87x.c - Brooktree Bt878/Bt879 driver for ALSA 27 static int index[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -2}; /* Exclude the first card */ 57 #define INT_FTRGT (1 << 13) /* FIFO overrun due to target latency */ 61 #define INT_PABORT (1 << 17) /* PCI master or target abort */ 70 #define CTL_PKTP_4 (0 << 2) /* packet mode FIFO trigger point - 4 DWORDs */ 93 #define CTL_A_PWRDN (1 << 26) /* analog audio power-down */ 131 #define MAX_RISC_SIZE ((1 + 255 + (PAGE_ALIGN(255 * 4092) / PAGE_SIZE - 1) + 1 + 1) * 8) 203 return readl(chip->mmio + reg); in snd_bt87x_readl() 208 writel(value, chip->mmio + reg); in snd_bt87x_writel() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for NXT2002 and NXT2004 - VSB/QAM 6 * Copyright (C) 2006-2014 Michael Krufky <mkrufky@linuxtv.org> 8 * and nxt2004 by Jean-Francois Thibert <jeanfrancois@sagetv.com> 15 * B2C2/BBTI Technisat Air2PC - ATSC (NXT2002) 17 * ATI HDTV Wonder (NXT2004) 31 #define NXT2002_DEFAULT_FIRMWARE "dvb-fe-nxt2002.fw" 32 #define NXT2004_DEFAULT_FIRMWARE "dvb-fe-nxt2004.fw" 63 if ((err = i2c_transfer (state->i2c, &msg, 1)) != 1) { in i2c_writebytes() 66 return -EREMOTEIO; in i2c_writebytes() [all …]
|
/openbmc/qemu/system/ |
H A D | vl.c | 4 * Copyright (c) 2003-2008 Fabrice Bellard 26 #include "qemu/help-texts.h" 29 #include "exec/cpu-common.h" 30 #include "exec/page-vary.h" 31 #include "hw/qdev-properties.h" 32 #include "qapi/compat-policy.h" 37 #include "qemu-version.h" 40 #include "qemu/hw-version.h" 44 #include "sysemu/runstate-action.h" 49 #include "qemu/error-report.h" [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | quirks.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * This file contains work-arounds for many known PCI hardware bugs. 5 * should be handled in arch-specific code. 20 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 49 * repeatedly active ~84% of the time. Forcing the target link speed to 52 * higher target link speed afterwards lets the two successfully negotiate 68 * Restrict the speed to 2.5GT/s then with the Target Link Speed field, 91 int ret = -ENOTTY; in pcie_failed_link_retrain() 94 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 103 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 245 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, 427 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 433 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 440 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 518 ULONG ulClock:24; //Input= target clock, output = actual clock [all …]
|