/linux-6.12.1/sound/soc/qcom/qdsp6/ |
D | q6apm.c | 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() 66 graph->id = graph_id; in q6apm_get_audioreach_graph() [all …]
|
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); 129 int q6apm_write_async(struct q6apm_graph *graph, uint32_t len, uint32_t msw_ts, [all …]
|
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() 185 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare() [all …]
|
D | q6apm-dai.c | 75 struct q6apm_graph *graph; member 138 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler() 147 q6apm_read(prtd->graph); in event_handler() 202 q6apm_write_async(prtd->graph, in event_handler_compr() 208 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr() 232 if (!prtd || !prtd->graph) { in q6apm_dai_prepare() 246 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare() 247 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare() 253 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare() 259 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare() [all …]
|
D | audioreach.c | 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 778 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param() 786 static int audioreach_sal_limiter_enable(struct q6apm_graph *graph, in audioreach_sal_limiter_enable() argument [all …]
|
/linux-6.12.1/tools/power/pm-graph/ |
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 …]
|
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-6.12.1/lib/ |
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-6.12.1/sound/soc/generic/ |
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-6.12.1/drivers/media/v4l2-core/ |
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() 527 while (!ret && (entity = media_graph_walk_next(graph))) 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() 582 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local 589 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify() [all …]
|
/linux-6.12.1/drivers/media/mc/ |
D | mc-entity.c | 292 static void stack_push(struct media_graph *graph, in stack_push() argument 295 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 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() 304 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument 308 entity = graph->stack[graph->top].entity; in stack_pop() 309 graph->top--; in stack_pop() 329 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument 331 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init() [all …]
|
/linux-6.12.1/drivers/hwtracing/coresight/ |
D | coresight-platform.c | 451 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument 457 if (graph->package.count < 2) in acpi_validate_dsd_graph() 460 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph() 461 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph() 477 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph() 485 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph() 561 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local 571 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph() 572 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph() 574 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph() [all …]
|
/linux-6.12.1/arch/sh/kernel/ |
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-6.12.1/tools/perf/tests/attr/ |
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-6.12.1/kernel/trace/ |
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); 459 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument 467 if (graph) in register_irqsoff_function() 478 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument 483 if (graph) in unregister_irqsoff_function() 503 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument 507 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument 529 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument 533 ret = register_irqsoff_function(tr, graph, 0); in start_irqsoff_tracer() [all …]
|
D | trace_sched_wakeup.c | 38 static int start_func_tracer(struct trace_array *tr, int graph); 39 static void stop_func_tracer(struct trace_array *tr, int graph); 234 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument 242 if (graph) in register_wakeup_function() 253 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument 258 if (graph) in unregister_wakeup_function() 278 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument 282 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument 330 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument 334 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer() [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | sc27xx_adc.c | 196 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local 202 graph = &big_scale_graph; in sc27xx_adc_scale_calibration() 206 graph = &small_scale_graph; in sc27xx_adc_scale_calibration() 213 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 214 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration() 594 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument 599 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt() 600 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt() 601 tmp += graph->volt1; in adc_to_volt() 606 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument [all …]
|
/linux-6.12.1/Documentation/userspace-api/media/mediactl/ |
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
|
D | media-controller-model.rst | 10 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.
|
/linux-6.12.1/arch/sparc/kernel/ |
D | stacktrace.c | 20 int graph = 0; in __save_stack_trace() local 63 graph); in __save_stack_trace() 69 graph++; in __save_stack_trace()
|
/linux-6.12.1/Documentation/bpf/ |
D | graph_ds_impl.rst | 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 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 150 ends, we can safely access the graph node through ``n`` even after it was used 155 Both terms currently only have meaning in the context of graph nodes and API. [all …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-ftrace.txt | 103 - call-graph - Display kernel stack trace for function tracer. 107 --graph-funcs=:: 108 Select function_graph tracer and set graph filter on the given 116 Select function_graph tracer and set graph notrace filter on the 123 --graph-opts:: 130 - depth=<n> - Set max depth for function graph tracer to follow. 169 --graph-funcs=:: 170 Set graph filter on the given function (or a glob pattern). This is 177 Set graph notrace filter on the given function (or a glob pattern).
|
D | perf-config.txt | 112 [call-graph] 115 print-type = graph 146 To query the record mode of call graph, do 148 % perf config call-graph.record-mode 152 % perf config report.queue-size call-graph.order report.children 154 To query the config value of sort order of call graph in user config file (i.e. `~/.perfconfig`), do 156 % perf config --user call-graph.sort-order 430 call-graph.*:: 432 -g/--call-graph options). 434 call-graph.record-mode:: [all …]
|
/linux-6.12.1/scripts/ |
D | headerdep.pl | 24 graph => \$opt_graph, 36 graph(); 173 sub graph { subroutine
|
/linux-6.12.1/tools/power/pm-graph/config/ |
D | suspend-callgraph.cfg | 47 # graph user processes and cpu usage in the timeline (default: false) 51 # graph source functions in the timeline (default: false) 71 # graph only devices longer than min in the timeline (default: 0.001 ms) 80 # Max graph depth
|