/qemu/tests/qtest/libqos/ |
H A D | qgraph_internal.h | 38 /* 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 D | qgraph.c | 29 /* 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 D | qgraph.h | 52 * 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 D | qos_external.c | 97 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 D | arm-imx25-pdk-machine.c | 86 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 D | test-qgraph.c | 74 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 D | aspeed_vic.h | 39 /* 0=edge, 1=level */ 42 /* 0=single-edge, 1=dual-edge */ 45 /* 0=low-sensitive/falling-edge, 1=high-sensitive/rising-edge */
|
H A D | loongarch_pic_common.h | 53 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 D | stm32l4x5_exti-test.c | 254 /* 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 D | qos-test.c | 155 * 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 D | virtio-serial-test.c | 31 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 D | qos_fuzz.c | 99 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 D | aspeed_vic.c | 24 * 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 D | loongarch_pch_pic.c | 33 * 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 D | ioapic.c | 182 /* 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 D | omap_gpio.c | 38 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 D | imx_gpio.c | 81 /* 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 D | i8259_internal.h | 47 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 D | 258 | 145 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 D | Dockerfile | 26 …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 D | aspeed_timer.h | 46 * 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 D | render_block_graph.py | 62 'edge label scheme:\l' 88 graph.edge(str(e['parent']), str(e['child']), label=label)
|
/qemu/docs/devel/testing/ |
H A D | qgraph.rst | 70 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 D | tut.dot | 3 edge [dir=none, notify="log"];
|
/qemu/hw/misc/ |
H A D | stm32f4xx_exti.c | 51 /* Rising Edge */ in stm32f4xx_exti_set_irq() 56 /* Falling Edge */ in stm32f4xx_exti_set_irq()
|