/openbmc/linux/drivers/platform/surface/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Microsoft Surface Platform-Specific Drivers 7 bool "Microsoft Surface Platform-Specific Device Drivers" 11 Say Y here to get to see options for platform-specific device drivers 29 be called surface3-wmi. 47 on 5th- and 6th-generation Microsoft Surface devices (including 48 Surface Pro 5 and 6, Surface Book 2, Surface Laptops 1 and 2, and in 55 thermal sensor access, and real-time clock information, depending on 59 tristate "Surface System Aggregator Module User-Space Interface" 62 Provides a misc-device interface to the Surface System Aggregator [all …]
|
H A D | surface_aggregator_registry.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Registry for non-platform/non-ACPI SSAM client devices, i.e. devices that 6 * cannot be auto-detected. Provides device-hubs and performs instantiation 9 * Copyright (C) 2020-2022 Maximilian Luz <luzmaximilian@gmail.com> 22 /* -- Device registry. ------------------------------------------------------ */ 27 * function, each encoded as two-digit hexadecimal, separated by ':'. In other 32 * Where, 'dd', 'cc', 'tt', 'ii', and 'ff' are the two-digit hexadecimal 43 .name = "ssam:00:00:01:0e:00", 47 /* Base device hub (devices attached to Surface Book 3 base). */ 65 /* Secondary battery (Surface Book 3). */ [all …]
|
H A D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 111 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify() 114 dev_info_ratelimited(&device->dev, in surface_button_notify() 118 input = button->input; in surface_button_notify() 122 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify() 123 if (button->suspended) in surface_button_notify() 135 button->suspended = true; in surface_button_suspend() 144 button->suspended = false; in surface_button_resume() 150 * Surface Pro 4 and Surface Book 2 / Surface Pro 2017 use the same device 154 * Returns true if the driver should bind to this device, i.e. the device is [all …]
|
/openbmc/linux/Documentation/driver-api/surface_aggregator/ |
H A D | overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 9 introduced on 4th generation devices (Surface Pro 4, Surface Book 1), but 10 its responsibilities and feature-set have since been expanded significantly 18 4, Surface Book 1), due to the use of a different communication interface 20 Book 2, Surface Laptop 1) and later generation devices, SAM is responsible 23 sensors (e.g. skin temperature) and cooling/performance-mode setting to the 24 host. On the Surface Book 2, specifically, it additionally provides an 25 interface for properly handling clipboard detachment (i.e. separating the 29 Laptop 3 and Surface Book 3, is responsible for all major HID input (i.e. 36 SAN), translating ACPI generic serial bus write-/read-accesses to SAM [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 2 # Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 11 embedded controller (EC) found on 5th- and later-generation Microsoft 12 Surface devices (i.e. Surface Pro 5, Surface Book 2, Surface Laptop, 17 - EC access from ACPI via Surface ACPI Notify (5th- and 6th-generation) 18 - battery status information (all devices) 19 - thermal sensor access (all devices) 20 - performance mode / cooling mode control (all devices) 21 - clipboard detachment system control (Surface Book 2 and 3) 22 - HID / keyboard input (Surface Laptops, Surface Book 3) [all …]
|
/openbmc/openbmc/poky/meta/files/common-licenses/ |
H A D | OPUBL-1.0 | 15 Commercial redistribution of Open Publication-licensed material is permitted. 17 …book form shall require the citation of the original publisher and author. The publisher and autho… 31 …rranties of merchantability and fitness for a particular purpose or a warranty of non-infringement. 42 V. GOOD-PRACTICE RECOMMENDATIONS 45 …1. If you are distributing Open Publication works on hardcopy or CD-ROM, you provide email notific… 47 …red good form to offer a free copy of any hardcopy and CD-ROM expression of an Open Publication-li… 51 The author(s) and/or publisher of an Open Publication-licensed document may elect certain options b… 57 … of this work or derivative works in whole or in part in standard (paper) book form for commercial… 59 …istribution of the work or derivative of the work in any standard (paper) book form is prohibited … 72 Send E-mail to opal-request@opencontent.org with the word "subscribe" in the body. [all …]
|
/openbmc/linux/drivers/watchdog/ |
H A D | booke_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Watchdog timer for PowerPC Book-E systems 8 * Copyright 2005, 2008, 2010-2011 Freescale Semiconductor Inc. 23 * For E500 cpus the wdt_period sets which bit changing from 0->1 will 55 * 2.5 * (2^(63-period+1)) / timebase_freq 62 unsigned long long tmp = 1ULL << (64 - period); in period_to_sec() 76 * greater than the one required. e.g. for a bus speed of 66666666 and 82 for (period = 63; period > 0; period--) { in sec_to_period() 114 val |= WDTP(sec_to_period(wdog->timeout)); in __booke_wdt_set() 145 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout))); in __booke_wdt_enable() [all …]
|
/openbmc/linux/arch/powerpc/include/asm/nohash/ |
H A D | mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* 40x-style software loaded TLB */ 7 #include <asm/nohash/32/mmu-40x.h> 9 /* 44x-style software loaded TLB */ 10 #include <asm/nohash/32/mmu-44x.h> 12 /* Freescale Book-E software loaded TLB or Book-3e (ISA 2.06+) MMU */ 13 #include <asm/nohash/mmu-e500.h> 16 #include <asm/nohash/32/mmu-8xx.h>
|
H A D | mmu-e500.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Freescale Book-E/Book-3e (ISA 2.06+) MMU support 8 /* Book-3e defined page sizes */ 224 * The mapping only needs to be cache-coherent on SMP, except on 244 /* Page size definitions, common between 32 and 64-bit 268 return -1; in shift_to_mmu_psize() 278 /* The page sizes use the same names as 64-bit hash but are 292 * Per-core spinlock for e6500 TLB handlers (no tlbsrx.) 309 * 64-bit booke platforms don't load the tlb in the tlb miss handler code. 310 * HUGETLB_NEED_PRELOAD handles this - it causes huge_ptep_set_access_flags to
|
/openbmc/qemu/qapi/ |
H A D | machine-common.json | 1 # -*- Mode: Python -*- 5 # See the COPYING file in the top-level directory. 48 # @book: book level. The @books option in SMPConfiguration is used 55 # topology settings (e.g., cache topology), and this special 56 # level means following the architecture-specific settings. 62 'socket', 'book', 'drawer', 'default' ] } 92 # enumeration as the parameter, i.e., CPUs in the same
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | pcie_quirks.c | 1 // SPDX-License-Identifier: GPL-2.0-only 45 .ident = "Surface Book 1", 48 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Surface Book"), 53 .ident = "Surface Book 2", 56 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Surface Book 2"), 81 struct pci_dev *pdev = card->dev; in mwifiex_initialize_quirks() 86 card->quirks = (uintptr_t)dmi_id->driver_data; in mwifiex_initialize_quirks() 88 if (!card->quirks) in mwifiex_initialize_quirks() 89 dev_info(&pdev->dev, "no quirks enabled\n"); in mwifiex_initialize_quirks() 90 if (card->quirks & QUIRK_FW_RST_D3COLD) in mwifiex_initialize_quirks() [all …]
|
/openbmc/qemu/tests/functional/ |
H A D | test_s390x_topology.py | 11 # later. See the COPYING file in the top-level directory. 28 See: docs/system/s390x/cpu-topology.rst. 31 - implicitly from the '-smp' argument by completing each topology 32 level one after the other beginning with drawer 0, book 0 and 34 - explicitly from the '-device' argument on the QEMU command line 35 - explicitly by hotplug of a new CPU using QMP or HMP 36 - it is modified by using QMP 'set-cpu-topology' 51 '/fedora-secondary/releases/35/Server/s390x/os' 57 '/fedora-secondary/releases/35/Server/s390x/os' 63 failure_message='Kernel panic - not syncing', [all …]
|
/openbmc/u-boot/arch/powerpc/include/asm/ |
H A D | processor.h | 19 #define MSR_UCLE (1<<26) /* User-mode cache lock enable (e500) */ 40 #define MSR_IS (1<<5) /* Book E Instruction space */ 42 #define MSR_DS (1<<4) /* Book E Data space */ 67 #define FPSCR_ZX 0x04000000 /* Zero-devide exception summary */ 70 #define FPSCR_VXISI 0x00800000 /* Invalid op for Inv - Inv */ 87 #define FPSCR_NI 0x00000004 /* FPU non IEEE-Mode */ 103 #define SPRN_DAC1 0x13C /* Book E Data Address Compare 1 */ 104 #define SPRN_DAC2 0x13D /* Book E Data Address Compare 2 */ 159 #define SPRN_DBCR0 0x134 /* Book E Debug Control Register 0 */ 165 #define SPRN_DBCR1 0x135 /* Book E Debug Control Register 1 */ [all …]
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | time.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 56 * in auto-reload mode. The problem is PIT stops counting when it 68 * Note: Book E and 4xx processors differ from other PowerPC processors 70 * transition for Book E/4xx, but on the 0 to -1 transition for others. 79 mtspr(SPRN_DEC, val - 1); in set_dec() 84 return mftb() - tstamp; in tb_ticks_since()
|
H A D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <asm/asm-const.h> 39 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 40 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 41 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 47 * (i.e. with 1s in the high bits) 49 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 67 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 72 * va = pa + PAGE_OFFSET - MEMORY_START 73 * va = pa + KERNELBASE - PHYSICAL_START [all …]
|
H A D | reg_booke.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Contains register definitions common to the Book E PowerPC 4 * specification. Notice that while the IBM-40x series of CPUs 5 * are not true Book E PowerPCs, they borrowed a number of features 6 * before Book E was finalized, and are included here as well. Unfortunately, 7 * they sometimes used different locations than true Book E CPUs did. 9 * Copyright 2009-2010 Freescale Semiconductor, Inc. 15 #include <asm/ppc-opcode.h> 19 #define MSR_UCLE_LG 26 /* User-mode cache lock enable */ 26 #define MSR_CM_LG 31 /* Computation Mode (0=32-bit, 1=64-bit) */ [all …]
|
/openbmc/linux/drivers/hid/surface-hid/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 15 by the Surface Aggregator Module (i.e. the embedded controller) on 16 7th-generation Microsoft Surface devices, i.e. Surface Book 3 and 20 Say M or Y here, if you want support for integrated HID devices, i.e. 31 by the Surface Aggregator Module (i.e. the embedded controller) on
|
/openbmc/linux/sound/soc/codecs/ |
H A D | tas2781-comlib.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tas2781-lib.c -- TAS2781 Common functions for HDA and ASoC Audio drivers 7 // Author: Shenghao Ding <shenghao-ding@ti.com> 48 unsigned short chn, int book) in tasdevice_change_chn_book() argument 50 struct i2c_client *client = (struct i2c_client *)tas_priv->client; in tasdevice_change_chn_book() 53 if (chn < tas_priv->ndev) { in tasdevice_change_chn_book() 54 struct tasdevice *tasdev = &tas_priv->tasdevice[chn]; in tasdevice_change_chn_book() 55 struct regmap *map = tas_priv->regmap; in tasdevice_change_chn_book() 57 if (client->addr != tasdev->dev_addr) { in tasdevice_change_chn_book() 58 client->addr = tasdev->dev_addr; in tasdevice_change_chn_book() [all …]
|
/openbmc/linux/Documentation/arch/s390/ |
H A D | monreader.rst | 5 Date : 2004-Nov-26 22 order to allow IUCV connections to the `*MONITOR` service, i.e. it needs the 30 location of the monitor DCSS with the Class E privileged CP command Q NSS MAP 33 See also "CP Command and Utility Reference" (SC24-6081-00) for more information 35 and Administration" (SC24-6116-00) for more information on DCSSes. 38 ----------- 50 ----------- 73 there are other users already connected to the `*MONITOR` service (e.g. 75 the same DCSS. The CP command Q MONITOR (Class E privileged) shows the name 78 Refer to the "z/VM Performance" book (SC24-6109-00) on how to create a monitor [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mfd/ |
H A D | netronix,ntxec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net> 13 This EC is found in e-book readers of multiple brands (e.g. Kobo, Tolino), and 22 - description: The I2C address of the EC 24 system-power-controller: 26 description: See Documentation/devicetree/bindings/power/power-controller.txt 33 "#pwm-cells": 39 - 0: The PWM channel controlled by registers 0xa1-0xa7 [all …]
|
/openbmc/linux/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-85xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 - PRESENT *must* be in the bottom two bits because swap PTEs use 19 /* Definitions for FSL Book-E Cores */ 27 #define _PAGE_ENDIAN 0x00040 /* H: E bit */
|
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/ |
H A D | powerpc_change-the-memory-size-limit.patch | 16 Upstream-Status: Pending 18 Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> 20 --- 21 kexec/arch/ppc/kexec-ppc.h | 2 +- 22 1 file changed, 1 insertion(+), 1 deletion(-) 24 diff --git a/kexec/arch/ppc/kexec-ppc.h b/kexec/arch/ppc/kexec-ppc.h 26 --- a/kexec/arch/ppc/kexec-ppc.h 27 +++ b/kexec/arch/ppc/kexec-ppc.h 28 @@ -44,7 +44,7 @@ void dol_ppc_usage(void); 30 * it. On Book-E that is 64MiB, 601 24MiB or 256MiB (if possible). [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/kexec/kexec-tools/ |
H A D | 0001-powerpc-change-the-memory-size-limit.patch | 16 Upstream-Status: Pending 18 Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> 19 --- 20 kexec/arch/ppc/kexec-ppc.h | 2 +- 21 1 file changed, 1 insertion(+), 1 deletion(-) 23 diff --git a/kexec/arch/ppc/kexec-ppc.h b/kexec/arch/ppc/kexec-ppc.h 25 --- a/kexec/arch/ppc/kexec-ppc.h 26 +++ b/kexec/arch/ppc/kexec-ppc.h 27 @@ -44,7 +44,7 @@ void dol_ppc_usage(void); 29 * it. On Book-E that is 64MiB, 601 24MiB or 256MiB (if possible). [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | ipsec.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 2.2. Non-Expansion Policy 21 payload, the IP datagram MUST be sent in the original non-compressed 22 form. To clarify: If an IP datagram is sent non-compressed, no 35 Current IPComp implementation is indeed by the book, while as in practice 36 when sending non-compressed packet to the peer (whether or not packet len 39 matches the selector but not coming from any XFRM layer, i.e., with no
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/ |
H A D | acinclude.m4 | 1 dnl AX_KERNEL_OPTION(option, action-if-found, action-if-not-found) 5 CFLAGS="-I$KINC -O2 -D__KERNEL__" 18 if test ! -f $KINC/linux/autoconf.h; then 22 dnl --- Get Linux kernel version and compile parameters --- 26 dnl it's like this to handle mandrake's fubar version.h - bug #471448 27 eval KVERS=`gcc -I$KINC -E -dM $KINC/linux/version.h | grep -w UTS_RELEASE | awk '{print $[]3}'` 40 if test -f $KINC/linux/spinlock.h; then 41 EXTRA_CFLAGS_MODULE="$EXTRA_CFLAGS_MODULE -DHAVE_LINUX_SPINLOCK_HEADER" 48 gcc -I$KINC -E $KINC/linux/mc146818rtc.h | grep rtc_lock >/dev/null 49 if test "$?" -eq 0; then [all …]
|