Home
last modified time | relevance | path

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

12345678910>>...13

/linux/sound/soc/qcom/qdsp6/
A Dq6apm.c48 if (graph) { in q6apm_get_audioreach_graph()
50 return graph; in q6apm_get_audioreach_graph()
58 graph = kzalloc(sizeof(*graph), GFP_KERNEL); in q6apm_get_audioreach_graph()
59 if (!graph) in q6apm_get_audioreach_graph()
67 if (IS_ERR(graph->graph)) { in q6apm_get_audioreach_graph()
68 void *err = graph->graph; in q6apm_get_audioreach_graph()
86 q6apm_send_cmd_sync(apm, graph->graph, 0); in q6apm_get_audioreach_graph()
138 graph = idr_remove(&apm->graph_idr, graph->id); in q6apm_put_audioreach_graph()
141 kfree(graph->graph); in q6apm_put_audioreach_graph()
436 ab = &graph->rx_data.buf[graph->rx_data.dsp_buf]; in q6apm_write_async()
[all …]
A Dq6apm.h86 void *graph; member
112 int q6apm_graph_close(struct q6apm_graph *graph);
113 int q6apm_graph_prepare(struct q6apm_graph *graph);
114 int q6apm_graph_start(struct q6apm_graph *graph);
115 int q6apm_graph_stop(struct q6apm_graph *graph);
116 int q6apm_graph_flush(struct q6apm_graph *graph);
119 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph,
126 int q6apm_send_eos_nowait(struct q6apm_graph *graph);
127 int q6apm_read(struct q6apm_graph *graph);
132 int q6apm_map_memory_regions(struct q6apm_graph *graph,
[all …]
A Dq6apm-lpass-dais.c20 struct q6apm_graph *graph[APM_PORT_MAX]; member
114 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
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
136 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare()
138 rc = PTR_ERR(graph); in q6apm_lpass_dai_prepare()
141 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare()
171 struct q6apm_graph *graph; in q6apm_lpass_dai_startup() local
176 if (IS_ERR(graph)) { in q6apm_lpass_dai_startup()
178 return PTR_ERR(graph); in q6apm_lpass_dai_startup()
[all …]
A Dq6apm-dai.c55 struct q6apm_graph *graph; member
118 q6apm_read(prtd->graph); in event_handler()
140 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
171 ret = q6apm_graph_prepare(prtd->graph); in q6apm_dai_prepare()
177 ret = q6apm_graph_start(prtd->graph); in q6apm_dai_prepare()
187 q6apm_read(prtd->graph); in q6apm_dai_prepare()
252 if (IS_ERR(prtd->graph)) { in q6apm_dai_open()
254 ret = PTR_ERR(prtd->graph); in q6apm_dai_open()
311 q6apm_graph_stop(prtd->graph); in q6apm_dai_close()
313 q6apm_graph_close(prtd->graph); in q6apm_dai_close()
[all …]
A Daudioreach.c616 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync()
617 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync()
1031 mutex_lock(&graph->lock); in audioreach_graph_free_buf()
1032 port = &graph->rx_data; in audioreach_graph_free_buf()
1037 port = &graph->tx_data; in audioreach_graph_free_buf()
1041 mutex_unlock(&graph->lock); in audioreach_graph_free_buf()
1057 data = &graph->rx_data; in audioreach_map_memory_regions()
1059 data = &graph->tx_data; in audioreach_map_memory_regions()
1075 graph->port->id); in audioreach_map_memory_regions()
1088 mutex_lock(&graph->lock); in audioreach_map_memory_regions()
[all …]
/linux/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/drivers/media/mc/
A Dmc-entity.c248 graph->top++; in stack_push()
249 graph->stack[graph->top].link = entity->links.next; in stack_push()
250 graph->stack[graph->top].entity = entity; in stack_push()
257 entity = graph->stack[graph->top].entity; in stack_pop()
301 graph->stack[graph->top].entity = NULL; in media_graph_walk_start()
318 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter()
331 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter()
339 link_top(graph) = link_top(graph)->next; in media_graph_walk_iter()
358 while (link_top(graph) != &stack_top(graph)->links) in media_graph_walk_next()
412 struct media_graph *graph = &pipe->graph; in __media_pipeline_start() local
[all …]
/linux/lib/
A Dobjagg.c787 graph = kzalloc(sizeof(*graph), GFP_KERNEL); in objagg_tmp_graph_create()
788 if (!graph) in objagg_tmp_graph_create()
791 graph->nodes = kcalloc(nodes_count, sizeof(*graph->nodes), GFP_KERNEL); in objagg_tmp_graph_create()
792 if (!graph->nodes) in objagg_tmp_graph_create()
799 if (!graph->edges) in objagg_tmp_graph_create()
825 return graph; in objagg_tmp_graph_create()
828 kfree(graph->nodes); in objagg_tmp_graph_create()
830 kfree(graph); in objagg_tmp_graph_create()
836 kfree(graph->edges); in objagg_tmp_graph_destroy()
838 kfree(graph); in objagg_tmp_graph_destroy()
[all …]
/linux/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
A Daudio-graph-card2-custom-sample.dtsi3 * audio-graph-card2-custom-sample.dtsi
8 * This sample indicates how to use audio-graph-card2 and its
9 * custom driver. "audio-graph-card2-custom-sample" is the custome driver
10 * which is using audio-graph-card2.
15 * #include "../../../../../sound/soc/generic/audio-graph-card2-custom-sample.dtsi"
71 audio-graph-card2-custom-sample {
73 * You can use audio-graph-card2 directly by using
75 * compatible = "audio-graph-card2";
77 compatible = "audio-graph-card2-custom-sample";
205 * see audio-graph-card2::routing
/linux/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/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/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/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
63 compatible = "nvidia,tegra210-audio-graph-card";
/linux/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/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
/linux/drivers/iio/adc/
A Dsc27xx_adc.c125 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
134 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
138 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
155 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
156 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
271 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
276 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in sc27xx_adc_to_volt()
277 tmp /= (graph->adc0 - graph->adc1); in sc27xx_adc_to_volt()
278 tmp += graph->volt1; in sc27xx_adc_to_volt()
/linux/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 …]
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);
230 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
238 if (graph) in register_wakeup_function()
249 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
254 if (graph) in unregister_wakeup_function()
278 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
326 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
330 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
340 static void stop_func_tracer(struct trace_array *tr, int graph) in stop_func_tracer() argument
[all …]
/linux/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/Documentation/userspace-api/media/mediactl/
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.
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
/linux/Documentation/devicetree/bindings/display/bridge/
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

Completed in 68 milliseconds

12345678910>>...13