/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 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 …]
|
/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/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 65 * Note: Book E and 4xx processors differ from other PowerPC processors 67 * transition for Book E/4xx, but on the 0 to -1 transition for others. 74 mtspr(SPRN_DEC, val - 1); in set_dec() 79 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 …]
|
/linux/sound/soc/codecs/ |
H A D | tas2781-comlib.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright 2023 - 2024 Texas Instruments, Inc. 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 …]
|
/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
|
/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/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 */ 56 #include <asm/pgtable-masks.h>
|
/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/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/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/drivers/gpu/drm/ |
H A D | drm_panel_orientation_quirks.c | 1 /* SPDX-License-Identifier: MIT */ 3 * drm_panel_orientation_quirks.c -- Quirks for non-normal panel orientation 157 }, { /* Acer Switch V 10 (SW5-017) */ 160 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "SW5-017"), 227 /* Above matches are too generic, add bios-date match */ 260 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1619-01"), 265 * it seems, devices with a board-vendor of "AMI Corporation" 266 * are quite rare, as are devices which have both board- *and* 267 * product-id set to "Default String" 303 DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "G1618-03") [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()
|