Home
last modified time | relevance | path

Searched +full:sub +full:- +full:group (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/linux/scripts/lib/kdoc/
H A Dkdoc_parser.py2 # SPDX-License-Identifier: GPL-2.0
23 # Regular expressions used to parse kernel-doc markups at KernelDoc class.
43 # @{section-name}:
61 type_param = KernRe(r"@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False)
72 r'(?:[-:].*)?$', # description (not captured)
83 (KernRe(r"__attribute__\s*\(\([a-z0-9,_\*\s\(\)]*\)\)", flags=re.I | re.S, cache=False), ' '),
100 # 1. drop struct group argument
[all...]
H A Dkdoc_re.py2 # SPDX-License-Identifier: GPL-2.0
8 Those help caching regular expressions and do matching for kernel-doc.
22 regular expressions and define sub at class init time.
30 Adds a new regex or re-use it from the cache.
92 def sub(self, sub, string, count=0):
94 Alias to re.sub
97 return self.regex.sub(su
95 sub(self, sub, string, count=0) global() argument
102 def group(self, num): global() member in KernRe
229 sub(self, regex, sub, line, count=0) global() argument
[all...]
H A Dkdoc_output.py2 # 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-exporte
[all...]
/linux/Documentation/admin-guide/perf/
H A Dalibaba_pmu.rst2 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/include/media/
H A Dv4l2-device.h1 /* 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
[all...]
/linux/Documentation/hwmon/
H A Dibmpowernv.rst11 -----------
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 Dopp-v2-base.yaml1 # 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/include/linux/
H A Dstddef.h1 /* 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/devicetree/bindings/pinctrl/
H A Dabilis,tb10x-iomux.txt5 -------------------
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 Dcnxt,cx92755-pinctrl.txt11 - 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 Dberlin,pinctrl.txt1 * 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 Dsysfs-kernel-iommu_groups5 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 Dconfigfs-usb-gadget1 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 …]
H A Dsysfs-bus-nvdimm7 The libnvdimm sub-system implements a common sysfs interface for
8 platform nvdimm resources. See Documentation/driver-api/nvdimm/.
14 Description: (RO) Attribute group to describe the magic bits
16 (See ABI/testing/sysfs-bus-event_source-devices-format).
18 Each attribute under this group defines a bit range of the
22 event = "config:0-4" - event ID
32 Description: (RO) Attribute group to describe performance monitoring events
33 for the nvdimm memory device. Each attribute in this group
36 (See ABI/testing/sysfs-bus-event_source-devices-events). A
38 can be found in Documentation/driver-api/nvdimm/$provider.
/linux/Documentation/netlink/
H A Dnetlink-raw.yaml1 # 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
11 pattern: ^[0-9a-z-]+$
12 name-cap:
14 pattern: ^[0-9a-zA-Z-]+$
18 len-or-define:
20 pattern: ^[0-9A-Za-z_-]+( - 1)?$
27 required: [ name, doc, attribute-sets, operations ]
[all …]
/linux/Documentation/driver-api/media/
H A Dv4l2-subdev.rst1 .. 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/scripts/
H A Dmacro_checker.py2 # 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/fs/xfs/scrub/
H A Dscrub.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
39 * repair on-disk data structures. That task was left to the xfs_check
50 * also be cross-referenced against other btrees to look for potential
53 * It is expected that the checkers responsible for per-AG metadata
55 * metadata structure, and perform any relevant cross-referencing before
60 * Block maps and b-trees rooted in an inode present a special challenge
62 * structure of lock -> check -> xref -> unlock still holds, but AG
72 * (directories and attributes) we follow the same btree-scrubbing
82 * re-grab the buffer in the context of the same transaction, we avoid
[all …]
/linux/Documentation/usb/
H A Dgadget_configfs.rst50 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/Documentation/devicetree/bindings/phy/
H A Dphy-miphy365x.txt8 - 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/tools/perf/pmu-events/
H A Dmetric.py1 # 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/filesystems/ext4/
H A Dinodes.rst1 .. 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/tools/include/uapi/linux/
H A Dstddef.h1 /* 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 Dnlctrl.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2 ---
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
[all …]
/linux/sound/core/
H A Dpcm_local.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pcm_local.h - a local header file for snd-pcm module.
5 * Copyright (c) Takashi Sakamoto <o-takashi@sakamocchi.jp>
38 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_avail()
39 return snd_pcm_playback_avail(substream->runtime); in snd_pcm_avail()
41 return snd_pcm_capture_avail(substream->runtime); in snd_pcm_avail()
47 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_pcm_hw_avail()
48 return snd_pcm_playback_hw_avail(substream->runtime); in snd_pcm_hw_avail()
50 return snd_pcm_capture_hw_avail(substream->runtime); in snd_pcm_hw_avail()
65 void snd_pcm_group_init(struct snd_pcm_group *group);
[all …]

12345678910>>...14