Home
last modified time | relevance | path

Searched refs:nd (Results 1 – 25 of 72) sorted by relevance

123

/openbmc/qemu/hw/nubus/
H A Dnubus-device.c21 void nubus_set_irq(NubusDevice *nd, int level) in nubus_set_irq() argument
23 NubusBus *nubus = NUBUS_BUS(qdev_get_parent_bus(DEVICE(nd))); in nubus_set_irq()
25 qemu_set_irq(nubus->irqs[nd->slot], level); in nubus_set_irq()
31 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_device_realize() local
38 if (nd->slot < 0 || nd->slot >= NUBUS_SLOT_NB) { in nubus_device_realize()
41 nd->slot, NUBUS_SLOT_NB - 1); in nubus_device_realize()
46 slot_offset = nd->slot * NUBUS_SUPER_SLOT_SIZE; in nubus_device_realize()
48 name = g_strdup_printf("nubus-super-slot-%x", nd->slot); in nubus_device_realize()
49 memory_region_init(&nd->super_slot_mem, OBJECT(dev), name, in nubus_device_realize()
52 &nd->super_slot_mem); in nubus_device_realize()
[all …]
H A Dnubus-bus.c124 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_get_dev_path() local
129 char *ret = g_strdup_printf("%s/%s/%02x", p, bus->name, nd->slot); in nubus_get_dev_path()
133 return g_strdup_printf("%s/%02x", bus->name, nd->slot); in nubus_get_dev_path()
139 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_check_address() local
142 if (nd->slot == -1) { in nubus_check_address()
146 nd->slot = s; in nubus_check_address()
154 if (!(nubus->slot_available_mask & BIT(nd->slot))) { in nubus_check_address()
156 "unavailable or already occupied", nd->slot); in nubus_check_address()
161 nubus->slot_available_mask &= ~BIT(nd->slot); in nubus_check_address()
H A Dnubus-virtio-mmio.c20 NubusDevice *nd = NUBUS_DEVICE(opaque); in nubus_virtio_mmio_set_input_irq() local
22 nubus_set_irq(nd, level); in nubus_virtio_mmio_set_input_irq()
30 NubusDevice *nd = NUBUS_DEVICE(dev); in nubus_virtio_mmio_realize() local
44 memory_region_add_subregion(&nd->slot_mem, NUBUS_VIRTIO_MMIO_PIC_OFFSET, in nubus_virtio_mmio_realize()
58 memory_region_add_subregion(&nd->slot_mem, offset, in nubus_virtio_mmio_realize()
/openbmc/qemu/net/
H A Dnet.c70 Netdev *nd; member
1000 NICInfo *nd; in net_init_nic() local
1012 nd = &nd_table[idx]; in net_init_nic()
1014 memset(nd, 0, sizeof(*nd)); in net_init_nic()
1017 nd->netdev = qemu_find_netdev(nic->netdev); in net_init_nic()
1018 if (!nd->netdev) { in net_init_nic()
1024 nd->netdev = peer; in net_init_nic()
1026 nd->name = g_strdup(name); in net_init_nic()
1028 nd->model = g_strdup(nic->model); in net_init_nic()
1031 nd->devaddr = g_strdup(nic->addr); in net_init_nic()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-coroutine.c106 NestData *nd = opaque; in nest() local
108 nd->n_enter++; in nest()
110 if (nd->n_enter < nd->max) { in nest()
113 child = qemu_coroutine_create(nest, nd); in nest()
117 nd->n_return++; in nest()
123 NestData nd = { in test_nesting() local
129 root = qemu_coroutine_create(nest, &nd); in test_nesting()
133 g_assert_cmpint(nd.n_enter, ==, nd.max); in test_nesting()
134 g_assert_cmpint(nd.n_return, ==, nd.max); in test_nesting()
543 NestData nd = { in perf_nesting() local
[all …]
/openbmc/openbmc/meta-facebook/meta-ventura/recipes-core/udev/persistent-rs485-port-mapping/
H A Drmc-v1plus.rules1 # Identify whether the UART IC is FT4232H (main source) or XR21B1424 (2nd source).
56 # XR21B1424 #1 is used in the 2nd source (Case 1)
61 # XR21B1424 #1 is used in the 2nd source (Case 2)
66 # XR21B1424 #1 is used in the 2nd source (Case 3)
71 # XR21B1424 #2 is used in the 2nd source (Case 1)
77 # XR21B1424 #2 is used in the 2nd source (Case 2)
83 # XR21B1424 #2 is used in the 2nd source (Case 3)
89 # XR21B1424 #3 is used in the 2nd source (Case 1)
95 # XR21B1424 #3 is used in the 2nd source (Case 2)
101 # XR21B1424 #3 is used in the 2nd source (Case 3)
/openbmc/openbmc/meta-google/recipes-google/ncsi/files/
H A D50-gbmc-ncsi.rules.in28 icmpv6 type nd-neighbor-advert accept
29 icmpv6 type nd-neighbor-solicit accept
30 icmpv6 type nd-router-advert accept
/openbmc/qemu/include/hw/net/
H A Dne2000-isa.h21 NICInfo *nd) in isa_ne2000_init() argument
31 qdev_set_nic_properties(dev, nd); in isa_ne2000_init()
/openbmc/u-boot/arch/arm/include/asm/
H A Dmemory.h98 struct pglist_data *nd = NODE_DATA(node); \
100 ((pfn - (nd->node_start_paddr >> PAGE_SHIFT)) < nd->node_size));\
/openbmc/openbmc/poky/meta/recipes-core/init-ifupdown/init-ifupdown-1.0/
H A Dinit28 /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
49 /dev/nbd*|/dev/nd[a-z]*|/dev/etherd/e*)
/openbmc/u-boot/scripts/dtc/
H A Ddata.c41 struct data nd; in data_grow_for() local
47 nd = d; in data_grow_for()
54 nd.val = xrealloc(d.val, newsize); in data_grow_for()
56 return nd; in data_grow_for()
/openbmc/qemu/hw/mips/
H A Djazz.c123 NICInfo *nd; in mips_jazz_init_net() local
125 nd = qemu_find_nic_info("dp8393x", true, "dp83932"); in mips_jazz_init_net()
126 if (!nd) { in mips_jazz_init_net()
131 qdev_set_nic_properties(dev, nd); in mips_jazz_init_net()
145 prom[i] = nd->macaddr.a[i]; in mips_jazz_init_net()
/openbmc/u-boot/board/toradex/common/
H A DKconfig58 Specify the byte offset of the 2nd instance of the Toradex config block
60 Set to 0 on modules which have no 2nd instance.
/openbmc/openbmc/meta-security/meta-tpm/recipes-tpm1/openssl-tpm-engine/
H A Dopenssl-tpm-engine_0.5.0.bb29 # srk_dec_pw = "\x1""nc""\x3""nd""\x1""a"
35 srk_dec_pw ?= "\\"\\\x1\\"\\"nc\\"\\"\\\x3\\"\\"nd\\"\\"\\\x1\\"\\"a\\""
/openbmc/qemu/include/hw/nubus/
H A Dnubus.h67 void nubus_set_irq(NubusDevice *nd, int level);
/openbmc/openbmc/poky/meta/recipes-extended/ghostscript/ghostscript/
H A D0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch67 /* if 2nd param true, text mode if 2nd param false */
/openbmc/u-boot/board/freescale/imx8qxp_mek/
H A Dimximage.cfg17 /* Create the 2nd container */
/openbmc/qemu/tests/tcg/aarch64/system/
H A Dkernel.ld8 /* Align r/w data to the 2nd 2 MiB chunk. */
/openbmc/qemu/hw/m68k/
H A Dq800.c273 NICInfo *nd; in q800_machine_init() local
387 nd = qemu_find_nic_info(TYPE_DP8393X, true, "dp83932"); in q800_machine_init()
388 if (nd) { in q800_machine_init()
389 qdev_set_nic_properties(dev, nd); in q800_machine_init()
390 memcpy(mac.a, nd->macaddr.a, sizeof(mac.a)); in q800_machine_init()
/openbmc/qemu/hw/sparc64/
H A Dsun4u.c557 NICInfo *nd; in sun4uv_init() local
636 nd = qemu_find_nic_info(mc->default_nic, true, NULL); in sun4uv_init()
637 if (nd) { in sun4uv_init()
640 qdev_set_nic_properties(dev, nd); in sun4uv_init()
643 memcpy(&macaddr, &nd->macaddr.a, sizeof(MACAddr)); in sun4uv_init()
/openbmc/qemu/hw/display/
H A Dmacfb.c709 NubusDevice *nd = NUBUS_DEVICE(s); in macfb_nubus_set_irq() local
711 nubus_set_irq(nd, level); in macfb_nubus_set_irq()
717 NubusDevice *nd = NUBUS_DEVICE(dev); in macfb_nubus_realize() local
731 memory_region_add_subregion(&nd->slot_mem, DAFB_BASE, &ms->mem_ctrl); in macfb_nubus_realize()
732 memory_region_add_subregion(&nd->slot_mem, VIDEO_BASE, &ms->mem_vram); in macfb_nubus_realize()
/openbmc/qemu/docs/
H A Dpci_expander_bridge.txt26 …idge1,bus=pci.0,numa_node=1,bus_nr=4 -netdev user,id=nd -device e1000,bus=bridge1,addr=0x4,netdev=
/openbmc/u-boot/board/congatec/conga-qeval20-qa3-e3845/
H A DREADME14 connector on the mainboard (the low one). The 2nd defconfig file:
/openbmc/qemu/hw/core/
H A Dqdev-properties-system.c563 void qdev_set_nic_properties(DeviceState *dev, NICInfo *nd) in qdev_set_nic_properties() argument
565 qdev_prop_set_macaddr(dev, "mac", nd->macaddr.a); in qdev_set_nic_properties()
566 if (nd->netdev) { in qdev_set_nic_properties()
567 qdev_prop_set_netdev(dev, "netdev", nd->netdev); in qdev_set_nic_properties()
569 if (nd->nvectors != DEV_NVECTORS_UNSPECIFIED && in qdev_set_nic_properties()
571 qdev_prop_set_uint32(dev, "vectors", nd->nvectors); in qdev_set_nic_properties()
573 nd->instantiated = 1; in qdev_set_nic_properties()
/openbmc/qemu/tests/qemu-iotests/
H A D246.out56 --- 2nd Boot (Grow Image) ---
88 --- Adding new bitmap, growing image, and adding 2nd new bitmap ---

123