/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | lsb.py | 4 # SPDX-License-Identifier: GPL-2.0-only 8 """Get all key-value pairs from /etc/os-release as a dict""" 12 if os.path.exists('/etc/os-release'): 13 with open('/etc/os-release') as f: 16 key, val = line.rstrip().split('=', 1) 19 data[key.strip()] = val.strip('"') 23 """ Populate a dict with pertinent values from /etc/os-release """ 34 """ Return the output of lsb_release -ir as a dictionary """ 38 output, err = bb.process.run(['lsb_release', '-ir'], stderr=PIPE) 43 'Release': 'DISTRIB_RELEASE'} [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | ttm_object.h | 3 * Copyright (c) 2006-2022 VMware, Inc., Palo Alto, CA., USA 20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 32 * Base- and reference object implementation for the various 34 * and release on file close. 40 #include <linux/dma-buf.h> 51 * Device-specific types should use the 73 * @hash: hash entry for the per-device object hash. 89 * already been taken out of the per-device hash. The parameter 94 * This function may, for example, release a lock held by a user-space [all …]
|
H A D | ttm_object.c | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright (c) 2009-2022 VMware, Inc., Palo Alto, CA., USA 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 39 * Base- and reference object implementation for the various 41 * and release on file close. 70 * file release. 92 * This is the per-device data structure needed for ttm object management. 106 * @hash: Hash entry for the per-file object reference hash. 108 * @head: List entry for the per-file list of ref-objects. [all …]
|
/openbmc/u-boot/drivers/input/ |
H A D | input.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Translate key codes into ASCII 26 /* Special flag ORed with key code to indicate release */ 32 * These takes map key codes to ASCII. 0xff means no key, or special key. 33 * Three tables are provided - one for plain keys, one for when the shift 34 * 'modifier' key is pressed and one for when the ctrl modifier key is 39 '7', '8', '9', '0', '-', '=', '\b', '\t', /* 0x00 - 0x0f */ 41 'o', 'p', '[', ']', '\r', 0xff, 'a', 's', /* 0x10 - 0x1f */ 43 '\'', '`', 0xff, '\\', 'z', 'x', 'c', 'v', /* 0x20 - 0x2f */ 45 ' ', 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* 0x30 - 0x3f */ [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastermain/management/commands/ |
H A D | buildimport.py | 6 # SPDX-License-Identifier: GPL-2.0-only 16 # --name=$PROJECTNAME \ 17 # --path=$BUILD_DIRECTORY \ 18 # --callback="$CALLBACK_SCRIPT" \ 19 # --command="configure|reconfigure|import" 24 # $ xdg-open http://localhost:$toaster_port/toastergui/project_specific/$project_id 28 # --name=$PROJECTNAME --delete-project 32 # ../bitbake/lib/toaster/manage.py buildimport --name=test --path=`pwd` --callback="" --command=imp… 35 from orm.models import Project, Release, ProjectVariable 63 (?P<var>[a-zA-Z0-9\-_+.${}/~]+?) [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | max7359_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver 10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456 57 /* matrix key code map */ 69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg() 79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg() 84 /* runs in an IRQ thread -- can (and will!) sleep */ 88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt() 89 int val, row, col, release, code; in max7359_interrupt() local 91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt() [all …]
|
H A D | imx_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #define KBD_STAT_KPKD (0x1 << 0) /* Key Press Interrupt Status bit (w1c) */ 29 #define KBD_STAT_KPKR (0x1 << 1) /* Key Release Interrupt Status bit (w1c) */ 30 #define KBD_STAT_KDSC (0x1 << 2) /* Key Depress Synch Chain Status bit (w1c)*/ 31 #define KBD_STAT_KRSS (0x1 << 3) /* Key Release Synch Status bit (w1c)*/ 32 #define KBD_STAT_KDIE (0x1 << 8) /* Key Depress Interrupt Enable Status bit */ 33 #define KBD_STAT_KRIE (0x1 << 9) /* Key Release Interrupt Enable */ 71 * -stable: achieved after a complete debounce process. 72 * -unstable: used in the debouncing process. 86 if ((keypad->cols_en_mask & (1 << col)) == 0) in imx_keypad_scan_matrix() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | remotedata.py | 9 # SPDX-License-Identifier: GPL-2.0-only 15 """Used on the server side to manage references to server-side datastores""" 26 def __getitem__(self, key): argument 29 return self.datastores[key] 38 release(). 52 for key, val in self.datastores.items(): 54 idx = key 60 def release(self, idx): member in RemoteDatastores 63 raise Exception('Tried to release locked datastore %d' % idx)
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | vbtn.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 #include <linux/input/sparse-keymap.h> 38 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */ 39 { KE_IGNORE, 0xC1, { KEY_POWER } }, /* power key release */ 40 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */ 41 { KE_KEY, 0xC3, { KEY_LEFTMETA } }, /* 'Windows' key release */ 42 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */ 43 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */ 44 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */ 45 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */ [all …]
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 struct efx_nic *efx = zone->efx; in efx_tc_ct_zone_free() 35 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_zone_free() 37 zone->zone); in efx_tc_ct_zone_free() 39 nf_flow_table_offload_del_cb(zone->nf_ft, efx_tc_flow_block, zone); in efx_tc_ct_zone_free() 48 netif_err(efx, drv, efx->net_dev, in efx_tc_ct_free() 50 conn->cookie); in efx_tc_ct_free() 52 /* We can release the counter, but we can't remove the CT itself in efx_tc_ct_free() 55 efx_tc_flower_release_counter(efx, conn->cnt); in efx_tc_ct_free() 63 rc = rhashtable_init(&efx->tc->ct_zone_ht, &efx_tc_ct_zone_ht_params); in efx_tc_init_conntrack() [all …]
|
H A D | tc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2020-2022 Xilinx Inc. 48 return ERR_PTR(-EOPNOTSUPP); in efx_tc_flower_lookup_efv() 50 if (dev == efx->net_dev) in efx_tc_flower_lookup_efv() 53 if (dev->netdev_ops != &efx_ef100_rep_netdev_ops) in efx_tc_flower_lookup_efv() 54 return ERR_PTR(-EOPNOTSUPP); in efx_tc_flower_lookup_efv() 59 if (efv->parent != efx) in efx_tc_flower_lookup_efv() 60 return ERR_PTR(-EOPNOTSUPP); in efx_tc_flower_lookup_efv() 64 /* Convert a driver-internal vport ID into an internal device (PF or VF) */ 74 efx_mae_mport_mport(efx, efv->mport, &mport); in efx_tc_flower_internal_mport() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | uki.bbclass | 4 # to be loaded with UEFI firmware and systemd-boot on target HW. 5 # TPM PCR pre-calculation is not supported since systemd-measure tooling 10 # https://uapi-group.org/specifications/specs/unified_kernel_image/ 14 # - UEFI stub 15 # The linux kernel can generate a UEFI stub, however the one from systemd-boot can fetch 18 # - kernel 19 # - initramfs 20 # - kernel command line 21 # - uname -r kernel version 22 # - /etc/os-release to create a boot menu with version details [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_pr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * This file contains SPC-3 compliant persistent reservations and 6 * legacy SPC-2 reservations with compatible reservation handling (CRH=1) 8 * (c) Copyright 2009-2013 Datera, Inc. 48 if (!pr_reg->isid_present_at_reg) { in core_pr_dump_initiator_port() 53 snprintf(buf, size, ",i,0x%s", pr_reg->pr_reg_isid); in core_pr_dump_initiator_port() 77 pr_res_type = pr_res_holder->pr_res_type; in is_reservation_holder() 89 struct se_device *dev = cmd->se_dev; in target_scsi2_reservation_check() 90 struct se_session *sess = cmd->se_sess; in target_scsi2_reservation_check() 92 switch (cmd->t_task_cdb[0]) { in target_scsi2_reservation_check() [all …]
|
/openbmc/linux/include/linux/ |
H A D | cred.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* Credentials management - see Documentation/security/credentials.rst 13 #include <linux/key.h> 32 * get_group_info - Get a reference to a group info structure 42 atomic_inc(&gi->usage); in get_group_info() 47 * put_group_info - Release a reference to a group info structure 48 * @group_info: The group info to release 52 if (atomic_dec_and_test(&(group_info)->usage)) \ 96 * upon another object, be that a file, a task, a key or whatever. 98 * Note that some members of this structure belong to both categories - the [all …]
|
/openbmc/linux/drivers/tty/ |
H A D | sysrq.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Linux Magic System Request Key Hacks 9 * overhauled to use key registration 68 * sysrq_mask - Getter for sysrq_enabled mask. 101 static void sysrq_handle_loglevel(u8 key) in sysrq_handle_loglevel() argument 103 u8 loglevel = key - '0'; in sysrq_handle_loglevel() 111 .help_msg = "loglevel(0-9)", 117 static void sysrq_handle_SAK(u8 key) in sysrq_handle_SAK() argument 134 static void sysrq_handle_unraw(u8 key) in sysrq_handle_unraw() argument 149 static void sysrq_handle_crash(u8 key) in sysrq_handle_crash() argument [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | Key_v1.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!----> 3 <!--################################################################################ --> 4 <!--# Redfish Schema: Key v1.4.1 --> 5 <!--# --> 6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, --> 7 <!--# available at http://www.dmtf.org/standards/redfish --> 8 <!--# Copyright 2014-2025 DMTF. --> 9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright --> 10 <!--################################################################################ --> [all …]
|
/openbmc/linux/include/net/ |
H A D | flow_offload.h | 12 void *key; member 16 struct flow_dissector_key_meta *key, *mask; member 20 struct flow_dissector_key_basic *key, *mask; member 24 struct flow_dissector_key_control *key, *mask; member 28 struct flow_dissector_key_eth_addrs *key, *mask; member 32 struct flow_dissector_key_vlan *key, *mask; member 36 struct flow_dissector_key_arp *key, *mask; member 40 struct flow_dissector_key_ipv4_addrs *key, *mask; member 44 struct flow_dissector_key_ipv6_addrs *key, *mask; member 48 struct flow_dissector_key_ip *key, *mask; member [all …]
|
/openbmc/linux/block/ |
H A D | blk-crypto-profile.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * DOC: blk-crypto profiles 9 * 'struct blk_crypto_profile' contains all generic inline encryption-related 17 * these keyslots in a device-independent way, using the driver-provided 19 * of which key and how many I/O requests are using each keyslot, getting 20 * keyslots for I/O requests, and handling key eviction requests. 22 * For more information, see Documentation/block/inline-encryption.rst. 25 #define pr_fmt(fmt) "blk-crypto: " fmt 27 #include <linux/blk-crypto-profile.h> 34 #include <linux/blk-integrity.h> [all …]
|
/openbmc/u-boot/include/ |
H A D | input.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 24 * This table translates key codes to ASCII. Most of the entries are ASCII 25 * codes, but entries after KEY_FIRST_MOD indicate that this key is a 26 * modifier key, like shift, ctrl. KEY_FIRST_MOD + MOD_SHIFT is the shift 27 * key, for example. 30 /* keycode of the modifiers which select this table, -1 if none */ 61 unsigned int next_repeat_ms; /* Next time we repeat a key */ 69 * Convert a list of key codes into ASCII and send them 72 * @param keycode List of key codes to examine 73 * @param num_keycodes Number of key codes [all …]
|
/openbmc/linux/Documentation/driver-api/media/ |
H A D | rc-core.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ------------------------- 12 Every time a key is pressed on a remote controller, a scan code is produced. 13 Also, on most hardware, keeping a key pressed for more than a few dozens of 14 milliseconds produce a repeat key event. That's somewhat similar to what 22 produces one event for a key press and another one for key release. On 23 infrared-based remote controllers, there's no key release event. Instead, 24 an extra code is produced to indicate key repeats. 48 At receiver, a simple low-pass filter can be used to convert the received 86 .. kernel-doc:: include/media/rc-core.h [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | version.hpp | 38 * D-Bus API. 45 * @param[in] bus - The D-Bus bus object 46 * @param[in] path - The D-Bus object path 47 * @param[in] parent - Parent object. 56 /** @brief delete the D-Bus object. */ 67 * D-Bus API. 74 * @param[in] bus - The D-Bus bus object 75 * @param[in] objPath - The D-Bus object path 76 * @param[in] versionString - The version string 77 * @param[in] versionPurpose - The version purpose [all …]
|
/openbmc/openbmc/poky/documentation/dev-manual/ |
H A D | security-subjects.rst | 1 .. SPDX-License-Identifier: CC-BY-SA-2.0-UK 6 The Yocto Project and OpenEmbedded are open-source, community-based projects 7 used in numerous products. They assemble multiple other open-source projects, 12 This manual assembles security-related information concerning the whole 25 If you are dealing with a not-yet-released issue, or an urgent one, please send 37 ":ref:`contributor-guide/submit-changes:preparing changes for submission`". 40 --------------------------------------- 43 :ref:`Release process <ref-manual/release-process:Stable Release Process>` 49 maintained with security patches, but well-tested patches may still be accepted 52 Security-related discussions at the Yocto Project [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/orm/fixtures/ |
H A D | gen_fixtures.py | 3 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 5 # Generate Toaster Fixtures for 'poky.xml' and 'oe-core.xml' 8 # SPDX-License-Identifier: GPL-2.0-only 10 # Edit the 'current_releases' table for each new release cycle 12 # Usage: ./get_fixtures --all 35 # [Codename, Yocto Project Version, Release Date, Current Version, Support Level, Poky Version, Bit… 37 # Release slot #1 39 # Release slot #2 'local' 41 # Release slot #3 'master' 43 # Release slot #4 [all …]
|
/openbmc/linux/Documentation/input/devices/ |
H A D | atarikbd.rst | 12 provides a convenient connection point for a mouse and switch-type joysticks. 13 The ikbd processor also maintains a time-of-day clock with one second 18 The ikbd communicates with the main processor over a high speed bi-directional 27 The keyboard always returns key make/break scan codes. The ikbd generates 28 keyboard scan codes for each key press and release. The key scan make (key 30 ISO key position in the scan code table should exist even if no keyswitch 31 exists in that position on a particular keyboard. The break code for each key 41 0xF8-0xFB relative mouse position records (lsbs determined by 43 0xFC time-of-day 49 The two shift keys return different scan codes in this mode. The ENTER key [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | ti,ts3a227e.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Dylan Reid <dgreid@chromium.org> 14 The TS3A227E detect headsets of 3-ring and 4-ring standards and 16 handles key press detection in accordance with the Android audio 22 - ti,ts3a227e 34 - 0 # 2.1 V 35 - 1 # 2.2 V 36 - 2 # 2.3 V [all …]
|