Home
last modified time | relevance | path

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

123456

/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(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 …]
H A Dq6apm.h88 void *graph; member
114 int q6apm_graph_close(struct q6apm_graph *graph);
115 int q6apm_graph_prepare(struct q6apm_graph *graph);
116 int q6apm_graph_start(struct q6apm_graph *graph);
117 int q6apm_graph_stop(struct q6apm_graph *graph);
118 int q6apm_graph_flush(struct q6apm_graph *graph);
121 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
124 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
128 int q6apm_read(struct q6apm_graph *graph);
129 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.c75 struct q6apm_graph *graph; member
138 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
147 q6apm_read(prtd->graph); in event_handler()
202 q6apm_write_async(prtd->graph, in event_handler_compr()
208 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr()
232 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
246 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
247 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare()
253 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare()
259 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare()
[all …]
H A Daudioreach.c598 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
666 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_display_port_set_media_format()
674 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format() argument
744 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
751 int audioreach_send_u32_param(struct q6apm_graph *graph, struct audioreach_module *module, in audioreach_send_u32_param() argument
778 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
786 static int audioreach_sal_limiter_enable(struct q6apm_graph *graph, in audioreach_sal_limiter_enable() argument
[all …]
H A Daudioreach.h784 void audioreach_graph_free_buf(struct q6apm_graph *graph);
785 int audioreach_map_memory_regions(struct q6apm_graph *graph,
792 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt,
794 int audioreach_set_media_format(struct q6apm_graph *graph,
797 int audioreach_shared_memory_send_eos(struct q6apm_graph *graph);
800 int audioreach_send_u32_param(struct q6apm_graph *graph, struct audioreach_module *module,
802 int audioreach_compr_set_param(struct q6apm_graph *graph, struct audioreach_module_config *mcfg);
/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/hwtracing/coresight/
H A Dcoresight-platform.c300 * if the device doesn't have any graph connections in of_get_coresight_platform_data()
405 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
419 * GraphID - Integer, identifying a graph the device belongs to.
421 * this graph. (e.g, see is_acpi_coresight_graph())
422 * NumberOfLinks - Number "N" of connections on this node of the graph.
472 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph()
477 /* The graph must contain at least the Revision and Number of Graphs */ in acpi_validate_dsd_graph()
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 in acpi_validate_dsd_graph()
451 acpi_validate_dsd_graph(const union acpi_object * graph) acpi_validate_dsd_graph() argument
561 const union acpi_object *graph_list, *graph; acpi_get_coresight_graph() local
667 const union acpi_object *graph; acpi_coresight_parse_graph() local
[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);
476 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
484 if (graph) in register_irqsoff_function()
495 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
500 if (graph) in unregister_irqsoff_function()
520 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
524 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
546 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
550 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);
252 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
260 if (graph) in register_wakeup_function()
271 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
276 if (graph) in unregister_wakeup_function()
296 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
300 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
348 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
352 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/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/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::
130 - depth=<n> - Set max depth for function graph tracer to follow.
180 --graph-funcs=::
181 Set graph filter on the given function (or a glob pattern). This is
188 Set graph notrace filter on the given function (or a glob pattern).
204 --graph
[all...]
H A Dperf-trace.txt170 --call-graph [mode,type,min[,limit],order[,key][,branch]]::
171 Setup and enable call-graph (stack chain/backtrace) recording.
172 See `--call-graph` section in perf-record and perf-report
174 are 'dwarf' and 'lbr', where available, try: 'perf trace --call-graph dwarf'.
180 --kernel-syscall-graph::
202 knobs in --call-graph dwarf.
204 Implies '--call-graph dwarf' when --call-graph not present on the
214 Implies '--call-graph dwarf' when --call-graph no
[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
/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";

123456