Home
last modified time | relevance | path

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

1234567

/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c43 struct audioreach_graph *graph; in q6apm_get_audioreach_graph() local
47 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
50 if (graph) { in q6apm_get_audioreach_graph()
51 kref_get(&graph->refcount); in q6apm_get_audioreach_graph()
52 return graph; in q6apm_get_audioreach_graph()
60 graph = kzalloc_obj(*graph); in q6apm_get_audioreach_graph()
61 if (!graph) in q6apm_get_audioreach_graph()
64 graph->apm = apm; in q6apm_get_audioreach_graph()
65 graph->info = info; in q6apm_get_audioreach_graph()
66 graph->id = graph_id; in q6apm_get_audioreach_graph()
[all …]
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 Dq6apm-dai.c76 struct q6apm_graph *graph; member
141 q6apm_read(prtd->graph); in event_handler()
191 q6apm_write_async(prtd->graph, in event_handler_compr()
197 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr()
220 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
234 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
235 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare()
240 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare()
246 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare()
250 ret = q6apm_map_memory_regions(prtd->graph, substream->stream, prtd->phys, in q6apm_dai_prepare()
[all …]
H A Daudioreach.c45 /* Container graph Position */
625 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_display_port_set_media_format()
629 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_display_port_set_media_format()
630 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_display_port_set_media_format()
634 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format()
687 return q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
691 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format()
598 audioreach_graph_send_cmd_sync(struct q6apm_graph * graph,struct gpr_pkt * pkt,uint32_t rsp_opcode) audioreach_graph_send_cmd_sync() argument
607 audioreach_display_port_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_display_port_set_media_format() argument
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/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/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/media/mc/
H A Dmc-entity.c292 static void stack_push(struct media_graph *graph, in stack_push() argument
295 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
299 graph->top++; in stack_push()
300 graph->stack[graph->top].link = entity->links.next; in stack_push()
301 graph->stack[graph->top].entity = entity; in stack_push()
304 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
308 entity = graph->stack[graph->top].entity; in stack_pop()
309 graph->top--; in stack_pop()
329 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
331 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/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/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 …]
/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/tools/perf/tests/shell/
H A Daddr2line_inlines.sh27 perf record --call-graph fp -e task-clock:u -o "${perf_data}" -- perf test -w inlineloop 1
47 perf record --call-graph dwarf -e task-clock:u -o "${perf_data}" -- perf test -w inlineloop 1
74 perf record --call-graph lbr -e cycles:u -o "${perf_data}" -- perf test -w inlineloop 1
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}"
/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
/linux/arch/arm64/boot/dts/renesas/
H A Dulcb-audio-graph-card2.dtsi17 #include "ulcb-audio-graph-card.dtsi"
20 compatible = "audio-graph-card2";

1234567