/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm.c | 21 /* Graph Management */ 43 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() [all …]
|
H A D | q6apm.h | 55 /* For Graph OPEN/START/STOP/CLOSE operations */ 89 /* Cached Graph data */ 90 void *graph; member 113 /* Graph Operations */ 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, [all …]
|
H A D | q6apm-lpass-dais.c | 22 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() 181 * It is recommend to load DSP with source graph first and then sink in q6apm_lpass_dai_prepare() [all …]
|
H A D | audioreach.c | 45 /* Container graph Position */ 300 /* Graph Position */ in apm_populate_container_config() 598 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 [all …]
|
H A D | q6apm-dai.c | 75 struct q6apm_graph *graph; member 138 q6apm_read(prtd->graph); in event_handler() 193 q6apm_write_async(prtd->graph, in event_handler_compr() 199 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr() 223 if (!prtd || !prtd->graph) { in q6apm_dai_prepare() 237 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare() 238 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare() 243 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare() 249 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare() 253 ret = q6apm_map_memory_regions(prtd->graph, substream->stream, prtd->phys, in q6apm_dai_prepare() [all …]
|
/linux/tools/power/pm-graph/ |
H A D | Makefile | 36 $(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 D | install_latest_from_github.sh | 4 # 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 30 echo "INSTALLING PM-GRAPH"
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 300 * if the device doesn't have any graph connections in of_get_coresight_platform_data() 348 /* ACPI Graph _DSD UUID : "ab02a46b-74c7-45a2-bd68-f7d344ef2153" */ 352 /* Coresight ACPI Graph UUID : "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" */ 405 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms 406 * to the ACPI _DSD Graph specification. 408 * ACPI Devices Graph property has the following format: 412 * Graph[1], 414 * Graph[N] 417 * And each Graph entry has the following format: 419 * GraphID - Integer, identifying a graph the device belongs to. [all …]
|
/linux/lib/ |
H A D | objagg.c | 713 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 D | Makefile | 4 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
|
H A D | Kconfig | 13 tristate "ASoC Audio Graph sound card support" 18 with OF-graph DT bindings. 22 tristate "ASoC Audio Graph sound card2 support" 27 with OF-graph DT bindings. 30 tristate "ASoC Audio Graph Card2 base custom sample support" 33 This option enables Audio Graph Card2 base custom sample
|
H A D | audio-graph-card2-custom-sample.c | 3 // audio-graph-card2-custom-sample.c 113 * audio-graph-card2 has many hooks for your customizing. 155 /* "audio-graph-card2-custom-sample" is too long */ in custom_probe() 158 /* use audio-graph-card2 parsing with own custom hooks */ in custom_probe() 169 { .compatible = "audio-graph-card2-custom-sample", }, 176 .name = "audio-graph-card2-custom-sample", 184 MODULE_ALIAS("platform:asoc-audio-graph-card2-custom-sample"); 186 MODULE_DESCRIPTION("ASoC Audio Graph Card2 Custom Sample");
|
/linux/Documentation/bpf/ |
H A D | graph_ds_impl.rst | 2 BPF Graph Data Structures 5 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 136 * Graph data structure APIs can only be used when the ``bpf_spin_lock`` 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 [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | audio-graph-card2.yaml | 4 $id: http://devicetree.org/schemas/sound/audio-graph-card2.yaml# 7 title: Audio Graph Card2 15 - audio-graph-card2 21 $ref: audio-graph.yaml#/properties/routing 37 $ref: audio-graph.yaml#/properties/hp-det-gpios 39 $ref: audio-graph.yaml#/properties/mic-det-gpios 41 $ref: audio-graph.yaml#/properties/widgets
|
H A D | audio-graph-card.yaml | 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 7 title: Audio Graph Card 13 - $ref: /schemas/sound/audio-graph.yaml# 18 - audio-graph-card 19 - audio-graph-scu-card 29 compatible = "audio-graph-card";
|
H A D | nvidia,tegra-audio-graph-card.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml# 7 title: Audio Graph based Tegra sound card driver 10 This is based on generic audio graph card driver along with additional 19 - $ref: audio-graph.yaml# 24 - nvidia,tegra210-audio-graph-card 25 - nvidia,tegra186-audio-graph-card 26 - nvidia,tegra264-audio-graph-card 74 compatible = "nvidia,tegra210-audio-graph-card";
|
/linux/tools/perf/scripts/python/ |
H A D | flamegraph.py | 15 # Works in tandem with d3-flame-graph by Martin Spier <mspier@netflix.com> 32 …<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dis… 37 …<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/d3-flam… 149 print(f"""Warning: Flame Graph template '{self.args.template}' 151 js-d3-flame-graph or libjs-d3-flame-graph, specify an existing flame 152 graph template (--template PATH) or use another output format (--format 156 … print("""Not attempting to download Flame Graph template as script command line 161 https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.html 163 /usr/share/d3-flame-graph/d3-flamegraph-base.html""", 171 …template = "https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.ht… [all …]
|
/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-g-topology.rst | 13 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
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,vin.yaml | 79 $ref: /schemas/graph.yaml#/$defs/port-base 124 $ref: /schemas/graph.yaml#/properties/ports 128 $ref: /schemas/graph.yaml#/$defs/port-base 166 $ref: /schemas/graph.yaml#/properties/port 173 $ref: /schemas/graph.yaml#/properties/endpoint 177 $ref: /schemas/graph.yaml#/properties/endpoint 181 $ref: /schemas/graph.yaml#/properties/endpoint 185 $ref: /schemas/graph.yaml#/properties/endpoint 199 $ref: /schemas/graph.yaml#/properties/port 206 $ref: /schemas/graph.yaml#/properties/endpoint [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | techwell,tw9900.yaml | 35 $ref: /schemas/graph.yaml#/properties/ports 39 $ref: /schemas/graph.yaml#/properties/port 44 $ref: /schemas/graph.yaml#/properties/endpoint 48 $ref: /schemas/graph.yaml#/properties/endpoint 52 $ref: /schemas/graph.yaml#/properties/endpoint 56 $ref: /schemas/graph.yaml#/properties/endpoint 70 $ref: /schemas/graph.yaml#/properties/port
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-switch.yaml | 29 $ref: /schemas/graph.yaml#/$defs/port-base 36 $ref: /schemas/graph.yaml#/$defs/endpoint-base 48 $ref: /schemas/graph.yaml#/properties/ports 51 $ref: /schemas/graph.yaml#/properties/port 56 $ref: /schemas/graph.yaml#/$defs/port-base 63 $ref: /schemas/graph.yaml#/$defs/endpoint-base
|
/linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
H A D | fgraph-profiler.tc | 3 # description: ftrace - function profiler with function graph tracing 6 # The function graph tracer can now be run along side of the function 8 # to crash. It also required the function graph tracer to be started 20 echo "Enabling function graph tracer:" 25 # function graph tracer. If the below fails, mark it as unsupported
|
/linux/tools/perf/util/ |
H A D | callchain.h | 20 #define CALLCHAIN_HELP "setup and enables call-graph (stack chain/backtrace):\n\n" 22 # define RECORD_MODE_HELP HELP_PAD "record_mode:\tcall graph recording mode (fp|dwarf|lbr)\n" 31 HELP_PAD "print_type:\tcall graph printing style (graph|flat|fractal|folded|none)\n" \ 32 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \ 33 HELP_PAD "print_limit:\tmaximum number of call graph entry (<number>)\n" \ 34 HELP_PAD "order:\t\tcall graph order (caller|callee)\n" \ 35 HELP_PAD "sort_key:\tcall graph sort key (function|address)\n" \ 36 HELP_PAD "branch:\t\tinclude last branch info to call graph (branch)\n" \ 37 HELP_PAD "value:\t\tcall graph value (percent|period|count)\n"
|
/linux/kernel/trace/ |
H A D | trace_irqsoff.c | 40 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 269 * In graph mode call the graph tracer output function, in irqsoff_print_line() 487 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument 495 if (graph) in register_irqsoff_function() 506 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument 511 if (graph) in unregister_irqsoff_function() 531 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument [all …]
|
/linux/scripts/ |
H A D | headerdep.pl | 4 # 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
|