| /linux/drivers/media/usb/dvb-usb/ |
| H A D | dvb-usb-remote.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* dvb-usb-remote.c is part of the DVB USB library. 4 * Copyright (C) 2004-6 Patrick Boettcher (patrick.boettcher@posteo.de) 5 * see dvb-usb-init.c for copyright information. 7 …* This file contains functions for initializing the input-device and for handling remote-control-q… 9 #include "dvb-usb-common.h" 20 if (ke->flags & INPUT_KEYMAP_BY_INDEX) { in legacy_dvb_usb_get_keymap_index() 21 index = ke->index; in legacy_dvb_usb_get_keymap_index() 49 struct rc_map_table *keymap = d->props.rc.legacy.rc_map_table; in legacy_dvb_usb_getkeycode() 50 unsigned int keymap_size = d->props.rc.legacy.rc_map_size; in legacy_dvb_usb_getkeycode() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | w83791d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf 22 - Frodo Looijaard <frodol@dds.nl>, 23 - Philip Edelbrock <phil@netroedge.com>, 24 - Mark Studebaker <mdsxyz123@yahoo.com> 28 - Shane Huang (Winbond), 29 - Rudolf Marek <r.marek@assembler.cz> 33 - Sven Anders <anders@anduras.de> 34 - Marc Hulsman <m.hulsman@tudelft.nl> 37 ----------------- [all …]
|
| /linux/drivers/pci/msi/ |
| H A D | api.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * PCI MSI/MSI-X — Exported APIs for device drivers 5 * Copyright (C) 2003-2004 Intel 17 * pci_enable_msi() - Enable MSI interrupt mode on device 20 * Legacy device driver API to enable MSI interrupts mode on device and 22 * Linux IRQ will be saved at @dev->irq. The driver must invoke 40 * pci_disable_msi() - Disable MSI interrupt mode on device 43 * Legacy device driver API to disable MSI interrupt mode on device, 45 * The PCI device Linux IRQ (@dev->irq) is restored to its default 46 * pin-assertion IRQ. This is the cleanup pair of pci_enable_msi(). [all …]
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bios.c | 2 * Copyright 2005-2006 Erik Waling 4 * Copyright 2007-2009 Stuart Bennett 33 #include <linux/io-mapping.h> 43 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg) 69 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 75 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 77 if (bios->major_version < 5) { in clkcmptable() 78 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 79 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() 81 scriptptr = ROM16(bios->data[clktable + 2 + compare_record_len * i]); in clkcmptable() [all …]
|
| /linux/Documentation/PCI/endpoint/ |
| H A D | pci-test-function.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Traditionally PCI RC has always been validated by using standard 11 However with the addition of EP-core in linux kernel, it is possible 12 to configure a PCI controller that can operate in EP mode to work as 19 The PCI endpoint test device has the following registers: 44 Bit 0 raise legacy IRQ 46 Bit 2 raise MSI-X IRQ 82 This register contains the interrupt type (Legacy/MSI) triggered 83 for the READ/WRITE/COPY and raise IRQ (Legacy/MSI) commands. 88 Legacy 0 [all …]
|
| /linux/arch/mips/kernel/ |
| H A D | fpu-probe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1994 - 2006 Ralf Baechle 16 #include <asm/cpu-features.h> 17 #include <asm/cpu-type.h> 22 #include "fpu-probe.h" 39 * Check if the CPU has an external FPU. 53 fcsr = c->fpu_csr31; in cpu_set_fpu_fcsr_mask() 71 c->fpu_msk31 = ~(fcsr0 ^ fcsr1) & ~mask; in cpu_set_fpu_fcsr_mask() 80 if (c->isa_level & (MIPS_CPU_ISA_M32R1 | MIPS_CPU_ISA_M64R1 | in cpu_set_fpu_2008() 109 if (c->isa_level & (MIPS_CPU_ISA_M32R2 | in cpu_set_fpu_2008() [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | ice.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. 83 writel((val), (engine)->base + (reg)) 86 readl((engine)->base + (reg)) 105 struct device *dev = ice->dev; in qcom_ice_check_supported() 131 * v3.2.1 and later have HWKM v2. ICE v3.2.0 has HWKM v1. Earlier ICE in qcom_ice_check_supported() 135 * effectively makes the earliest supported SoC be SM8650, which has in qcom_ice_check_supported() 139 * Also, since HWKM and legacy mode are mutually exclusive, and in qcom_ice_check_supported() 140 * ICE-capable storage driver(s) need to know early on whether to in qcom_ice_check_supported() 149 ice->use_hwkm = true; in qcom_ice_check_supported() [all …]
|
| /linux/Documentation/arch/arm64/ |
| H A D | legacy_instructions.rst | 2 Legacy instructions 11 The emulation mode can be controlled by writing to sysctl nodes 13 behaviours and the corresponding values of the sysctl nodes - 24 Uses software emulation. To aid migration of software, in this mode 38 The default mode depends on the status of the instruction in the 45 Supported legacy instructions 46 ----------------------------- 66 for this feature to be enabled. If a new CPU - which doesn't support mixed 67 endian - is hotplugged in after this feature has been enabled, there could
|
| /linux/drivers/firmware/arm_scmi/transports/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 This declares whether at least one SCMI transport has been configured. 52 bool "Enable atomic mode support for SCMI SMC transport" 58 mode, avoiding any kind of sleeping behaviour for selected 60 Enabling atomic mode operations allows any SCMI driver using this 62 in atomic context too, at the price of using a number of busy-waiting 66 tristate "SCMI transport based on OP-TEE service" 73 This enables the OP-TEE service based transport for SCMI. 76 transport based on OP-TEE SCMI service, answer Y. 101 with Legacy VirtIO backends and instead support only VirtIO Version 1 [all …]
|
| /linux/arch/arm/mach-imx/ |
| H A D | mach-imx51.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * The MIPI HSC unit has been removed from the i.MX51 Reference Manual by 34 /* setup MIPI module to legacy mode */ in imx51_ipu_mipi_setup() 37 /* CSI mode: reserved; DI control mode: legacy (from Freescale BSP) */ in imx51_ipu_mipi_setup() 48 np = of_find_compatible_node(NULL, NULL, "fsl,imx51-m4if"); in imx51_m4if_setup() 76 imx_aips_allow_unprivileged_access("fsl,imx51-aipstz"); in imx51_dt_init()
|
| /linux/arch/powerpc/platforms/chrp/ |
| H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 19 #include <asm/pci-bridge.h> 30 * The VLSI Golden Gate II has only 512K of PCI configuration space, so we 40 if (bus->number > 7) in gg2_read_config() 43 * Note: the caller has already checked that off is in gg2_read_config() 46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config() 67 if (bus->number > 7) in gg2_write_config() 70 * Note: the caller has already checked that off is in gg2_write_config() 73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config() 102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config() [all …]
|
| /linux/arch/x86/kernel/fpu/ |
| H A D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #include "legacy.h" 55 /* Start allowing kernel-mode FPU: */ in fpu__init_cpu() 108 /* Static because GCC does not get 16-byte stack alignment right: */ in fpu__init_system_mxcsr() 117 * which has all features set, except the in fpu__init_system_mxcsr() 118 * denormals-are-zero feature bit: in fpu__init_system_mxcsr() 132 * Set up the legacy init FPU context. Will be updated when the in fpu__init_system_generic() 161 * It potentially has a bunch of padding. in fpu__init_task_struct_size() 163 task_size -= sizeof(union fpregs_state); in fpu__init_task_struct_size() 166 * Add back the dynamically-calculated register state in fpu__init_task_struct_size() [all …]
|
| /linux/Documentation/devicetree/bindings/i3c/ |
| H A D | i3c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 11 - Miquel Raynal <miquel.raynal@bootlin.com> 20 pattern: "^i3c@[0-9a-f]+$" 22 "#address-cells": 35 this I3C device has a static I2C address and we want to assign it a 39 "#size-cells": 42 i3c-scl-hz: [all …]
|
| /linux/Documentation/timers/ |
| H A D | hpet.rst | 8 Each HPET has one fixed-rate counter (at 10+ MHz, hence "High Precision") 10 each of which can generate oneshot interrupts and at least one of which has 15 HPET devices can support two interrupt routing modes. In one mode, the 18 prevents use of that mode. They support the other "legacy replacement" 19 mode where the first two comparators block interrupts from 8254 timers
|
| /linux/drivers/ata/ |
| H A D | pata_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pata-legacy.c - Legacy port PATA/SATA controller driver. 6 * An ATA driver for the legacy ATA ports. 9 * Opti 82C465/82C611 support: Data sheets at opti-inc.com 19 * QDI65x0 probe code based on drivers/ide/legacy/qd65xx.c 21 * Samuel Thibault <samuel.thibault@ens-lyon.org> 26 * This driver handles legacy (that is "ISA/VLB side") IDE ports found 34 * Support for the Winbond 83759A when operating in advanced mode. 35 * Multichip mode is not currently supported. 39 * Use the jumpers, autospeed and set pio_mask to the mode on the jumpers with [all …]
|
| /linux/arch/x86/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 bool "64-bit kernel" if "$(ARCH)" = "x86" 7 Say yes to build a 64-bit kernel - formerly known as x86_64 8 Say no to build a 32-bit kernel - formerly known as i386 13 # Options that are inherently 32-bit kernel only: 26 # Options that are inherently 64-bit kernel only: 56 # ported to 32-bit as well. ) 158 # Word-size accesses may read uninitialized data past the trailing \0 342 default "elf32-i386" if X86_32 343 default "elf64-x86-64" if X86_64 [all …]
|
| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | nvidia,tegra20-usb-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/nvidia,tegra20-usb-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dmitry Osipenko <digetx@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 12 - Thierry Reding <thierry.reding@gmail.com> 17 - items: 18 - enum: 19 - nvidia,tegra124-usb-phy [all …]
|
| /linux/include/drm/ |
| H A D | drm_mode_config.h | 42 * struct drm_mode_config_funcs - basic driver provided mode setting functions 44 * Some global (i.e. not per-CRTC, connector, etc) mode setting functions that 59 * ie. when (@mode_cmd->flags & DRM_MODE_FB_MODIFIERS) == 0. 61 * IMPORTANT: These implied modifiers for legacy userspace must be 70 * driver-specific information (like the internal native buffer object 110 const struct drm_display_mode *mode); 120 * - Checking that the modes, framebuffers, scaling and placement 123 * - Checking that any hidden shared resources are not oversubscribed. 128 * - Checking that virtualized resources exported to userspace are not 131 * example is dual-pipe operations (which generally should be hidden [all …]
|
| H A D | drm_vblank.h | 40 * struct drm_pending_vblank_event - pending vblank event tracking 69 * generated by the legacy WAIT_VBLANK IOCTL, but new userspace 82 * struct drm_vblank_crtc_config - vblank configuration for a CRTC 107 * struct drm_vblank_crtc - vblank tracking for a CRTC 111 * Note that for historical reasons - the vblank handling code is still shared 112 * with legacy/non-kms drivers - this is a free-standing structure not directly 172 * will result in a wrap-around of the vblank register. It is used 173 * by the vblank core to handle wrap-arounds. 177 * high-precision timestamps. That approach is suffering from small 181 * This is the runtime configurable per-crtc maximum set through [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
| H A D | commands.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2023-2025 Intel Corporation 7 * Please use iwl-xxxx-hw.h for hardware-related definitions. 29 /* Multi-Station support */ 93 /* RF-KILL commands and notifications */ 138 * - 4 standard TX queues 139 * - the command queue 140 * - 4 PAN TX queues 141 * - the PAN multicast queue, and 142 * - the AUX (TX during scan dwell) queue. [all …]
|
| H A D | rs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright(c) 2003 - 2014, 2023 Intel Corporation. All rights reserved. 12 #include "iwl-config.h" 49 IWL_RATE_COUNT_LEGACY = IWL_RATE_COUNT - 1, /* Excluding 60M */ 67 IWL_RATE_INVM_INDEX_TABLE = IWL_RATE_INVM_INDEX - 1, 92 /* uCode API values for legacy bit rates, both OFDM and CCK */ 111 /* uCode API values for OFDM high-throughput (HT) bit rates */ 159 #define IWL_RATES_MASK ((1 << IWL_RATE_COUNT) - 1) 161 #define IWL_INVALID_VALUE -1 163 #define IWL_MIN_RSSI_VAL -100 [all …]
|
| /linux/Documentation/devicetree/bindings/net/dsa/ |
| H A D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 18 PHY it is connected to. In this config, an internal mdio-bus is registered and 20 mdio-bus configurations are not supported by the hardware. 21 Each phy has at most 3 LEDs connected and can be declared 27 - enum: [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | 4965-rs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 8 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 25 #define IL4965_RS_NAME "iwl-4965-rs" 51 /*ANT_NONE -> */ ANT_NONE, 52 /*ANT_A -> */ ANT_B, 53 /*ANT_B -> */ ANT_C, 54 /*ANT_AB -> */ ANT_BC, 55 /*ANT_C -> */ ANT_A, 56 /*ANT_AC -> */ ANT_AB, [all …]
|
| H A D | commands.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 92 /* Multi-Station support */ 138 /* RF-KILL commands and notifications */ 184 * when sending the response to each driver-originated command, so 196 * 0:7 tfd idx - position within TX queue 199 * 14 huge - driver sets this to indicate command is in the 201 * 15 unsolicited RX or uCode-originated notification 212 * 1) DSP gain (or sometimes called DSP attenuation). This is a fine-grained [all …]
|
| /linux/Documentation/driver-api/ |
| H A D | libata.rst | 12 transports for ATA and ATAPI devices, and SCSI<->ATA translation for ATA 16 internals, and a couple sample ATA low-level drivers. 22 is defined for every low-level libata 23 hardware driver, and it controls how the low-level driver interfaces 26 FIS-based drivers will hook into the system with ``->qc_prep()`` and 27 ``->qc_issue()`` high-level hooks. Hardware which behaves in a manner 33 ---------------------------------------------------------- 35 Post-IDENTIFY device configuration 44 Typically used to apply device-specific fixups prior to issue of SET 45 FEATURES - XFER MODE, and prior to operation. [all …]
|