/linux/sound/soc/qcom/qdsp6/ |
H A D | q6apm.c | 50 if (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() 68 graph->graph = audioreach_alloc_graph_pkt(apm, info); in q6apm_get_audioreach_graph() 69 if (IS_ERR(graph->graph)) { in q6apm_get_audioreach_graph() 70 void *err = graph->graph; in q6apm_get_audioreach_graph() 80 kfree(graph->graph); in q6apm_get_audioreach_graph() 89 q6apm_send_cmd_sync(apm, graph->graph, 0); in q6apm_get_audioreach_graph() 141 graph = idr_remove(&apm->graph_idr, graph->id); in q6apm_put_audioreach_graph() 144 kfree(graph->graph); in q6apm_put_audioreach_graph() [all …]
|
H A D | q6apm.h | 88 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); 133 int q6apm_map_memory_regions(struct q6apm_graph *graph, [all …]
|
H A D | q6apm-lpass-dais.c | 22 struct q6apm_graph *graph[APM_PORT_MAX]; member 150 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown() 158 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local 163 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() 176 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare() 178 rc = PTR_ERR(graph); in q6apm_lpass_dai_prepare() 181 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare() 211 struct q6apm_graph *graph; in q6apm_lpass_dai_startup() local 216 if (IS_ERR(graph)) { in q6apm_lpass_dai_startup() 218 return PTR_ERR(graph); in q6apm_lpass_dai_startup() [all …]
|
H A D | q6apm-dai.c | 75 struct q6apm_graph *graph; member 147 q6apm_read(prtd->graph); in event_handler() 232 if (!prtd || !prtd->graph) { in q6apm_dai_prepare() 245 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare() 286 q6apm_read(prtd->graph); in q6apm_dai_prepare() 352 if (IS_ERR(prtd->graph)) { in q6apm_dai_open() 354 ret = PTR_ERR(prtd->graph); in q6apm_dai_open() 417 prtd->graph = NULL; in q6apm_dai_close() 496 if (IS_ERR(prtd->graph)) { in q6apm_dai_compr_open() 497 ret = PTR_ERR(prtd->graph); in q6apm_dai_compr_open() [all …]
|
H A D | audioreach.c | 601 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync() 602 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync() 934 0, graph->port->id, iid); in audioreach_compr_set_param() 1303 mutex_lock(&graph->lock); in audioreach_graph_free_buf() 1304 port = &graph->rx_data; in audioreach_graph_free_buf() 1309 port = &graph->tx_data; in audioreach_graph_free_buf() 1313 mutex_unlock(&graph->lock); in audioreach_graph_free_buf() 1329 data = &graph->rx_data; in audioreach_map_memory_regions() 1331 data = &graph->tx_data; in audioreach_map_memory_regions() 1347 graph->port->id); in audioreach_map_memory_regions() [all …]
|
/linux/tools/power/pm-graph/ |
H A D | Makefile | 9 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 40 rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/config/* 42 rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/config; \ 44 rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/__pycache__/* 46 rmdir $(DESTDIR)$(PREFIX)/lib/pm-graph/__pycache__; \ 48 rm -f $(DESTDIR)$(PREFIX)/lib/pm-graph/* 49 if [ -d $(DESTDIR)$(PREFIX)/lib/pm-graph ] ; then \ [all …]
|
H A D | install_latest_from_github.sh | 16 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 D | objagg.c | 786 graph = kzalloc(sizeof(*graph), GFP_KERNEL); in objagg_tmp_graph_create() 787 if (!graph) in objagg_tmp_graph_create() 790 graph->nodes = kcalloc(nodes_count, sizeof(*graph->nodes), GFP_KERNEL); in objagg_tmp_graph_create() 791 if (!graph->nodes) in objagg_tmp_graph_create() 796 if (!graph->edges) in objagg_tmp_graph_create() 822 return graph; in objagg_tmp_graph_create() 825 kfree(graph->nodes); in objagg_tmp_graph_create() 827 kfree(graph); in objagg_tmp_graph_create() 834 kfree(graph->nodes); in objagg_tmp_graph_destroy() 835 kfree(graph); in objagg_tmp_graph_destroy() [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
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-mc.c | 458 struct media_graph *graph) in pipeline_pm_use_count() argument 462 media_graph_walk_start(graph, entity); in pipeline_pm_use_count() 464 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count() 517 struct media_graph *graph) in pipeline_pm_power() argument 525 media_graph_walk_start(graph, entity); in pipeline_pm_power() 534 media_graph_walk_start(graph, first); in pipeline_pm_power() 536 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power() 590 sink_use = pipeline_pm_use_count(sink, graph); in v4l2_pipeline_link_notify() 595 pipeline_pm_power(source, -sink_use, graph); in v4l2_pipeline_link_notify() 596 pipeline_pm_power(sink, -source_use, graph); in v4l2_pipeline_link_notify() [all …]
|
/linux/drivers/media/mc/ |
H A D | mc-entity.c | 299 graph->top++; in stack_push() 300 graph->stack[graph->top].link = entity->links.next; in stack_push() 301 graph->stack[graph->top].entity = entity; in stack_push() 308 entity = graph->stack[graph->top].entity; in stack_pop() 309 graph->top--; in stack_pop() 352 graph->stack[graph->top].entity = NULL; in media_graph_walk_start() 369 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter() 375 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter() 388 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter() 396 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter() [all …]
|
/linux/Documentation/devicetree/bindings/sound/ |
H A D | audio-graph-card.yaml | 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 13 - $ref: /schemas/sound/audio-graph.yaml# 18 - audio-graph-card 19 - audio-graph-scu-card 29 compatible = "audio-graph-card";
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | renesas,isp.yaml | 41 $ref: /schemas/graph.yaml#/properties/ports 45 $ref: /schemas/graph.yaml#/properties/port 51 $ref: /schemas/graph.yaml#/properties/port 56 $ref: /schemas/graph.yaml#/properties/port 61 $ref: /schemas/graph.yaml#/properties/port 66 $ref: /schemas/graph.yaml#/properties/port 71 $ref: /schemas/graph.yaml#/properties/port 76 $ref: /schemas/graph.yaml#/properties/port 81 $ref: /schemas/graph.yaml#/properties/port 86 $ref: /schemas/graph.yaml#/properties/port
|
H A D | renesas,vin.yaml | 75 $ref: /schemas/graph.yaml#/$defs/port-base 120 $ref: /schemas/graph.yaml#/properties/ports 124 $ref: /schemas/graph.yaml#/$defs/port-base 162 $ref: /schemas/graph.yaml#/properties/port 169 $ref: /schemas/graph.yaml#/properties/endpoint 173 $ref: /schemas/graph.yaml#/properties/endpoint 177 $ref: /schemas/graph.yaml#/properties/endpoint 181 $ref: /schemas/graph.yaml#/properties/endpoint 195 $ref: /schemas/graph.yaml#/properties/port 202 $ref: /schemas/graph.yaml#/properties/endpoint [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | coresight-platform.c | 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() 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() 573 return graph; in acpi_get_coresight_graph() 665 const union acpi_object *graph; in acpi_coresight_parse_graph() local [all …]
|
/linux/arch/sh/kernel/ |
H A D | dumpstack.c | 57 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/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
|
H A D | adv7180.yaml | 47 $ref: /schemas/graph.yaml#/$defs/port-base 89 $ref: /schemas/graph.yaml#/properties/ports 92 $ref: /schemas/graph.yaml#/properties/port 97 $ref: /schemas/graph.yaml#/properties/port 114 $ref: /schemas/graph.yaml#/properties/ports 117 $ref: /schemas/graph.yaml#/properties/port 122 $ref: /schemas/graph.yaml#/properties/port
|
H A D | maxim,max96712.yaml | 37 $ref: /schemas/graph.yaml#/properties/ports 41 $ref: /schemas/graph.yaml#/properties/port 45 $ref: /schemas/graph.yaml#/properties/port 49 $ref: /schemas/graph.yaml#/properties/port 53 $ref: /schemas/graph.yaml#/properties/port 57 $ref: /schemas/graph.yaml#/$defs/port-base
|
/linux/Documentation/devicetree/bindings/usb/ |
H A D | usb-switch.yaml | 29 $ref: /schemas/graph.yaml#/properties/port 35 $ref: /schemas/graph.yaml#/properties/ports 38 $ref: /schemas/graph.yaml#/properties/port 43 $ref: /schemas/graph.yaml#/$defs/port-base 50 $ref: /schemas/graph.yaml#/$defs/endpoint-base
|
H A D | ti,hd3ss3220.yaml | 29 $ref: /schemas/graph.yaml#/properties/ports 30 description: OF graph bindings (specified in bindings/graph.txt) that model 35 $ref: /schemas/graph.yaml#/properties/port 39 $ref: /schemas/graph.yaml#/properties/port
|
/linux/Documentation/devicetree/bindings/display/msm/ |
H A D | mdp4.yaml | 42 $ref: /schemas/graph.yaml#/properties/ports 45 $ref: /schemas/graph.yaml#/properties/port 49 $ref: /schemas/graph.yaml#/properties/port 53 $ref: /schemas/graph.yaml#/properties/port 57 $ref: /schemas/graph.yaml#/properties/port
|
/linux/tools/perf/tests/attr/ |
H A D | README | 47 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/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); 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() 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() 541 static void stop_irqsoff_tracer(struct trace_array *tr, int graph) in stop_irqsoff_tracer() argument [all …]
|
/linux/Documentation/devicetree/bindings/display/bridge/ |
H A D | sil,sii9022.yaml | 47 audio-graph-card bindings. See their binding documents on how to describe 51 Documentation/devicetree/bindings/sound/audio-graph-card.yaml 52 Note: In case of the audio-graph-card binding the used port index should 80 $ref: /schemas/graph.yaml#/properties/ports 84 $ref: /schemas/graph.yaml#/properties/port 88 $ref: /schemas/graph.yaml#/properties/port 92 $ref: /schemas/graph.yaml#/properties/port
|