/openbmc/linux/Documentation/driver-api/nvdimm/ |
H A D | security.rst | 6 --------------- 16 ------------------ 28 update <old_keyid> <new_keyid> - enable or update passphrase. 29 disable <keyid> - disable enabled security and remove key. 30 freeze - freeze changing of security states. 31 erase <keyid> - delete existing user encryption key. 32 overwrite <keyid> - wipe the entire nvdimm. 33 master_update <keyid> <new_keyid> - enable or update master passphrase. 34 master_erase <keyid> - delete existing user encryption key. 37 ----------------- [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | vrf.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 routing and forwarding domains (aka VRFs, VRF-lite to be specific) in the 12 Linux network stack. One use case is the multi-tenancy problem where each 30 ------ 34 +-----------------------------+ 35 | vrf-blue | ===> route table 10 36 +-----------------------------+ 38 +------+ +------+ +-------------+ 40 +------+ +------+ +-------------+ 42 +------+ +------+ [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-i3c | 1 What: /sys/bus/i3c/devices/i3c-<bus-id> 3 Contact: linux-i3c@vger.kernel.org 5 An I3C bus. This directory will contain one sub-directory per 8 What: /sys/bus/i3c/devices/i3c-<bus-id>/current_master 10 Contact: linux-i3c@vger.kernel.org 12 Expose the master that owns the bus (<bus-id>-<master-pid>) at 17 What: /sys/bus/i3c/devices/i3c-<bus-id>/mode 19 Contact: linux-i3c@vger.kernel.org 21 I3C bus mode. Can be "pure", "mixed-fast" or "mixed-slow". See 25 What: /sys/bus/i3c/devices/i3c-<bus-id>/i3c_scl_frequency [all …]
|
H A D | sysfs-bus-soundwire-master | 1 What: /sys/bus/soundwire/devices/sdw-master-<N>/revision 2 /sys/bus/soundwire/devices/sdw-master-<N>/clk_stop_modes 3 /sys/bus/soundwire/devices/sdw-master-<N>/clk_freq 4 /sys/bus/soundwire/devices/sdw-master-<N>/clk_gears 5 /sys/bus/soundwire/devices/sdw-master-<N>/default_col 6 /sys/bus/soundwire/devices/sdw-master-<N>/default_frame_rate 7 /sys/bus/soundwire/devices/sdw-master-<N>/default_row 8 /sys/bus/soundwire/devices/sdw-master-<N>/dynamic_shape 9 /sys/bus/soundwire/devices/sdw-master-<N>/err_threshold 10 /sys/bus/soundwire/devices/sdw-master-<N>/max_clk_freq [all …]
|
/openbmc/linux/Documentation/scsi/ |
H A D | advansys.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 RISC-based, Bus-Mastering, Fast (10 Mhz) and Ultra (20 Mhz) Narrow 9 (8-bit transfer) SCSI Host Adapters for the ISA, EISA, VL, and PCI 10 buses and RISC-based, Bus-Mastering, Ultra (20 Mhz) Wide (16-bit 21 - ABP-480 - Bus-Master CardBus (16 CDB) 24 - ABP510/5150 - Bus-Master ISA (240 CDB) 25 - ABP5140 - Bus-Master ISA PnP (16 CDB) 26 - ABP5142 - Bus-Master ISA PnP with floppy (16 CDB) 27 - ABP902/3902 - Bus-Master PCI (16 CDB) 28 - ABP3905 - Bus-Master PCI (16 CDB) [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_lock.c | 63 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() 65 spin_lock_bh(&lock_data->spinlock); in drm_lock_take() 72 ((lock_data->user_waiters + lock_data->kernel_waiters > 1) ? in drm_lock_take() 77 spin_unlock_bh(&lock_data->spinlock); in drm_lock_take() 98 * inside *_unlock to give lock to kernel before calling *_dma_schedule. 112 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() 114 lock_data->file_priv = NULL; in drm_lock_transfer() 127 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_legacy_lock_free() 129 spin_lock_bh(&lock_data->spinlock); in drm_legacy_lock_free() 130 if (lock_data->kernel_waiters != 0) { in drm_legacy_lock_free() [all …]
|
/openbmc/linux/Documentation/networking/dsa/ |
H A D | configuration.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 .. _dsa-config-showcases: 13 ----------------------- 30 at https://www.kernel.org/pub/linux/utils/net/iproute2/ 34 The corresponding linux Ethernet interface is called the master interface. 37 The slave interfaces depend on the master interface being up in order for them 38 to send or receive traffic. Prior to kernel v5.12, the state of the master 39 interface had to be managed explicitly by the user. Starting with kernel v5.12, 42 - when a DSA slave interface is brought up, the master interface is 44 - when the master interface is brought down, all DSA slave interfaces are [all …]
|
/openbmc/linux/Documentation/w1/ |
H A D | w1-netlink.rst | 10 1. Events. They are generated each time a new master or slave device 21 [struct cn_msg] - connector header. 23 [struct w1_netlink_msg] - w1 netlink header. 24 __u8 type - message type. 30 master add/remove events 32 userspace command for bus master 37 __u8 status - error indication from kernel 38 __u16 len - size of data attached to this header data 40 __u8 id[8]; - slave unique device id 42 __u32 id; - master's id [all …]
|
/openbmc/linux/Documentation/i2c/ |
H A D | gpio-fault-injection.rst | 5 The GPIO based I2C bus master driver can be configured to provide fault 7 which is driven by the I2C bus master driver under test. The GPIO fault 9 master driver should handle gracefully. 12 'i2c-fault-injector' subdirectory in the Kernel debugfs filesystem, usually 13 mounted at /sys/kernel/debug. There will be a separate subdirectory per GPIO 15 injection. They will be described now along with their intended use-cases. 21 ----- 26 because the bus master under test will not be able to clock. It should detect 31 ----- 36 master under test should detect this condition and trigger a bus recovery (see [all …]
|
H A D | summary.rst | 5 I²C (pronounce: I squared C and written I2C in the kernel documentation) is 6 a protocol developed by Philips. It is a slow two-wire protocol (variable 14 The latest official I2C specification is the `"I2C-bus specification and user 16 published by NXP Semiconductors. However, you need to log-in to the site to 18 `here <https://web.archive.org/web/20210813122132/https://www.nxp.com/docs/en/user-guide/UM10204.pd… 37 one or more *master* chips and one or more *slave* chips. 39 .. kernel-figure:: i2c_bus.svg 40 :alt: Simple I2C bus with one master and 3 slaves 44 A **master** chip is a node that starts communications with slaves. In the 45 Linux kernel implementation it is called an **adapter** or bus. Adapter [all …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | fscrypt.rst | 2 Filesystem-level encryption (fscrypt) 11 Note: "fscrypt" in this document refers to the kernel-level portion, 14 covers the kernel-level portion. For command-line examples of how to 20 <https://source.android.com/security/encryption/file-based>`_, over 21 using the kernel's API directly. Using existing tools reduces the 23 completeness this documentation covers the kernel's API anyway.) 25 Unlike dm-crypt, fscrypt operates at the filesystem level rather than 28 filesystem. This is useful for multi-user systems where each user's 29 data-at-rest needs to be cryptographically isolated from the others. 34 directly into supported filesystems --- currently ext4, F2FS, and [all …]
|
/openbmc/linux/drivers/w1/ |
H A D | w1_int.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include <linux/kernel.h> 18 static int w1_search_count = -1; /* Default is continual scan */ 32 * We are in process context(kernel thread), so can sleep. in w1_alloc_dev() 42 dev->bus_master = (struct w1_bus_master *)(dev + 1); in w1_alloc_dev() 44 dev->owner = THIS_MODULE; in w1_alloc_dev() 45 dev->max_slave_count = slave_count; in w1_alloc_dev() 46 dev->slave_count = 0; in w1_alloc_dev() 47 dev->attempts = 0; in w1_alloc_dev() 48 dev->initialized = 0; in w1_alloc_dev() [all …]
|
/openbmc/linux/Documentation/trace/ |
H A D | stm.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 which is assigned a unique pair of master and channel. While some of 14 master/channel combination from this pool. 17 sources can only be identified by master/channel combination, so in 20 master/channel pairs to the trace sources that it understands. 23 master 7 channel 15, while arbitrary user applications can use masters 34 associated with it, located in "stp-policy" subsystem directory in 40 $ ls /config/stp-policy/dummy_stm.my-policy/user 42 $ cat /config/stp-policy/dummy_stm.my-policy/user/masters 44 $ cat /config/stp-policy/dummy_stm.my-policy/user/channels [all …]
|
/openbmc/linux/Documentation/driver-api/rapidio/ |
H A D | rapidio.rst | 5 The RapidIO standard is a packet-based fabric interconnect standard designed for 8 is publicly available for download from the RTA web-site [1]. 17 into the kernel similarly to other buses by defining RapidIO-specific device and 21 architecture-specific interfaces that provide support for common RapidIO 32 2.1 Master Port 33 --------------- 35 A master port (or mport) is a RapidIO interface controller that is local to the 36 processor executing the Linux code. A master port generates and receives RapidIO 37 packets (transactions). In the RapidIO subsystem each master port is represented 38 by a rio_mport data structure. This structure contains master port specific [all …]
|
/openbmc/linux/Documentation/mm/damon/ |
H A D | maintainer-profile.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 linux-mm@kvack.org. Patches should be made against the mm-unstable tree [1]_ 14 --------- 18 Sufficiently reviewed patches will be queued in mm-unstable [1]_ by the memory 20 be queued in mm-stable [3]_ , and finally pull-requested to the mainline by the 23 Note again the patches for review should be made against the mm-unstable 28 ------------------------- 32 - Build changes related outputs including kernel and documents. 33 - Ensure the builds introduce no new errors or warnings. 34 - Run and ensure no new failures for DAMON selftests [4]_ and kunittests [5]_ . [all …]
|
/openbmc/linux/Documentation/w1/slaves/ |
H A D | w1_ds28e17.rst | 2 Kernel driver w1_ds28e17 7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge 19 ----------- 20 The DS28E17 is a Onewire slave device which acts as an I2C bus master. 24 a DS28E17 can be accessed by the kernel or userspace tools as if they were 25 connected to a "native" I2C bus master. 30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \ 31 SYMLINK+="i2c-$attr{name}" 33 may be used to create stable /dev/i2c- entries based on the unique id of the 41 it is connected. The power-on default of the DS28E17 is 400kBaud, but [all …]
|
/openbmc/linux/Documentation/driver-api/i3c/ |
H A D | master-driver-api.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 I3C master controller driver API 7 .. kernel-doc:: drivers/i3c/master.c 9 .. kernel-doc:: include/linux/i3c/master.h
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | parser_imagetag.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright © 2006-2008 Florian Fainelli <florian@openwrt.org> 7 * Copyright © 2009-2010 Daniel Dickinson <openwrt@cshore.neomailbox.net> 8 * Copyright © 2011-2013 Jonas Gorski <jonas.gorski@gmail.com> 16 #include <linux/kernel.h> 26 do { char *_str = (x); _str[sizeof(x) - 1] = 0; } while (0) 28 static int bcm963xx_read_imagetag(struct mtd_info *master, const char *name, in bcm963xx_read_imagetag() argument 35 ret = mtd_read(master, tag_offset, sizeof(*buf), &retlen, (void *)buf); in bcm963xx_read_imagetag() 40 return -EIO; in bcm963xx_read_imagetag() 44 if (computed_crc == buf->header_crc) { in bcm963xx_read_imagetag() [all …]
|
/openbmc/linux/include/sound/ |
H A D | control.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 14 #define snd_kcontrol_chip(kcontrol) ((kcontrol)->private_data) 29 ((info)->access & SNDRV_CTL_ELEM_ACCESS_SKIP_CHECK) 35 /* kernel only - LED bits */ 37 #define SNDRV_CTL_ELEM_ACCESS_LED_MASK (7<<25) /* kernel three bits - LED group */ 38 #define SNDRV_CTL_ELEM_ACCESS_SPK_LED (1<<25) /* kernel speaker (output) LED flag */ 39 #define SNDRV_CTL_ELEM_ACCESS_MIC_LED (2<<25) /* kernel microphone (input) LED flag */ 44 SNDRV_CTL_TLV_OP_CMD = -1, 149 * snd_ctl_find_id_mixer - find the control instance with the given name string 190 unsigned int ioff = id->numid - kctl->id.numid; in snd_ctl_get_ioffnum() [all …]
|
/openbmc/linux/Documentation/driver-api/ |
H A D | spi.rst | 7 often in the range of 1-20 MHz), a "Master Out, Slave In" (MOSI) data 8 line, and a "Master In, Slave Out" (MISO) data line. SPI is a full 12 additional chipselect line is usually active-low (nCS); four signals are 18 only "master" side interfaces are supported, where Linux talks to SPI 29 <spi_controller>`. SPI devices are children of that master, 33 board-specific initialization code. A :c:type:`struct spi_driver 46 .. kernel-doc:: include/linux/spi/spi.h 49 .. kernel-doc:: drivers/spi/spi.c 52 .. kernel-doc:: drivers/spi/spi.c
|
/openbmc/docs/development/ |
H A D | add-new-system.md | 19 - Review background about Yocto and BitBake 20 - Creating a new system layer 21 - Populating this new layer 22 - Building the new system and testing in QEMU 23 - Adding configs for sensors, LEDs, inventories, etc. 32 Yocto has a concept of hierarchical layers. When you build a Yocto-based 35 defined within OpenBMC can be found with the meta-\* directories in OpenBMC 40 [BitBake](https://github.com/openembedded/bitbake/blob/master/README) recipes. 57 [page](https://github.com/openbmc/openbmc/blob/master/README.md#2-download-the-source) 58 for the Romulus system (steps 2-4). [all …]
|
/openbmc/linux/Documentation/security/keys/ |
H A D | ecryptfs.rst | 9 either in kernel space or in user space with a daemon called 'ecryptfsd'. In 10 the former case the operation is performed directly by the kernel CryptoAPI 18 kernel key of the 'user' type, inserted in the user's session specific keyring 20 'ecryptfs-utils'. 26 kernel and protected by the parent master key. 28 In order to avoid known-plaintext attacks, the datablob obtained through 38 kernel level. 42 keyctl add encrypted name "new ecryptfs key-type:master-key-name keylen" ring 44 keyctl update keyid "update key-type:master-key-name" 49 key-type:= 'trusted' | 'user' [all …]
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-klnuma.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright 2000 - 2001 Silicon Graphics, Inc. 5 * Copyright 2000 - 2001 Kanoj Sarcar (kanoj@sgi.com) 10 #include <linux/kernel.h> 21 #include "ip27-common.h" 26 * XXX - This needs to be much smarter about where it puts copies of the 27 * kernel. For example, we should never put a copy on a headless node, 32 /* Set only the master cnode's bit. The master cnode is always 0. */ in setup_replication_mask() 38 #error Kernel replication works with mapped kernel support. No calias support. in setup_replication_mask() 46 /* Advertise that we have a copy of the kernel */ in setup_replication_mask() [all …]
|
/openbmc/linux/Documentation/gpu/ |
H A D | drm-uapi.rst | 9 addition, drivers export device-specific interfaces for use by userspace 10 drivers & device-aware applications through ioctls and sysfs files. 16 Cover generic ioctls and sysfs layout here. We only need high-level 22 .. kernel-doc:: drivers/gpu/drm/drm_ioctl.c 28 Primary Nodes, DRM Master and Authentication 31 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 32 :doc: master and authentication 34 .. kernel-doc:: drivers/gpu/drm/drm_auth.c 37 .. kernel-doc:: include/drm/drm_auth.h 46 .. kernel-doc:: drivers/gpu/drm/drm_lease.c [all …]
|
/openbmc/qemu/tests/unit/ |
H A D | test-crypto-secret.c | 56 int fd = g_file_open_tmp("qemu-test-crypto-secret-XXXXXX", in test_secret_indirect_good() 93 "file", "does-not-exist", in test_secret_indirect_badfile() 104 int fd = g_file_open_tmp("qemu-test-crypto-secretXXXXXX", in test_secret_indirect_emptyfile() 235 * We don't know yet if this due a bug in the Linux kernel or 237 * We've requested information from kernel maintainers. 247 g_test_skip("TODO: Need response from Linux kernel maintainers"); in test_secret_keyring_bad_key_access_right() 392 Object *master = object_new_with_props( in test_secret_crypt_raw() local 395 "master", in test_secret_crypt_raw() 408 "keyid", "master", in test_secret_crypt_raw() 418 object_unparent(master); in test_secret_crypt_raw() [all …]
|