/openbmc/u-boot/include/ |
H A D | board.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * board or a specific device such as hard-wired GPIOs on GPIO expanders, 10 * read-only data in flash ICs, or similar. 13 * int, string) from the device, each of which is identified by a static 16 * If for example the board had a read-only serial number flash IC, we could 21 * debug("board device not found."); 27 * debug("Error when reading serial number from device."); 36 * detect() - Run the hardware info detection procedure for this 37 * device. 38 * @dev: The device containing the information [all …]
|
H A D | ata.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 9 * "Information Technology - AT Attachment-3 Interface (ATA-3)" 11 * http://www.dt.wdc.com/ata/ata-3/ata3r5v.zip 13 * ftp://ftp.fee.vutbr.cz/pub/doc/io/ata/ata-3/ata3r5v.zip 22 * 8-bit (register) and 16-bit (data) accesses might use different 56 #define ATA_STAT_BUSY 0x80 /* Device Busy */ 57 #define ATA_STAT_READY 0x40 /* Device Ready */ 58 #define ATA_STAT_FAULT 0x20 /* Device Fault */ 59 #define ATA_STAT_SEEK 0x10 /* Device Seek Complete */ 66 * Device / Head Register Bits [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | atmioc.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* atmioc.h - ranges for ATM-related ioctl numbers */ 4 /* Written 1995-1999 by Werner Almesberger, EPFL LRC/ICA */ 8 * See https://icawww1.epfl.ch/linux-atm/magic.html for the complete list of 19 #define ATMIOC_PHYCOM 0x00 /* PHY device common ioctls, globally unique */ 21 #define ATMIOC_PHYTYP 0x10 /* PHY dev type ioctls, unique per PHY type */ 23 #define ATMIOC_PHYPRV 0x30 /* PHY dev private ioctls, unique per driver */ 25 #define ATMIOC_SARCOM 0x50 /* SAR device common ioctls, globally unique */ 27 #define ATMIOC_SARPRV 0x60 /* SAR dev private ioctls, unique per driver */ 29 #define ATMIOC_ITF 0x80 /* Interface ioctls, globally unique */ [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-g-topology.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties 53 .. flat-table:: struct media_v2_topology 54 :header-rows: 0 55 :stub-columns: 0 58 * - __u64 59 - ``topology_version`` 60 - Version of the media graph topology. When the graph is created, 64 * - __u32 65 - ``num_entities`` [all …]
|
/openbmc/linux/drivers/virt/nitro_enclaves/ |
H A D | ne_pci_dev.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2020-2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. 17 * DOC: Nitro Enclaves (NE) PCI device 21 * PCI_DEVICE_ID_NE - Nitro Enclaves PCI device id. 25 * PCI_BAR_NE - Nitro Enclaves PCI device MMIO BAR. 30 * DOC: Device registers in the NE PCI device MMIO BAR 34 * NE_ENABLE - (1 byte) Register to notify the device that the driver is using 42 * NE_VERSION - (2 bytes) Register to select the device run-time version 49 * NE_COMMAND - (4 bytes) Register to notify the device what command was 50 * requested (Write-Only). [all …]
|
/openbmc/u-boot/drivers/remoteproc/ |
H A D | rproc-uclass.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Texas Instruments Incorporated - http://www.ti.com/ 13 #include <dm/device-internal.h> 16 #include <dm/uclass-internal.h> 21 * for_each_remoteproc_device() - iterate through the list of rproc devices 24 * @skip_dev: Device to skip calling the callback about. 54 * _rproc_name_is_unique() - iteration helper to check if rproc name is unique 55 * @dev: device that we are checking name for 57 * @data: compare data (this is the name we want to ensure is unique) 59 * Return: 0 is there is no match(is unique); if there is a match(we dont [all …]
|
/openbmc/linux/drivers/accel/ |
H A D | drm_accel.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <linux/device.h> 29 static char *accel_devnode(const struct device *dev, umode_t *mode) in accel_devnode() 40 accel_class->devnode = accel_devnode; in accel_sysfs_init() 55 struct drm_info_node *node = (struct drm_info_node *) m->private; in accel_name_info() 56 struct drm_minor *minor = node->minor; in accel_name_info() 57 struct drm_device *dev = minor->dev; in accel_name_info() 60 mutex_lock(&dev->master_mutex); in accel_name_info() 61 master = dev->master; in accel_name_info() 62 seq_printf(m, "%s", dev->driver->name); in accel_name_info() [all …]
|
/openbmc/linux/Documentation/networking/devlink/ |
H A D | devlink-info.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 7 The ``devlink-info`` mechanism enables device drivers to report device 10 The original motivation for the ``devlink-info`` API was twofold: 12 - making it possible to automate device and firmware management in a fleet 13 of machines in a vendor-independent fashion (see also 14 :ref:`Documentation/networking/devlink/devlink-flash.rst <devlink_flash>`); 15 - name the per component FW versions (as opposed to the crowded ethtool 18 ``devlink-info`` supports reporting multiple types of objects. Reporting driver 19 versions is generally discouraged - here, and via any other Linux API. 21 .. list-table:: List of top level info objects [all …]
|
/openbmc/u-boot/drivers/led/ |
H A D | Kconfig | 8 U-Boot provides a uclass API to implement this feature. LED drivers 9 can provide access to board-specific LEDs. Use of the device tree 46 enable this option. You will need to enable device tree in SPL 50 bool "LED support for GPIO-connected LEDs" 54 GPIOs may be on the SoC or some other device which provides GPIOs. 56 the device tree. 59 bool "LED support for GPIO-connected LEDs in SPL" 62 This option is an SPL-variant of the LED_GPIO option. 68 Allows common u-boot commands to use a board's leds to 112 which LED is being acted on. As such, the chosen value must be unique [all …]
|
/openbmc/linux/drivers/message/fusion/ |
H A D | mptsas.h | 3 * High performance SCSI + LAN / Fibre Channel device drivers. 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 50 /*{-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 90 /* cached data for a removed device */ 103 u8 phys_disk_num; /* hrc - unique index*/ 131 u16 handle; /* unique id to address this device */ [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_ioctl.c | 57 * - GET_UNIQUE ioctl, implemented by drm_getunique is wrapped up in libdrm 59 * - The libdrm drmSetBusid function is backed by the SET_UNIQUE ioctl. All 61 * - The internal set_busid kernel functions and driver callbacks are 64 * - Other ioctls and functions involved are named consistently. 71 * Now the actual horror story of how device lookup in drm works. At large, 72 * there's 2 different ways, either by busid, or by device driver name. 77 * side-effect this fills out the unique name in the master structure. 78 * 2. Call GET_UNIQUE to read out the unique name from the master structure, 80 * the next device node. 86 * means the unique name for the master node just opening is _not_ filled [all …]
|
/openbmc/linux/include/linux/ |
H A D | fsl_devices.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Definitions for any platform device related flags or structures for 17 PHY CLK to become stable - 10ms*/ 25 * unique device: a platform_device entry in fsl_plat_devs[] plus 26 * associated device information in its platform_data structure. 28 * A chip is described by a set of unique devices. 30 * Each sub-arch has its own master list of unique devices and 31 * enumerates them by enum fsl_devices in a sub-arch specific header 34 * first is device specific information that help identify any 35 * unique features of a peripheral. The second is any [all …]
|
H A D | auxiliary_bus.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2019-2020 Intel Corporation 5 * Please see Documentation/driver-api/auxiliary_bus.rst for more information. 11 #include <linux/device.h> 20 * responsible for the management of the memory used for the device object. 25 * it is done with the device. The release() function is then automatically 47 * device which unregisters the auxiliary device object(s). 51 * unregisters the auxiliary device. 55 * struct auxiliary_device - auxiliary device object. 56 * @dev: Device, [all …]
|
H A D | acpi_dma.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 15 #include <linux/device.h> 20 * struct acpi_dma_spec - slave device DMA resources 21 * @chan_id: channel unique id 22 * @slave_id: request line unique id 23 * @dev: struct device of the DMA controller to be used in the filter 29 struct device *dev; 33 * struct acpi_dma - representation of the registered DMAC 35 * @dev: struct device of this controller 43 struct device *dev; [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | pmbus_error.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 // Specify which compiler-generated methods we want 45 * @param deviceID unique ID of the device where error occurred 46 * @param inventoryPath inventory path of the device where error occurred 55 * Returns the unique ID of the device where the error occurred. 57 * @return device ID 65 * Returns the inventory path of the device where the error occurred. 91 * Unique ID of the device where the error occurred. 96 * Inventory path of the device where the error occurred.
|
H A D | write_verification_error.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 36 // Specify which compiler-generated methods we want 48 * @param deviceID unique ID of the device where error occurred 49 * @param inventoryPath inventory path of the device where error occurred 59 * Returns the unique ID of the device where the error occurred. 61 * @return device ID 69 * Returns the inventory path of the device where the error occurred. 95 * Unique ID of the device where the error occurred. 100 * Inventory path of the device where the error occurred.
|
H A D | rail.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 31 class Device; 45 // Specify which compiler-generated methods we want 56 * @param id unique rail ID 88 * @param chassis chassis that contains the device 89 * @param device device that contains this rail 92 Device& device); 106 * Returns the unique ID of this rail. 125 * @param chassis chassis that contains the device 126 * @param device device that contains this rail [all …]
|
/openbmc/linux/include/media/ |
H A D | media-device.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Media device 19 #include <media/media-devnode.h> 20 #include <media/media-entity.h> 26 * struct media_entity_notify - Media Entity Notify 33 * registered with the media device. This handler is intended for creating 44 * struct media_device_ops - Media device operations 76 * struct media_device - Media device 77 * @dev: Parent device 78 * @devnode: Media device node [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 085 | 35 snapshot_virt0="snapshot-v0.qcow2" 36 snapshot_virt1="snapshot-v1.qcow2" 46 _rm_test_img "${TEST_DIR}/${i}-${snapshot_virt0}" 47 _rm_test_img "${TEST_DIR}/${i}-${snapshot_virt1}" 66 # ${1}: unique identifier for the snapshot filename 69 cmd="{ 'execute': 'blockdev-snapshot-sync', 70 'arguments': { 'device': 'virtio0', 71 'snapshot-file':'${TEST_DIR}/${1}-${snapshot_virt0}', 76 # ${1}: unique identifier for the snapshot filename 81 { 'type': 'blockdev-snapshot-sync', 'data' : [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-rbd | 6 (WO) Add rbd block device. 14 The snapshot name can be "-" or omitted to map the image 15 read/write. A <dev-id> will be assigned for any registered block 16 device. If snapshot is used, it will be mapped read-only. 24 (WO) Remove rbd block device. 26 Usage: <dev-id> [force] 76 What: /sys/bus/rbd/devices/<dev-id>/size 77 What: /sys/bus/rbd/devices/<dev-id>/major 78 What: /sys/bus/rbd/devices/<dev-id>/client_id 79 What: /sys/bus/rbd/devices/<dev-id>/pool [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_auth.h | 56 * struct drm_master - drm master structure 59 * @dev: Link back to the DRM device 60 * @driver_priv: Pointer to driver-private information. 62 * Note that master structures are only relevant for the legacy/primary device 63 * nodes, hence there can only be one per device, not one per drm_minor. 69 * @unique: Unique identifier: e.g. busid. Protected by 72 char *unique; member 74 * @unique_len: Length of unique field. Protected by 90 * device have this set to NULL.
|
/openbmc/phosphor-power/phosphor-regulators/docs/config_file/ |
H A D | phase_fault_detection.md | 20 This provides "de-glitching" to ignore transient hardware problems. 24 - Use the [if](if.md) action to implement the high level behavior "if a fault is 26 - Detecting the fault 27 - Use a comparison action like [i2c_compare_bit](i2c_compare_bit.md) to detect 29 - Logging the error 30 - Use the [i2c_capture_bytes](i2c_capture_bytes.md) action to capture 32 - Use the [log_phase_fault](log_phase_fault.md) action to log a phase fault 38 - Use the "rule_id" property to specify a standard rule to run. 39 - Use the "actions" property to specify an array of actions that are unique to 42 The default device for the actions is the voltage regulator. You can specify a [all …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/conf/machine/ |
H A D | sbsa-ref.conf | 2 #@NAME: sbsa-ref 3 #@DESCRIPTION: Reference SBSA machine in qemu-system-aarch64 on Neoverse N2 5 require conf/machine/include/arm/armv9a/tune-neoversen2.inc 8 PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" 10 MACHINE_EXTRA_RRECOMMENDS += "kernel-modules" 12 MACHINE_FEATURES = " alsa bluetooth efi qemu-usermode rtc screen usbhost vfat wifi" 16 # This unique WIC file is necessary because kernel boot args cannot be passed 20 # boot arg (which we need for testimage), we have to have a WIC file unique to 22 WKS_FILE = "qemu-efi-disk.wks.in" 24 EFI_PROVIDER ?= "${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-boot", "grub-efi", d)}" [all …]
|
/openbmc/linux/Documentation/driver-api/soundwire/ |
H A D | summary.rst | 10 SoundWire is a 2-pin multi-drop interface with data and clock line. It 15 commands over a single two-pin interface. 23 (4) Device status monitoring, including interrupt-style alerts to the Master. 38 +---------------+ +---------------+ 40 | Master |-------+-------------------------------| Slave | 42 | |-------|-------+-----------------------| | 43 +---------------+ | | +---------------+ 47 +--+-------+--+ 52 +-------------+ 58 The MIPI SoundWire specification uses the term 'device' to refer to a Master [all …]
|
/openbmc/linux/drivers/target/ |
H A D | target_core_rd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 /* Unique Ramdisk Device ID in Ramdisk HBA */ 38 /* Total page count for ramdisk device */ 48 /* Ramdisk HBA device is connected to */ 54 u32 rd_host_id; /* Unique Ramdisk Host ID */
|