Home
last modified time | relevance | path

Searched refs:graph (Results 1 – 25 of 169) sorted by relevance

1234567

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/mc/
Dmc-entity.c241 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()
278 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
280 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Daudio-graph-card.txt5 see ${LINUX}/Documentation/devicetree/bindings/graph.txt
29 - compatible : "audio-graph-card";
40 compatible = "audio-graph-card";
71 compatible = "audio-graph-card";
143 compatible = "audio-graph-card";
180 compatible = "audio-graph-card";
193 audio-graph-card,prefix = "codec";
194 audio-graph-card,convert-rate = <48000>;
237 compatible = "audio-graph-card";
264 audio-graph-card,prefix = "pcm3168a";
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-platform.c475 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
481 if (graph->package.count < 2) in acpi_validate_dsd_graph()
484 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
485 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
501 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
509 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
586 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local
596 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph()
597 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph()
599 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph()
[all …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dsc27xx_adc.c125 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()
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
276 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in sc27xx_adc_to_volt()
277 tmp /= (graph->adc0 - graph->adc1); in sc27xx_adc_to_volt()
278 tmp += graph->volt1; in sc27xx_adc_to_volt()
Dqcom-pm8xxx-xoadc.c410 struct vadc_linear_graph graph[2]; member
590 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device()
591 adc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE; in pm8xxx_calibrate_device()
615 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device()
616 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device()
619 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device()
637 adc->graph[VADC_CALIB_RATIOMETRIC].dy = in pm8xxx_calibrate_device()
639 adc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_nomux_rsv4; in pm8xxx_calibrate_device()
643 adc->graph[VADC_CALIB_RATIOMETRIC].dy); in pm8xxx_calibrate_device()
670 &adc->graph[ch->calibration], in pm8xxx_read_raw()
/kernel/linux/linux-5.10/sound/soc/generic/
DMakefile4 snd-soc-audio-graph-card-objs := audio-graph-card.o
8 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o
/kernel/linux/linux-5.10/Documentation/userspace-api/media/mediactl/
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.
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
/kernel/linux/linux-5.10/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);
462 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
470 if (graph) in register_irqsoff_function()
481 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
486 if (graph) in unregister_irqsoff_function()
506 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
510 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
532 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
536 ret = register_irqsoff_function(tr, graph, 0); in start_irqsoff_tracer()
[all …]
Dtrace_sched_wakeup.c38 static int start_func_tracer(struct trace_array *tr, int graph);
39 static void stop_func_tracer(struct trace_array *tr, int graph);
233 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
241 if (graph) in register_wakeup_function()
252 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
257 if (graph) in unregister_wakeup_function()
277 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
281 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
329 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
333 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dstacktrace.c20 int graph = 0; in __save_stack_trace() local
63 graph); in __save_stack_trace()
69 graph++; in __save_stack_trace()
/kernel/linux/linux-5.10/tools/perf/Documentation/
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.
Dperf-config.txt112 [call-graph]
115 print-type = graph
148 To query the record mode of call graph, do
150 % perf config call-graph.record-mode
154 % perf config report.queue-size call-graph.order report.children
156 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
158 % perf config --user call-graph.sort-order
412 call-graph.*::
414 -g/--call-graph options).
416 call-graph.record-mode::
[all …]
/kernel/linux/linux-5.10/scripts/
Dheaderdep.pl24 graph => \$opt_graph,
36 graph();
173 sub graph { subroutine
/kernel/linux/linux-5.10/tools/perf/tests/attr/
DREADME47 perf record -g kill (test-record-graph-default)
48 perf record --call-graph dwarf kill (test-record-graph-dwarf)
49 perf record --call-graph fp kill (test-record-graph-fp)
/kernel/linux/linux-5.10/tools/power/pm-graph/config/
Dsuspend-callgraph.cfg47 # graph user processes and cpu usage in the timeline (default: false)
51 # graph source functions in the timeline (default: false)
71 # graph only devices longer than min in the timeline (default: 0.001 ms)
80 # Max graph depth
Dstandby.cfg46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
Dfreeze.cfg46 # graph user processes and cpu usage in the timeline (default: false)
50 # graph source functions in the timeline (default: false)
70 # graph only devices longer than min in the timeline (default: 0.001 ms)
/kernel/linux/linux-5.10/include/media/
Dmedia-entity.h106 struct media_graph graph; member
890 struct media_graph *graph, struct media_device *mdev);
897 void media_graph_walk_cleanup(struct media_graph *graph);
914 void media_graph_walk_start(struct media_graph *graph,
929 struct media_entity *media_graph_walk_next(struct media_graph *graph);
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddpcm.rst15 graph representing the DSP internal audio paths and uses the mixer settings to
123 3. Define widget graph connections.
264 Widget graph connections
267 The BE DAI links will normally be connected to the graph at initialisation time
286 2. DAPM graph showing DSP audio routing from FE DAIs to BEs.
288 3. DAPM widgets from DSP graph.
304 The BE AIF are used to connect the DSP graph to the graphs for the other
305 component drivers (e.g. codec graph).
335 is enabled or disabled by the state of the DAPM graph. This usually means
340 graph. Control is then carried out by the FE as regular PCM operations.
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Dmc-core.rst18 modelled as an oriented graph of building blocks called entities connected
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``.
178 is required and the graph structure can be freed normally.

1234567