Home
last modified time | relevance | path

Searched full:nodename (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/openbmc/qemu/hw/riscv/
H A Dsifive_u.c103 char *nodename; in create_fdt() local
133 nodename = g_strdup_printf("/hfclk"); in create_fdt()
134 qemu_fdt_add_subnode(fdt, nodename); in create_fdt()
135 qemu_fdt_setprop_cell(fdt, nodename, "phandle", hfclk_phandle); in create_fdt()
136 qemu_fdt_setprop_string(fdt, nodename, "clock-output-names", "hfclk"); in create_fdt()
137 qemu_fdt_setprop_cell(fdt, nodename, "clock-frequency", in create_fdt()
139 qemu_fdt_setprop_string(fdt, nodename, "compatible", "fixed-clock"); in create_fdt()
140 qemu_fdt_setprop_cell(fdt, nodename, "#clock-cells", 0x0); in create_fdt()
141 g_free(nodename); in create_fdt()
144 nodename = g_strdup_printf("/rtcclk"); in create_fdt()
[all …]
/openbmc/qemu/hw/openrisc/
H A Dvirt.c133 char *nodename; in openrisc_create_fdt() local
152 nodename = g_strdup_printf("/memory@%" HWADDR_PRIx, in openrisc_create_fdt()
154 qemu_fdt_add_subnode(fdt, nodename); in openrisc_create_fdt()
155 qemu_fdt_setprop_cells(fdt, nodename, "reg", in openrisc_create_fdt()
157 qemu_fdt_setprop_string(fdt, nodename, "device_type", "memory"); in openrisc_create_fdt()
158 g_free(nodename); in openrisc_create_fdt()
165 nodename = g_strdup_printf("/cpus/cpu@%d", cpu); in openrisc_create_fdt()
166 qemu_fdt_add_subnode(fdt, nodename); in openrisc_create_fdt()
167 qemu_fdt_setprop_string(fdt, nodename, "compatible", in openrisc_create_fdt()
169 qemu_fdt_setprop_cell(fdt, nodename, "reg", cpu); in openrisc_create_fdt()
[all …]
H A Dopenrisc_sim.c115 char *nodename; in openrisc_create_fdt() local
128 nodename = g_strdup_printf("/memory@%" HWADDR_PRIx, in openrisc_create_fdt()
130 qemu_fdt_add_subnode(fdt, nodename); in openrisc_create_fdt()
131 qemu_fdt_setprop_cells(fdt, nodename, "reg", in openrisc_create_fdt()
133 qemu_fdt_setprop_string(fdt, nodename, "device_type", "memory"); in openrisc_create_fdt()
134 g_free(nodename); in openrisc_create_fdt()
141 nodename = g_strdup_printf("/cpus/cpu@%d", cpu); in openrisc_create_fdt()
142 qemu_fdt_add_subnode(fdt, nodename); in openrisc_create_fdt()
143 qemu_fdt_setprop_string(fdt, nodename, "compatible", in openrisc_create_fdt()
145 qemu_fdt_setprop_cell(fdt, nodename, "reg", cpu); in openrisc_create_fdt()
[all …]
/openbmc/qemu/hw/i386/
H A Dmicrovm-dt.c49 const char *nodename, uint32_t irq) in dt_add_microvm_irq() argument
58 qemu_fdt_setprop_cell(mms->fdt, nodename, "interrupt-parent", in dt_add_microvm_irq()
60 qemu_fdt_setprop_cells(mms->fdt, nodename, "interrupts", irq, 0); in dt_add_microvm_irq()
68 char *nodename; in dt_add_virtio() local
79 nodename = g_strdup_printf("/virtio_mmio@%" PRIx64, base); in dt_add_virtio()
80 qemu_fdt_add_subnode(mms->fdt, nodename); in dt_add_virtio()
81 qemu_fdt_setprop_string(mms->fdt, nodename, "compatible", "virtio,mmio"); in dt_add_virtio()
82 qemu_fdt_setprop_sized_cells(mms->fdt, nodename, "reg", 2, base, 2, size); in dt_add_virtio()
83 qemu_fdt_setprop(mms->fdt, nodename, "dma-coherent", NULL, 0); in dt_add_virtio()
84 dt_add_microvm_irq(mms, nodename, irq); in dt_add_virtio()
[all …]
/openbmc/qemu/hw/loongarch/
H A Dvirt.c142 char *nodename; in fdt_add_cpuic_node() local
145 nodename = g_strdup_printf("/cpuic"); in fdt_add_cpuic_node()
146 qemu_fdt_add_subnode(ms->fdt, nodename); in fdt_add_cpuic_node()
147 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", *cpuintc_phandle); in fdt_add_cpuic_node()
148 qemu_fdt_setprop_string(ms->fdt, nodename, "compatible", in fdt_add_cpuic_node()
150 qemu_fdt_setprop(ms->fdt, nodename, "interrupt-controller", NULL, 0); in fdt_add_cpuic_node()
151 qemu_fdt_setprop_cell(ms->fdt, nodename, "#interrupt-cells", 1); in fdt_add_cpuic_node()
152 g_free(nodename); in fdt_add_cpuic_node()
160 char *nodename; in fdt_add_eiointc_node() local
165 nodename = g_strdup_printf("/eiointc@%" PRIx64, extioi_base); in fdt_add_eiointc_node()
[all …]
/openbmc/linux/drivers/xen/xenbus/
H A Dxenbus_probe_backend.c59 static int backend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in backend_bus_id() argument
65 type = strchr(nodename, '/'); in backend_bus_id()
73 devid = strrchr(nodename, '/') + 1; in backend_bus_id()
75 err = xenbus_gather(XBT_NIL, nodename, "frontend-id", "%i", &domid, in backend_bus_id()
117 if (add_uevent_var(env, "XENBUS_PATH=%s", xdev->nodename)) in xenbus_uevent_backend()
138 char *nodename; in xenbus_probe_backend_unit() local
141 nodename = kasprintf(GFP_KERNEL, "%s/%s", dir, name); in xenbus_probe_backend_unit()
142 if (!nodename) in xenbus_probe_backend_unit()
145 DPRINTK("%s\n", nodename); in xenbus_probe_backend_unit()
147 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_backend_unit()
[all …]
H A Dxenbus_probe.c153 int err = xenbus_gather(XBT_NIL, xendev->nodename, in xenbus_read_otherend_details()
160 xendev->nodename); in xenbus_read_otherend_details()
168 xendev->nodename); in xenbus_read_otherend_details()
279 DPRINTK("%s", dev->nodename); in xenbus_dev_probe()
295 dev->nodename); in xenbus_dev_probe()
315 dev->nodename); in xenbus_dev_probe()
322 dev->nodename); in xenbus_dev_probe()
334 xenbus_dev_error(dev, err, "xenbus_dev_probe on %s", dev->nodename); in xenbus_dev_probe()
344 DPRINTK("%s", dev->nodename); in xenbus_dev_remove()
367 xenbus_read_driver_state(dev->nodename) == XenbusStateClosing) in xenbus_dev_remove()
[all …]
H A Dxenbus_probe_frontend.c35 static int frontend_bus_id(char bus_id[XEN_BUS_ID_SIZE], const char *nodename) in frontend_bus_id() argument
37 nodename = strchr(nodename, '/'); in frontend_bus_id()
38 if (!nodename || strlen(nodename + 1) >= XEN_BUS_ID_SIZE) { in frontend_bus_id()
39 pr_warn("bad frontend %s\n", nodename); in frontend_bus_id()
43 strscpy(bus_id, nodename + 1, XEN_BUS_ID_SIZE); in frontend_bus_id()
56 char *nodename; in xenbus_probe_frontend() local
65 nodename = kasprintf(GFP_KERNEL, "%s/%s/%s", bus->root, type, name); in xenbus_probe_frontend()
66 if (!nodename) in xenbus_probe_frontend()
69 DPRINTK("%s", nodename); in xenbus_probe_frontend()
71 err = xenbus_probe_node(bus, type, nodename); in xenbus_probe_frontend()
[all …]
/openbmc/qemu/hw/core/
H A Dsysbus-fdt.c82 * @nodename: guest node name the properties should be added to
86 char *node_path, char *nodename) in copy_properties_from_host() argument
98 qemu_fdt_setprop(guest_fdt, nodename, in copy_properties_from_host()
141 char *nodename; in fdt_build_clock_node() local
170 nodename = strrchr(node_path, '/'); in fdt_build_clock_node()
171 qemu_fdt_add_subnode(guest_fdt, nodename); in fdt_build_clock_node()
176 node_path, nodename); in fdt_build_clock_node()
178 qemu_fdt_setprop_cell(guest_fdt, nodename, "phandle", guest_phandle); in fdt_build_clock_node()
220 char *nodename; in add_calxeda_midway_xgmac_fdt_node() local
227 nodename = g_strdup_printf("%s/%s@%" PRIx64, parent_node, in add_calxeda_midway_xgmac_fdt_node()
[all …]
/openbmc/qemu/hw/arm/
H A Dvirt.c450 char *nodename = g_strdup_printf("/cpus/cpu@%d", cpu); in fdt_add_cpu_nodes() local
454 qemu_fdt_add_subnode(ms->fdt, nodename); in fdt_add_cpu_nodes()
455 qemu_fdt_setprop_string(ms->fdt, nodename, "device_type", "cpu"); in fdt_add_cpu_nodes()
456 qemu_fdt_setprop_string(ms->fdt, nodename, "compatible", in fdt_add_cpu_nodes()
460 qemu_fdt_setprop_string(ms->fdt, nodename, in fdt_add_cpu_nodes()
465 qemu_fdt_setprop_u64(ms->fdt, nodename, "reg", in fdt_add_cpu_nodes()
468 qemu_fdt_setprop_cell(ms->fdt, nodename, "reg", in fdt_add_cpu_nodes()
473 qemu_fdt_setprop_cell(ms->fdt, nodename, "numa-node-id", in fdt_add_cpu_nodes()
478 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", in fdt_add_cpu_nodes()
482 g_free(nodename); in fdt_add_cpu_nodes()
[all …]
H A Draspi4b.c43 char *nodename = g_strdup_printf("/memory@%" PRIx64, mem_base); in raspi_add_memory_node() local
53 qemu_fdt_add_subnode(fdt, nodename); in raspi_add_memory_node()
54 qemu_fdt_setprop_string(fdt, nodename, "device_type", "memory"); in raspi_add_memory_node()
55 ret = qemu_fdt_setprop_sized_cells(fdt, nodename, "reg", in raspi_add_memory_node()
60 g_free(nodename); in raspi_add_memory_node()
/openbmc/linux/fs/smb/client/
H A Dnamespace.c51 * @nodename: pointer to UNC string
55 * big enough to hold the final thing. Copy the UNC from the nodename, and
62 cifs_build_devname(char *nodename, const char *prepath) in cifs_build_devname() argument
70 nodename += strspn(nodename, "\\"); in cifs_build_devname()
71 if (!*nodename) in cifs_build_devname()
75 unclen = strlen(nodename); in cifs_build_devname()
76 pos = nodename + unclen - 1; in cifs_build_devname()
102 memcpy(pos, nodename, unclen); in cifs_build_devname()
/openbmc/linux/drivers/xen/xen-pciback/
H A Dxenbus.c152 if (xenbus_read_driver_state(pdev->xdev->nodename) != in xen_pcibk_attach()
218 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_dev()
311 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
326 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
350 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, str, in xen_pcibk_publish_pci_root()
355 err = xenbus_printf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_publish_pci_root()
377 if (xenbus_read_driver_state(pdev->xdev->nodename) != state) in xen_pcibk_reconfigure()
380 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, "num_devs", "%d", in xen_pcibk_reconfigure()
399 substate = xenbus_read_unsigned(pdev->xdev->nodename, state_str, in xen_pcibk_reconfigure()
414 err = xenbus_scanf(XBT_NIL, pdev->xdev->nodename, in xen_pcibk_reconfigure()
[all …]
/openbmc/linux/drivers/block/xen-blkback/
H A Dxenbus.c60 devpath = xenbus_read(XBT_NIL, dev->nodename, "dev", NULL); in blkback_name()
558 err = xenbus_printf(xbt, dev->nodename, "feature-flush-cache", in xen_blkbk_flush_diskcache()
574 if (!xenbus_read_unsigned(dev->nodename, "discard-enable", 1)) in xen_blkbk_discard()
578 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
585 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
594 err = xenbus_printf(xbt, dev->nodename, in xen_blkbk_discard()
602 err = xenbus_printf(xbt, dev->nodename, "feature-discard", in xen_blkbk_discard()
614 err = xenbus_printf(xbt, dev->nodename, "feature-barrier", in xen_blkbk_barrier()
653 err = xenbus_printf(XBT_NIL, dev->nodename, in xen_blkbk_probe()
659 dev->nodename, err); in xen_blkbk_probe()
[all …]
/openbmc/u-boot/tools/
H A Dfit_info.c48 char *nodename = NULL; in main() local
61 nodename = optarg; in main()
75 if (!nodename) { in main()
90 nodeoffset = fdt_path_offset(fit_blob, nodename); in main()
92 printf("%s not found.", nodename); in main()
/openbmc/linux/drivers/net/xen-netback/
H A Dxenbus.c231 err = xenbus_scanf(XBT_NIL, dev->nodename, "handle", "%li", &handle); in backend_create_xenvif()
291 pr_debug("%s -> %s\n", dev->nodename, xenbus_strstate(state)); in backend_switch_state()
476 ratestr = xenbus_read(XBT_NIL, dev->nodename, "rate", NULL); in xen_net_read_rate()
506 macstr = s = xenbus_read(XBT_NIL, dev->nodename, "mac", NULL); in xen_net_read_mac()
550 unsigned maxlen = strlen(dev->nodename) + sizeof("/rate"); in xen_register_credit_watch()
558 snprintf(node, maxlen, "%s/rate", dev->nodename); in xen_register_credit_watch()
669 str = xenbus_read(XBT_NIL, be->dev->nodename, "hotplug-status", &len); in hotplug_status_changed()
748 xenbus_dev_fatal(dev, err, "parsing %s/mac", dev->nodename); in connect()
828 "%s/%s", dev->nodename, "hotplug-status"); in connect()
985 xenbus_rm(XBT_NIL, dev->nodename, "hotplug-status"); in netback_remove()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dutsname.h9 char nodename[9]; member
19 char nodename[65]; member
27 char nodename[__NEW_UTS_LEN + 1]; member
/openbmc/linux/drivers/base/
H A Ddevtmpfs.c204 static int handle_create(const char *nodename, umode_t mode, kuid_t uid, in handle_create() argument
211 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
213 create_path(nodename); in handle_create()
214 dentry = kern_path_create(AT_FDCWD, nodename, &path, 0); in handle_create()
309 static int handle_remove(const char *nodename, struct device *dev) in handle_remove() argument
316 dentry = kern_path_locked(nodename, &parent); in handle_remove()
351 if (deleted && strchr(nodename, '/')) in handle_remove()
352 delete_path(nodename); in handle_remove()
/openbmc/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_cfg.c54 if (xenbus_read_unsigned(front_info->xb_dev->nodename, in xen_drm_front_cfg_card()
63 xb_dev->nodename, i); in xen_drm_front_cfg_card()
71 xb_dev->nodename); in xen_drm_front_cfg_card()
/openbmc/qemu/tests/qemu-iotests/
H A D25642 nodename = "file_{}".format(basename)
51 node_name=nodename, filename=filepath))
55 'file': nodename,
61 file=nodename))
/openbmc/linux/fs/lockd/
H A Dmon.c46 const char *nodename; member
68 static struct rpc_clnt *nsm_create(struct net *net, const char *nodename) in nsm_create() argument
80 .nodename = nodename, in nsm_create()
102 .nodename = host->nodename, in nsm_mon_unmon()
111 clnt = nsm_create(host->net, host->nodename); in nsm_mon_unmon()
454 encode_nsm_string(xdr, argp->nodename); in encode_my_id()
/openbmc/linux/Documentation/devicetree/bindings/watchdog/
H A Dwatchdog.yaml19 $nodename:
23 $nodename:
/openbmc/linux/init/
H A Dversion.c22 size_t bufsize = sizeof(init_uts_ns.name.nodename); in early_hostname()
26 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname()
/openbmc/linux/drivers/macintosh/
H A Dwindfarm_mpu.h79 char nodename[64]; in wf_get_mpu() local
88 sprintf(nodename, "/u3@0,f8000000/i2c@f8001000/cpuid@a%d", cpu ? 2 : 0); in wf_get_mpu()
89 np = of_find_node_by_path(nodename); in wf_get_mpu()
/openbmc/openbmc/poky/bitbake/lib/bs4/builder/
H A D__init__.py355 def startElementNS(self, nsTuple, nodeName, attrs): argument
356 # Throw away (ns, nodeName) for now.
357 self.startElement(nodeName, attrs)
359 def endElementNS(self, nsTuple, nodeName): argument
360 # Throw away (ns, nodeName) for now.
361 self.endElement(nodeName)
362 #handler.endElementNS((ns, node.nodeName), node.nodeName)

12345678910>>...19