/linux/arch/riscv/kernel/ |
H A D | vendor_extensions.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 * __riscv_isa_vendor_extension_available() - Check whether given vendor 23 * extension is available or not. 25 * @cpu: check if extension is available on this cpu 26 * @vendor: vendor that the extension is a member of 27 * @bit: bit position of the desired extension 30 * NOTE: When cpu is -1, will check if extension is available on all cpus 32 bool __riscv_isa_vendor_extension_available(int cpu, unsigned long vendor, unsigned int bit) in __riscv_isa_vendor_extension_available() argument 37 switch (vendor) { in __riscv_isa_vendor_extension_available() 48 if (cpu != -1) in __riscv_isa_vendor_extension_available() [all …]
|
H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <asm/text-patching.h> 30 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 39 /* Per-cpu ISA extensions. */ 43 * riscv_isa_extension_base() - Get base extension word 46 * Return: base extension word as unsigned long value 59 * __riscv_isa_extension_available() - Check whether given extension 63 * @bit: bit position of the desired extension 83 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 84 return -EINVAL; in riscv_ext_zicbom_validate() [all …]
|
/linux/arch/riscv/include/asm/ |
H A D | vendor_extensions.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 * The extension keys of each vendor must be strictly less than this value. 36 * The alternatives need some way of distinguishing between vendor extensions 37 * and errata. Incrementing all of the vendor extension keys so they are at 42 #define VENDOR_EXT_ALL_CPUS -1 44 bool __riscv_isa_vendor_extension_available(int cpu, unsigned long vendor, unsigned int bit); 45 #define riscv_cpu_isa_vendor_extension_available(cpu, vendor, ext) \ argument 46 __riscv_isa_vendor_extension_available(cpu, vendor, RISCV_ISA_VENDOR_EXT_##ext) 47 #define riscv_isa_vendor_extension_available(vendor, ext) \ argument 48 __riscv_isa_vendor_extension_available(VENDOR_EXT_ALL_CPUS, vendor, \ [all …]
|
/linux/drivers/hid/ |
H A D | hid-wiimote-modules.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> 19 * re-detection which causes all modules to be unloaded and then reload the 22 * wdata->input is a shared input device. It is always initialized prior to 37 #include "hid-wiimote.h" 64 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_LEFT], in wiimod_keys_in_keys() 66 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_RIGHT], in wiimod_keys_in_keys() 68 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_DOWN], in wiimod_keys_in_keys() 70 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_UP], in wiimod_keys_in_keys() 72 input_report_key(wdata->input, wiimod_keys_map[WIIPROTO_KEY_PLUS], in wiimod_keys_in_keys() [all …]
|
H A D | hid-wiimote-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 2011-2013 David Herrmann <dh.herrmann@gmail.com> 17 #include "hid-ids.h" 18 #include "hid-wiimote.h" 28 if (!hdev->ll_driver->output_report) in wiimote_hid_send() 29 return -ENODEV; in wiimote_hid_send() 33 return -ENOMEM; in wiimote_hid_send() 50 spin_lock_irqsave(&wdata->queue.lock, flags); in wiimote_queue_worker() 52 while (wdata->queue.head != wdata->queue.tail) { in wiimote_queue_worker() 53 spin_unlock_irqrestore(&wdata->queue.lock, flags); in wiimote_queue_worker() [all …]
|
/linux/fs/exfat/ |
H A D | exfat_raw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) 2012-2013 Samsung Electronics Co., Ltd. 27 ((sbi)->num_clusters - EXFAT_RESERVED_CLUSTERS) 54 #define EXFAT_VENDOR_EXT 0xE0 /* vendor extension entry */ 55 #define EXFAT_VENDOR_ALLOC 0xE1 /* vendor allocation entry */ 86 #define EXFAT_MAX_SECT_PER_CLUS_BITS(x) (25 - (x)->sect_size_bits) 144 } __packed stream; /* stream extension directory entry */ 161 } __packed upcase; /* up-case table directory entry */ 166 } __packed vendor_ext; /* vendor extension directory entry */ 173 } __packed vendor_alloc; /* vendor allocation directory entry */
|
/linux/arch/x86/kernel/ |
H A D | probe_roms.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include <asm/pci-direct.h> 34 .name = "Extension ROM", 82 static bool match_id(struct pci_dev *pdev, unsigned short vendor, unsigned short device) in match_id() argument 84 struct pci_driver *drv = to_pci_driver(pdev->dev.driver); in match_id() 87 if (pdev->vendor == vendor && pdev->device == device) in match_id() 90 for (id = drv ? drv->id_table : NULL; id && id->vendor; id++) in match_id() 91 if (id->vendor == vendor && id->device == device) in match_id() 94 return id && id->vendor; in match_id() 97 static bool probe_list(struct pci_dev *pdev, unsigned short vendor, in probe_list() argument [all …]
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_kunit_edid.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 * edid-decode (hex): 18 * ---------------- 22 * Vendor & Product Identification: 46 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz 65 * edid-decode (hex): 85 * ---------------- 89 * Vendor & Product Identification: 114 * Monitor ranges (GTF): 50-70 Hz V, 30-70 kHz H, max dotclock 150 MHz 116 * Extension blocks: 1 [all …]
|
/linux/drivers/media/pci/saa7146/ |
H A D | hexium_orion.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 hexium_orion.c - v4l2 driver for the Hexium Orion frame grabber cards 16 #include <media/drv-intf/saa7146_vv.h> 197 /* this is only called for old HV-PCI6/Orion cards 208 if (0 == dev->revision) { in hexium_probe() 209 return -EFAULT; in hexium_probe() 214 return -ENOMEM; in hexium_probe() 216 /* enable i2c-port pins */ in hexium_probe() 223 strscpy(hexium->i2c_adapter.name, "hexium orion", in hexium_probe() 224 sizeof(hexium->i2c_adapter.name)); in hexium_probe() [all …]
|
/linux/Documentation/userspace-api/media/drivers/ |
H A D | uvcvideo.rst | 1 .. SPDX-License-Identifier: GPL-2.0 6 This file documents some driver-specific aspects of the UVC driver, such as 7 driver-specific ioctls and implementation notes. 10 linux-media@vger.kernel.org. 13 Extension Unit (XU) support 14 --------------------------- 19 The UVC specification allows for vendor-specific extensions through extension 20 units (XUs). The Linux UVC driver supports extension unit controls (XU controls) 23 - through mappings of XU controls to V4L2 controls 24 - through a driver-specific ioctl interface [all …]
|
/linux/drivers/firmware/arm_scmi/vendors/imx/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "ARM SCMI NXP i.MX Vendor Protocols" 5 tristate "i.MX SCMI BBM EXTENSION" 13 module will be called imx-sm-bbm. 16 tristate "i.MX SCMI MISC EXTENSION" 25 module will be called imx-sm-misc.
|
/linux/net/bluetooth/ |
H A D | aosp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 49 if (!hdev->aosp_capable) in aosp_do_open() 52 bt_dev_dbg(hdev, "Initialize AOSP extension"); in aosp_do_open() 54 /* LE Get Vendor Capabilities Command */ in aosp_do_open() 59 skb = ERR_PTR(-EIO); in aosp_do_open() 61 bt_dev_err(hdev, "AOSP get vendor capabilities (%ld)", in aosp_do_open() 67 if (skb->len < VENDOR_CAPA_BASE_SIZE) in aosp_do_open() 70 rp = (struct aosp_rp_le_get_vendor_capa *)skb->data; in aosp_do_open() 72 version_supported = le16_to_cpu(rp->version_supported); in aosp_do_open() 89 if (skb->len < VENDOR_CAPA_0_98_SIZE) in aosp_do_open() [all …]
|
H A D | msft.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #define MSFT_RSSI_THRESHOLD_VALUE_MIN -127 150 skb = __hci_cmd_sync(hdev, hdev->msft_opcode, sizeof(cp), &cp, in read_supported_features() 158 if (skb->len < sizeof(*rp)) { in read_supported_features() 163 rp = (struct msft_rp_read_supported_features *)skb->data; in read_supported_features() 165 if (rp->sub_opcode != MSFT_OP_READ_SUPPORTED_FEATURES) in read_supported_features() 168 if (rp->evt_prefix_len > 0) { in read_supported_features() 169 msft->evt_prefix = kmemdup(rp->evt_prefix, rp->evt_prefix_len, in read_supported_features() 171 if (!msft->evt_prefix) in read_supported_features() 175 msft->evt_prefix_len = rp->evt_prefix_len; in read_supported_features() [all …]
|
/linux/Documentation/firmware-guide/acpi/apei/ |
H A D | einj.rst | 1 .. SPDX-License-Identifier: GPL-2.0 15 which shows that the BIOS is exposing an EINJ table - it is the 43 - available_error_type 51 0x00000002 Processor Uncorrectable non-fatal 54 0x00000010 Memory Uncorrectable non-fatal 57 0x00000080 PCI Express Uncorrectable non-fatal 60 0x00000400 Platform Uncorrectable non-fatal 67 - error_type 72 - error_inject 78 - flags [all …]
|
/linux/Documentation/arch/riscv/ |
H A D | hwprobe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 RISC-V Hardware Probing Interface 4 --------------------------------- 6 The RISC-V hardware probing interface is based around a single syscall, which 18 The arguments are split into three groups: an array of key-value pairs, a CPU 19 set, and some flags. The key-value pairs are supplied with a count. Userspace 22 will be cleared to -1, and its value set to 0. The CPU set is defined by 23 CPU_SET(3) with size ``cpusetsize`` bytes. For value-like keys (eg. vendor, 25 have the same value. Otherwise -1 will be returned. For boolean-like keys, the 33 by sys_riscv_hwprobe() to only those which match each of the key-value pairs. [all …]
|
/linux/drivers/platform/loongarch/ |
H A D | Kconfig | 11 LoongArch platforms, including vendor-specific laptop/desktop 12 extension and hardware monitor drivers. This option itself does 20 tristate "Generic Loongson-3 Laptop Driver" 29 ACPI-based Loongson-3 family laptops generic driver.
|
/linux/Documentation/devicetree/bindings/nvmem/layouts/ |
H A D | onie,tlv-layout.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/nvmem/layouts/onie,tlv-layout.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Miquel Raynal <miquel.raynal@bootlin.com> 14 infrastructure shall provide a non-volatile memory with a table whose the 26 const: onie,tlv-layout 28 product-name: 32 part-number: 36 serial-number: [all …]
|
/linux/drivers/platform/mips/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 MIPS platforms, including vendor-specific netbook/laptop/desktop 13 extension and hardware monitor drivers. This option itself does 21 bool "Loongson-3 CPU HWMon Driver" 26 Loongson-3A/3B CPU Hwmon (temperature sensor) driver. 35 bool "Loongson-2K1000 Reset Controller" 38 Loongson-2K1000 Reset Controller driver.
|
/linux/Documentation/admin-guide/media/ |
H A D | pci-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 - Vendor ID and device ID; 10 - Subsystem ID and Subsystem device ID; 12 The ``lspci -nn`` command allows identifying the vendor/device PCI IDs: 14 .. code-block:: none 15 :emphasize-lines: 3 17 $ lspci -nn 23 …02:02.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Enco… 27 The subsystem IDs can be obtained using ``lspci -vn`` 29 .. code-block:: none [all …]
|
/linux/Documentation/devicetree/bindings/firmware/ |
H A D | nxp,imx95-scmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/firmware/nxp,imx95-scmi.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: i.MX95 System Control and Management Interface(SCMI) Vendor Protocols Extension 11 - Peng Fan <peng.fan@nxp.com> 15 $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node' 23 $ref: '/schemas/firmware/arm,scmi.yaml#/$defs/protocol-node' 30 nxp,ctrl-ids: 35 - description: the ctrl id index [all …]
|
/linux/Documentation/devicetree/bindings/riscv/ |
H A D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <paul.walmsley@sifive.com> 11 - Palmer Dabbelt <palmer@sifive.com> 12 - Conor Dooley <conor@kernel.org> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 17 are "vendor" extensions. [all …]
|
/linux/tools/arch/x86/kcpuid/ |
H A D | cpuid.csv | 1 # SPDX-License-Identifier: CC0-1.0 2 # Generator: x86-cpuid-db v1.0 5 # Auto-generated file. 6 # Please submit all updates and bugfixes to https://x86-cpuid.org 13 # Maximum standard leaf number + CPU vendor string 16 0, 0, ebx, 31:0, cpu_vendorid_0 , CPU vendor ID string bytes 0 - 3 17 0, 0, ecx, 31:0, cpu_vendorid_2 , CPU vendor ID string bytes 8 - 11 18 0, 0, edx, 31:0, cpu_vendorid_1 , CPU vendor ID string bytes 4 - 7 35 1, 0, ecx, 2, dtes64 , 64-bit DS save area 49 1, 0, ecx, 17, pcid , Process-context identifiers [all …]
|
/linux/Documentation/input/devices/ |
H A D | xpad.rst | 2 xpad - Linux USB driver for Xbox compatible controllers 5 This driver exposes all first-party and third-party Xbox compatible 16 the Xbox One's rumble protocol has not been reverse-engineered but in 25 - if you are using a known controller 26 - if you are using a known dance pad 27 - if using an unknown device (one not listed below), what you set in the 28 module configuration for "Map D-PAD to buttons rather than axes for unknown 33 If you said Y it will map the d-pad to buttons, which is needed for dance 43 ------------------ 46 The jstest-program from joystick-1.2.15 (jstest-version 2.1.0) will report 8 [all …]
|
/linux/tools/perf/pmu-events/ |
H A D | README | 9 tree tools/perf/pmu-events/arch/foo. 11 - Regular files with '.json' extension in the name are assumed to be 14 - The CSV file that maps a specific CPU to its set of PMU events is to 17 - Directories are traversed, but all other files are ignored. 19 - To reduce JSON event duplication per architecture, platform JSONs may 26 such as Pipelining, Cache, Memory, Floating-point etc. All events for a topic 27 should be placed in a separate JSON file - where the file name identifies 28 the topic. Eg: "Floating-point.json". 33 $ ls tools/perf/pmu-events/arch/x86/silvermont 34 cache.json memory.json virtual-memory.json [all …]
|
/linux/drivers/net/ethernet/alacritech/ |
H A D | slic.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/dma-mapping.h> 133 * 31-8 - phy addr of set of contiguous hdr buffers 134 * 7-0 - number of buffers passed 135 * Buffers are 256 bytes long on 256-byte boundaries. 144 * 31-5 - phy addr of host command buffer 145 * 4-0 - length of cmd in multiples of 32 bytes 152 * 31-8 - phy addr of set of contiguous response buffers 153 * 7-0 - number of buffers passed 154 * Buffers are 32 bytes long on 32-byte boundaries. [all …]
|