Home
last modified time | relevance | path

Searched full:node (Results 176 – 200 of 1779) sorted by relevance

12345678910>>...72

/openbmc/qemu/hw/audio/
H A Dhda-codec.c57 static const desc_param* hda_codec_find_param(const desc_node *node, uint32_t id) in hda_codec_find_param() argument
61 for (i = 0; i < node->nparams; i++) { in hda_codec_find_param()
62 if (node->params[i].id == id) { in hda_codec_find_param()
63 return &node->params[i]; in hda_codec_find_param()
156 const desc_node *node; member
216 trace_hda_audio_adjust(st->node->name, target_pos); in hda_timer_sync_adjust()
350 trace_hda_audio_overrun(st->node->name); in hda_audio_output_cb()
423 if (st->node == NULL) { in hda_audio_set_running()
430 trace_hda_audio_running(st->node->name, st->stream, st->running); in hda_audio_set_running()
454 if (st->node == NULL) { in hda_audio_set_amp()
[all …]
/openbmc/u-boot/include/dm/
H A Dread.h3 * Function to read values from the device tree node attached to a udevice.
21 return ofnode_to_np(dev->node); in dev_np()
31 * dev_ofnode() - get the DT node reference associated with a udevice
34 * @return reference of the the device's DT node
38 return dev->node; in dev_ofnode()
120 * @dev: device whose DT node contains the subnode
228 * dev_read_name() - get the name of a device's node
230 * @node: valid node to look up
231 * @return name of node
280 * dev_read_phandle_with_args() - Find a node pointed by phandle in a list
[all …]
/openbmc/qemu/hw/xen/
H A Dxen-legacy-backend.c48 int xenstore_write_be_str(struct XenLegacyDevice *xendev, const char *node, in xenstore_write_be_str() argument
51 return xenstore_write_str(xendev->be, node, val); in xenstore_write_be_str()
54 int xenstore_write_be_int(struct XenLegacyDevice *xendev, const char *node, in xenstore_write_be_int() argument
57 return xenstore_write_int(xendev->be, node, ival); in xenstore_write_be_int()
60 int xenstore_write_be_int64(struct XenLegacyDevice *xendev, const char *node, in xenstore_write_be_int64() argument
63 return xenstore_write_int64(xendev->be, node, ival); in xenstore_write_be_int64()
66 char *xenstore_read_be_str(struct XenLegacyDevice *xendev, const char *node) in xenstore_read_be_str() argument
68 return xenstore_read_str(xendev->be, node); in xenstore_read_be_str()
71 int xenstore_read_be_int(struct XenLegacyDevice *xendev, const char *node, in xenstore_read_be_int() argument
74 return xenstore_read_int(xendev->be, node, ival); in xenstore_read_be_int()
[all …]
/openbmc/u-boot/fs/ubifs/
H A Dreplay.c33 * @lnum: logical eraseblock number of the node
34 * @offs: node offset
35 * @len: node length
36 * @deletion: non-zero if this entry corresponds to a node deletion
37 * @sqnum: node sequence number
39 * @key: node key
69 * @sqnum: reference node sequence number
330 * insert_node - insert a node to the replay list
332 * @lnum: node logical eraseblock number
333 * @offs: node offset
[all …]
/openbmc/openbmc-tools/dbus-vis/
H A DREADME.md16 To build and run, a user would first need to install node.js and npm (Node.js
18 node.js on a Ubuntu/Debian-based system:
20 First, install `npm` and `node.js` using a method that is suitable for your
24 $ node --version
30 Then, with `npm`, `node.js` installed and `dbus-pcap` downloaded to this folder,
/openbmc/entity-manager/configurations/
H A Dbnp_baseboard.json
/openbmc/qemu/tests/qemu-iotests/
H A D30857 # $2: Options (beyond the node-name and ID)
59 # $4: Node to export (defaults to 'node-format')
70 'node-name': '${4:-node-format}',
94 # $1: Protocol node export mount point
131 'node-name': 'node-protocol',
140 'node-name': 'node-format',
141 'file': 'node-protocol'
209 # We have already seen that exporting a node twice works fine, but you
267 # Here, we need to export the protocol node -- the format layer may
270 # Remove all exports and the format node first so permissions will not
[all …]
H A D08764 echo === Missing ID and node-name ===
85 run_qemu -drive driver=$IMGFMT,id=disk,node-name=test-node,file="$TEST_IMG" <<EOF
90 "node-name": "disk",
99 "node-name": "test-node",
124 "node-name": "disk",
152 "node-name": "disk",
183 "node-name": "disk",
206 "node-name": "disk"
H A D28335 changed. copy-before-write filter is appended above source node, to achieve
36 this thing, so all parents of source node are handled. A configuration with
62 with other node write permission. So permission update will fail and backup job
78 'node-name': 'target',
84 'node-name': 'source',
86 'image': {'node-name': 'base', 'driver': 'null-co', 'size': size}
90 'node-name': 'other',
104 # Check that the copy-before-write node is gone after job-finalize.
110 'node-name': 'source',
115 'node-name': 'target',
/openbmc/u-boot/arch/nios2/cpu/
H A Dcpu.c105 int node = dev_of_offset(dev); in altera_nios2_probe() local
107 gd->cpu_clk = fdtdec_get_int(blob, node, in altera_nios2_probe()
109 gd->arch.dcache_line_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
111 gd->arch.icache_line_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
113 gd->arch.dcache_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
115 gd->arch.icache_size = fdtdec_get_int(blob, node, in altera_nios2_probe()
117 gd->arch.reset_addr = fdtdec_get_int(blob, node, in altera_nios2_probe()
119 gd->arch.exception_addr = fdtdec_get_int(blob, node, in altera_nios2_probe()
121 gd->arch.has_initda = fdtdec_get_int(blob, node, in altera_nios2_probe()
123 gd->arch.has_mmu = fdtdec_get_int(blob, node, in altera_nios2_probe()
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c45 * sysbus device node
50 const char *pbus_node_name; /* name of the platform bus node */
54 /* struct that allows to match a device and create its FDT node */
82 * @node_path: host dt node path where the property is supposed to be
84 * @nodename: guest node name the properties should be added to
129 * Build a guest clock node, used as a dependency from a passthrough'ed
130 * device. Most information are retrieved from the host clock node.
134 * @guest_fdt: guest device tree blob where the clock node is added
136 * @guest_phandle: phandle to assign to the guest node
160 error_report("not able to retrieve node path for clock handle %d", in fdt_build_clock_node()
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dexynos_dw_mmc.c152 static int exynos_dwmci_get_config(const void *blob, int node, in exynos_dwmci_get_config() argument
160 host->dev_id = pinmux_decode_periph_id(blob, node); in exynos_dwmci_get_config()
162 host->dev_index = fdtdec_get_int(blob, node, "index", host->dev_id); in exynos_dwmci_get_config()
171 /* Get the bus width from the device node (Default is 4bit buswidth) */ in exynos_dwmci_get_config()
172 host->buswidth = fdtdec_get_int(blob, node, "samsung,bus-width", 4); in exynos_dwmci_get_config()
174 /* Set the base address from the device node */ in exynos_dwmci_get_config()
175 base = fdtdec_get_addr(blob, node, "reg"); in exynos_dwmci_get_config()
182 /* Extract the timing info from the node */ in exynos_dwmci_get_config()
183 err = fdtdec_get_int_array(blob, node, "samsung,timing", timing, 3); in exynos_dwmci_get_config()
202 host->fifoth_val = fdtdec_get_int(blob, node, "fifoth_val", 0); in exynos_dwmci_get_config()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c117 struct name_id *node; in alloc_node() local
118 node = (struct name_id*)malloc(sizeof(struct name_id)); in alloc_node()
119 if (node == NULL) { in alloc_node()
122 memset((void *)node->name, 0, MAX_NAME_LEN+1); in alloc_node()
123 node->id = 0xffffffff; in alloc_node()
124 node->next = NULL; in alloc_node()
125 return node; in alloc_node()
133 struct name_id *node; in parse_line() local
134 node = alloc_node(); in parse_line()
141 node->name[i++] = *p++; in parse_line()
[all …]
/openbmc/u-boot/drivers/led/
H A Dled_gpio.c62 /* Ignore the top-level LED node */ in led_gpio_probe()
92 ofnode node; in led_gpio_bind() local
95 dev_for_each_subnode(node, parent) { in led_gpio_bind()
99 label = ofnode_read_string(node, "label"); in led_gpio_bind()
101 debug("%s: node %s has no label\n", __func__, in led_gpio_bind()
102 ofnode_get_name(node)); in led_gpio_bind()
106 ofnode_get_name(node), in led_gpio_bind()
107 node, &dev); in led_gpio_bind()
/openbmc/u-boot/tools/binman/etype/
H A Du_boot_dtb_with_ucode.py27 def __init__(self, section, etype, node): argument
28 Entry_blob_dtb.__init__(self, section, etype, node)
60 raise self.Raise("No /microcode node found in '%s'" % fname)
65 for node in self.ucode.subnodes:
66 data_prop = node.props.get('data')
70 node.DeleteProp('data')
77 for node in self.ucode.subnodes:
78 data_prop = node.props.get('data')
H A Dtext.py15 The text can be provided either in the node itself or by a command-line
25 Example node:
38 It is also possible to put the string directly in the node:
43 message = "a message directly in the node"
49 def __init__(self, section, etype, node): argument
50 Entry.__init__(self, section, etype, node)
/openbmc/u-boot/fs/sandbox/
H A Dsandboxfs.c85 struct os_dirent_node *head, *node; in sandbox_fs_ls() local
92 for (node = head; node; node = node->next) { in sandbox_fs_ls()
93 printf("%s %10lu %s\n", os_dirent_get_typename(node->type), in sandbox_fs_ls()
94 node->size, node->name); in sandbox_fs_ls()
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dqsd-jobs58 --blockdev node-name=file0,driver=file,filename="$TEST_IMG" \
59 --blockdev node-name=fmt0,driver=qcow2,file=file0 <<EOF \
67 echo "=== Streaming can't get permission on base node ==="
72 --blockdev node-name=file_base,driver=file,filename="$TEST_IMG.base" \
73 --blockdev node-name=fmt_base,driver=qcow2,file=file_base \
74 --blockdev node-name=file_overlay,driver=file,filename="$TEST_IMG" \
75 --blockdev node-name=fmt_overlay,driver=qcow2,file=file_overlay,backing=fmt_base \
77 --export type=nbd,id=export1,node-name=fmt_base,writable=on,name=export1 \
/openbmc/qemu/include/hw/xen/
H A Dxen_pvdev.h29 const char *node);
31 const char *node);
63 int xenstore_write_str(const char *base, const char *node, const char *val);
64 int xenstore_write_int(const char *base, const char *node, int ival);
65 int xenstore_write_int64(const char *base, const char *node, int64_t ival);
66 char *xenstore_read_str(const char *base, const char *node);
67 int xenstore_read_int(const char *base, const char *node, int *ival);
68 int xenstore_read_uint64(const char *base, const char *node, uint64_t *uval);
/openbmc/phosphor-mrw-tools/
H A Dpatchxml.py133 for node in patch_root:
135 (node.tag is etree.PI)
136 or (node.tag is etree.Comment)
137 or (node.tag == "targetFile")
143 xpath = node.get("xpath", None)
144 patch_type = node.get("type", "add")
145 patch_key = node.get("key", None)
146 delete_attrs(node, ["xpath", "type", "key"])
163 # elements at the root node, so make sure they get appended
166 root.append(node)
[all …]
/openbmc/u-boot/board/freescale/common/
H A Dcds_pci_ft.c14 int node; in cds_pci_fixup() local
20 node = fdt_path_offset(blob, "/aliases"); in cds_pci_fixup()
21 if (node >= 0) { in cds_pci_fixup()
22 path = fdt_getprop(blob, node, "pci0", NULL); in cds_pci_fixup()
24 node = fdt_path_offset(blob, path); in cds_pci_fixup()
25 if (node >= 0) { in cds_pci_fixup()
26 map = fdt_getprop_w(blob, node, "interrupt-map", &len); in cds_pci_fixup()
/openbmc/u-boot/test/overlay/
H A Dtest-fdt-overlay.dts38 /* Test that we add a new node (by phandle) */
43 new-node {
49 /* Test that we add a new node (by path) */
54 new-node {
64 local: new-local-node {
90 sub-test-node {
/openbmc/qemu/util/
H A Dnotify.c26 QLIST_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_list_add()
31 QLIST_REMOVE(notifier, node); in notifier_remove()
38 QLIST_FOREACH_SAFE(notifier, &list->notifiers, node, next) { in notifier_list_notify()
56 QLIST_INSERT_HEAD(&list->notifiers, notifier, node); in notifier_with_return_list_add()
61 QLIST_REMOVE(notifier, node); in notifier_with_return_remove()
70 QLIST_FOREACH_SAFE(notifier, &list->notifiers, node, next) { in notifier_with_return_list_notify()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_overlay.c62 * @fragment: node offset of the fragment in the overlay
92 * @fragment: node offset of the fragment in the overlay
100 * the targetted node offset in the base device tree
128 * target-path property in a node that contains a in overlay_get_target()
150 * @node: Device tree overlay blob
154 * overlay_phandle_add_offset() increments a node phandle by a given
161 static int overlay_phandle_add_offset(void *fdt, int node, in overlay_phandle_add_offset() argument
168 val = fdt_getprop(fdt, node, name, &len); in overlay_phandle_add_offset()
183 return fdt_setprop_inplace_u32(fdt, node, name, adj_val); in overlay_phandle_add_offset()
187 * overlay_adjust_node_phandles - Offsets the phandles of a node
[all …]
/openbmc/u-boot/drivers/power/
H A Dexynos-tmu.c185 int node; in get_tmu_fdt_values() local
188 /* Get the node from FDT for TMU */ in get_tmu_fdt_values()
189 node = fdtdec_next_compatible(blob, 0, in get_tmu_fdt_values()
191 if (node < 0) { in get_tmu_fdt_values()
192 debug("EXYNOS_TMU: No node for tmu in device tree\n"); in get_tmu_fdt_values()
202 addr = fdtdec_get_addr(blob, node, "reg"); in get_tmu_fdt_values()
211 node, "samsung,mux", -1); in get_tmu_fdt_values()
217 node, "samsung,min-temp", -1); in get_tmu_fdt_values()
220 node, "samsung,max-temp", -1); in get_tmu_fdt_values()
223 node, "samsung,start-warning", -1); in get_tmu_fdt_values()
[all …]

12345678910>>...72