| /linux/drivers/hid/ |
| H A D | hid-uclogic-params.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * HID driver for UC-Logic devices not fully compliant with HID standard 4 * - tablet initialization and parameter retrieval 26 /* Types of pen in-range reporting */ 28 /* Normal reports: zero - out of proximity, one - in proximity */ 30 /* Inverted reports: zero - in proximity, one - ou [all...] |
| /linux/drivers/video/ |
| H A D | aperture.c | 1 // SPDX-License-Identifier: MIT 21 * graphics drivers, such as EFI-GOP or VESA, early during the boot process. 23 * hardware-specific driver. To take over the device, the dedicated driver 25 * ownership of framebuffer memory and hand-over between drivers. 32 * .. code-block:: c 42 * return -ENODEV; 43 * base = mem->start; 61 * The given example reads the platform device's I/O-memory range from the 82 * .. code-block:: c 91 * return -ENODEV; [all …]
|
| /linux/tools/testing/selftests/tc-testing/creating-testcases/ |
| H A D | AddingTestCases.txt | 1 tdc - Adding test cases for tdc 3 Author: Lucas Bates - lucasb@mojatatu.com 6 ----------------- 8 User-defined tests should be added by defining a separate JSON file. This 12 Include the 'id' field, but do not assign a value. Running tdc with the -i 15 tdc will recursively search the 'tc-tests' subdirectory (or the 16 directories named with the -D option) for .json files. Any test case 19 tdc with the -f argument and the path to your file, or the -D argument 22 Be aware of required escape characters in the JSON data - particularly 30 ------------------- [all …]
|
| /linux/include/linux/ |
| H A D | hte.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * enum hte_edge - HTE line edge flags. 28 * enum hte_return - HTE subsystem return values used during callback. 41 * struct hte_ts_data - HTE timestamp data. 46 * -1 otherwise. 55 * struct hte_clk_info - Clock source info that HTE provider uses to timestamp. 66 * typedef hte_ts_cb_t - HTE timestamp data processing primary callback. 77 * typedef hte_ts_sec_cb_t - HTE timestamp data processing secondary callback. 88 * struct hte_line_attr - Line attributes. 93 * @name: Descriptive name of the entity that is being monitored for the [all …]
|
| H A D | lsm_hooks.h | 5 * Copyright (C) 2001 Greg Kroah-Hartman <greg@kroah.com> 10 * Copyright (C) 2015 Casey Schaufler <casey@schaufler-ca.com> 75 * struct lsm_id - Identify a Linux Security Module. 90 * struct security_hook_list - Contents of a cacheable, mappable object. 149 LSM_ORDER_FIRST = -1, /* This is only for capabilities. */ 155 * struct lsm_info - Define an individual LSM for the LSM framework. 158 * @flags: descriptive flags, optional 201 * lsm_get_xattr_slot - Return the next available slot and increment the index 202 * @xattrs: array storing LSM-provided xattrs 208 * Return: The slot to fill in @xattrs if non-NULL, NULL otherwise.
|
| H A D | regmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 54 #define REGMAP_UPSHIFT(s) (-(s)) 65 * The non-sparse flat cache is provided for compatibility with existing users 66 * and will zero-initialize cache entries for which no defaults are provided. 78 * struct reg_default - Default value for a register. 92 * struct reg_sequence - An individual write from a sequence of writes. 115 * regmap_read_poll_timeout - Poll until a condition is met or a timeout occurs 121 * @sleep_us: Maximum time to sleep between reads in us (0 tight-loops). Please 128 * Returns: 0 on success and -ETIMEDOUT upon a timeout or the regmap_read 142 * regmap_read_poll_timeout_atomic - Poll until a condition is met or a timeout occurs [all …]
|
| /linux/Documentation/sound/cards/ |
| H A D | pcmtest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 16 * Generate random or pattern-based capturing data 21 non-interleaved access modes. 24 which is used in the corresponding selftest (alsa/pcmtest-test.sh) to check the PCM middle 29 ------------- 33 * fill_mode (bool) - Buffer fill mode (see below) 41 ----------------------- 44 means random data generation, the second (1 in the fill_mode) - pattern-based 51 * /sys/kernel/debug/pcmtest/fill_pattern[0-3] 52 * /sys/kernel/debug/pcmtest/fill_pattern[0-3]_len [all …]
|
| /linux/Documentation/doc-guide/ |
| H A D | kernel-doc.rst | 1 .. title:: Kernel-doc comments 4 Writing kernel-doc comments 8 comments in the kernel-doc format to describe the functions, types 9 and design of the code. It is easier to keep documentation up-to-date 12 .. note:: The kernel-doc format is deceptively similar to javadoc, 13 gtk-doc or Doxygen, yet distinctively different, for historical 14 reasons. The kernel source contains tens of thousands of kernel-doc 17 .. note:: kernel-doc does not cover Rust code: please see 18 Documentation/rust/general-information.rst instead. 20 The kernel-doc structure is extracted from the comments, and proper [all …]
|
| /linux/tools/perf/tests/ |
| H A D | vmlinux-kallsyms.c | 1 // SPDX-License-Identifier: GPL-2.0 26 * when --all-symbols is specified so exclude them to get a in is_ignored_symbol() 48 "__kvm_nvhe_$", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol() 49 "__kvm_nvhe_.L", /* arm64 local symbols in non-VHE KVM namespace */ in is_ignored_symbol() 85 int l = strlen(name) - strlen(*p); in is_ignored_symbol() 127 * the short name, less descriptive but the same ("[kernel]" in both in test__vmlinux_matches_kallsyms_cb1() 130 struct map *pair = maps__find_by_name(args->kallsyms.kmaps, in test__vmlinux_matches_kallsyms_cb1() 137 if (!args->header_printed) { in test__vmlinux_matches_kallsyms_cb1() 139 args->header_printed = true; in test__vmlinux_matches_kallsyms_cb1() 150 u64 mem_start = map__unmap_ip(args->vmlinux_map, map__start(map)); in test__vmlinux_matches_kallsyms_cb2() [all …]
|
| /linux/Documentation/process/ |
| H A D | coding-style.rst | 19 -------------- 31 Now, some people will claim that having 8-character indentations makes 33 80-character terminal screen. The answer to that is that if you need 37 In short, 8-char indents make things easier to read, and have the added 43 instead of ``double-indenting`` the ``case`` labels. E.g.: 45 .. code-block:: c 67 .. code-block:: c 74 .. code-block:: c 81 .. code-block:: c 99 ---------------------------------- [all …]
|
| H A D | submitting-patches.rst | 13 works, see Documentation/process/development-process.rst. Also, read 14 Documentation/process/submit-checklist.rst 17 Documentation/devicetree/bindings/submitting-patches.rst. 20 If you're unfamiliar with ``git``, you would be well-advised to learn how to 26 :ref:`Documentation/process/maintainer-handbooks.rst <maintainer_handbooks_main>`. 29 ---------------------------- 46 --------------------- 48 Describe your problem. Whether your patch is a one-line bug fix or 54 Describe user-visible impact. Straight up crashes and lockups are 59 vendor/product-specific trees that cherry-pick only specific patches [all …]
|
| /linux/fs/resctrl/ |
| H A D | pseudo_lock.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Pseudo-locking support built on top of Cache Allocation Technology (CAT) 29 * pseudo-locked regions. 43 return kasprintf(GFP_KERNEL, "pseudo_lock/%s", rdt_kn_name(rdtgrp->kn)); in pseudo_lock_devnode() 52 * pseudo_lock_minor_get - Obtain available minor number 67 return -ENOSPC; in pseudo_lock_minor_get() 76 * pseudo_lock_minor_release - Return minor number to available 85 * region_find_by_minor - Locate a pseudo-lock region by inode minor number 86 * @minor: The minor number of the device representing pseudo-locked region 89 * pseudo-locked region it belongs to. This is done by matching the minor [all …]
|
| /linux/LICENSES/dual/ |
| H A D | CDDL-1.0 | 1 Valid-License-Identifier: CDDL-1.0 2 SPDX-URL: https://spdx.org/licenses/CDDL-1.0.html 3 Usage-Guide: 4 Do NOT use. The CDDL-1.0 is not GPL2 compatible. It may only be used for 5 dual-licensed files where the other license is GPL2 compatible. 11 SPDX-License-Identifier: ($GPL-COMPATIBLE-ID OR CDDL-1.0) 13 License-Text: 90 hereby grants You a world-wide, royalty-free, non-exclusive 121 hereby grants You a world-wide, royalty-free, non-exclusive 185 or any descriptive text giving attribution to any Contributor or [all …]
|
| /linux/fs/befs/ |
| H A D | ChangeLog | 1 Version 0.92 (2002-03-29) 5 Version 0.92 (2002-03-27) 12 Version 0.91 (2002-03-26) 17 Version 0.9 (2002-03-14) 25 Version 0.64 (2002-02-07) 41 * Made a debian package of the source for use with kernel-package. [WD] 44 Version 0.63 (2002-01-31) 74 Version 0.61 (2002-01-20) 92 Version 0.6 (2001-12-15) 99 would result in the filesystem using the on-disk uid and gid. [WD] [all …]
|
| /linux/drivers/thermal/ti-soc-thermal/ |
| H A D | ti-bandgap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 26 * +----------+----------------+ 28 * +---------------------------+ 32 * +-------------------+ +-----------------+ 33 * | struct ti_bandgap |-->| struct device * | 34 * +----------+--------+ +-----------------+ 38 * +------------------------+ 40 * +------------------------+ 44 * +------------+------------------------------------------------------+ [all …]
|
| /linux/Documentation/filesystems/nfs/ |
| H A D | nfsd-maintainer-entry-profile.rst | 4 A Maintainer Entry Profile supplements the top-level process 12 -------- 14 protocols that enable access to files across a set of network- 20 kernel. An in-kernel NFS server has fast access to files stored 26 ------------ 27 The linux-nfs@vger.kernel.org mailing list is a public list. Its 32 The linux-nfs mailing list is archived on `lore.kernel.org <https://lore.kernel.org/linux-nfs/>`_. 37 -------------- 38 If you experience an NFSD-related bug on a distribution-built 42 linux-nfs@vger.kernel.org mailing list, where some active triage [all …]
|
| /linux/include/media/ |
| H A D | media-device.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 #include <media/media-devnode.h> 20 #include <media/media-entity.h> 26 * struct media_entity_notify - Media Entity Notify 44 * struct media_device_ops - Media device operations 76 * struct media_device - Media device 80 * %MEDIA_IOC_DEVICE_INFO will return ``dev->driver->name``. 111 * This structure represents an abstract high-level media device. It allows easy 112 * access to entities and provides basic media device-level support. The 118 * @model is a descriptive model name exported through sysfs. It doesn't have to [all …]
|
| /linux/Documentation/driver-api/media/ |
| H A D | v4l2-dev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 :c:type:`video_device` struct (``v4l2-dev.h``). This struct can either be 12 .. code-block:: c 17 return -ENOMEM; 19 vdev->release = video_device_release; 24 .. code-block:: c 26 struct video_device *vdev = &my_vdev->vdev; 28 vdev->release = my_vdev_release; 42 - :c:type:`video_device`->v4l2_dev: must be set to the :c:type:`v4l2_device` 45 - :c:type:`video_device`->name: set to something descriptive and unique. [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 22 For this reason, even if we aim at a chip-independent libsensors, it will 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 61 to cause an alarm) is chip-dependent. 69 ---------------- 76 ------------------------------------------------------------------------- 79 `[0-*]` denotes any positive number starting from 0 [all …]
|
| /linux/drivers/md/dm-vdo/indexer/ |
| H A D | index-session.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "index-session.h" 11 #include "memory-alloc.h" 12 #include "time-utils.h" 14 #include "funnel-requestqueue.h" 16 #include "index-layout.h" 21 * index through a set of descriptive flags. The request_mutex must be notified whenever a 22 * non-transient state flag is cleared. The request_mutex is also used to count the number of 65 mutex_lock(&index_session->request_mutex); in release_index_session() 66 if (--index_session->request_count == 0) in release_index_session() [all …]
|
| /linux/tools/lib/python/kdoc/ |
| H A D | kdoc_output.py | 2 # SPDX-License-Identifier: GPL-2.0 8 Implement output filters to print kernel-doc documentation. 30 type_constant2 = KernRe(r"\%([-_*\w]+)", cache=False) 32 type_param_ref = KernRe(r"([\!~\*]?)\@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False) 38 type_fp_param2 = KernRe(r"\@(\w+->\S+)\(\)", cache=False) 45 type_member = KernRe(r"\&([_\w]+)(\.|->)([_\w]+)", cache=False) 52 Base class for OutputFormat. If used as-is, it means that only 60 OUTPUT_INTERNAL = 3 # output non-exported symbols 114 Apply the RST highlights to a sub-block of text. 180 Handles a single entry from kernel-doc parser [all …]
|
| /linux/drivers/ata/ |
| H A D | libata-eh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-eh.c - libata error handling 8 * as Documentation/driver-api/libata.rst 11 * http://www.sata-io.org/ 59 /* Waiting in ->prereset can never be reliable. It's 97 15000, /* Some drives are slow to read log pages when waking-up */ 129 * ehc->cmd_timeout_idx keeps track of which timeout to use per 170 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 171 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 176 * __ata_ehi_push_desc - push error description without adding separator [all …]
|
| /linux/Documentation/devicetree/bindings/cpu/ |
| H A D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx.h | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 78 SCSIID_OUR_ID((scb)->hscb->scsiid) 80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 84 ((scb)->hscb->lun) 92 && (((scb)->flags & SCB_SILENT) != 0)) 95 (((scb)->flags & SCB_SILENT) != 0) 103 (tcl & (AHD_NUM_LUNS - 1)) [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | cgroup-v2.rst | 1 .. _cgroup-v2: 11 conventions of cgroup v2. It describes all userland-visible aspects 14 v1 is available under :ref:`Documentation/admin-guide/cgroup-v1/index.rst <cgroup-v1>`. 22 1-1. Terminology 23 1-2. What is cgroup? 25 2-1. Mounting 26 2-2. Organizing Processes and Threads 27 2-2-1. Processes 28 2-2-2. Threads 29 2-3. [Un]populated Notification [all …]
|