Searched refs:graph (Results 1 - 25 of 41) sorted by relevance

12

/linux-master/sound/soc/qcom/qdsp6/
H A Dq6apm.c43 struct audioreach_graph *graph; local
47 graph = idr_find(&apm->graph_idr, graph_id);
50 if (graph) {
51 kref_get(&graph->refcount);
52 return graph;
60 graph = kzalloc(sizeof(*graph), GFP_KERNEL);
61 if (!graph)
64 graph->apm = apm;
65 graph
94 audioreach_graph_mgmt_cmd(struct audioreach_graph *graph, uint32_t opcode) argument
132 struct audioreach_graph *graph; local
193 q6apm_graph_media_format_shmem(struct q6apm_graph *graph, struct audioreach_module_config *cfg) argument
213 q6apm_map_memory_regions(struct q6apm_graph *graph, unsigned int dir, phys_addr_t phys, size_t period_sz, unsigned int periods) argument
269 q6apm_unmap_memory_regions(struct q6apm_graph *graph, unsigned int dir) argument
301 q6apm_remove_initial_silence(struct device *dev, struct q6apm_graph *graph, uint32_t samples) argument
313 q6apm_remove_trailing_silence(struct device *dev, struct q6apm_graph *graph, uint32_t samples) argument
325 q6apm_enable_compress_module(struct device *dev, struct q6apm_graph *graph, bool en) argument
337 q6apm_set_real_module_id(struct device *dev, struct q6apm_graph *graph, uint32_t codec_id) argument
366 q6apm_graph_media_format_pcm(struct q6apm_graph *graph, struct audioreach_module_config *cfg) argument
390 q6apm_graph_get_tx_shmem_module_iid(struct q6apm_graph *graph) argument
402 q6apm_graph_get_rx_shmem_module_iid(struct q6apm_graph *graph) argument
415 q6apm_write_async(struct q6apm_graph *graph, uint32_t len, uint32_t msw_ts, uint32_t lsw_ts, uint32_t wflags) argument
458 q6apm_read(struct q6apm_graph *graph) argument
503 struct q6apm_graph *graph = priv; local
610 struct q6apm_graph *graph; local
652 q6apm_graph_close(struct q6apm_graph *graph) argument
665 q6apm_graph_prepare(struct q6apm_graph *graph) argument
671 q6apm_graph_start(struct q6apm_graph *graph) argument
685 q6apm_graph_stop(struct q6apm_graph *graph) argument
696 q6apm_graph_flush(struct q6apm_graph *graph) argument
759 q6apm_find_module_by_mid(struct q6apm_graph *graph, uint32_t mid) argument
[all...]
H A Dq6apm.h88 void *graph; member in struct:audioreach_graph
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_
[all...]
H A Dq6apm-lpass-dais.c22 struct q6apm_graph *graph[APM_PORT_MAX]; member in struct:q6apm_lpass_dai_data
146 rc = q6apm_graph_stop(dai_data->graph[dai->id]);
150 q6apm_graph_close(dai_data->graph[dai->id]);
158 struct q6apm_graph *graph; local
163 q6apm_graph_stop(dai_data->graph[dai->id]);
167 q6apm_graph_close(dai_data->graph[dai->id]);
171 * It is recommend to load DSP with source graph first and then sink
172 * graph, so sequence for playback and capture will be different
175 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id);
176 if (IS_ERR(graph)) {
211 struct q6apm_graph *graph; local
[all...]
H A Dq6apm-dai.c77 struct q6apm_graph *graph; member in struct:q6apm_dai_rtd
142 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0);
151 q6apm_read(prtd->graph);
206 q6apm_write_async(prtd->graph,
212 audioreach_shared_memory_send_eos(prtd->graph);
236 if (!prtd || !prtd->graph) {
249 q6apm_graph_stop(prtd->graph);
250 q6apm_unmap_memory_regions(prtd->graph, substream->stream);
256 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg);
262 ret = q6apm_graph_media_format_pcm(prtd->graph,
[all...]
H A Daudioreach.c45 /* Container graph Position */
597 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, argument
601 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock,
602 graph->port, &graph->cmd_wait, pkt, rsp_opcode);
606 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, argument
665 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0);
673 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, argument
750 audioreach_send_u32_param(struct q6apm_graph *graph, struct audioreach_module *module, uint32_t param_id, uint32_t param_val) argument
785 audioreach_sal_limiter_enable(struct q6apm_graph *graph, struct audioreach_module *module, bool enable) argument
791 audioreach_sal_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) argument
798 audioreach_module_enable(struct q6apm_graph *graph, struct audioreach_module *module, bool enable) argument
805 audioreach_gapless_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) argument
813 audioreach_mfc_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) argument
923 audioreach_compr_set_param(struct q6apm_graph *graph, struct audioreach_module_config *mcfg) argument
954 audioreach_i2s_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) argument
1030 audioreach_logging_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module) argument
1065 audioreach_pcm_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *mcfg) argument
1118 audioreach_shmem_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *mcfg) argument
1216 audioreach_gain_set(struct q6apm_graph *graph, struct audioreach_module *module) argument
1245 audioreach_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) argument
1299 audioreach_graph_free_buf(struct q6apm_graph *graph) argument
1317 audioreach_map_memory_regions(struct q6apm_graph *graph, unsigned int dir, size_t period_sz, unsigned int periods, bool is_contiguous) argument
1381 audioreach_shared_memory_send_eos(struct q6apm_graph *graph) argument
[all...]
H A Daudioreach.h669 /* DPCM connection from FE Graph to BE graph */
784 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-master/tools/power/pm-graph/
H A 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/confi
[all...]
H A Dinstall_latest_from_github.sh4 # Script which clones and installs the latest pm-graph
5 # from http://github.com/intel/pm-graph.git
16 rm -rf pm-graph
22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph
23 if [ ! -e "$OUT/pm-graph/sleepgraph.py" ]; then
24 echo "ERROR: pm-graph github repo failed to clone"
29 cd $OUT/pm-graph
/linux-master/sound/soc/generic/
H A 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
/linux-master/arch/sh/kernel/
H A Ddumpstack.c57 struct thread_info *tinfo, int *graph)
69 ret_stack = ftrace_graph_get_ret_stack(task, *graph);
77 (*graph)++;
83 struct thread_info *tinfo, int *graph)
93 int graph = 0; local
105 context, &graph);
55 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) argument
81 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) argument
/linux-master/lib/
H A Dobjagg.c710 static int objagg_tmp_graph_edge_index(struct objagg_tmp_graph *graph, argument
713 return index * graph->nodes_count + parent_index;
716 static void objagg_tmp_graph_edge_set(struct objagg_tmp_graph *graph, argument
719 int edge_index = objagg_tmp_graph_edge_index(graph, index,
722 __set_bit(edge_index, graph->edges);
725 static bool objagg_tmp_graph_is_edge(struct objagg_tmp_graph *graph, argument
728 int edge_index = objagg_tmp_graph_edge_index(graph, index,
731 return test_bit(edge_index, graph->edges);
734 static unsigned int objagg_tmp_graph_node_weight(struct objagg_tmp_graph *graph, argument
737 struct objagg_tmp_node *node = &graph
756 objagg_tmp_graph_node_max_weight(struct objagg_tmp_graph *graph) argument
780 struct objagg_tmp_graph *graph; local
831 objagg_tmp_graph_destroy(struct objagg_tmp_graph *graph) argument
843 struct objagg_tmp_graph *graph; local
[all...]
/linux-master/scripts/
H A Dheaderdep.pl4 # Detect cycles in the header file dependency graph
24 graph => \$opt_graph,
36 graph();
47 print " --graph\n";
52 print " $0 --graph include/linux/kernel.h | dot -Tpng -o graph.png\n";
172 # Output dependency graph in GraphViz language.
173 sub graph { subroutine
/linux-master/arch/sparc/kernel/
H A Dstacktrace.c20 int graph = 0; local
63 graph);
69 graph++;
/linux-master/drivers/media/v4l2-core/
H A Dv4l2-mc.c458 struct media_graph *graph)
462 media_graph_walk_start(graph, entity);
464 while ((entity = media_graph_walk_next(graph))) {
517 struct media_graph *graph)
525 media_graph_walk_start(graph, entity);
527 while (!ret && (entity = media_graph_walk_next(graph)))
534 media_graph_walk_start(graph, first);
536 while ((first = media_graph_walk_next(graph))
582 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; local
589 source_use = pipeline_pm_use_count(source, graph);
457 pipeline_pm_use_count(struct media_entity *entity, struct media_graph *graph) argument
516 pipeline_pm_power(struct media_entity *entity, int change, struct media_graph *graph) argument
[all...]
/linux-master/drivers/media/mc/
H A Dmc-entity.c292 static void stack_push(struct media_graph *graph, argument
295 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) {
299 graph->top++;
300 graph->stack[graph->top].link = entity->links.next;
301 graph->stack[graph->top].entity = entity;
304 static struct media_entity *stack_pop(struct media_graph *graph) argument
308 entity = graph->stack[graph
328 media_graph_walk_init( struct media_graph *graph, struct media_device *mdev) argument
339 media_graph_walk_cleanup(struct media_graph *graph) argument
345 media_graph_walk_start(struct media_graph *graph, struct media_entity *entity) argument
359 media_graph_walk_iter(struct media_graph *graph) argument
403 media_graph_walk_next(struct media_graph *graph) argument
[all...]
/linux-master/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);
95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
252 * In graph mode call the graph tracer output function,
457 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) argument
465 if (graph)
476 static void unregister_irqsoff_function(struct trace_array *tr, int graph) argument
481 if (graph)
501 register_irqsoff_function(struct trace_array *tr, int graph, int set) argument
505 unregister_irqsoff_function(struct trace_array *tr, int graph) argument
527 start_irqsoff_tracer(struct trace_array *tr, int graph) argument
541 stop_irqsoff_tracer(struct trace_array *tr, int graph) argument
[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);
63 * inside the #ifdef of the function graph tracer below.
64 * This is OK, since the function graph tracer is
191 * In graph mode call the graph tracer output function,
232 static int register_wakeup_function(struct trace_array *tr, int graph, int set) argument
240 if (graph)
251 static void unregister_wakeup_function(struct trace_array *tr, int graph) argument
256 if (graph)
276 register_wakeup_function(struct trace_array *tr, int graph, int set) argument
280 unregister_wakeup_function(struct trace_array *tr, int graph) argument
328 start_func_tracer(struct trace_array *tr, int graph) argument
342 stop_func_tracer(struct trace_array *tr, int graph) argument
[all...]
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-platform.c279 * if the device doesn't have any graph connections
382 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
396 * GraphID - Integer, identifying a graph the device belongs to.
398 * this graph. (e.g, see is_acpi_coresight_graph())
399 * NumberOfLinks - Number "N" of connections on this node of the graph.
449 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) argument
454 /* The graph must contain at least the Revision and Number of Graphs */
455 if (graph->package.count < 2)
458 rev = &graph->package.elements[0];
459 nr_graphs = &graph
559 const union acpi_object *graph_list, *graph; local
665 const union acpi_object *graph; local
[all...]
/linux-master/tools/perf/tests/shell/
H A Dtest_arm_callgraph_fp.sh31 perf record -o "$PERF_DATA" --call-graph fp -e cycles//u -D 1000 --user-callchains -- $TEST_PROGRAM 2> /dev/null &
/linux-master/arch/csky/kernel/
H A Dperf_callchain.c27 int graph = 0; local
29 frame->lr = ftrace_graph_ret_addr(NULL, &graph, frame->lr,
79 * $ perf record -e cpu-clock --call-graph fp ./program
80 * $ perf report --call-graph
/linux-master/drivers/iio/adc/
H A Dsc27xx_adc.c125 * through 2 points in the linear graph. If the voltage is less than 1.2v, we
126 * should use the small-scale graph, and if more than 1.2v, we should use the
127 * big-scale graph.
196 struct sc27xx_adc_linear_graph *graph; local
202 graph = &big_scale_graph;
206 graph = &small_scale_graph;
212 /* Only need to calibrate the adc values in the linear graph. */
213 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0);
214 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8,
594 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, argument
606 sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, int raw_adc) argument
[all...]
H A Dqcom-pm8xxx-xoadc.c397 * @graph: linear calibration parameters for absolute and
410 struct vadc_linear_graph graph[2]; member in struct:pm8xxx_xoadc
590 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV;
591 adc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE;
615 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v;
616 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v;
619 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy);
637 adc->graph[VADC_CALIB_RATIOMETRIC].dy =
639 adc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_nomux_rsv4;
643 adc->graph[VADC_CALIB_RATIOMETRI
[all...]
/linux-master/tools/testing/ktest/examples/include/
H A Dbootconfig.conf48 TEST_NAME = bootconfig function graph
/linux-master/sound/soc/tegra/
H A DMakefile47 snd-soc-tegra-audio-graph-card-objs := tegra_audio_graph_card.o
51 obj-$(CONFIG_SND_SOC_TEGRA_AUDIO_GRAPH_CARD) += snd-soc-tegra-audio-graph-card.o
/linux-master/tools/perf/ui/
H A Dbrowser.h50 void ui_browser__write_graph(struct ui_browser *browser, int graph);

Completed in 231 milliseconds

12