/linux/Documentation/admin-guide/perf/ |
H A D | alibaba_pmu.rst | 2 Alibaba's T-Head SoC Uncore Performance Monitoring Unit (PMU) 5 The Yitian 710, custom-built by Alibaba Group's chip development business, 6 T-Head, implements uncore PMU for performance and functional debugging to 9 DDR Sub-System Driveway (DRW) PMU Driver 14 channel is split into two independent sub-channels. The DDR Sub-System Driveway 15 implements separate PMUs for each sub-channel to monitor various performance 20 sub-channels of the same channel in die 0. And the PMU device of die 1 is 23 Each sub-channel has 36 PMU counters in total, which is classified into 26 - Group 0: PMU Cycle Counter. This group has one pair of counters 30 - Group 1: PMU Bandwidth Counters. This group has 8 counters that are used [all …]
|
/linux/Documentation/userspace-api/netlink/ |
H A D | netlink-raw.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 8 families such as ``NETLINK_ROUTE`` which use the ``netlink-raw`` protocol 14 The netlink-raw schema extends the :doc:`genetlink-legacy <genetlink-legacy>` 17 information. The raw netlink families also make use of type-specific 18 sub-messages. 21 ------- 29 .. code-block:: yaml 31 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 33 name: rt-addr 34 protocol: netlink-raw [all …]
|
H A D | specs.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 17 - the C uAPI header 18 …- documentation of the protocol as a ReST file - see :ref:`Documentation/networking/netlink_spec/i… 19 - policy tables for input attribute validation 20 - operation tables 25 See :doc:`intro-specs` for a practical starting guide. 28 ``((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)`` 40 - ``genetlink`` - most streamlined, should be used by all new families 41 - ``genetlink-c`` - superset of ``genetlink`` with extra attributes allowing 45 - ``genetlink-legacy`` - Generic Netlink catch all schema supporting quirks of [all …]
|
/linux/include/media/ |
H A D | v4l2-device.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 #include <media/media-device.h> 13 #include <media/v4l2-subdev.h> 14 #include <media/v4l2-dev.h> 19 * struct v4l2_device - main struct to for V4L2 device drivers 27 * @notify: notify operation called by some sub-devices. 35 * either stand-alone or embedded in a larger struct. 37 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides 38 * basic V4L2 device-level support. 42 * #) @dev->driver_data points to this struct. [all …]
|
/linux/include/linux/ |
H A D | stddef.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 19 * sizeof_field() - Report the size of a struct field in bytes 24 #define sizeof_field(TYPE, MEMBER) sizeof((((TYPE *)0)->MEMBER)) 27 * offsetofend() - Report the offset of a struct field within the struct 36 * struct_group() - Wrap a set of declarations in a mirrored struct 38 * @NAME: The identifier name of the mirrored sub-struct 43 * used normally without sub-struct naming, and the latter can be 44 * used to reason about the start, end, and size of the group of 51 * struct_group_attr() - Create a struct_group() with trailing attributes 53 * @NAME: The identifier name of the mirrored sub-struct [all …]
|
/linux/Documentation/hwmon/ |
H A D | ibmpowernv.rst | 11 ----------- 22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id' 26 ----------- 31 ---------------- 36 fanX_fault - 0: No fail condition 37 - 1: Failing fan 44 sub-group. In POWER9, this attribute corresponds to 48 - 1: Enable 49 - 0: Disable 52 inX_fault - 0: No fail condition. [all …]
|
/linux/Documentation/devicetree/bindings/opp/ |
H A D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: 36 '^opp(-?[0-9]+)*$': 39 One or more OPP nodes describing voltage-current-frequency combinations. [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | abilis,tb10x-iomux.txt | 5 ------------------- 7 - compatible: should be "abilis,tb10x-iomux"; 8 - reg: should contain the physical address and size of the pin controller's 13 -------------------- 15 Functions are defined (and referenced) by sub-nodes of the pin controller. 16 Every sub-node defines exactly one function (implying a set of pins). 17 Every function is associated to one named pin group inside the pin controller 18 driver and these names are used to associate pin group predefinitions to pin 19 controller sub-nodes. 22 - abilis,function: should be set to the name of the function's pin group. [all …]
|
H A D | cnxt,cx92755-pinctrl.txt | 11 - compatible: Must be "cnxt,cx92755-pinctrl" 12 - reg: Base address of the General Purpose Pin Mapping register block and the 14 - gpio-controller: Marks the device node as a GPIO controller. 15 - #gpio-cells: Must be <2>. The first cell is the pin number and the 16 second cell is used to specify flags. See include/dt-bindings/gpio/gpio.h 22 compatible = "cnxt,cx92755-pinctrl"; 24 gpio-controller; 25 #gpio-cells = <2>; 36 Each pin configuration node is a sub-node of the pin controller node and is a 37 container of an arbitrary number of subnodes, called pin group nodes in this [all …]
|
H A D | berlin,pinctrl.txt | 1 * Pin-controller driver for the Marvell Berlin SoCs 4 controller register sets. Pin controller nodes should be a sub-node of 9 A pin-controller node should contain subnodes representing the pin group 10 configurations, one per function. Each subnode has the group name and 14 is called a 'function' in the pin-controller subsystem. 17 - compatible: should be one of: 18 "marvell,berlin2-soc-pinctrl", 19 "marvell,berlin2-system-pinctrl", 20 "marvell,berlin2cd-soc-pinctrl", 21 "marvell,berlin2cd-system-pinctrl", [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-kernel-iommu_groups | 5 Description: /sys/kernel/iommu_groups/ contains a number of sub- 6 directories, each representing an IOMMU group. The 7 name of the sub-directory matches the iommu_group_id() 8 for the group, which is an integer value. Within each 10 links to the sysfs devices contained in this group. 11 The group directory also optionally contains a "name" 13 common name for the group. 23 output direct-mapped, MSI, non mappable regions. Each 29 USB devices it is now exposed as "direct-relaxable" instead 38 domain in use by iommu for this group. See include/linux/iommu.h [all …]
|
H A D | configfs-usb-gadget | 1 What: /config/usb-gadget 5 This group contains sub-groups corresponding to created 8 What: /config/usb-gadget/gadget 21 names are super-speed-plus, super-speed, 22 high-speed, full-speed, and low-speed. 34 What: /config/usb-gadget/gadget/configs 38 This group contains a USB gadget's configurations 40 What: /config/usb-gadget/gadget/configs/config 51 What: /config/usb-gadget/gadget/configs/config/strings 55 This group contains subdirectories for language-specific [all …]
|
/linux/tools/net/ynl/ |
H A D | ynl-gen-rst.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 34 def headroom(level: int) -> str: 39 def bold(text: str) -> str: 44 def inline(text: str) -> str: 49 def sanitize(text: str) -> str: 55 def rst_fields(key: str, value: str, level: int = 0) -> str: 60 def rst_definition(key: str, value: Any, level: int = 0) -> str: 65 def rst_paragraph(paragraph: str, level: int = 0) -> str: 70 def rst_bullet(item: str, level: int = 0) -> str: [all …]
|
/linux/Documentation/netlink/ |
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 12 len-or-define: 14 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 21 required: [ name, doc, attribute-sets, operations ] 31 enum: [ netlink-raw ] # Trim 32 # Start netlink-raw 34 description: Protocol number to use for netlink-raw [all …]
|
/linux/Documentation/driver-api/media/ |
H A D | v4l2-subdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 V4L2 sub-devices 4 ---------------- 6 Many drivers need to communicate with sub-devices. These devices can do all 8 encoding or decoding. For webcams common sub-devices are sensors and camera 12 driver with a consistent interface to these sub-devices the 13 :c:type:`v4l2_subdev` struct (v4l2-subdev.h) was created. 15 Each sub-device driver must have a :c:type:`v4l2_subdev` struct. This struct 16 can be stand-alone for simple sub-devices or it might be embedded in a larger 18 low-level device struct (e.g. ``i2c_client``) that contains the device data as [all …]
|
/linux/tools/net/ynl/lib/ |
H A D | nlspec.py | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 37 self.ident_name = self.name.replace('-', '_') 119 value_start = self.yaml.get('value-start', 0) 160 sub_type string, name of sub type 164 sub_message string, name of sub message type 166 sub [all...] |
/linux/scripts/ |
H A D | macro_checker.py | 2 # SPDX-License-Identifier: GPL-2.0 14 parser.add_argument("-v", "--verbose", action="store_true", 29 macro_def = re.sub(macro_pattern, '', macro_line) 30 identifier = match.group(1) 31 content = match.group(2) 54 print(f"Argument {arg} is not used in function-line macro {identifier}") 66 macro = re.sub(comment_pattern1, '', macro) 67 macro = re.sub(comment_pattern2, '', macro) 88 cond_compile -= 1 94 while macro[-1] == '\\': [all …]
|
/linux/Documentation/usb/ |
H A D | gadget_configfs.rst | 50 http://www.spinics.net/lists/linux-usb/msg76388.html) 55 $ mount none $CONFIGFS_HOME -t configfs 60 ----------------------- 104 ------------------------------ 134 ------------------------- 150 Each function provides its specific set of attributes, with either read-only 151 or read-write access. Where applicable they need to be written to as 153 Please refer to Documentation/ABI/testing/configfs-usb-gadget for more information. 156 ------------------------------------------------------ 164 $ ln -s functions/<name>.<instance name> configs/<name>.<number> [all …]
|
/linux/tools/perf/pmu-events/ |
H A D | metric.py | 1 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 13 def ToPerfJson(self) -> str: 17 def ToPython(self) -> str: 25 def Equals(self, other) -> bool: 29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression': 32 def __str__(self) -> str: 35 def __or__(self, other: Union[int, float, 'Expression']) -> 'Operator': 38 def __ror__(self, other: Union[int, float, 'Expression']) -> 'Operator': 41 def __xor__(self, other: Union[int, float, 'Expression']) -> 'Operator': 44 def __and__(self, other: Union[int, float, 'Expression']) -> 'Operator': [all …]
|
/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-miphy365x.txt | 8 - compatible : Should be "st,miphy365x-phy" 9 - st,syscfg : Phandle / integer array property. Phandle of sysconfig group 11 an entry for each port sub-node, specifying the control 12 register offset inside the sysconfig group. 14 Required nodes : A sub-node is required for each channel the controller 16 'reg' and 'reg-names' properties are used inside these 21 - #phy-cells : Should be 1 (See second example) 23 - PHY_TYPE_SATA 24 - PHY_TYPE_PCI 25 - reg : Address and length of register sets for each device in [all …]
|
/linux/net/tipc/ |
H A D | name_table.c | 4 * Copyright (c) 2000-2006, 2014-2018, Ericsson AB 5 * Copyright (c) 2004-2008, 2010-2014, Wind River Systems 6 * Copyright (c) 2020-2021, Red Hat Inc 49 #include "group.h" 52 * struct service_range - container for all bindings of a service range 60 * Used by round-robin lookup algorithm 72 * struct tipc_service - container for all published instances of a service type 91 #define service_range_upper(sr) ((sr)->upper) 100 ((sr)->lower <= (end) && (sr)->upper >= (start)) in RB_DECLARE_CALLBACKS_MAX() 103 * service_range_foreach_match - iterate over tipc service rbtree for each in RB_DECLARE_CALLBACKS_MAX() [all …]
|
/linux/Documentation/filesystems/ext4/ |
H A D | inodes.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ----------- 15 links and is in general more seek-happy than ext4 due to its simpler 21 block group containing an inode can be calculated as 22 ``(inode_number - 1) / sb.s_inodes_per_group``, and the offset into the 23 group's table is ``(inode_number - 1) % sb.s_inodes_per_group``. There 31 .. list-table:: 33 :header-rows: 1 36 * - Offset 37 - Size [all …]
|
/linux/Documentation/sphinx/ |
H A D | maintainers_include.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 7 maintainers-include 10 Implementation of the ``maintainers-include`` reST-directive. 15 The ``maintainers-include`` reST-directive performs extensive parsing 32 app.add_directive("maintainers-include", MaintainersInclude) 40 u"""MaintainersInclude (``maintainers-include``) directive""" 44 """Parse all the MAINTAINERS lines into ReST for human-readability""" 67 # Ensure a blank line following the last "|"-prefixed line. 73 if re.search('^[A-Z0-9]', line): [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | stddef.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 19 * __struct_group() - Create a mirrored named and anonyomous struct 21 * @TAG: The tag name for the named sub-struct (usually empty) 22 * @NAME: The identifier name of the mirrored sub-struct 28 * normally without sub-struct naming, and the latter can be used to 29 * reason about the start, end, and size of the group of struct members. 40 * __DECLARE_FLEX_ARRAY() - Declare a flexible array usable in a union
|
/linux/Documentation/netlink/specs/ |
H A D | nlctrl.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 4 protocol: genetlink-legacy 5 uapi-header: linux/genetlink.h 8 genetlink meta-family that exposes information about all genetlink 12 - 13 name: op-flags 15 enum-name: 17 - admin-perm 18 - cmd-cap-do 19 - cmd-cap-dump [all …]
|