Home
last modified time | relevance | path

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

12345678

/Linux-v6.6/sound/soc/qcom/qdsp6/
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(sizeof(*graph), GFP_KERNEL); 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 …]
Dq6apm.h89 void *graph; member
115 int q6apm_graph_close(struct q6apm_graph *graph);
116 int q6apm_graph_prepare(struct q6apm_graph *graph);
117 int q6apm_graph_start(struct q6apm_graph *graph);
118 int q6apm_graph_stop(struct q6apm_graph *graph);
119 int q6apm_graph_flush(struct q6apm_graph *graph);
122 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
125 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
129 int q6apm_read(struct q6apm_graph *graph);
130 int q6apm_write_async(struct q6apm_graph *graph, uint32_t len, uint32_t msw_ts,
[all …]
Dq6apm-lpass-dais.c21 struct q6apm_graph *graph[APM_PORT_MAX]; member
145 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
149 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
157 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local
162 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
166 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
174 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
175 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare()
177 rc = PTR_ERR(graph); in q6apm_lpass_dai_prepare()
180 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare()
[all …]
Dq6apm-dai.c77 struct q6apm_graph *graph; member
142 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
151 q6apm_read(prtd->graph); in event_handler()
206 q6apm_write_async(prtd->graph, in event_handler_compr()
212 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr()
236 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
249 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
250 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare()
256 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare()
262 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare()
[all …]
Daudioreach.c582 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_graph_send_cmd_sync() argument
586 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync()
587 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync()
591 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format() argument
650 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_display_port_set_media_format()
658 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format() argument
728 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
735 int audioreach_send_u32_param(struct q6apm_graph *graph, struct audioreach_module *module, in audioreach_send_u32_param() argument
762 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
770 static int audioreach_sal_limiter_enable(struct q6apm_graph *graph, in audioreach_sal_limiter_enable() argument
[all …]
/Linux-v6.6/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 …]
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-v6.6/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.6/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"
107 audio-graph-card2-custom-sample {
109 * You can use audio-graph-card2 directly by using
111 * compatible = "audio-graph-card2";
113 compatible = "audio-graph-card2-custom-sample";
359 * see audio-graph-card2::routing
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-mc.c443 struct media_graph *graph) in pipeline_pm_use_count() argument
447 media_graph_walk_start(graph, entity); in pipeline_pm_use_count()
449 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count()
502 struct media_graph *graph) in pipeline_pm_power() argument
510 media_graph_walk_start(graph, entity); in pipeline_pm_power()
512 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power()
519 media_graph_walk_start(graph, first); in pipeline_pm_power()
521 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power()
567 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local
574 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify()
[all …]
/Linux-v6.6/drivers/media/mc/
Dmc-entity.c279 static void stack_push(struct media_graph *graph, in stack_push() argument
282 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
286 graph->top++; in stack_push()
287 graph->stack[graph->top].link = entity->links.next; in stack_push()
288 graph->stack[graph->top].entity = entity; in stack_push()
291 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
295 entity = graph->stack[graph->top].entity; in stack_pop()
296 graph->top--; in stack_pop()
316 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
318 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/Linux-v6.6/drivers/hwtracing/coresight/
Dcoresight-platform.c449 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
455 if (graph->package.count < 2) in acpi_validate_dsd_graph()
458 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
459 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
475 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
483 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
559 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local
569 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph()
570 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph()
572 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph()
[all …]
/Linux-v6.6/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.6/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.6/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);
457 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
465 if (graph) in register_irqsoff_function()
476 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
481 if (graph) in unregister_irqsoff_function()
501 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
505 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
527 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
531 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);
232 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
240 if (graph) in register_wakeup_function()
251 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
256 if (graph) in unregister_wakeup_function()
276 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
280 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
328 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
332 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
[all …]
/Linux-v6.6/drivers/iio/adc/
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-v6.6/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.6/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.6/Documentation/bpf/
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-v6.6/tools/perf/Documentation/
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
429 call-graph.*::
431 -g/--call-graph options).
433 call-graph.record-mode::
[all …]
Dperf-ftrace.txt100 - call-graph - Display kernel stack trace for function tracer.
104 --graph-funcs=::
105 Select function_graph tracer and set graph filter on the given
113 Select function_graph tracer and set graph notrace filter on the
120 --graph-opts::
127 - depth=<n> - Set max depth for function graph tracer to follow.
/Linux-v6.6/scripts/
Dheaderdep.pl24 graph => \$opt_graph,
36 graph();
173 sub graph { subroutine

12345678