Home
last modified time | relevance | path

Searched full:edge (Results 1 – 25 of 136) sorted by relevance

123456

/qemu/tests/qtest/libqos/
H A Dqgraph_internal.h38 /* edge types*/
114 * qos_graph_get_edge(): returns the edge
123 * qos_graph_edge_get_type(): returns the edge type
124 * of the edge @edge.
129 QOSEdgeType qos_graph_edge_get_type(QOSGraphEdge *edge);
133 * pointed as destination of edge @edge.
138 char *qos_graph_edge_get_dest(QOSGraphEdge *edge);
142 * exists an edge from @start to @dest.
148 * to that @edge.
153 void *qos_graph_edge_get_arg(QOSGraphEdge *edge);
[all …]
H A Dqgraph.c29 /* Graph Edge.*/
57 /* Each entry in these hash table will consist of <string, node/edge> pair. */
66 * add_edge(): creates an edge of type @type
72 * edge->edge_name is used as identifier for get_device relationships,
92 QOSGraphEdge *edge = g_new0(QOSGraphEdge, 1); in add_edge() local
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()
96 edge->arg = g_memdup2(opts->arg, opts->size_arg); in add_edge()
98 edge->before_cmd_line = in add_edge()
[all …]
H A Dqgraph.h52 * Edge options to be passed to the contains/consumes \*_args function.
53 * @arg: optional arg that will be used by dest edge
54 * @size_arg: @arg size that will be used by dest edge
56 * edge, used to add additional attributes
61 * edge, used to add additional attributes
70 * @edge_name: optional edge to differentiate multiple
85 * @edge: edge arguments that will be used by test.
97 QOSGraphEdgeOptions edge; member
118 * depending on the edge type, passing them the name of the next
162 * qos_edge_destroy(): removes and frees an edge from the
[all …]
H A Dqos_external.c97 QOSGraphEdge *edge; in allocate_objects() local
119 /* follow edge and get object for next node constructor */ in allocate_objects()
121 edge = qos_graph_get_edge(path[current - 1], path[current]); in allocate_objects()
125 g_assert(qos_graph_edge_get_type(edge) == QEDGE_CONSUMED_BY); in allocate_objects()
129 switch (qos_graph_edge_get_type(edge)) { in allocate_objects()
135 edge_arg = qos_graph_edge_get_arg(edge); in allocate_objects()
H A Darm-imx25-pdk-machine.c86 QOSGraphEdgeOptions edge = { in imx25_pdk_register_nodes() local
90 qos_node_contains("arm/imx25-pdk", TYPE_IMX_I2C, &edge, NULL); in imx25_pdk_register_nodes()
/qemu/tests/unit/
H A Dtest-qgraph.c74 QOSGraphEdge *edge; in check_contains() local
77 edge = qos_graph_get_edge(machine, driver); in check_contains()
78 g_assert_nonnull(edge); in check_contains()
79 g_assert_cmpint(qos_graph_edge_get_type(edge), ==, QEDGE_CONTAINS); in check_contains()
85 QOSGraphEdge *edge; in check_produces() local
89 edge = qos_graph_get_edge(machine, interface); in check_produces()
90 g_assert_nonnull(edge); in check_produces()
91 g_assert_cmpint(qos_graph_edge_get_type(edge), ==, in check_produces()
98 QOSGraphEdge *edge; in check_consumes() local
102 edge = qos_graph_get_edge(interface, driver); in check_consumes()
[all …]
/qemu/include/hw/intc/
H A Daspeed_vic.h39 /* 0=edge, 1=level */
42 /* 0=single-edge, 1=dual-edge */
45 /* 0=low-sensitive/falling-edge, 1=high-sensitive/rising-edge */
H A Dloongarch_pic_common.h53 uint64_t intedge; /* 0x060 edge=1 level=0 */
54 uint64_t intclr; /* 0x080 clean edge int, set 1 clean, 0 noused */
57 uint64_t last_intirr; /* edge detection */
/qemu/tests/qtest/
H A Dstm32l4x5_exti-test.c254 /* Configure EXTI line 0 irq on rising edge */ in test_edge_selector()
260 /* Test that an irq is raised on rising edge only */ in test_edge_selector()
275 /* Configure EXTI line 0 irq on falling edge */ in test_edge_selector()
281 /* Test that an irq is raised on falling edge only */ in test_edge_selector()
296 /* Configure EXTI line 0 irq on falling and rising edge */ in test_edge_selector()
301 /* Test that an irq is raised on rising edge */ in test_edge_selector()
312 /* Test that an irq is raised on falling edge */ in test_edge_selector()
323 /* Configure EXTI line 0 irq without selecting an edge trigger */ in test_edge_selector()
421 * with rising edge from GPIOx pin 1 in test_masked_interrupt()
433 /* Configure interrupt on rising edge */ in test_masked_interrupt()
[all …]
H A Dqos-test.c155 * 3) call all nodes constructor and get_driver/get_device depending on edge,
225 QOSGraphEdge *edge; in walk_path() local
230 /* twice QOS_PATH_MAX_ELEMENT_SIZE since each edge can have its arg */ in walk_path()
255 /* append node command line + previous edge command line */ in walk_path()
263 /* detect if edge has command line args */ in walk_path()
267 edge = qos_graph_get_edge(path->name, node_name); in walk_path()
268 etype = qos_graph_edge_get_type(edge); in walk_path()
H A Dvirtio-serial-test.c31 opts.edge.before_cmd_line = "-device virtconsole,bus=vser0.0"; in register_virtio_serial_test()
34 opts.edge.before_cmd_line = "-device virtserialport,bus=vser0.0"; in register_virtio_serial_test()
/qemu/tests/qtest/fuzz/
H A Dqos_fuzz.c99 QOSGraphEdge *edge; in walk_path() local
107 /* twice QOS_PATH_MAX_ELEMENT_SIZE since each edge can have its arg */ in walk_path()
132 /* append node command line + previous edge command line */ in walk_path()
140 /* detect if edge has command line args */ in walk_path()
144 edge = qos_graph_get_edge(path->name, node_name); in walk_path()
145 etype = qos_graph_edge_get_type(edge); in walk_path()
/qemu/hw/intc/
H A Daspeed_vic.c24 * Additionally, the "Interrupt Enable", "Edge Status" and "Software Interrupt"
87 /* edge-triggered */ in aspeed_vic_set_irq()
151 case 0xc8: /* Interrupt Both Edge Trigger Control */ in aspeed_vic_read()
159 case 0xe0: /* Edge Triggered Interrupt Status */ in aspeed_vic_read()
165 case 0xd8: /* Edge Triggered Interrupt Clear */ in aspeed_vic_read()
256 case 0xd8: /* Edge Triggered Interrupt Clear */ in aspeed_vic_write()
268 case 0xc8: /* Interrupt Both Edge Trigger Control */ in aspeed_vic_write()
270 case 0xe0: /* Edge Triggered Interrupt Status */ in aspeed_vic_write()
H A Dloongarch_pch_pic.c33 * do not clear pending irq for edge-triggered on lowering edge in pch_pic_update_irq()
58 /* Edge triggered */ in pch_pic_irq_handler()
61 /* marked pending on a rising edge */ in pch_pic_irq_handler()
H A Dioapic.c182 /* According to the 82093AA manual, we must ignore edge requests in ioapic_set_irq()
346 * mode to edge and then back to level, with RTE being masked during
352 * cleared by IOAPIC hardware when configured as edge-triggered
362 /* Edge-triggered interrupts, make sure remote IRR is zero */ in ioapic_fix_edge_remote_irr()
/qemu/hw/gpio/
H A Domap_gpio.c38 uint16_t edge; member
65 if (((s->edge & s->inputs & ~prev) | (~s->edge & ~s->inputs & prev)) & in omap_gpio_set()
93 return s->edge; in omap_gpio_read()
151 s->edge = value; in omap_gpio_write()
187 s->edge = ~0; in omap_gpio_reset()
H A Dimx_gpio.c81 /* we detect interrupt on rising and falling edge */ in imx_gpio_set_int_line()
87 /* interrupt is edge sensitive */ in imx_gpio_set_int_line()
288 DEFINE_PROP_BOOL("has-edge-sel", IMXGPIOState, has_edge_sel, true),
/qemu/include/hw/isa/
H A Di8259_internal.h47 uint8_t last_irr; /* edge detection */
62 uint8_t elcr; /* PIIX edge/trigger selection*/
64 uint8_t ltim; /* Edge/Level Bank Select (pre-PIIX, chip-wide) */
/qemu/tests/qemu-iotests/
H A D258145 for edge in graph['edges']:
146 if edge['name'] == 'backing' and \
147 find_graph_node(graph, edge['parent'])['name'] == 'node3':
148 assert find_graph_node(graph, edge['child'])['name'] == 'node0'
/qemu/.gitlab-ci.d/opensbi/
H A DDockerfile26 …https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.3.0/x86_64-gcc-8.3.0-nolibc…
29 …https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/8.3.0/x86_64-gcc-8.3.0-nolibc…
/qemu/include/hw/timer/
H A Daspeed_timer.h46 * Track the line level as the ASPEED timers implement edge triggered
47 * interrupts, signalling with both the rising and falling edge.
/qemu/scripts/
H A Drender_block_graph.py62 'edge label scheme:\l'
88 graph.edge(str(e['parent']), str(e['child']), label=label)
/qemu/docs/devel/testing/
H A Dqgraph.rst70 An edge relation between two nodes (drivers or machines) ``X`` and ``Y`` can be:
115 the edge containing these options, and automatically
123 pointed by the edge containing these options. It is
202 QGRAPH EDGES" output reports edge connectivity from the root ('') to the test.
532 or inverting the consumes edge in consumed_by::
598 or inverting the consumes edge in consumed_by::
/qemu/tests/rocker/
H A Dtut.dot3 edge [dir=none, notify="log"];
/qemu/hw/misc/
H A Dstm32f4xx_exti.c51 /* Rising Edge */ in stm32f4xx_exti_set_irq()
56 /* Falling Edge */ in stm32f4xx_exti_set_irq()

123456