| /kernel/linux/linux-6.6/drivers/platform/surface/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/driver-api/surface_aggregator/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
| 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-book3e.h> 16 #include <asm/nohash/32/mmu-8xx.h>
|
| D | mmu-book3e.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.) 310 * 64-bit booke platforms don't load the tlb in the tlb miss handler code. 311 * HUGETLB_NEED_PRELOAD handles this - it causes huge_ptep_set_access_flags to
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/ |
| 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>
|
| 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
|
| /kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
| 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()
|
| 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 …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
| D | time.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 82 * in auto-reload mode. The problem is PIT stops counting when it 94 * Note: Book E and 4xx processors differ from other PowerPC processors 96 * transition for Book E/4xx, but on the 0 to -1 transition for others. 105 mtspr(SPRN_DEC, val - 1); in set_dec() 110 return mftb() - tstamp; in tb_ticks_since()
|
| D | page.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 #include <asm/asm-const.h> 38 #define HPAGE_MASK (~(HPAGE_SIZE - 1)) 39 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT) 40 #define HUGE_MAX_HSTATE (MMU_PAGE_COUNT-1) 46 * (i.e. with 1s in the high bits) 48 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1)) 66 * KERNELBASE - PAGE_OFFSET = PHYSICAL_START - MEMORY_START 71 * va = pa + PAGE_OFFSET - MEMORY_START 72 * va = pa + KERNELBASE - PHYSICAL_START [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/hid/surface-hid/ |
| 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
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/s390/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/arch/s390/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 113 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify() 116 dev_info_ratelimited(&device->dev, in surface_button_notify() 120 input = button->input; in surface_button_notify() 124 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify() 125 if (button->suspended) in surface_button_notify() 137 button->suspended = true; in surface_button_suspend() 146 button->suspended = false; in surface_button_resume() 152 * Surface Pro 4 and Surface Book 2 / Surface Pro 2017 use the same device 156 * Returns true if the driver should bind to this device, i.e. the device is [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| 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 …]
|
| /kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/32/ |
| 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 */
|