Home
last modified time | relevance | path

Searched +full:interface +full:- +full:node (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/openbmc/qemu/docs/devel/testing/
H A Dqgraph.rst25 (interface in qgraph terms) and the framework takes care of
28 Following the above example, an interface would be ``sdhci``,
29 so the sdhci-test should only care of linking its qgraph node with
30 that interface. In this way, if the command line of a sdhci driver
31 is changed, only the respective qgraph driver node has to be adjusted.
34 ---------------
43 A node can be of four types:
45 - **QNODE_MACHINE**: for example ``arm/raspi2b``
46 - **QNODE_DRIVER**: for example ``generic-sdhci``
47 - **QNODE_INTERFACE**: for example ``sdhci`` (interface for all ``-sdhci``
[all …]
/openbmc/qemu/tests/qtest/libqos/
H A Dqgraph.h24 #include "libqos-malloc.h"
42 typedef void *(*QOSGetDriver) (void *object, const char *interface);
57 * *after* the node command line, the
62 * *before* the node command line, usually
63 * other non-node represented commands,
64 * like "-fdsev synt"
68 * command line that depend on current node.
71 * devices with same node name
89 * @arg: if @before is non-NULL, pass @arg there.
111 * @get_device: Once a machine-to-test path has been
[all …]
H A Dqgraph.c35 char *extra_device_opts; /* added to -device option, "," is
38 char *before_cmd_line; /* added before node cmd_line */
39 char *after_cmd_line; /* added after -device options */
51 QOSGraphNode *node; member
57 /* Each entry in these hash table will consist of <string, node/edge> pair. */
67 * from @source to @dest node, and inserts it in the
72 * edge->edge_name is used as identifier for get_device relationships,
93 edge->type = type; in add_edge()
94 edge->dest = g_strdup(dest); in add_edge()
95 edge->edge_name = g_strdup(opts->edge_name ?: dest); in add_edge()
[all …]
/openbmc/rest-dbus/
H A Drest-dbus38 handler.send_header('Content-Type', 'application/json')
57 'application/octet-stream')
65 handler.send_header('Content-Type',
66 self.content_type + '; charset=utf-8')
82 handler.send_header('Content-Type', 'application/json')
121 iface = dbus.Interface(obj, 'org.freedesktop.DBus.Introspectable')
125 for node in tree:
126 if node.tag == 'interface':
127 interfaces.append({'name': node.attrib['name']})
137 iface = dbus.Interface(obj, 'org.freedesktop.DBus.Introspectable')
[all …]
/openbmc/boost-dbus/test/
H A DdbusPropertiesServer.cpp14 "<!DOCTYPE node PUBLIC "
15 "\"-//freedesktop//DTD D-BUS Object Introspection 1.0//EN\" "
26 EXPECT_EQ(foo.get_xml_for_path("/"), dbus_boilerplate + "<node></node>"); in TEST()
27 EXPECT_EQ(foo.get_xml_for_path(""), dbus_boilerplate + "<node></node>"); in TEST()
41 "<node><node " in TEST()
42 "name=\"org\"></node></node>"); in TEST()
44 "<node><node " in TEST()
45 "name=\"org\"></node></node>"); in TEST()
49 "<node><node " in TEST()
50 "name=\"freedesktop\"></node></node>"); in TEST()
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_device_path_utilities.c1 // SPDX-License-Identifier: GPL-2.0+
3 * EFI device path interface
21 * See the Unified Extensible Firmware Interface (UEFI) specification
33 /* size includes the END node: */ in get_device_path_size()
49 * See the Unified Extensible Firmware Interface (UEFI) specification
68 * See the Unified Extensible Firmware Interface (UEFI) specification
84 * Append device path node.
89 * See the Unified Extensible Firmware Interface (UEFI) specification
93 * @device_node device node
110 * See the Unified Extensible Firmware Interface (UEFI) specification
[all …]
/openbmc/u-boot/include/linux/usb/
H A Dotg.h1 /* SPDX-License-Identifier: GPL-2.0+ */
4 * Copyright (c) 2015 Texas Instruments Incorporated - http://www.ti.com
20 * usb_get_dr_mode() - Get dual role mode for given device
21 * @node: Node offset to the given device
23 * The function gets phy interface string from property 'dr_mode',
26 enum usb_dr_mode usb_get_dr_mode(int node);
29 * usb_get_maximum_speed() - Get maximum speed for given device
30 * @node: Node offset to the given device
32 * The function gets phy interface string from property 'maximum-speed',
35 enum usb_device_speed usb_get_maximum_speed(int node);
/openbmc/rest-dbus/resources/
H A Ddbus.js7 function populate_tree_services(node, cb, bus) argument
27 function populate_tree_objects(node, cb) argument
29 var ctx = node.original;
48 function populate_tree_interfaces(node, cb) argument
50 var ctx = node.original;
61 'type': 'interface',
65 'interface': iface, property in AnonymousClass9ebe46fd0601
105 if (--n == 0)
127 if (--n == 0)
172 return '<span class="method-arg">' +
[all …]
/openbmc/u-boot/doc/driver-model/
H A Dlivetree.txt6 ------------
8 Traditionally U-Boot has used a 'flat' device tree. This means that it
13 This document describes U-Boot's support for a 'live' device tree, meaning
14 that the tree is loaded into a hierarchical data structure within U-Boot.
18 ----------
22 - it is the format produced by the device tree compiler, so no translation
25 - it is fairly compact (e.g. there is no need for pointers)
27 - it is accessed by the libfdt library, which is well tested and stable
35 the parent of a node is a slow process. Reading from nodes involves a
38 Driver model scans the entire device tree sequentially on start-up which
[all …]
/openbmc/smbios-mdr/src/
H A Dsystem.cpp8 // http://www.apache.org/licenses/LICENSE-2.0
46 stream << std::setw(8) << systemInfo->uuid.timeLow; in uuid()
47 stream << "-"; in uuid()
48 stream << std::setw(4) << systemInfo->uuid.timeMid; in uuid()
49 stream << "-"; in uuid()
50 stream << std::setw(4) << systemInfo->uuid.timeHiAndVer; in uuid()
51 stream << "-"; in uuid()
52 stream << std::setw(2) << static_cast<int>(systemInfo->uuid.clockSeqHi); in uuid()
54 << static_cast<int>(systemInfo->uuid.clockSeqLow); in uuid()
55 stream << "-"; in uuid()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/com/intel/Control/
H A DOCOTShutdownPolicy.interface.yaml2 An interface for node shutdown policy on multi-node products. It is used by
5 - name: OCOTPolicy
8 Node shutdown policy on a power supply over current(OC) or over
9 temperature(OT) event, Only available on multi-node products.
14 - name: Policy
18 - name: "NoShutdownOnOCOT"
20 Do not shutdown node on an OC/OT event.
21 - name: "ShutdownOnOCOT"
23 Shutdown node on an OC/OT event.
/openbmc/qemu/tests/qemu-iotests/
H A D20337 iotests.qemu_img_create('-f', iotests.imgfmt, disk0_img_path, img_size)
38 iotests.qemu_img_create('-f', iotests.imgfmt, disk1_img_path, img_size)
42 .add_drive(disk0_img_path, 'node-name=drive0-node', interface='none')
43 .add_drive(disk1_img_path, 'node-name=drive1-node', interface='none')
47 iotests.log(vm.qmp('x-blockdev-set-iothread',
48 node_name='drive0-node', iothread='iothread0',
50 iotests.log(vm.qmp('x-blockdev-set-iothread',
51 node_name='drive1-node', iothread='iothread0',
55 iotests.log(vm.qmp('migrate-set-capabilities', capabilities=[
H A D1844 # Test I/O throttle block filter driver interface
42 $QEMU -nographic -qmp-pretty stdio -serial none "$@"
52 test_throttle=$($QEMU_IMG --help|grep throttle)
56 echo "== checking interface =="
60 { "execute": "blockdev-add",
62 "driver": "null-co",
63 "node-name": "disk0"
66 { "execute": "object-add",
68 "qom-type": "throttle-group",
71 "iops-total": 1000
[all …]
/openbmc/pyphosphor/obmc/dbuslib/
H A Dintrospection.py1 # Contributors Listed Below - COPYRIGHT 2016
9 # http://www.apache.org/licenses/LICENSE-2.0
32 return [x.attrib['name'] for x in self.data.findall('node')]
43 for node in self.data:
44 if node.tag not in ['method', 'signal']:
46 if not self.tag_match(node.tag):
49 node, self.tag_match, self.intf_match)
51 iface[node.tag][n] = element
62 for node in self.data:
63 if node.tag == 'interface':
[all …]
/openbmc/qemu/docs/sphinx/
H A Ddbusdomain.py1 # D-Bus sphinx domain extension
5 # SPDX-License-Identifier: LGPL-2.1-or-later
7 # Author: Marc-André Lureau <marcandre.lureau@redhat.com>
22 from docutils.nodes import Element, Node
45 def get_index_text(self, modname: str, name: str) -> str:
51 ) -> None:
52 ifacename = self.env.ref_context.get("dbus:interface")
73 Implementation of ``dbus:interface``.
76 def get_index_text(self, ifacename: str, name: str) -> str:
79 def before_content(self) -> None:
[all …]
/openbmc/qemu/backends/
H A Ddbus-vmstate1.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
3 <!--
6 This interface must be implemented at the object path
8 -->
9 <interface name="org.qemu.VMState1">
11 <!--
20 it is not related to QEMU "id" used in -object/-device objects.
21 -->
24 <!--
[all …]
/openbmc/docs/designs/
H A Dentity-manager-hw-id-vpd-discover-via-device-tree.md1 # Entity-Manager HW ID: VPD Discovery via Device-Tree Properties
12 data via non-I2C channels and in a proprietary format that is not covered by
13 Entity-Manager's 'fru-device' daemon that most platforms rely on.
16 gathered from device tree file paths for Entity-Manager consumption.
20 Typical platforms provide HW ID data - often referred to as 'vital product data'
21 (VPD) - for the baseboard as a FRU storage blob held in a physical EEPROM.
23 [As described in Entity-Manager documentation](https://github.com/openbmc/entity-manager/blob/maste…
25 copied to D-Bus as properties of the `xyz.openbmc_project.FruDevice` interface
26 by Entity-Manager's fru-device daemon. The current FRU-device daemon is able to
27 decode IPMI-FRU storage formatted blobs, as well as the Tyan data format.
[all …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dmisc_s10.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2016-2018 Intel Corporation <www.intel.com>
20 #include <dt-bindings/reset/altr,rst-mgr-s10.h>
34 /* Interface type */
37 -1,
40 /* Base interface address specified in driver */
57 return -EINVAL; in socfpga_phymode_setup()
67 return -EINVAL; in socfpga_phymode_setup()
69 clrsetbits_le32(&sysmgr_regs->emac0 + gmac_index, in socfpga_phymode_setup()
78 const void *fdt = gd->fdt_blob; in socfpga_set_phymode()
[all …]
/openbmc/u-boot/drivers/pinctrl/
H A DKconfig19 This provides Linux-compatible device tree interface for the pinctrl
24 If this option is disabled (it is the only possible choice for non-DT
27 It is totally up to the implementation of each low-level driver.
36 generic DT interface. If enabled, some functions become available
39 need the generic DT interface for pin muxing and pin configuration.
40 If you need to handle vendor-specific DT properties, you can disable
66 This option is an SPL-variant of the PINCTRL option.
75 This option is an SPL-variant of the PINCTRL_FULL option.
83 This option is an SPL-variant of the PINCTRL_GENERIC option.
91 This option is an SPL-variant of the PINMUX option.
[all …]
/openbmc/qemu/block/
H A Dstream.c10 * See the COPYING.LIB file in the top-level directory.
21 #include "system/block-backend.h"
22 #include "block/copy-on-read.h"
26 * Maximum chunk size to feed to copy-on-read. This should be
37 BlockDriverState *above_base; /* Node directly above the base */
67 unfiltered_bs = bdrv_skip_filters(s->target_bs); in stream_prepare()
72 bdrv_cor_filter_drop(s->cor_filter_bs); in stream_prepare()
73 s->cor_filter_bs = NULL; in stream_prepare()
79 * base node (or it might even have gone away by the time we want to use in stream_prepare()
88 base = bdrv_filter_or_cow_bs(s->above_base); in stream_prepare()
[all …]
/openbmc/u-boot/doc/device-tree-bindings/firmware/
H A Dti,sci.txt1 Texas Instruments System Control Interface (TI-SCI) Message Protocol
2 --------------------------------------------------------------------
16 TI-SCI controller Device Node:
19 The TI-SCI node describes the Texas Instrument's System Controller entity node.
20 This parent node may optionally have additional children nodes which describe
23 relationship between the TI-SCI parent node to the child node.
26 -------------------
27 - compatible: should be "ti,k2g-sci"
28 - mbox-names:
29 "rx" - Mailbox corresponding to receive path
[all …]
/openbmc/openpower-vpd-parser/vpd-manager/include/
H A Dmanager.hpp9 #include <oem-handler/ibm_handler.hpp>
18 * It also implements methods to be exposed over D-Bus required to access/edit
34 * @param[in] ioCon - IO context.
35 * @param[in] iFace - interface to implement.
36 * @param[in] progressiFace - Interface to track collection progress.
37 * @param[in] connection - Dbus Connection.
62 * @param[in] i_vpdPath - Path (inventory object path/FRU EEPROM path).
63 * @param[in] i_paramsToWriteData - Input details.
66 * -1.
85 * @param[in] i_fruPath - EEPROM path of the FRU.
[all …]
/openbmc/u-boot/include/
H A Dphy.h1 /* SPDX-License-Identifier: GPL-2.0+ */
74 * UID--as defined by registers 2 and 3--is. The 32-bit result
117 ofnode node; member
131 phy_interface_t interface; member
156 struct mii_dev *bus = phydev->bus; in phy_read()
158 if (!bus || !bus->read) { in phy_read()
160 return -1; in phy_read()
163 return bus->read(bus, phydev->addr, devad, regnum); in phy_read()
169 struct mii_dev *bus = phydev->bus; in phy_write()
171 if (!bus || !bus->write) { in phy_write()
[all …]
/openbmc/u-boot/lib/efi_driver/
H A Defi_uclass.c1 // SPDX-License-Identifier: GPL-2.0+
8 * - creates a handle
9 * - installs the driver binding protocol
23 * check_node_type() - check node type
36 r = EFI_CALL(systab.boottime->open_protocol( in check_node_type()
40 /* Get the last node */ in check_node_type()
41 const struct efi_device_path *node = efi_dp_last_node(dp); in check_node_type() local
43 if (!node || node->type == DEVICE_PATH_TYPE_MEDIA_DEVICE) in check_node_type()
50 * efi_uc_supported() - check if the driver supports the controller
63 void *interface; in efi_uc_supported() local
[all …]
/openbmc/qemu/hw/i2c/
H A Dcore.c2 * QEMU I2C bus interface.
12 #include "hw/qdev-properties.h"
16 #include "qemu/main-loop.h"
35 bus->saved_address = -1; in i2c_bus_pre_save()
36 if (!QLIST_EMPTY(&bus->current_devs)) { in i2c_bus_pre_save()
37 if (!bus->broadcast) { in i2c_bus_pre_save()
38 bus->saved_address = QLIST_FIRST(&bus->current_devs)->elt->address; in i2c_bus_pre_save()
40 bus->saved_address = I2C_BROADCAST; in i2c_bus_pre_save()
64 QLIST_INIT(&bus->current_devs); in i2c_init_bus()
65 QSIMPLEQ_INIT(&bus->pending_masters); in i2c_init_bus()
[all …]

12345678910>>...13