/openbmc/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 …]
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_led_groups.pl | 41 # These are generally front-fault-led and rear-fault-led 48 # This group contains all the LEDs with the action Blink 52 my $targetObj = Targets->new; 55 $targetObj->{debug} = 1; 60 $targetObj->{force} = 1; 63 $targetObj->loadXML($serverwizFile); 71 $invHash{$item->{TARGET}} = $item->{OBMC_NAME}; 84 foreach my $target (sort keys %{$targetObj->getAllTargets()}) 87 if($targetObj->isBadAttribute($target, "MRW_TYPE")) 92 # Return true if not populated -or- not present [all …]
|
/openbmc/openbmc/meta-security/dynamic-layers/meta-perl/recipes-security/bastille/files/ |
H A D | AccountPermission.pm | 42 # where the 0700 denotes "octal 7-0-0". 48 # &B_chmod ("u-s" , "/bin/mount") 50 # &B_chmod ("go-rwx", "/bin/mount") 55 # the permissions to the pre-Bastille state. 62 sub B_chmod($$) { 74 if ($new_perm =~ /([ugo]+)([+-]{1})([rwxst]+)/) { 105 # the current permissions, by OR-ing (for +) or XOR-ing (for -). 111 # the noun of "other","group","user", or "suid/sgid/sticky". 121 # a sum of powers of 8, corresponding to user/group/other, 172 elsif ($add_remove eq '-') { [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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> 21 * struct v4l2_device - main struct to for V4L2 device drivers 29 * @notify: notify operation called by some sub-devices. 37 * either stand-alone or embedded in a larger struct. 39 * It allows easy access to sub-devices (see v4l2-subdev.h) and provides 40 * basic V4L2 device-level support. 44 * #) @dev->driver_data points to this struct. [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/target/hexagon/ |
H A D | gen_printinsn.py | 4 ## Copyright(c) 2019-2024 Qualcomm Innovation Center, Inc. All Rights Reserved. 30 str = m.group(1) 31 str += ":".join(["%d"] * len(m.group(2))) 32 str += m.group(3) 33 if ("S" in m.group(1)) and (len(m.group(2)) == 1): 35 elif ("C" in m.group(1)) and (len(m.group(2)) == 1): 42 opswithequal_re = "[-+^&|!<>=]?=" 44 assignment_re = "[-+^&|]?=" 62 pc -= 1 81 if am and len(am.group(0)) == me - ms: [all …]
|
/openbmc/qemu/scripts/ |
H A D | python_qmp_updater.py | 5 # git grep -l '\.qmp(' | xargs ./scripts/python_qmp_updater.py 15 success_reg_templ = re.sub('\n *', '', r""" 28 some_check_templ = re.sub('\n *', '', r""" 34 padding: str, res: str) -> Optional[re.Match[str]]: 39 def find_closing_brace(text: str, start: int) -> int: 51 height -= 1 58 def update(text: str) -> str: 70 args_end = find_closing_brace(text, args_ind - 1) 80 padding, res, vm = m.group('padding', 'res', 'vm') 87 if ('query-' not in name and [all …]
|
H A D | block-coroutine-wrapper.py | 8 Usage: block-coroutine-wrapper.py generated-file.c FILE.[ch]... 32 copyright = re.sub('^.*Copyright', 'Copyright', __doc__, flags=re.DOTALL) 33 copyright = re.sub('^(?=.)', ' * ', copyright.strip(), flags=re.MULTILINE) 34 copyright = re.sub('^$', ' *', copyright, flags=re.MULTILINE) 37 * File is generated by scripts/block-coroutine-wrapper.py 44 #include "block/block-gen.h" 46 #include "block/dirty-bitmap.h" 53 r'(?P<name>[a-z][a-z0-9_]*)' 56 def __init__(self, param_decl: str) -> None: 60 self.decl = m.group('decl') [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/ |
H A D | makedbs.sh | 4 # Make passwd.db, group.db, etc. 10 if [ -x /usr/bin/make -o -x /bin/make ]; then 11 make -C $VAR_DB 18 if [ -e /etc/passwd ]; then 20 echo -n "passwd... " 26 makedb --quiet -o $target - 30 # group.db 31 if [ -e /etc/group ]; then 32 target=$VAR_DB/group.db 33 echo -n "group... " [all …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A D | phy-cadence-sierra.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/phy-cadence-sierra.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Swapnil Jakhade <sjakhade@cadence.com> 15 - Yuti Amonkar <yamonkar@cadence.com> 20 - cdns,sierra-phy-t0 21 - ti,sierra-phy-t0 23 '#address-cells': 26 '#size-cells': [all …]
|
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 …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | copy-before-write | 2 # group: auto backup 41 qemu_img_create('-f', iotests.imgfmt, source_img, size) 42 qemu_img_create('-f', iotests.imgfmt, temp_img, size) 43 qemu_io('-c', 'write 0 1M', source_img) 45 opts = ['-nodefaults', '-display', 'none', '-machine', 'none'] 51 self.vm.cmd('blockdev-add', { 52 'node-name': 'cbw', 53 'driver': 'copy-before-write', 54 'on-cbw-error': on_cbw_error, 70 'inject-error': [ [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/ |
H A D | rockchip,pinctrl.txt | 8 Please refer to pinctrl-bindings.txt in this directory for details of the 12 The Rockchip pin configuration node is a node of a group of pins which can be 14 config of the pins in that group. The 'pins' selects the function mode(also 16 settings such as pull-up, etc. 19 defined as gpio sub-nodes of the pinmux controller. 22 - compatible: one of "rockchip,rk2928-pinctrl", "rockchip,rk3066a-pinctrl" 23 "rockchip,rk3066b-pinctrl", "rockchip,rk3188-pinctrl" 24 "rockchip,rk3288-pinctrl" 25 - rockchip,grf: phandle referencing a syscon providing the 29 - rockchip,pmu: phandle referencing a syscon providing the pmu registers [all …]
|
/openbmc/sdbusplus/tools/sdbusplus/ |
H A D | namedelement.py | 14 "Element interpreted by YAML parser as non-string; likely " 186 if re.match(r"^[A-Z0-9]*$", upper_name): 190 if not re.match(r"^[A-Z]{2}", upper_name): 193 # If it is upper case followed by 'v[0-9]', treat it all as one word. 194 # ex. "IPv6Address" -> "ipv6Address" 195 if re.match(r"^[A-Z]+v[0-9]", upper_name): 196 return re.sub( 197 r"^([A-Z]+)(.*)$", 198 lambda m: m.group(1).lower() + m.group(2), 202 # Anything left has at least two sequential upper-case, so it is an [all …]
|
/openbmc/qemu/scripts/tracetool/format/ |
H A D | h.py | 1 # -*- coding: utf-8 -*- 4 trace/generated-tracers.h 8 __copyright__ = "Copyright 2012-2017, Lluís Vilanova <vilanova@ac.upc.edu>" 18 def generate(events, backend, group): argument 23 '#ifndef TRACE_%s_GENERATED_TRACERS_H' % group.upper(), 24 '#define TRACE_%s_GENERATED_TRACERS_H' % group.upper(), 42 if "tcg-exec" in e.properties: 43 # a single define for the two "sub-events" 49 backend.generate_begin(events, group) 52 # tracer-specific dstate [all …]
|
/openbmc/docs/designs/ |
H A D | ci-authorization.md | 7 Created: 2019-01-30 13 contributions can be made by the general public - anyone with a GitHub account. 26 openbmc/general-developers GitHub team. If the contributor is a member of the 27 team (or a general-developers sub-team), the automated CI processes are 29 the general-developers team, manual intervention (ok-to-test) is required by a 33 https://jenkins.io/ https://help.github.com/articles/about-organizations/ 37 The existing method for authorization has a singular problem - the GitHub 39 openbmc/general-developers GitHub team, the contributor must first be a member 42 unrestricted access to all aspects of the project - it would be unwise to bestow 44 openbmc/general-developers group membership administrative capability. [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 027 | 2 # group: rw auto quick 4 # Test that sub-cluster allocating writes zero the rest of the cluster 56 $QEMU_IO -c "write -pP 0xde $cluster_size $cluster_size" "$TEST_IMG" | _filter_qemu_io 59 echo "== writing at sub-cluster granularity ==" 60 $QEMU_IO -c "write -pP 0xa $subcluster_offset $subcluster_size" "$TEST_IMG" | _filter_qemu_io 64 $QEMU_IO -c "read -pP 0xa $subcluster_offset $subcluster_size" "$TEST_IMG" | _filter_qemu_io 67 echo "== verify zeroes before sub-cluster pattern ==" 68 $QEMU_IO -c "read -pP 0 -l $subcluster_offset 0 $subcluster_size" "$TEST_IMG" | _filter_qemu_io 71 echo "== verify zeroes after sub-cluster pattern ==" 72 $QEMU_IO -c "read -pP 0 -l 512 -s $subcluster_size $subcluster_offset $(( subcluster_size + 512 ))"… [all …]
|
/openbmc/phosphor-dbus-monitor/src/ |
H A D | pdmgen.py | 6 1 - Import YAML files as native python type(s) instance(s). 7 2 - Create an instance of the Everything class from the 10 3 - The Everything class constructor orchestrates conversion of the 14 4 - Present the converted YAML to the command processing method 130 """Un-capitalize booleans.""" 155 """Non-array type arguments.""" 385 class Group(ConfigEntry): class 390 super(Group, self).__init__(**kw) 393 class ImplicitGroup(Group): 401 """Create group members.""" [all …]
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
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 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 …]
|