| /kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
| D | q6apm.c | 21 /* Graph Management */ 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() [all …]
|
| D | q6apm.h | 55 /* For Graph OPEN/START/STOP/CLOSE operations */ 88 /* Cached Graph data */ 89 void *graph; member 112 /* Graph Operations */ 115 int q6apm_graph_close(struct q6apm_graph *graph); 116 int q6apm_graph_prepare(struct q6apm_graph *graph); 117 int q6apm_graph_start(struct q6apm_graph *graph); 118 int q6apm_graph_stop(struct q6apm_graph *graph); 119 int q6apm_graph_flush(struct q6apm_graph *graph); 122 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph, [all …]
|
| D | q6apm-lpass-dais.c | 21 struct q6apm_graph *graph[APM_PORT_MAX]; member 144 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown() 150 if (dai_data->graph[dai->id]) { in q6apm_lpass_dai_shutdown() 151 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown() 152 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_shutdown() 160 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local 165 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() 169 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() 170 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_prepare() 175 * It is recommend to load DSP with source graph first and then sink in q6apm_lpass_dai_prepare() [all …]
|
| D | audioreach.c | 45 /* Container graph Position */ 284 /* Graph Position */ in apm_populate_container_config() 582 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_graph_send_cmd_sync() argument 586 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_graph_send_cmd_sync() 587 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_graph_send_cmd_sync() 591 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format() argument 650 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_display_port_set_media_format() 658 static int audioreach_codec_dma_set_media_format(struct q6apm_graph *graph, in audioreach_codec_dma_set_media_format() argument 728 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_codec_dma_set_media_format() 735 int audioreach_send_u32_param(struct q6apm_graph *graph, struct audioreach_module *module, in audioreach_send_u32_param() argument [all …]
|
| D | q6apm-dai.c | 77 struct q6apm_graph *graph; member 142 q6apm_write_async(prtd->graph, prtd->pcm_count, 0, 0, 0); in event_handler() 151 q6apm_read(prtd->graph); in event_handler() 206 q6apm_write_async(prtd->graph, in event_handler_compr() 212 audioreach_shared_memory_send_eos(prtd->graph); in event_handler_compr() 236 if (!prtd || !prtd->graph) { in q6apm_dai_prepare() 249 q6apm_graph_stop(prtd->graph); in q6apm_dai_prepare() 250 q6apm_unmap_memory_regions(prtd->graph, substream->stream); in q6apm_dai_prepare() 256 ret = q6apm_graph_media_format_shmem(prtd->graph, &cfg); in q6apm_dai_prepare() 262 ret = q6apm_graph_media_format_pcm(prtd->graph, &cfg); in q6apm_dai_prepare() [all …]
|
| /kernel/linux/linux-6.6/tools/power/pm-graph/ |
| 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 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 …]
|
| D | install_latest_from_github.sh | 4 # Script which clones and installs the latest pm-graph 5 # from http://github.com/intel/pm-graph.git 16 rm -rf pm-graph 22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph 23 if [ ! -e "$OUT/pm-graph/sleepgraph.py" ]; then 24 echo "ERROR: pm-graph github repo failed to clone" 29 cd $OUT/pm-graph 30 echo "INSTALLING PM-GRAPH"
|
| /kernel/linux/linux-5.10/tools/power/pm-graph/ |
| 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 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/mc/ |
| D | mc-entity.c | 228 * Graph traversal 241 static void stack_push(struct media_graph *graph, in stack_push() argument 244 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 248 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() 253 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument 257 entity = graph->stack[graph->top].entity; in stack_pop() 258 graph->top--; in stack_pop() 267 * media_graph_walk_init - Allocate resources for graph walk [all …]
|
| /kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
| D | coresight-platform.c | 279 * if the device doesn't have any graph connections in of_get_coresight_platform_data() 327 /* ACPI Graph _DSD UUID : "ab02a46b-74c7-45a2-bd68-f7d344ef2153" */ 331 /* Coresight ACPI Graph UUID : "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" */ 384 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms 385 * to the ACPI _DSD Graph specification. 387 * ACPI Devices Graph property has the following format: 391 * Graph[1], 393 * Graph[N] 396 * And each Graph entry has the following format: 398 * GraphID - Integer, identifying a graph the device belongs to. [all …]
|
| /kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
| D | coresight-platform.c | 95 * if the device doesn't have any graph connections in of_coresight_get_ports_legacy() 351 /* ACPI Graph _DSD UUID : "ab02a46b-74c7-45a2-bd68-f7d344ef2153" */ 355 /* Coresight ACPI Graph UUID : "3ecbc8b6-1d0e-4fb3-8107-e627f805c6cd" */ 408 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms 409 * to the ACPI _DSD Graph specification. 411 * ACPI Devices Graph property has the following format: 415 * Graph[1], 417 * Graph[N] 420 * And each Graph entry has the following format: 422 * GraphID - Integer, identifying a graph the device belongs to. [all …]
|
| /kernel/linux/linux-6.6/sound/soc/generic/ |
| D | Makefile | 4 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
|
| D | Kconfig | 13 tristate "ASoC Audio Graph sound card support" 18 with OF-graph DT bindings. 22 tristate "ASoC Audio Graph sound card2 support" 27 with OF-graph DT bindings. 30 tristate "ASoC Audio Graph Card2 base custom sample support" 33 This option enables Audio Graph Card2 base custom sample
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | objagg.c | 710 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 …]
|
| /kernel/linux/linux-5.10/include/media/ |
| D | media-entity.h | 24 * enum media_gobj_type - type of a graph object 43 /* Structs to represent the objects that belong to a media graph */ 46 * struct media_gobj - Define a graph object. 55 * All objects on the media graph should have this struct embedded 78 * struct media_graph - Media graph traversal state 80 * @stack: Graph traversal stack; the stack contains information 83 * @stack.entity: pointer to &struct media_entity at the graph. 102 * @graph: Media graph walk during pipeline start / stop 106 struct media_graph graph; member 110 * struct media_link - A link object part of a media graph. [all …]
|
| /kernel/linux/linux-6.6/drivers/media/mc/ |
| D | mc-entity.c | 226 * Graph traversal 279 static void stack_push(struct media_graph *graph, in stack_push() argument 282 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 286 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() 291 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument 295 entity = graph->stack[graph->top].entity; in stack_pop() 296 graph->top--; in stack_pop() 305 * media_graph_walk_init - Allocate resources for graph walk [all …]
|
| /kernel/linux/linux-6.6/Documentation/bpf/ |
| D | graph_ds_impl.rst | 2 BPF Graph Data Structures 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 136 * Graph data structure APIs can only be used when the ``bpf_spin_lock`` 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 [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | audio-graph-card.txt | 1 Audio Graph Card: 3 Audio Graph Card specifies audio DAI connections of SoC <-> codec. 5 see ${LINUX}/Documentation/devicetree/bindings/graph.txt 7 Basically, Audio Graph Card property is same as Simple Card. 29 - compatible : "audio-graph-card"; 40 compatible = "audio-graph-card"; 71 compatible = "audio-graph-card"; 143 compatible = "audio-graph-card"; 180 compatible = "audio-graph-card"; 193 audio-graph-card,prefix = "codec"; [all …]
|
| /kernel/linux/linux-6.6/tools/perf/scripts/python/ |
| D | flamegraph.py | 15 # Works in tandem with d3-flame-graph by Martin Spier <mspier@netflix.com> 32 …<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dis… 37 …<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/d3-flam… 149 print(f"""Warning: Flame Graph template '{self.args.template}' 151 js-d3-flame-graph or libjs-d3-flame-graph, specify an existing flame 152 graph template (--template PATH) or use another output format (--format 156 … print("""Not attempting to download Flame Graph template as script command line 161 https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.html 163 /usr/share/d3-flame-graph/d3-flamegraph-base.html""", 171 …template = "https://cdn.jsdelivr.net/npm/d3-flame-graph@4.1.3/dist/templates/d3-flamegraph-base.ht… [all …]
|
| /kernel/linux/linux-6.6/include/media/ |
| D | media-entity.h | 26 * enum media_gobj_type - type of a graph object 45 /* Structs to represent the objects that belong to a media graph */ 48 * struct media_gobj - Define a graph object. 57 * All objects on the media graph should have this struct embedded 80 * struct media_graph - Media graph traversal state 82 * @stack: Graph traversal stack; the stack contains information 85 * @stack.entity: pointer to &struct media_entity at the graph. 154 * struct media_link - A link object part of a media graph. 223 * struct media_pad - A media pad graph object. 317 * struct media_entity - A media entity graph object. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | audio-graph-card.yaml | 4 $id: http://devicetree.org/schemas/sound/audio-graph-card.yaml# 7 title: Audio Graph Card 13 - $ref: /schemas/sound/audio-graph.yaml# 18 - audio-graph-card 19 - audio-graph-scu-card 29 compatible = "audio-graph-card";
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| 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
|
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | sc27xx_adc.c | 92 * through 2 points in the linear graph. If the voltage is less than 1.2v, we 93 * should use the small-scale graph, and if more than 1.2v, we should use the 94 * big-scale graph. 125 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() 154 /* Only need to calibrate the adc values in the linear 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 [all …]
|