| /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> 23 /* -- Device registry. ------------------------------------------------------ */ 28 * function, each encoded as two-digit hexadecimal, separated by ':'. In other 33 * Where, 'dd', 'cc', 'tt', 'ii', and 'ff' are the two-digit hexadecimal 44 .name = "ssam:00:00:01:0e:00", 48 /* Base device hub (devices attached to Surface Book 3 base). */ 66 /* Secondary battery (Surface Book 3). */ [all …]
|
| H A D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 120 input = button->input; in surface_button_notify() 124 pm_wakeup_dev_event(dev, 0, button->suspended); in surface_button_notify() 125 if (button->suspended) in surface_button_notify() 136 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 155 * either MSWH0028 (Pro 3) or MSHW0040 on a Pro 4 or Book 1. 170 * that we have either MSHW0028 or MSHW0040 on Pro 4 or Book 1, so we in surface_button_check_MSHW0040() [all …]
|
| /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 …]
|
| /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 …]
|
| /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 …]
|
| /linux/arch/powerpc/include/asm/nohash/ |
| H A D | mmu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* 44x-style software loaded TLB */ 7 #include <asm/nohash/32/mmu-44x.h> 9 /* Freescale Book-E software loaded TLB or Book-3e (ISA 2.06+) MMU */ 10 #include <asm/nohash/mmu-e500.h> 13 #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 265 return -1; in shift_to_mmu_psize() 275 /* The page sizes use the same names as 64-bit hash but are 289 * Per-core spinlock for e6500 TLB handlers (no tlbsrx.) 306 * 64-bit booke platforms don't load the tlb in the tlb miss handler code. 307 * HUGETLB_NEED_PRELOAD handles this - it causes huge_ptep_set_access_flags to
|
| /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 …]
|
| /linux/sound/hda/codecs/side-codecs/ |
| H A D | tas2781_hda_spi.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2024 - 2026 Texas Instruments, Inc. 32 #include <sound/tas2781-tlv.h> 70 .reg_shift = -1, 83 * In our TAS2781 SPI mode, if read from other book (not book 0), in tasdevice_spi_dev_read() 84 * or read from page number larger than 1 in book 0, one more byte in tasdevice_spi_dev_read() 97 dev_err(tas_priv->de in tasdevice_spi_dev_read() 153 tasdevice_spi_change_chn_book(struct tasdevice_priv * p,unsigned short chn,int book) tasdevice_spi_change_chn_book() argument [all...] |
| /linux/arch/powerpc/include/asm/ |
| H A D | time.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 60 * in auto-reload mode. The problem is PIT stops counting when it 69 * Note: Book E and 4xx processors differ from other PowerPC processors 71 * transition for Book E/4xx, but on the 0 to -1 transition for others. 78 mtspr(SPRN_DEC, val - 1); in set_dec() 83 return mftb() - tstamp; in tb_ticks_since()
|
| /linux/drivers/hid/surface-hid/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0+ 14 by the Surface Aggregator Module (i.e. the embedded controller) on 15 7th-generation Microsoft Surface devices, i.e. Surface Book 3 and 19 Say M or Y here, if you want support for integrated HID devices, i.e. 30 by the Surface Aggregator Module (i.e. the embedded controller) on
|
| /linux/arch/s390/kernel/ |
| H A D | topology.c | 1 // SPDX-License-Identifier: GPL-2.0 57 * Socket/Book linked lists and cpu_topology updates are 78 if (cpumask_test_cpu(cpu, &info->mask)) { in cpu_group_map() 79 cpumask_copy(&mask, &info->mask); in cpu_group_map() 82 info = info->next; in cpu_group_map() 109 cpu -= cpu % (smp_cpu_mtid + 1); in cpu_thread_map() 110 max_cpu = min(cpu + smp_cpu_mtid, nr_cpu_ids - 1); in cpu_thread_map() 123 struct mask_info *book, in add_cpus_to_mask() argument 129 for_each_set_bit(core, &tl_core->mask, TOPOLOGY_CORE_BITS) { in add_cpus_to_mask() 133 rcore = TOPOLOGY_CORE_BITS - 1 - core + tl_core->origin; in add_cpus_to_mask() [all …]
|
| /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 …]
|
| /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 …]
|
| /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
|
| /linux/Documentation/arch/powerpc/ |
| H A D | kaslr-booke32.rst | 1 .. SPDX-License-Identifier: GPL-2.0 14 map or copy kernel to a proper place and relocate. Freescale Book-E 22 pass entropy via the /chosen/kaslr-seed node in device tree. 31 |--> 64M <--| 33 +---------------+ +----------------+---------------+ 35 +---------------+ +----------------+---------------+ 37 |-----> offset <-----|
|
| /linux/Documentation/sound/hd-audio/ |
| H A D | models.rst | 2 HD-Audio Codec-Specific Models 8 3-jack in back and a headphone out 9 3stack-digout 10 3-jack in back, a HP out and a SPDIF out 12 5-jack in back, 2-jack in front 13 5stack-digout 14 5-jack in back, 2-jack in front, a SPDIF out 16 6-jack in back, 2-jack in front 17 6stack-digout 18 6-jack with a SPDIF out [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | head_booke.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Macros used for common Book-e exception handling 32 * Note that entries 0-3 are used for the prolog code, and the remaining 63 lwz r11, TASK_STACK - THREAD(r10); \ 101 addi r2, r2, -THREAD 139 lwz r1, TASK_STACK - THREAD(r10) 141 ALLOC_STACK_FRAME(r1, THREAD_SIZE - INT_FRAME_SIZE) 148 /* To handle the additional exception priority levels on Book-E 155 * is necessary since the MMU is always on, for Book-E parts, and the stacks 161 * providing configurations that micro-optimize space usage. [all …]
|
| /linux/arch/x86/math-emu/ |
| H A D | reg_ld_str.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | E-mail billm@suburbia.net | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 33 #define DOUBLE_Emin (-1022) /* smallest valid exponent */ 37 #define SINGLE_Emin (-126) /* smallest valid exponent */ 59 if (!(ptr->sigh | ptr->sigl)) { in FPU_tagof() 62 /* The number is a de-normal or pseudodenormal. */ in FPU_tagof() [all …]
|
| /linux/Documentation/security/ |
| H A D | lsm.rst | 11 The APIs described in this book are outdated. 17 about Security-Enhanced Linux (SELinux) at the 2.5 Linux Kernel Summit. 18 SELinux is an implementation of flexible and fine-grained 21 projects (e.g. RSBAC, Medusa) have also developed flexible access 23 developed particular access control models for Linux (e.g. LIDS, DTE, 40 individuals, including Greg Kroah-Hartman and James Morris, to develop a 95 32-bit integer. The security modules are required to map or otherwise 125 The POSIX.1e capabilities logic is maintained as a security module
|
| /linux/drivers/media/rc/keymaps/ |
| H A D | rc-medion-x10-digitainer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 #include <media/rc-map.h> 22 { 0x16, KEY_TEXT }, /* "teletext" icon, i.e. a screen with lines */ 25 { 0x31, KEY_EPG }, /* a screen with an open book */ 30 /* 0x79..0x7f: 2-8 notches, driver repeats 0x78 entry */ 33 /* 0x71..0x77: 2-8 notches, driver repeats 0x70 entry */
|
| /linux/arch/powerpc/mm/ |
| H A D | init_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) 9 * PPC44x/36-bit changes by Matt Porter (mporter@mvista.com) 47 /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ 48 #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - PAGE_OFFSET)) 86 total_lowmem = total_memory = memblock_end_of_DRAM() - memstart_addr; in MMU_init() 90 /* Freescale Book-E parts expect lowmem to be mapped by fixed TLB in MMU_init() 115 /* Initialize early top-down ioremap allocator */ in MMU_init()
|
| /linux/Documentation/driver-api/surface_aggregator/clients/ |
| H A D | dtx.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 10 User-Space DTX (Clipboard Detachment System) Interface 14 and re-attachment handling. To this end, it provides the ``/dev/surface/dtx`` 15 device file, through which it can interface with a user-space daemon. This 18 unloading/reloading the graphics-driver, user-notifications, etc. 24 change. Commands are always driver-initiated, whereas events are always 33 The detachable upper part of the Surface Book, housing the screen and CPU. 36 The lower part of the Surface Book from which the clipboard can be 46 upon it, i.e. ignores it.e upper part of the 56 ------------ [all …]
|
| /linux/arch/arc/include/asm/ |
| H A D | mmu_context.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 6 * -Refactored get_new_mmu_context( ) to only handle live-mm. 7 * retiring-mm handled in other hooks 10 * -Major rewrite of Core ASID allocation routine get_new_mmu_context 21 #include <asm-generic/mm_hooks.h> 25 * MMU tags TLBs with an 8-bit ASID, avoiding need to flush the TLB on 26 * context-switch. 32 * Each task is assigned unique ASID, with a simple round-robin allocator 33 * tracked in @asid_cpu. When 8-bit value rolls over,a new cycle is started [all …]
|