Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6apm.c41 struct audioreach_graph *graph; in q6apm_get_audioreach_graph() local
45 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph()
48 if (graph) { in q6apm_get_audioreach_graph()
49 kref_get(&graph->refcount); 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()
62 graph->apm = apm; in q6apm_get_audioreach_graph()
63 graph->info = info; in q6apm_get_audioreach_graph()
64 graph->id = graph_id; in q6apm_get_audioreach_graph()
[all …]
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,
122 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
126 int q6apm_send_eos_nowait(struct q6apm_graph *graph);
127 int q6apm_read(struct q6apm_graph *graph);
[all …]
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
135 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
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()
145 rc = q6apm_graph_media_format_pcm(dai_data->graph[dai->id], cfg); in q6apm_lpass_dai_prepare()
152 rc = q6apm_graph_prepare(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
[all …]
Dq6apm-dai.c55 struct q6apm_graph *graph; member
111 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler()
118 q6apm_read(prtd->graph); in event_handler()
140 if (!prtd || !prtd->graph) { in q6apm_dai_prepare()
152 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare()
153 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare()
159 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare()
165 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare()
169 ret = q6apm_map_memory_regions(prtd->graph, substream->stream, prtd->phys, in q6apm_dai_prepare()
177 ret = q6apm_graph_prepare(prtd->graph); in q6apm_dai_prepare()
[all …]
Daudioreach.c612 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_graph_send_cmd_sync() argument
616 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()
622 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format() argument
692 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format()
699 static int audioreach_i2s_set_media_format(struct q6apm_graph *graph, in audioreach_i2s_set_media_format() argument
768 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_i2s_set_media_format()
775 static int audioreach_logging_set_media_format(struct q6apm_graph *graph, in audioreach_logging_set_media_format() argument
803 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_logging_set_media_format()
810 static int audioreach_pcm_set_media_format(struct q6apm_graph *graph, in audioreach_pcm_set_media_format() argument
[all …]
/linux-6.1.9/tools/power/pm-graph/
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/config
[all …]
/linux-6.1.9/lib/
Dobjagg.c710 static int objagg_tmp_graph_edge_index(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_index() argument
713 return index * graph->nodes_count + parent_index; in objagg_tmp_graph_edge_index()
716 static void objagg_tmp_graph_edge_set(struct objagg_tmp_graph *graph, in objagg_tmp_graph_edge_set() argument
719 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_edge_set()
722 __set_bit(edge_index, graph->edges); in objagg_tmp_graph_edge_set()
725 static bool objagg_tmp_graph_is_edge(struct objagg_tmp_graph *graph, in objagg_tmp_graph_is_edge() argument
728 int edge_index = objagg_tmp_graph_edge_index(graph, index, in objagg_tmp_graph_is_edge()
731 return test_bit(edge_index, graph->edges); in objagg_tmp_graph_is_edge()
734 static unsigned int objagg_tmp_graph_node_weight(struct objagg_tmp_graph *graph, in objagg_tmp_graph_node_weight() argument
737 struct objagg_tmp_node *node = &graph->nodes[index]; in objagg_tmp_graph_node_weight()
[all …]
/linux-6.1.9/sound/soc/generic/
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
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"
88 audio-graph-card2-custom-sample {
90 * You can use audio-graph-card2 directly by using
92 * compatible = "audio-graph-card2";
94 compatible = "audio-graph-card2-custom-sample";
277 * see audio-graph-card2::routing
/linux-6.1.9/drivers/media/mc/
Dmc-entity.c266 static void stack_push(struct media_graph *graph, in stack_push() argument
269 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push()
273 graph->top++; in stack_push()
274 graph->stack[graph->top].link = entity->links.next; in stack_push()
275 graph->stack[graph->top].entity = entity; in stack_push()
278 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument
282 entity = graph->stack[graph->top].entity; in stack_pop()
283 graph->top--; in stack_pop()
303 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
305 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/linux-6.1.9/drivers/media/v4l2-core/
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()
504 while (!ret && (entity = media_graph_walk_next(graph))) 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()
559 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local
566 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/sound/
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";
/linux-6.1.9/Documentation/devicetree/bindings/media/
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
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.1.9/drivers/hwtracing/coresight/
Dcoresight-platform.c475 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
481 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()
509 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph()
586 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local
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()
[all …]
/linux-6.1.9/arch/sh/kernel/
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.1.9/Documentation/devicetree/bindings/media/i2c/
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
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.1.9/Documentation/devicetree/bindings/usb/
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.1.9/Documentation/devicetree/bindings/display/msm/
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.1.9/kernel/trace/
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()
500 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
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()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/display/bridge/
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
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.1.9/drivers/iio/adc/
Dsc27xx_adc.c194 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local
200 graph = &big_scale_graph; in sc27xx_adc_scale_calibration()
204 graph = &small_scale_graph; in sc27xx_adc_scale_calibration()
211 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration()
212 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration()
592 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument
597 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt()
598 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt()
599 tmp += graph->volt1; in adc_to_volt()
604 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument
[all …]
/linux-6.1.9/tools/perf/tests/attr/
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)

12345678910>>...16