Home
last modified time | relevance | path

Searched full:graph (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/Linux-v5.15/tools/power/pm-graph/
DMakefile9 install -d $(DESTDIR)$(PREFIX)/lib/pm-graph
10 install sleepgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph
11 install bootgraph.py $(DESTDIR)$(PREFIX)/lib/pm-graph
12 install -d $(DESTDIR)$(PREFIX)/lib/pm-graph/config
13 install -m 644 config/cgskip.txt $(DESTDIR)$(PREFIX)/lib/pm-graph/config
14 install -m 644 config/freeze-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
15 install -m 644 config/freeze.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
16 install -m 644 config/freeze-dev.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
17 install -m 644 config/standby-callgraph.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
18 install -m 644 config/standby.cfg $(DESTDIR)$(PREFIX)/lib/pm-graph/config
[all …]
/Linux-v5.15/drivers/media/mc/
Dmc-entity.c228 * Graph traversal
241 static void stack_push(struct media_graph *graph, in stack_push() argument
244 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
248 graph->top++; in stack_push()
249 graph->stack[graph->top].link = entity->links.next; in stack_push()
250 graph->stack[graph->top].entity = entity; in stack_push()
253 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
257 entity = graph->stack[graph->top].entity; in stack_pop()
258 graph->top--; in stack_pop()
267 * media_graph_walk_init - Allocate resources for graph walk
[all …]
/Linux-v5.15/drivers/hwtracing/coresight/
Dcoresight-platform.c95 * if the device doesn't have any graph connections in of_coresight_get_ports_legacy()
351 /* ACPI Graph _DSD UUID : "ab02a46b-74c7-45a2-bd68-f7d344ef2153" */
355 /* Coresight ACPI Graph UUID : "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" */
408 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
409 * to the ACPI _DSD Graph specification.
411 * ACPI Devices Graph property has the following format:
415 * Graph[1],
417 * Graph[N]
420 * And each Graph entry has the following format:
422 * GraphID - Integer, identifying a graph the device belongs to.
[all …]
/Linux-v5.15/lib/
Dobjagg.c710 static int objagg_tmp_graph_edge_index(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_index() argument
713 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index()
716 static void objagg_tmp_graph_edge_set(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_set() argument
719 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_edge_set()
722 __set_bit(edge_index, graph->edges); in objagg_tmp_graph_edge_set()
725 static bool objagg_tmp_graph_is_edge(struct objagg_tmp_graph *graph, in objagg_tmp_graph_is_edge() argument
728 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_is_edge()
731 return test_bit(edge_index, graph->edges); in objagg_tmp_graph_is_edge()
734 static unsigned int objagg_tmp_graph_node_weight(struct objagg_tmp_graph *graph, in objagg_tmp_graph_node_weight() argument
737 struct objagg_tmp_node *node = &graph->nodes[index]; in objagg_tmp_graph_node_weight()
[all …]
/Linux-v5.15/include/media/
Dmedia-entity.h24 * enum media_gobj_type - type of a graph object
43 /* Structs to represent the objects that belong to a media graph */
46 * struct media_gobj - Define a graph object.
55 * All objects on the media graph should have this struct embedded
78 * struct media_graph - Media graph traversal state
80 * @stack: Graph traversal stack; the stack contains information
83 * @stack.entity: pointer to &struct media_entity at the graph.
102 * @graph: Media graph walk during pipeline start / stop
106 struct media_graph graph; member
110 * struct media_link - A link object part of a media graph.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Daudio-graph-card.yaml4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml#
7 title: Audio Graph Card Device Tree Bindings
13 - $ref: /schemas/sound/audio-graph.yaml#
18 - audio-graph-card
19 - audio-graph-scu-card
29 compatible = "audio-graph-card";
Dnvidia,tegra-audio-graph-card.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml#
7 title: Audio Graph based Tegra sound card driver
10 This is based on generic audio graph card driver along with additional
19 - $ref: audio-graph.yaml#
24 - nvidia,tegra210-audio-graph-card
25 - nvidia,tegra186-audio-graph-card
63 compatible = "nvidia,tegra210-audio-graph-card";
/Linux-v5.15/Documentation/devicetree/bindings/media/
Drenesas,isp.yaml40 $ref: /schemas/graph.yaml#/properties/ports
44 $ref: /schemas/graph.yaml#/properties/port
50 $ref: /schemas/graph.yaml#/properties/port
55 $ref: /schemas/graph.yaml#/properties/port
60 $ref: /schemas/graph.yaml#/properties/port
65 $ref: /schemas/graph.yaml#/properties/port
70 $ref: /schemas/graph.yaml#/properties/port
75 $ref: /schemas/graph.yaml#/properties/port
80 $ref: /schemas/graph.yaml#/properties/port
85 $ref: /schemas/graph.yaml#/properties/port
Drenesas,vin.yaml74 $ref: /schemas/graph.yaml#/$defs/port-base
119 $ref: /schemas/graph.yaml#/properties/ports
123 $ref: /schemas/graph.yaml#/$defs/port-base
161 $ref: /schemas/graph.yaml#/properties/port
168 $ref: /schemas/graph.yaml#/properties/endpoint
172 $ref: /schemas/graph.yaml#/properties/endpoint
176 $ref: /schemas/graph.yaml#/properties/endpoint
180 $ref: /schemas/graph.yaml#/properties/endpoint
194 $ref: /schemas/graph.yaml#/properties/port
201 $ref: /schemas/graph.yaml#/properties/endpoint
[all …]
/Linux-v5.15/drivers/iio/adc/
Dsc27xx_adc.c92 * through 2 points in the linear graph. If the voltage is less than 1.2v, we
93 * should use the small-scale graph, and if more than 1.2v, we should use the
94 * big-scale graph.
125 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
134 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
138 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
154 /* Only need to calibrate the adc values in the linear graph. */ in sc27xx_adc_scale_calibration()
155 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
156 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
271 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]
/Linux-v5.15/tools/perf/Documentation/
Dperf-config.txt112 [call-graph]
115 print-type = graph
149 To query the record mode of call graph, do
151 % perf config call-graph.record-mode
155 % perf config report.queue-size call-graph.order report.children
157 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
159 % perf config --user call-graph.sort-order
426 call-graph.*::
428 -g/--call-graph options).
430 call-graph.record-mode::
[all …]
Dperf-ftrace.txt89 call-graph - Display kernel stack trace for function tracer.
93 --graph-funcs=::
94 Select function_graph tracer and set graph filter on the given
102 Select function_graph tracer and set graph notrace filter on the
109 --graph-opts::
115 depth=<n> - Set max depth for function graph tracer to follow.
/Linux-v5.15/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-g-topology.rst13 MEDIA_IOC_G_TOPOLOGY - Enumerate the graph topology and graph element properties
42 the graph elements that are desired, putting the pointers to them at the
47 desired arrays with the media graph elements.
60 - Version of the media graph topology. When the graph is created,
61 this field starts with zero. Every time a graph element is added
66 - Number of entities in the graph
81 - Number of interfaces in the graph
96 - Total number of pads in the graph
110 - Total number of data and interface links in the graph
290 smaller than the actual number of elements inside the graph. This
Dmedia-controller-model.rst10 hardware devices and Linux Kernel interfaces are modelled as graph
11 objects on an oriented graph. The object types that constitute the graph
20 - An **interface** is a graph representation of a Linux Kernel
22 controls one or more entities in the graph.
/Linux-v5.15/Documentation/devicetree/bindings/media/i2c/
Dadv7180.yaml47 $ref: /schemas/graph.yaml#/$defs/port-base
89 $ref: /schemas/graph.yaml#/properties/ports
92 $ref: /schemas/graph.yaml#/properties/port
97 $ref: /schemas/graph.yaml#/properties/port
114 $ref: /schemas/graph.yaml#/properties/ports
117 $ref: /schemas/graph.yaml#/properties/port
122 $ref: /schemas/graph.yaml#/properties/port
/Linux-v5.15/tools/perf/util/
Dcallchain.h20 #define CALLCHAIN_HELP "setup and enables call-graph (stack chain/backtrace):\n\n"
22 # define RECORD_MODE_HELP HELP_PAD "record_mode:\tcall graph recording mode (fp|dwarf|lbr)\n"
31 HELP_PAD "print_type:\tcall graph printing style (graph|flat|fractal|folded|none)\n" \
32 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \
33 HELP_PAD "print_limit:\tmaximum number of call graph entry (<number>)\n" \
34 HELP_PAD "order:\t\tcall graph order (caller|callee)\n" \
35 HELP_PAD "sort_key:\tcall graph sort key (function|address)\n" \
36 HELP_PAD "branch:\t\tinclude last branch info to call graph (branch)\n" \
37 HELP_PAD "value:\t\tcall graph value (percent|period|count)\n"
/Linux-v5.15/Documentation/driver-api/media/
Dmc-core.rst18 modelled as an oriented graph of building blocks called entities connected
137 Graph traversal
140 The media framework provides APIs to iterate over entities in a graph.
155 Drivers might also need to iterate over all entities in a graph that can be
157 framework provides a depth-first graph traversal API for that purpose.
162 supported by the graph traversal API. To prevent infinite loops, the graph
166 Drivers initiate a graph traversal by calling
169 The graph structure, provided by the caller, is initialized to start graph
175 When the graph traversal is complete the function will return ``NULL``.
177 Graph traversal can be interrupted at any moment. No cleanup function call
[all …]
/Linux-v5.15/drivers/staging/media/atomisp/pci/runtime/debug/interface/
Dia_css_debug_pipe.h26 * @brief Internal debug support for constructing a pipe graph.
33 * @brief Internal debug support for constructing a pipe graph.
40 * @brief Internal debug support for constructing a pipe graph.
51 * @brief Internal debug support for constructing a pipe graph.
60 * @brief Internal debug support for constructing a pipe graph.
/Linux-v5.15/kernel/trace/
Dtrace_irqsoff.c40 static void stop_irqsoff_tracer(struct trace_array *tr, int graph);
41 static int start_irqsoff_tracer(struct trace_array *tr, int graph);
95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
251 * In graph mode call the graph tracer output function, in irqsoff_print_line()
456 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
464 if (graph) in register_irqsoff_function()
475 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
480 if (graph) in unregister_irqsoff_function()
500 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
[all …]
/Linux-v5.15/scripts/
Dheaderdep.pl4 # Detect cycles in the header file dependency graph
24 graph => \$opt_graph,
36 graph();
47 print " --graph\n";
52 print " $0 --graph include/linux/kernel.h | dot -Tpng -o graph.png\n";
172 # Output dependency graph in GraphViz language.
173 sub graph { subroutine
/Linux-v5.15/tools/perf/scripts/python/
Dflamegraph.py15 # Works in tandem with d3-flame-graph by Martin Spier <mspier@netflix.com>
55 print("Flame Graph template {} does not exist. Please install "
56 "the js-d3-flame-graph (RPM) or libjs-d3-flame-graph (deb) "
57 "package, specify an existing flame graph template "
167 default="/usr/share/d3-flame-graph/d3-flamegraph-base.html",
168 help="path to flame graph HTML template")
171 help="flame graph color scheme",
/Linux-v5.15/Documentation/devicetree/bindings/display/bridge/
Dcdns,mhdp8546.yaml61 $ref: /schemas/graph.yaml#/properties/ports
65 $ref: /schemas/graph.yaml#/properties/port
70 $ref: /schemas/graph.yaml#/properties/port
75 $ref: /schemas/graph.yaml#/properties/port
80 $ref: /schemas/graph.yaml#/properties/port
85 $ref: /schemas/graph.yaml#/properties/port
/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-mc.c435 struct media_graph *graph) in pipeline_pm_use_count() argument
439 media_graph_walk_start(graph, entity); in pipeline_pm_use_count()
441 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count()
494 struct media_graph *graph) in pipeline_pm_power() argument
502 media_graph_walk_start(graph, entity); in pipeline_pm_power()
504 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power()
511 media_graph_walk_start(graph, first); in pipeline_pm_power()
513 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power()
559 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local
566 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/usb/
Dti,hd3ss3220.yaml29 $ref: /schemas/graph.yaml#/properties/ports
30 description: OF graph bindings (specified in bindings/graph.txt) that model
35 $ref: /schemas/graph.yaml#/properties/port
39 $ref: /schemas/graph.yaml#/properties/port
/Linux-v5.15/arch/sh/kernel/
Ddumpstack.c57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
69 ret_stack = ftrace_graph_get_ret_stack(task, *graph); in print_ftrace_graph_addr()
77 (*graph)++; in print_ftrace_graph_addr()
83 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr() argument
93 int graph = 0; in stack_reader_dump() local
105 context, &graph); in stack_reader_dump()

12345678910>>...19