/openbmc/qemu/tests/qemu-iotests/ |
H A D | 155 | 74 blockdev = {'node-name': 'source', 102 options = { 'node-name': 'target', 105 'node-name': 'target-file', 132 self.assert_qmp(device, 'inserted/node-name', node_name) 136 for node in result['return']: 137 if node['node-name'] == node_name: 138 return node 140 self.fail('Cannot find node %s/%s' % (qdev, node_name)) 143 node = self.findBlockNode('source') 145 self.assert_qmp(node, 'image' + '/backing-image' * 0 + '/filename', [all …]
|
H A D | 228.out | 3 …": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}} 10 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 15 …": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}} 17 …-file", "arguments": {"backing-file": "null-co://", "device": "node0", "image-node-name": "node0"}} 24 …guments": {"backing-file": "TEST_DIR/PID-base.img", "device": "node0", "image-node-name": "node0"}} 31 …ts": {"backing-file": "file:TEST_DIR/PID-base.img", "device": "node0", "image-node-name": "node0"}} 38 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 40 …": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-name": "node0"}} 47 {"execute": "blockdev-del", "arguments": {"node-name": "node0"}} 52 {"execute": "blockdev-add", "arguments": {"driver": "null-co", "node-name": "null"}} [all …]
|
H A D | 133 | 47 echo "=== Check that node-name can't be changed ===" 50 $QEMU_IO -c 'reopen -o node-name=foo' $TEST_IMG 51 $QEMU_IO -c 'reopen -o file.node-name=foo' $TEST_IMG 52 $QEMU_IO -c 'reopen -o backing.node-name=foo' $TEST_IMG 55 echo "=== Check that unchanged node-name is okay ===" 59 $QEMU_IO -c "open -o node-name=foo $TEST_IMG" -c 'reopen -o node-name=foo' 60 $QEMU_IO -c "open -o file.node-name=foo $TEST_IMG" -c 'reopen -o file.node-name=foo' 61 $QEMU_IO -c "open -o backing.node-name=foo $TEST_IMG" -c 'reopen -o backing.node-name=foo' 64 $QEMU_IO -c "open -o node-name=foo $TEST_IMG" -c 'reopen' 65 $QEMU_IO -c "open -o file.node-name=foo $TEST_IMG" -c 'reopen' [all …]
|
H A D | 236 | 54 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 56 vm.qmp_log("block-dirty-bitmap-add", node="drive0", 71 "data": { "node": "drive0", "name": "bitmapB" }}, 73 "data": { "node": "drive0", "name": "bitmapC", 76 "data": { "node": "drive0", "name": "bitmapA" }}, 84 "data": { "node": "drive0", "name": "bitmapB" }}, 86 "data": { "node": "drive0", "name": "bitmapC", 90 "data": { "node": "drive0", "name": "bitmapC" }}, 92 "data": { "node": "drive0", "name": "bitmapC" }}, 107 "data": { "node": "drive0", "name": "bitmapA" }}, [all …]
|
H A D | 266.out | 7 …", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 12 …ments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 67125248}… 29 …", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 34 …ments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": fal… 51 …", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 56 …ments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": tru… 72 …", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 77 …ments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "force-size": fal… 92 …", "arguments": {"driver": "file", "filename": "TEST_DIR/PID-t.vpc", "node-name": "protocol-node"}} 97 … "arguments": {"job-id": "job0", "options": {"driver": "vpc", "file": "protocol-node", "size": 0}}} [all …]
|
H A D | 236.out | 6 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 65536, "name": "bitmapA", "node"… 8 {"execute": "block-dirty-bitmap-add", "arguments": {"granularity": 65536, "name": "bitmapB", "node"… 53 "node": "drive0" 61 "node": "drive0" 68 "node": "drive0" 117 "node": "drive0" 125 "node": "drive0" 132 "node": "drive0" 139 "node": "drive0" 170 "node": "drive0" [all …]
|
/openbmc/u-boot/arch/x86/cpu/broadwell/ |
H A D | pinctrl_broadwell.c | 31 int node; member 51 int node; in broadwell_pinctrl_read_configs() local 54 for (node = fdt_first_subnode(blob, dev_of_offset(dev)); in broadwell_pinctrl_read_configs() 55 node > 0; in broadwell_pinctrl_read_configs() 56 node = fdt_next_subnode(blob, node)) { in broadwell_pinctrl_read_configs() 57 int phandle = fdt_get_phandle(blob, node); in broadwell_pinctrl_read_configs() 66 conf->node = node; in broadwell_pinctrl_read_configs() 68 conf->mode_gpio = fdtdec_get_bool(blob, node, "mode-gpio"); in broadwell_pinctrl_read_configs() 69 if (fdtdec_get_int(blob, node, "direction", -1) == PIN_INPUT) in broadwell_pinctrl_read_configs() 71 conf->invert = fdtdec_get_bool(blob, node, "invert"); in broadwell_pinctrl_read_configs() [all …]
|
/openbmc/openpower-hw-diags/test/ |
H A D | pdbg-test.dts | 13 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/bmc-0"; 25 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0"; 39 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/nx-0"; 47 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/occ-0"; 57 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/perv-1"; 67 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/perv-12"; 76 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-0"; 85 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-0/mi-0"; 94 ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-0/mi-0/mcc-0"; 103 … ATTR_PHYS_DEV_PATH = "physical:sys-0/node-0/proc-0/mc-0/mi-0/mcc-0/omi-0"; [all …]
|
/openbmc/u-boot/doc/uImage.FIT/ |
H A D | source_file_format.txt | 88 are defined in the following sections), the "unit name" of the given sub-node 93 3) Root node properties 96 Root node of the uImage Tree should have the following layout: 129 Mandatory node: 130 - images : This node contains a set of sub-nodes, each of them representing 134 Optional node: 139 4) '/images' node 142 This node is a container node for component sub-image nodes. Each sub-node of 143 the '/images' node should have the following layout: 164 - data : Path to the external file which contains this node's binary data. [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | cflow.c | 36 /* A node is an address where we can go to multiple places */ 132 NodeData *node = (NodeData *) value; in filter_non_branches() local 134 return node->dest_count == 0; in filter_non_branches() 210 NodeData *node = g_new0(NodeData, 1); in create_node() local 211 g_mutex_init(&node->lock); in create_node() 212 node->addr = addr; in create_node() 213 node->dests = g_array_new(true, true, sizeof(DestData)); in create_node() 214 return node; in create_node() 219 NodeData *node = NULL; in fetch_node() local 222 node = (NodeData *) g_hash_table_lookup(nodes, &addr); in fetch_node() [all …]
|
/openbmc/u-boot/board/st/stm32mp1/ |
H A D | stm32mp1.c | 42 int node; in board_usb_init() local 46 /* find the usb otg node */ in board_usb_init() 47 node = fdt_node_offset_by_compatible(blob, -1, "snps,dwc2"); in board_usb_init() 48 if (node < 0) { in board_usb_init() 53 if (!fdtdec_get_is_enabled(blob, node)) { in board_usb_init() 59 ret = fdtdec_parse_phandle_with_args(blob, node, "clocks", in board_usb_init() 66 ret = uclass_get_device_by_of_offset(UCLASS_CLK, args.node, &dev); in board_usb_init() 85 ret = fdtdec_parse_phandle_with_args(blob, node, "resets", in board_usb_init() 92 ret = uclass_get_device_by_of_offset(UCLASS_RESET, args.node, &dev); in board_usb_init() 104 ret = fdtdec_parse_phandle_with_args(blob, node, "phys", in board_usb_init() [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/ |
H A D | pinmux_arria10.c | 37 static int do_pinctrl_pins(const void *blob, int node, const char *child_name) in do_pinctrl_pins() argument 42 child = fdt_first_subnode(blob, node); in do_pinctrl_pins() 66 int node; in config_dedicated_pins() local 68 node = fdtdec_next_compatible(blob, 0, in config_dedicated_pins() 70 if (node < 0) in config_dedicated_pins() 73 if (do_pinctrl_pins(blob, node, "dedicated_cfg")) in config_dedicated_pins() 76 if (do_pinctrl_pins(blob, node, "dedicated")) in config_dedicated_pins() 84 int node; in config_pins() local 86 node = fdtdec_next_compatible(blob, 0, in config_pins() 88 if (node < 0) in config_pins() [all …]
|
/openbmc/u-boot/board/qualcomm/dragonboard410c/ |
H A D | dragonboard410c.c | 51 int ret = 0, node; in board_usb_init() local 58 printf("Failed to find pm8916_gpios@c000 node.\n"); in board_usb_init() 65 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init() 68 if (node < 0) { in board_usb_init() 69 printf("Failed to find usb_hub_reset_pm dt node.\n"); in board_usb_init() 70 return node; in board_usb_init() 72 ret = gpio_request_by_name_nodev(offset_to_ofnode(node), in board_usb_init() 81 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init() 84 if (node < 0) { in board_usb_init() 85 printf("Failed to find usb_sw_sel_pm dt node.\n"); in board_usb_init() [all …]
|
/openbmc/u-boot/tools/binman/ |
H A D | control.py | 24 """Read the image descriptions from the /binman node 30 binman_node: Node object of the /binman node 36 for node in binman_node.subnodes: 37 images[node.name] = Image(node.name, node) 43 """Find the 'binman' node in the device tree 48 Node object of /binman node, or None if not found 50 for node in dtb.GetRoot().subnodes: 51 if node.name == 'binman': 52 return node 123 node = _FindBinmanNode(dtb) [all …]
|
H A D | entry_test.py | 59 Node = collections.namedtuple('Node', ['name', 'path']) 60 node = Node('invalid-name', 'invalid-path') 62 entry.Entry.Create(None, node, node.name) 63 self.assertIn("Unknown entry type 'invalid-name' in node " 69 Node = collections.namedtuple('Node', ['name', 'parent']) 70 base_node = Node('root', None) 73 sub_node = Node('subnode', base_node)
|
H A D | entry.py | 41 An entry corresponds to a single node in the device-tree description 51 node: The node that created this entry 63 def __init__(self, section, etype, node, read_node=True, name_prefix=''): argument 66 self._node = node 67 self.name = node and (name_prefix + node.name) or 'none' 85 """Look up the entry class for a node. 88 section: Section object containing this node 89 node_node: Path name of Node object containing information about 115 … raise ValueError("Unknown entry type '%s' in node '%s' (expected etype/%s.py, error '%s'" % 125 def Create(section, node, etype=None): argument [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | interval-tree.h | 58 * @node: node to insert, 61 * Insert @node into @root, and rebalance. 63 void interval_tree_insert(IntervalTreeNode *node, IntervalTreeRoot *root); 67 * @node: node to remove, 70 * Remove @node from @root, and rebalance. 72 void interval_tree_remove(IntervalTreeNode *node, IntervalTreeRoot *root); 88 * @node: previous search result 94 * node in the set. 96 IntervalTreeNode *interval_tree_iter_next(IntervalTreeNode *node,
|
/openbmc/qemu/util/ |
H A D | fdmon-io_uring.c | 102 static void enqueue(AioHandlerSList *head, AioHandler *node, unsigned flags) in enqueue() argument 106 old_flags = qatomic_fetch_or(&node->flags, FDMON_IO_URING_PENDING | flags); in enqueue() 108 QSLIST_INSERT_HEAD_ATOMIC(head, node, node_submitted); in enqueue() 115 AioHandler *node = QSLIST_FIRST(head); in dequeue() local 117 if (!node) { in dequeue() 130 *flags = qatomic_fetch_and(&node->flags, ~(FDMON_IO_URING_PENDING | in dequeue() 132 return node; in dequeue() 169 static void add_poll_add_sqe(AioContext *ctx, AioHandler *node) in add_poll_add_sqe() argument 172 int events = poll_events_from_pfd(node->pfd.events); in add_poll_add_sqe() 174 io_uring_prep_poll_add(sqe, node->pfd.fd, events); in add_poll_add_sqe() [all …]
|
/openbmc/qemu/docs/interop/ |
H A D | live-block-operations.rst | 138 node-name=node-A,driver=qcow2,file.driver=file,file.node-name=file,file.filename=./a.qcow2 \\ 139 -device virtio-blk,drive=node-A,id=virtio0 \\ 143 QEMU 2.9 onwards. In the above invocation, notice the ``node-name`` 144 parameter that is used to refer to the disk image a.qcow2 ('node-A') -- 147 ``node-name`` to each further disk image created (either via 150 ``node-name`` (where possible, because ``block-commit`` does not yet, as 151 of QEMU 2.9, accept ``node-name`` parameter) when performing various 189 …(QEMU) blockdev-snapshot-sync node-name=node-A snapshot-file=b.qcow2 snapshot-node-name=node-B for… 193 "node-name": "node-A", 196 "snapshot-node-name": "node-B" [all …]
|
/openbmc/u-boot/scripts/dtc/libfdt/ |
H A D | libfdt.h | 62 /* FDT_ERR_NOTFOUND: The requested node or property does not exist */ 64 /* FDT_ERR_EXISTS: Attempted to create a node or property which 134 * unexpected or missing value, property or node. */ 166 * @offset: Offset of node to check 175 * get direct subnodes of a parent node. 187 * @node: child node (int, lvalue) 189 * @parent: parent node (int) 193 * fdt_for_each_subnode(node, fdt, parent) { 194 * Use node 198 * if ((node < 0) && (node != -FDT_ERR_NOT_FOUND)) { [all …]
|
/openbmc/u-boot/arch/arm/mach-rockchip/ |
H A D | spl-boot-order.c | 13 * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device 14 * @node: of_offset of the node 20 * are enabled in any given DTS). This function maps from a DT-node back 24 * -ENOENT, if no device matching the node could be found 25 * -ENOSYS, if the device matching the node can not be mapped onto a 31 static int spl_node_to_boot_device(int node) in spl_node_to_boot_device() argument 40 if (!uclass_get_device_by_of_offset(UCLASS_MMC, node, &parent)) { in spl_node_to_boot_device() 64 } else if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node, in spl_node_to_boot_device() 75 if (!uclass_get_device_by_of_offset(UCLASS_SPI_FLASH, node, &parent)) in spl_node_to_boot_device() 106 int node; in board_boot_order() local [all …]
|
/openbmc/u-boot/drivers/sound/ |
H A D | hda_codec.c | 43 /* Common node IDs */ 59 /* Sub-node fields */ 177 ofnode node; in find_verb_data() local 180 ofnode_for_each_subnode(node, parent) { in find_verb_data() 181 if (ofnode_read_u32(node, "vendor-id", &vendor_id) || in find_verb_data() 182 ofnode_read_u32(node, "device-id", &device_id)) { in find_verb_data() 184 ofnode_get_name(node)); in find_verb_data() 188 log_debug("Skip codec node '%s' for %08x\n", in find_verb_data() 189 ofnode_get_name(node), id); in find_verb_data() 193 log_debug("Found codec node '%s' for %08x\n", in find_verb_data() [all …]
|
/openbmc/u-boot/scripts/dtc/pylibfdt/ |
H A D | libfdt.i_shipped | 156 nodeoffset: Node offset of previous node 157 depth: The depth of the node at nodeoffset. This is used to 158 calculate the depth of the returned node 163 Offset of the next node, if any, else a -ve error 164 Depth of the returned node, if any, else undefined 172 """Find the first subnode of a parent node 175 nodeoffset: Node offset of parent node 190 nodeoffset: Node offset of previous subnode 304 parentoffset: Offset of the parent node to check 309 The node offset of the found node, if any [all …]
|
/openbmc/qemu/tests/qemu-iotests/tests/ |
H A D | graph-changes-while-io | 45 # null-co block node that will receive I/O 48 # QSD instance with a null-co block node in an I/O thread, 52 '--blockdev', 'null-co,node-name=node0,read-zeroes=true', 54 '--export', 'nbd,id=exp0,node-name=node0,iothread=iothread0,' + 82 'node-name': 'overlay', 91 'node-name': 'overlay' 106 'node-name': 'overlay', 115 'node': 'node0', 139 # While I/O is performed on 'node0' node, consequently add 2 snapshots 148 'node-name': 'mid', [all …]
|
/openbmc/openbmc-test-automation/xcat/ |
H A D | test_xcat_group.robot | 28 Validate Added Node ${bmc} 35 # Power on each BMC node and validate the power status. 45 # Power off each BMC node and validate the power status. 58 Validate Node Added In Group ${bmc} ${GROUP} 78 # Validate power status on each BMC node one by one. 99 # Validate power status on each BMC node one by one. 104 Continuous Node Power Status 106 # This keyword verifies the REST connectivity between XCAT and the BMC node. 109 # Performing this operation only on one BMC node. 113 # Get the power status of the node repeatedly. [all …]
|