Home
last modified time | relevance | path

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

1234567

/linux/tools/power/pm-graph/
H A DMakefile36 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph
37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
38 $(INSTALL) bootgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
39 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph/config
40 $(INSTALL_DATA) config/cgskip.txt $(DESTDIR)$(LIBDIR)/pm-graph/config
41 $(INSTALL_DATA) config/freeze-callgraph.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
42 $(INSTALL_DATA) config/freeze.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
43 $(INSTALL_DATA) config/freeze-dev.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
44 $(INSTALL_DATA) config/standby-callgraph.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
45 $(INSTALL_DATA) config/standby.cfg $(DESTDIR)$(LIBDIR)/pm-graph/config
[all …]
H A Dinstall_latest_from_github.sh16 rm -rf pm-graph
22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph
29 cd $OUT/pm-graph
/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.h90 void *graph; member
116 int q6apm_graph_close(struct q6apm_graph *graph);
117 int q6apm_graph_prepare(struct q6apm_graph *graph);
118 int q6apm_graph_start(struct q6apm_graph *graph);
119 int q6apm_graph_stop(struct q6apm_graph *graph);
120 int q6apm_graph_flush(struct q6apm_graph *graph);
123 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
126 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
130 int q6apm_read(struct q6apm_graph *graph);
131 int q6apm_write_async(struct q6apm_graph *graph, uint32_t len, uint32_t msw_ts,
[all …]
H A Dq6apm-lpass-dais.c22 struct q6apm_graph *graph[APM_PORT_MAX]; member
150 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
156 if (dai_data->graph[dai->id]) { in q6apm_lpass_dai_shutdown()
157 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
158 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_shutdown()
166 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local
171 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
175 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
176 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_prepare()
185 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
[all …]
H A Daudioreach.c45 /* Container graph Position */
598 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_graph_send_cmd_sync() argument
602 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync()
603 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync()
607 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format() argument
659 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_display_port_set_media_format()
663 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format()
674 audioreach_codec_dma_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_codec_dma_set_media_format() argument
751 audioreach_send_u32_param(struct q6apm_graph * graph,struct audioreach_module * module,uint32_t param_id,uint32_t param_val) audioreach_send_u32_param() argument
786 audioreach_sal_limiter_enable(struct q6apm_graph * graph,struct audioreach_module * module,bool enable) audioreach_sal_limiter_enable() argument
792 audioreach_sal_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_sal_set_media_format() argument
799 audioreach_module_enable(struct q6apm_graph * graph,struct audioreach_module * module,bool enable) audioreach_module_enable() argument
806 audioreach_gapless_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_gapless_set_media_format() argument
814 audioreach_set_module_config(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_set_module_config() argument
838 audioreach_mfc_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_mfc_set_media_format() argument
962 audioreach_compr_set_param(struct q6apm_graph * graph,struct audioreach_module_config * mcfg) audioreach_compr_set_param() argument
993 audioreach_i2s_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_i2s_set_media_format() argument
1070 audioreach_logging_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module) audioreach_logging_set_media_format() argument
1105 audioreach_pcm_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * mcfg) audioreach_pcm_set_media_format() argument
1156 audioreach_shmem_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * mcfg) audioreach_shmem_set_media_format() argument
1252 audioreach_gain_set(struct q6apm_graph * graph,struct audioreach_module * module) audioreach_gain_set() argument
1281 audioreach_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_set_media_format() argument
1338 audioreach_graph_free_buf(struct q6apm_graph * graph) audioreach_graph_free_buf() argument
1356 audioreach_map_memory_regions(struct q6apm_graph * graph,unsigned int dir,size_t period_sz,unsigned int periods,bool is_contiguous) audioreach_map_memory_regions() argument
1420 audioreach_shared_memory_send_eos(struct q6apm_graph * graph) audioreach_shared_memory_send_eos() argument
[all...]
/linux/lib/
H A Dobjagg.c713 static int objagg_tmp_graph_edge_index(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_index() argument
716 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index()
719 static void objagg_tmp_graph_edge_set(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_set() argument
722 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_edge_set()
725 __set_bit(edge_index, graph->edges); in objagg_tmp_graph_edge_set()
728 static bool objagg_tmp_graph_is_edge(struct objagg_tmp_graph *graph, in objagg_tmp_graph_is_edge() argument
731 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_is_edge()
734 return test_bit(edge_index, graph->edges); in objagg_tmp_graph_is_edge()
737 static unsigned int objagg_tmp_graph_node_weight(struct objagg_tmp_graph *graph, in objagg_tmp_graph_node_weight() argument
740 struct objagg_tmp_node *node = &graph->nodes[index]; in objagg_tmp_graph_node_weight()
[all …]
/linux/sound/soc/generic/
H A DMakefile4 snd-soc-audio-graph-card-y := audio-graph-card.o
5 snd-soc-audio-graph-card2-y := audio-graph-card2.o
6 snd-soc-audio-graph-card2-custom-sample-y := audio-graph-card2-custom-sample.o
11 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o
12 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD2) += snd-soc-audio-graph-card2.o
13 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD2_CUSTOM_SAMPLE) += snd-soc-audio-graph-card2-custom-sample.o
/linux/drivers/hwtracing/coresight/
H A Dcoresight-platform.c472 static bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
478 if (graph->package.count < 2) in acpi_validate_dsd_graph()
481 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
482 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
498 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
506 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
582 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local
592 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph()
593 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph()
595 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph()
[all …]
/linux/arch/sh/kernel/
H A 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()
/linux/drivers/iio/adc/
H A Dsc27xx_adc.c196 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
202 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
206 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
213 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
214 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
594 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument
599 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt()
600 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
601 tmp += graph->volt1; in adc_to_volt()
606 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]
/linux/kernel/trace/
H A 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);
484 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
492 if (graph) in register_irqsoff_function()
503 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
508 if (graph) in unregister_irqsoff_function()
528 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
532 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
554 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
558 ret = register_irqsoff_function(tr, graph, 0); in start_irqsoff_tracer()
[all …]
H A 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);
246 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
254 if (graph) in register_wakeup_function()
265 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
270 if (graph) in unregister_wakeup_function()
290 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
294 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
342 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
346 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
[all …]
/linux/Documentation/userspace-api/media/mediactl/
H A 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
H A 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/tools/perf/Documentation/
H A Dperf-ftrace.txt103 - call-graph - Display kernel stack trace for function tracer.
107 --graph-funcs=::
108 Select function_graph tracer and set graph filter on the given
116 Select function_graph tracer and set graph notrace filter on the
123 --graph-opts::
134 - depth=<n> - Set max depth for function graph tracer to follow.
190 --graph-funcs=::
191 Set graph filter on the given function (or a glob pattern). This is
198 Set graph notrace filter on the given function (or a glob pattern).
214 --graph-opts::
[all …]
H A Dperf-config.txt112 [call-graph]
115 print-type = graph
146 To query the record mode of call graph, do
148 % perf config call-graph.record-mode
152 % perf config report.queue-size call-graph.order report.children
154 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do
156 % perf config --user call-graph.sort-order
443 call-graph.*::
445 -g/--call-graph options).
447 call-graph.record-mode::
[all …]
H A Dperf-trace.txt175 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
176 Setup and enable call-graph (stack chain/backtrace) recording.
177 See `--call-graph` section in perf-record and perf-report
179 are 'dwarf' and 'lbr', where available, try: 'perf trace --call-graph dwarf'.
185 --kernel-syscall-graph::
207 knobs in --call-graph dwarf.
209 Implies '--call-graph dwarf' when --call-graph not present on the
219 Implies '--call-graph dwarf' when --call-graph not present on the
320 # perf trace -F min --call-graph=dwarf --max-events 1 --cpu 0
/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst5 This document describes implementation details of new-style "graph" data
14 these graph data structures. **No guarantees** of stability for either
40 Unless otherwise stated, examples and semantics below apply to both graph data
48 or map-specific helpers. The new-style graph data structures instead use kfuncs
137 associated with the graph root is held
139 * Both graph data structures have pointer stability
141 * Because graph nodes are allocated with ``bpf_obj_new`` and
143 ``bpf_{list,rb}_node`` field of the node struct, a graph node will
150 ends, we can safely access the graph node through ``n`` even after it was used
155 Both terms currently only have meaning in the context of graph nodes and API.
[all …]
/linux/arch/sparc/kernel/
H A Dstacktrace.c20 int graph = 0; in __save_stack_trace() local
63 graph); in __save_stack_trace()
69 graph++; in __save_stack_trace()
/linux/scripts/
H A Dheaderdep.pl24 graph => \$opt_graph,
36 graph();
173 sub graph { subroutine
/linux/tools/power/pm-graph/config/
H A 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
H A 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)
/linux/arch/arm64/boot/dts/renesas/
H A Dulcb-audio-graph-card2.dtsi17 #include "ulcb-audio-graph-card.dtsi"
20 compatible = "audio-graph-card2";
H A Dulcb-kf-audio-graph-card2.dtsi21 #include "ulcb-kf-audio-graph-card.dtsi"
24 compatible = "audio-graph-card2";
/linux/tools/perf/tests/shell/
H A Dftrace.sh42 perf ftrace trace --graph-opts depth=5 sleep 0.1 > "${output}"
70 perf ftrace profile --graph-opts depth=5 sleep 0.1 > "${output}"

1234567