Home
last modified time | relevance | path

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

1234567

/Linux-v6.1/sound/soc/qcom/qdsp6/
Dq6apm.c41 struct audioreach_graph *graph; in q6apm_get_audioreach_graph() local
45 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
48 if (graph) { in q6apm_get_audioreach_graph()
49 kref_get(&graph->refcount); in q6apm_get_audioreach_graph()
50 return graph; in q6apm_get_audioreach_graph()
58 graph = kzalloc(sizeof(*graph), GFP_KERNEL); in q6apm_get_audioreach_graph()
59 if (!graph) in q6apm_get_audioreach_graph()
62 graph->apm = apm; in q6apm_get_audioreach_graph()
63 graph->info = info; in q6apm_get_audioreach_graph()
64 graph->id = graph_id; in q6apm_get_audioreach_graph()
[all …]
Dq6apm.h86 void *graph; member
112 int q6apm_graph_close(struct q6apm_graph *graph);
113 int q6apm_graph_prepare(struct q6apm_graph *graph);
114 int q6apm_graph_start(struct q6apm_graph *graph);
115 int q6apm_graph_stop(struct q6apm_graph *graph);
116 int q6apm_graph_flush(struct q6apm_graph *graph);
119 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
122 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
126 int q6apm_send_eos_nowait(struct q6apm_graph *graph);
127 int q6apm_read(struct q6apm_graph *graph);
[all …]
Dq6apm-lpass-dais.c20 struct q6apm_graph *graph[APM_PORT_MAX]; member
114 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
118 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
126 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local
135 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
136 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare()
138 rc = PTR_ERR(graph); in q6apm_lpass_dai_prepare()
141 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare()
145 rc = q6apm_graph_media_format_pcm(dai_data->graph[dai->id], cfg); in q6apm_lpass_dai_prepare()
152 rc = q6apm_graph_prepare(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
[all …]
Dq6apm-dai.c55 struct q6apm_graph *graph; member
111 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
118 q6apm_read(prtd->graph); in event_handler()
140 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
152 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
153 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare()
159 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare()
165 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare()
169 ret = q6apm_map_memory_regions(prtd->graph, substream->stream, prtd->phys, in q6apm_dai_prepare()
177 ret = q6apm_graph_prepare(prtd->graph); in q6apm_dai_prepare()
[all …]
Daudioreach.c612 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_graph_send_cmd_sync() argument
616 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync()
617 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync()
622 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format() argument
692 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
699 static int audioreach_i2s_set_media_format(struct q6apm_graph *graph, in audioreach_i2s_set_media_format() argument
768 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_i2s_set_media_format()
775 static int audioreach_logging_set_media_format(struct q6apm_graph *graph, in audioreach_logging_set_media_format() argument
803 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_logging_set_media_format()
810 static int audioreach_pcm_set_media_format(struct q6apm_graph *graph, in audioreach_pcm_set_media_format() argument
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/sound/soc/generic/
DMakefile4 snd-soc-audio-graph-card-objs := audio-graph-card.o
5 snd-soc-audio-graph-card2-objs := audio-graph-card2.o
6 snd-soc-audio-graph-card2-custom-sample-objs := 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
Daudio-graph-card2-custom-sample.dtsi3 * audio-graph-card2-custom-sample.dtsi
8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
10 * which is using audio-graph-card2.
15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi"
88 audio-graph-card2-custom-sample {
90 * You can use audio-graph-card2 directly by using
92 * compatible = "audio-graph-card2";
94 compatible = "audio-graph-card2-custom-sample";
277 * see audio-graph-card2::routing
/Linux-v6.1/drivers/media/mc/
Dmc-entity.c266 static void stack_push(struct media_graph *graph, in stack_push() argument
269 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
273 graph->top++; in stack_push()
274 graph->stack[graph->top].link = entity->links.next; in stack_push()
275 graph->stack[graph->top].entity = entity; in stack_push()
278 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
282 entity = graph->stack[graph->top].entity; in stack_pop()
283 graph->top--; in stack_pop()
303 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
305 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/Linux-v6.1/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-v6.1/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 …]
/Linux-v6.1/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()
/Linux-v6.1/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);
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
504 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
526 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
530 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);
230 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
238 if (graph) in register_wakeup_function()
249 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
254 if (graph) in unregister_wakeup_function()
274 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
278 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
326 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
330 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
[all …]
/Linux-v6.1/drivers/iio/adc/
Dsc27xx_adc.c194 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
200 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
204 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
211 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
212 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
592 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument
597 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt()
598 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
599 tmp += graph->volt1; in adc_to_volt()
604 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]
/Linux-v6.1/tools/perf/tests/attr/
DREADME47 perf record -g kill (test-record-graph-default)
48 perf record -g kill (test-record-graph-default-aarch64)
49 perf record --call-graph dwarf kill (test-record-graph-dwarf)
50 perf record --call-graph fp kill (test-record-graph-fp)
51 perf record --call-graph fp kill (test-record-graph-fp-aarch64)
/Linux-v6.1/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-v6.1/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()
/Linux-v6.1/scripts/
Dheaderdep.pl24 graph => \$opt_graph,
36 graph();
173 sub graph { subroutine
/Linux-v6.1/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.txt99 call-graph - Display kernel stack trace for function tracer.
103 --graph-funcs=::
104 Select function_graph tracer and set graph filter on the given
112 Select function_graph tracer and set graph notrace filter on the
119 --graph-opts::
125 depth=<n> - Set max depth for function graph tracer to follow.
/Linux-v6.1/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
/Linux-v6.1/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 …]

1234567