Home
last modified time | relevance | path

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

12345678910>>...17

/linux-6.3-rc2/sound/soc/qcom/qdsp6/
A Dq6apm.c50 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 …]
A Dq6apm.h87 void *graph; member
113 int q6apm_graph_close(struct q6apm_graph *graph);
114 int q6apm_graph_prepare(struct q6apm_graph *graph);
115 int q6apm_graph_start(struct q6apm_graph *graph);
116 int q6apm_graph_stop(struct q6apm_graph *graph);
117 int q6apm_graph_flush(struct q6apm_graph *graph);
120 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
127 int q6apm_send_eos_nowait(struct q6apm_graph *graph);
128 int q6apm_read(struct q6apm_graph *graph);
133 int q6apm_map_memory_regions(struct q6apm_graph *graph,
[all …]
A Dq6apm-lpass-dais.c20 struct q6apm_graph *graph[APM_PORT_MAX]; member
118 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
126 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local
131 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
141 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare()
143 rc = PTR_ERR(graph); in q6apm_lpass_dai_prepare()
146 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare()
176 struct q6apm_graph *graph; in q6apm_lpass_dai_startup() local
181 if (IS_ERR(graph)) { in q6apm_lpass_dai_startup()
183 return PTR_ERR(graph); in q6apm_lpass_dai_startup()
[all …]
A Dq6apm-dai.c56 struct q6apm_graph *graph; member
127 q6apm_read(prtd->graph); in event_handler()
149 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
161 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
192 ret = q6apm_graph_start(prtd->graph); in q6apm_dai_prepare()
202 q6apm_read(prtd->graph); in q6apm_dai_prepare()
268 if (IS_ERR(prtd->graph)) { in q6apm_dai_open()
270 ret = PTR_ERR(prtd->graph); in q6apm_dai_open()
328 q6apm_graph_stop(prtd->graph); in q6apm_dai_close()
332 q6apm_graph_close(prtd->graph); in q6apm_dai_close()
[all …]
A Daudioreach.c580 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync()
581 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync()
1159 mutex_lock(&graph->lock); in audioreach_graph_free_buf()
1160 port = &graph->rx_data; in audioreach_graph_free_buf()
1165 port = &graph->tx_data; in audioreach_graph_free_buf()
1169 mutex_unlock(&graph->lock); in audioreach_graph_free_buf()
1185 data = &graph->rx_data; in audioreach_map_memory_regions()
1187 data = &graph->tx_data; in audioreach_map_memory_regions()
1203 graph->port->id); in audioreach_map_memory_regions()
1216 mutex_lock(&graph->lock); in audioreach_map_memory_regions()
[all …]
/linux-6.3-rc2/tools/power/pm-graph/
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
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 …]
/linux-6.3-rc2/lib/
A Dobjagg.c786 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-6.3-rc2/sound/soc/generic/
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-6.3-rc2/drivers/media/v4l2-core/
A Dv4l2-mc.c435 struct media_graph *graph) in pipeline_pm_use_count() argument
439 media_graph_walk_start(graph, entity); in pipeline_pm_use_count()
441 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count()
494 struct media_graph *graph) in pipeline_pm_power() argument
502 media_graph_walk_start(graph, entity); in pipeline_pm_power()
511 media_graph_walk_start(graph, first); in pipeline_pm_power()
513 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power()
567 sink_use = pipeline_pm_use_count(sink, graph); in v4l2_pipeline_link_notify()
572 pipeline_pm_power(source, -sink_use, graph); in v4l2_pipeline_link_notify()
573 pipeline_pm_power(sink, -source_use, graph); in v4l2_pipeline_link_notify()
[all …]
/linux-6.3-rc2/drivers/media/mc/
A Dmc-entity.c286 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()
295 entity = graph->stack[graph->top].entity; in stack_pop()
296 graph->top--; in stack_pop()
339 graph->stack[graph->top].entity = NULL; in media_graph_walk_start()
356 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter()
362 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()
383 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter()
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/sound/
A Daudio-graph-card.yaml4 $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";
A Dnvidia,tegra-audio-graph-card.yaml4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml#
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
73 compatible = "nvidia,tegra210-audio-graph-card";
/linux-6.3-rc2/Documentation/devicetree/bindings/media/
A Drenesas,isp.yaml40 $ref: /schemas/graph.yaml#/properties/ports
44 $ref: /schemas/graph.yaml#/properties/port
50 $ref: /schemas/graph.yaml#/properties/port
55 $ref: /schemas/graph.yaml#/properties/port
60 $ref: /schemas/graph.yaml#/properties/port
65 $ref: /schemas/graph.yaml#/properties/port
70 $ref: /schemas/graph.yaml#/properties/port
75 $ref: /schemas/graph.yaml#/properties/port
80 $ref: /schemas/graph.yaml#/properties/port
85 $ref: /schemas/graph.yaml#/properties/port
A Drenesas,vin.yaml74 $ref: /schemas/graph.yaml#/$defs/port-base
119 $ref: /schemas/graph.yaml#/properties/ports
123 $ref: /schemas/graph.yaml#/$defs/port-base
161 $ref: /schemas/graph.yaml#/properties/port
168 $ref: /schemas/graph.yaml#/properties/endpoint
172 $ref: /schemas/graph.yaml#/properties/endpoint
176 $ref: /schemas/graph.yaml#/properties/endpoint
180 $ref: /schemas/graph.yaml#/properties/endpoint
194 $ref: /schemas/graph.yaml#/properties/port
201 $ref: /schemas/graph.yaml#/properties/endpoint
[all …]
/linux-6.3-rc2/drivers/hwtracing/coresight/
A Dcoresight-platform.c481 if (graph->package.count < 2) in acpi_validate_dsd_graph()
484 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
485 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph()
501 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph()
596 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph()
597 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph()
599 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph()
600 return graph; in acpi_get_coresight_graph()
690 const union acpi_object *graph; in acpi_coresight_parse_graph() local
694 graph = acpi_get_coresight_graph(adev); in acpi_coresight_parse_graph()
[all …]
/linux-6.3-rc2/arch/sh/kernel/
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-6.3-rc2/Documentation/devicetree/bindings/media/i2c/
A Dadv7180.yaml47 $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
A Dmaxim,max96712.yaml37 $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-6.3-rc2/Documentation/devicetree/bindings/usb/
A Dti,hd3ss3220.yaml29 $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-6.3-rc2/Documentation/devicetree/bindings/display/msm/
A Dmdp4.yaml42 $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-6.3-rc2/tools/perf/tests/attr/
A 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-6.3-rc2/kernel/trace/
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);
456 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
464 if (graph) in register_irqsoff_function()
475 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
480 if (graph) in unregister_irqsoff_function()
504 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
526 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
530 ret = register_irqsoff_function(tr, graph, 0); in start_irqsoff_tracer()
540 static void stop_irqsoff_tracer(struct trace_array *tr, int graph) in stop_irqsoff_tracer() argument
[all …]
/linux-6.3-rc2/Documentation/devicetree/bindings/display/bridge/
A Dsil,sii9022.yaml47 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
A Dcdns,mhdp8546.yaml61 $ref: /schemas/graph.yaml#/properties/ports
65 $ref: /schemas/graph.yaml#/properties/port
70 $ref: /schemas/graph.yaml#/properties/port
75 $ref: /schemas/graph.yaml#/properties/port
80 $ref: /schemas/graph.yaml#/properties/port
85 $ref: /schemas/graph.yaml#/properties/port
/linux-6.3-rc2/drivers/iio/adc/
A Dsc27xx_adc.c197 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
203 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
207 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
214 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
215 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
595 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument
600 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt()
601 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
602 tmp += graph->volt1; in adc_to_volt()
607 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]

Completed in 51 milliseconds

12345678910>>...17