Home
last modified time | relevance | path

Searched +full:device +full:- +full:id (Results 1 – 25 of 1100) sorted by relevance

12345678910>>...44

/openbmc/ipmitool/contrib/
H A Doem_ibm_sel_map1 …,"XX","XX","XX","0x01","0x00","Chassis Number","R","R","0x00","CPU shutdown - Potential cause "tri…
2 … Memory Card","Spare Memory Card","0x00","Memory Mirrored Failover Occurred - System running from …
13 …"Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)","Vendor ID (LSB)"…
14 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
15 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
16 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
17 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
18 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
19 …"Chassis Number","Slot Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)",…
20 …t Number","Bus Number","Device ID (MSB)","Device ID (LSB)","Vendor ID (MSB)","Vendor ID (LSB)","R"…
[all …]
/openbmc/u-boot/include/dm/
H A Duclass.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 #include <dm/uclass-id.h>
18 * struct uclass - a U-Boot drive class, collecting together similar drivers
24 * There may be drivers for on-chip SoC GPIO banks, I2C GPIO expanders and
51 * struct uclass_driver - Driver for the uclass
57 * @id: ID number of this uclass
58 * @post_bind: Called after a new device is bound to this uclass
59 * @pre_unbind: Called before a device is unbound from this uclass
60 * @pre_probe: Called before a new device is probed
61 * @post_probe: Called after a new device is probed
[all …]
H A Duclass-internal.h1 /* SPDX-License-Identifier: GPL-2.0+ */
15 * uclass_find_next_free_req_seq() - Get the next free req_seq number
22 * @id: Id number of the uclass
25 int uclass_find_next_free_req_seq(enum uclass_id id);
28 * uclass_get_device_tail() - handle the end of a get_device call
30 * This handles returning an error or probing a device as needed.
32 * @dev: Device that needs to be probed
33 * @ret: Error to return. If non-zero then the device is not probed
35 * @return ret, if non-zero, else the result of the device_probe() call
40 * dev_get_uclass_index() - Get uclass and index of device
[all …]
/openbmc/qemu/tests/qtest/fuzz/
H A Dgeneric_fuzz_configs.h2 * Generic Virtual-Device Fuzzing Target Configs
10 * See the COPYING file in the top-level directory.
23 g_autofree char *tmpdir = g_dir_make_tmp("qemu-fuzz.XXXXXX", NULL); in generic_fuzzer_virtio_9p_args()
26 return g_strdup_printf("-machine q35 -nodefaults " in generic_fuzzer_virtio_9p_args()
27 "-device virtio-9p,fsdev=hshare,mount_tag=hshare " in generic_fuzzer_virtio_9p_args()
28 "-fsdev local,id=hshare,path=%s,security_model=mapped-xattr," in generic_fuzzer_virtio_9p_args()
34 .name = "virtio-net-pci-slirp",
35 .args = "-M q35 -nodefaults "
36 "-device virtio-net,netdev=net0 -netdev user,id=net0",
39 .name = "virtio-blk",
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DPCIeDevice.interface.yaml2 This defines a PCIe device to be exposed for system management. It includes
3 the device properties and function properties for all 8 possible functions
4 that are needed for the device identification.
7 - name: DeviceType
10 Indicates if the device is MultiFunction or SingleFunction.
11 - name: GenerationInUse
15 The PCIe interface generation in use by the device.
16 - name: GenerationSupported
20 The maximum PCIe generation supported by the device.
22 - name: Function0ClassCode
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dbus.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Surface System Aggregator Module bus and device integration.
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
8 #include <linux/device.h>
13 #include <linux/surface_aggregator/device.h>
19 /* -- Device and bus functions. --------------------------------------------- */
21 static ssize_t modalias_show(struct device *dev, struct device_attribute *attr, in modalias_show()
27 sdev->uid.domain, sdev->uid.category, sdev->uid.target, in modalias_show()
28 sdev->uid.instance, sdev->uid.function); in modalias_show()
38 static int ssam_device_uevent(const struct device *dev, struct kobj_uevent_env *env) in ssam_device_uevent()
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_device_id.robot3 ... This script verifies Get Device ID IPMI command.
9 ... Device ID, Device Revision, Firmware Revision 1 & 2,
10 ... IPMI Version, Manufacture ID, Product ID,
13 ... Request Data for Get Device ID defined under,
14 ... - data/ipmi_raw_cmd_table.py
28 Get Device ID Via IPMI
29 [Documentation] Verify Get Device ID using IPMI and check whether a response is received.
32 # Verify Get Device ID.
34 ... ${IPMI_RAW_CMD['Device ID']['Get'][0]}
35 Should Not Contain ${resp} ${IPMI_RAW_CMD['Device ID']['Get'][1]}
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Did_map.hpp8 * http://www.apache.org/licenses/LICENSE-2.0
26 class Device;
33 * This class provides a mapping from string IDs to the associated Device, Rail,
39 // Specify which compiler-generated methods we want
48 * Adds the specified device to this IDMap.
50 * Throws invalid_argument if the device's ID already exists in the map.
52 * @param device device to add
54 void addDevice(Device& device);
59 * Throws invalid_argument if the rail's ID already exists in the map.
68 * Throws invalid_argument if the rule's ID already exists in the map.
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-bus-i3c1 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
6 I3C device present on the bus.
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
[all …]
H A Dsysfs-bus-vfio-mdev1 What: /sys/.../<device>/mdev_supported_types/
6 supported mediated device types and their details for
7 <device>. Supported type attributes are defined by the
8 vendor driver who registers with Mediated device framework.
10 by adding the device driver string as a prefix to the
13 What: /sys/.../<device>/mdev_supported_types/<type-id>/
24 What: /sys/.../mdev_supported_types/<type-id>/create
28 Writing UUID to this file will create mediated device of
29 type <type-id> for parent device <device>. This is a
30 write-only file.
[all …]
/openbmc/linux/drivers/rapidio/
H A Drio-driver.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 * rio_match_device - Tell if a RIO device has a matching RIO device id structure
19 * @id: the RIO device id structure to match against
20 * @rdev: the RIO device structure to match against
22 * Used from driver probe and bus matching to check whether a RIO device
23 * matches a device id structure provided by a RIO driver. Returns the
27 *id, in rio_match_device()
30 while (id->vid || id->asm_vid) { in rio_match_device()
31 if (((id->vid == RIO_ANY_ID) || (id->vid == rdev->vid)) && in rio_match_device()
32 ((id->did == RIO_ANY_ID) || (id->did == rdev->did)) && in rio_match_device()
[all …]
/openbmc/linux/include/linux/
H A Dreset.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 struct device;
14 * struct reset_control_bulk_data - Data used for bulk reset control operations.
16 * @id: reset control consumer ID
24 const char *id; member
45 const char *id, int index, bool shared,
47 struct reset_control *__reset_control_get(struct device *dev, const char *id,
51 int __reset_control_bulk_get(struct device *dev, int num_rstcs,
56 int __device_reset(struct device *dev, bool optional);
57 struct reset_control *__devm_reset_control_get(struct device *dev,
[all …]
/openbmc/qemu/docs/specs/
H A Dpci-ids.rst5 Red Hat, Inc. donates a part of its device ID range to QEMU, to be used for
6 virtual devices. The vendor IDs are 1af4 (formerly Qumranet ID) and 1b36.
8 Contact Gerd Hoffmann <kraxel@redhat.com> to get a device ID assigned
11 1af4 vendor ID
12 --------------
14 The 1000 -> 10ff device ID range is used as follows for virtio-pci devices.
15 Note that this allocation is separate from the virtio device IDs, which are
19 network device (legacy)
21 block device (legacy)
23 balloon device (legacy)
[all …]
H A Driscv-iommu.rst1 .. _riscv-iommu:
3 RISC-V IOMMU support for RISC-V machines
6 QEMU implements a RISC-V IOMMU emulation based on the RISC-V IOMMU spec
9 The emulation includes a PCI reference device, riscv-iommu-pci, that QEMU
10 RISC-V boards can use. The 'virt' RISC-V machine is compatible with this
11 device.
13 riscv-iommu-pci reference device
14 --------------------------------
16 This device implements the RISC-V IOMMU emulation as recommended by the section
17 "Integrating an IOMMU as a PCIe device" of `iommu1.0`_: a PCI device with base
[all …]
/openbmc/linux/sound/
H A Dac97_bus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 #include <linux/device.h>
17 * snd_ac97_check_id() - Reads and checks the vendor ID of the device
18 * @ac97: The AC97 device to check
19 * @id: The ID to compare to
20 * @id_mask: Mask that is applied to the device ID before comparing to @id
22 * If @id is 0 this function returns true if the read device vendor ID is
23 * a valid ID. If @id is non 0 this functions returns true if @id
24 * matches the read vendor ID. Otherwise the function returns false.
26 static bool snd_ac97_check_id(struct snd_ac97 *ac97, unsigned int id, in snd_ac97_check_id() argument
[all …]
/openbmc/qemu/qapi/
H A Dqdev.json1 # -*- Mode: Python -*-
5 # See the COPYING file in the top-level directory.
8 # = Device infrastructure (qdev)
14 # @device-list-properties:
16 # List properties associated with a device.
18 # @typename: the type name of a device
29 { 'command': 'device-list-properties',
36 # Add a device.
38 # @driver: the name of the new device's driver
40 # @bus: the device's parent bus (device tree path)
[all …]
H A Dblock.json1 # -*- Mode: Python -*-
8 { 'include': 'block-core.json' }
39 # @rechs: Same as @large, but first convert a 16-head geometry to
40 # 15-head, by proportionally scaling up the number of
73 # @id: the identifier of the persistent reservation manager
81 'data': {'id': 'str', 'connected': 'bool'} }
84 # @query-pr-managers:
94 { 'command': 'query-pr-managers', 'returns': ['PRManagerInfo'],
95 'allow-preconfig': true }
102 # @device: Block device name
[all …]
/openbmc/qemu/tests/qtest/
H A Ddevice-plug-test.c2 * QEMU device plug/unplug handling
10 * See the COPYING file in the top-level directory.
27 static void wait_device_deleted_event(QTestState *qtest, const char *id) in wait_device_deleted_event() argument
33 * Other devices might get removed along with the removed device. Skip in wait_device_deleted_event()
34 * these. The device of interest will be the last one. in wait_device_deleted_event()
39 if (!data || !qdict_get(data, "device")) { in wait_device_deleted_event()
43 qstr = qobject_to(QString, qdict_get(data, "device")); in wait_device_deleted_event()
45 if (!strcmp(qstring_get_str(qstr), id)) { in wait_device_deleted_event()
53 static void process_device_remove(QTestState *qtest, const char *id) in process_device_remove() argument
56 * Request device removal. As the guest is not running, the request won't in process_device_remove()
[all …]
H A Dcxl-test.c5 * See the COPYING file in the top-level directory.
9 #include "libqtest-single.h"
12 "-machine q35,cxl=on " \
13 "-device pxb-cxl,id=cxl.0,bus=pcie.0,bus_nr=52 " \
14 "-M cxl-fmw.0.targets.0=cxl.0,cxl-fmw.0.size=4G "
17 "-machine q35,cxl=on " \
18 "-device pxb-cxl,id=cxl.0,bus=pcie.0,bus_nr=52 " \
19 "-device pxb-cxl,id=cxl.1,bus=pcie.0,bus_nr=53 " \
20 "-M cxl-fmw.0.targets.0=cxl.0,cxl-fmw.0.targets.1=cxl.1,cxl-fmw.0.size=4G "
23 "-device cxl-rp,id=rp0,bus=cxl.0,chassis=0,slot=0 "
[all …]
/openbmc/qemu/docs/
H A Dqdev-device-use.txt1 = How to convert to -device & friends =
5 In qdev, each device has a parent bus. Some devices provide one or
6 more buses for children. You can specify a device's parent bus with
7 -device parameter bus.
9 A device typically has a device address on its parent bus. For buses
10 where this address can be configured, devices provide a bus-specific
16 SCSI scsi-id %u
19 virtio-serial-bus nr %u
20 ccid-bus slot %u
23 Example: device i440FX-pcihost is on the root bus, and provides a PCI
[all …]
/openbmc/linux/drivers/regulator/
H A Ddevres.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * devres.c -- Voltage/Current Regulator framework devres implementation.
17 static void devm_regulator_release(struct device *dev, void *res) in devm_regulator_release()
22 static struct regulator *_devm_regulator_get(struct device *dev, const char *id, in _devm_regulator_get() argument
29 return ERR_PTR(-ENOMEM); in _devm_regulator_get()
31 regulator = _regulator_get(dev, id, get_type); in _devm_regulator_get()
43 * devm_regulator_get - Resource managed regulator_get()
44 * @dev: device to supply
45 * @id: supply name or regulator ID.
51 struct regulator *devm_regulator_get(struct device *dev, const char *id) in devm_regulator_get() argument
[all …]
/openbmc/qemu/docs/system/devices/
H A Dusb.rst2 -------------
16 more virtualization-friendly when compared to EHCI and UHCI, thus XHCI
21 |qemu_system| -device qemu-xhci
46 ``-usb`` switch. QEMU will create the UHCI controller as function of
47 the PIIX3 chipset. The USB 1.1 bus will carry the name ``usb-bus.0``.
49 You can use the standard ``-device`` switch to add a EHCI controller to
50 your virtual machine. It is strongly recommended to specify an ID for
52 ``-device usb-ehci,id=ehci``. This will give you a USB 2.0 bus named
55 When adding USB devices using the ``-device`` switch you can specify the
58 .. parsed-literal::
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D172.out11 dev: isa-fdc, id ""
18 bus: floppy-bus.0
19 type floppy-bus
20 dev: floppy, id ""
29 write-cache = "auto"
30 share-rw = false
31 account-invalid = "auto"
32 account-failed = "auto"
33 drive-type = "288"
36 === Using -fda/-fdb options ===
[all …]
/openbmc/qemu/tests/functional/
H A Dtest_ppc64_tuxrun.py12 # SPDX-License-Identifier: GPL-2.0-or-later
26 self.extradev='spapr-vscsi'
27 # add device args to command line.
29 self.vm.add_args('-netdev', 'user,id=vnet,hostfwd=:127.0.0.1:0-:22',
30 '-device', 'virtio-net,netdev=vnet')
31 self.vm.add_args('-netdev', '{"type":"user","id":"hostnet0"}',
32 '-device', '{"driver":"virtio-net-pci","netdev":'
33 '"hostnet0","id":"net0","mac":"52:54:00:4c:e3:86",'
35 self.vm.add_args('-device', '{"driver":"qemu-xhci","p2":15,"p3":15,'
36 '"id":"usb","bus":"pci.0","addr":"0x2"}')
[all …]
/openbmc/linux/drivers/pnp/pnpacpi/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pnpacpi -- PnP ACPI driver
21 * Compatible Device IDs
29 static int __init ispnpidacpi(const char *id) in ispnpidacpi() argument
31 TEST_ALPHA(id[0]); in ispnpidacpi()
32 TEST_ALPHA(id[1]); in ispnpidacpi()
33 TEST_ALPHA(id[2]); in ispnpidacpi()
34 TEST_HEX(id[3]); in ispnpidacpi()
35 TEST_HEX(id[4]); in ispnpidacpi()
36 TEST_HEX(id[5]); in ispnpidacpi()
[all …]

12345678910>>...44