| /linux/sound/soc/qcom/qdsp6/ |
| H A D | q6apm.c | 21 /* Graph Management */ 46 struct audioreach_graph *graph; in q6apm_get_audioreach_graph() 50 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph() 53 if (graph) { in q6apm_get_audioreach_graph() 54 kref_get(&graph->refcount); in q6apm_get_audioreach_graph() 55 return graph; in q6apm_get_audioreach_graph() 63 graph = kzalloc_obj(*graph); in q6apm_get_audioreach_graph() 64 if (!graph) in q6apm_get_audioreach_graph() 67 graph in q6apm_get_audioreach_graph() 44 struct audioreach_graph *graph; q6apm_get_audioreach_graph() local 95 audioreach_graph_mgmt_cmd(struct audioreach_graph * graph,uint32_t opcode) audioreach_graph_mgmt_cmd() argument 126 struct audioreach_graph *graph; q6apm_put_audioreach_graph() local 184 q6apm_graph_media_format_shmem(struct q6apm_graph * graph,struct audioreach_module_config * cfg) q6apm_graph_media_format_shmem() argument 271 q6apm_alloc_fragments(struct q6apm_graph * graph,unsigned int dir,phys_addr_t phys,size_t period_sz,unsigned int periods) q6apm_alloc_fragments() argument 367 q6apm_free_fragments(struct q6apm_graph * graph,unsigned int dir) q6apm_free_fragments() argument 375 q6apm_remove_initial_silence(struct device * dev,struct q6apm_graph * graph,uint32_t samples) q6apm_remove_initial_silence() argument 387 q6apm_remove_trailing_silence(struct device * dev,struct q6apm_graph * graph,uint32_t samples) q6apm_remove_trailing_silence() argument 399 q6apm_enable_compress_module(struct device * dev,struct q6apm_graph * graph,bool en) q6apm_enable_compress_module() argument 411 q6apm_set_real_module_id(struct device * dev,struct q6apm_graph * graph,uint32_t codec_id) q6apm_set_real_module_id() argument 443 q6apm_graph_media_format_pcm(struct q6apm_graph * graph,struct audioreach_module_config * cfg) q6apm_graph_media_format_pcm() argument 472 q6apm_write_async(struct q6apm_graph * graph,uint32_t len,uint32_t msw_ts,uint32_t lsw_ts,uint32_t wflags) q6apm_write_async() argument 509 q6apm_read(struct q6apm_graph * graph) q6apm_read() argument 543 q6apm_get_hw_pointer(struct q6apm_graph * graph,int dir) q6apm_get_hw_pointer() argument 562 struct q6apm_graph *graph = priv; graph_callback() local 664 q6apm_register_watermark_event(struct q6apm_graph * graph,int water_mark_level_bytes,int num_levels) q6apm_register_watermark_event() argument 671 q6apm_push_pull_config(struct q6apm_graph * graph,phys_addr_t bphys,phys_addr_t pphys,uint32_t size) q6apm_push_pull_config() argument 701 q6apm_is_graph_in_push_pull_mode(struct q6apm_graph * graph) q6apm_is_graph_in_push_pull_mode() argument 707 q6apm_graph_get_module_iid(struct q6apm_graph * graph,uint32_t mid) q6apm_graph_get_module_iid() argument 723 struct q6apm_graph *graph; q6apm_graph_open() local 783 q6apm_graph_close(struct q6apm_graph * graph) q6apm_graph_close() argument 796 q6apm_graph_prepare(struct q6apm_graph * graph) q6apm_graph_prepare() argument 802 q6apm_graph_start(struct q6apm_graph * graph) q6apm_graph_start() argument 819 q6apm_graph_stop(struct q6apm_graph * graph) q6apm_graph_stop() argument 833 q6apm_graph_flush(struct q6apm_graph * graph) q6apm_graph_flush() argument 907 q6apm_find_module_by_mid(struct q6apm_graph * graph,uint32_t mid) q6apm_find_module_by_mid() argument [all...] |
| H A D | q6apm.h | 57 /* For Graph OPEN/START/STOP/CLOSE operations */ 90 /* Cached Graph data */ member 91 void *graph; 115 /* Graph Operations */ 118 int q6apm_graph_close(struct q6apm_graph *graph); 119 int q6apm_graph_prepare(struct q6apm_graph *graph); 120 int q6apm_graph_start(struct q6apm_graph *graph); 121 int q6apm_graph_stop(struct q6apm_graph *graph); 122 int q6apm_graph_flush(struct q6apm_graph *graph); 125 int q6apm_graph_media_format_pcm(struct q6apm_graph *graph, [all...] |
| H A D | q6apm-lpass-dais.c | 31 struct q6apm_graph *graph[APM_PORT_MAX]; in q6dma_set_channel_map() 191 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() local 197 if (dai_data->graph[dai->id]) { in q6apm_lpass_dai_prepare() 198 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() 199 dai_data->graph[dai->id] = NULL; in q6apm_lpass_dai_prepare() 214 ret = q6apm_graph_start(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare() 232 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() 237 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_startup() 243 * It is recommend to load DSP with source graph first and then sink in q6apm_lpass_dai_startup() 244 * graph, s in q6apm_lpass_dai_startup() 22 struct q6apm_graph *graph[APM_PORT_MAX]; global() member 239 struct q6apm_graph *graph; q6apm_lpass_dai_startup() local [all...] |
| H A D | audioreach.c | 45 /* Container graph Position */ 339 /* Graph Position */ in apm_populate_module_prop_obj() 639 int audioreach_graph_send_cmd_sync(struct q6apm_graph *graph, struct gpr_pkt *pkt, in audioreach_display_port_set_media_format() 643 pkt->hdr.dest_domain = audioreach_gpr_dest_domain(graph->apm->gdev); in audioreach_display_port_set_media_format() 645 return audioreach_send_cmd_sync(graph->dev, NULL, &graph->result, &graph->lock, in audioreach_display_port_set_media_format() 646 graph->port, &graph->cmd_wait, pkt, rsp_opcode); in audioreach_display_port_set_media_format() 650 static int audioreach_display_port_set_media_format(struct q6apm_graph *graph, in audioreach_display_port_set_media_format() 598 audioreach_graph_send_cmd_sync(struct q6apm_graph * graph,struct gpr_pkt * pkt,uint32_t rsp_opcode) audioreach_graph_send_cmd_sync() argument 607 audioreach_display_port_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_display_port_set_media_format() argument 674 audioreach_codec_dma_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_codec_dma_set_media_format() argument 751 audioreach_send_u32_param(struct q6apm_graph * graph,struct audioreach_module * module,uint32_t param_id,uint32_t param_val) audioreach_send_u32_param() argument 786 audioreach_sal_limiter_enable(struct q6apm_graph * graph,struct audioreach_module * module,bool enable) audioreach_sal_limiter_enable() argument 792 audioreach_sal_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_sal_set_media_format() argument 799 audioreach_module_enable(struct q6apm_graph * graph,struct audioreach_module * module,bool enable) audioreach_module_enable() argument 806 audioreach_gapless_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_gapless_set_media_format() argument 814 audioreach_set_module_config(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_set_module_config() argument 838 audioreach_mfc_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_mfc_set_media_format() argument 962 audioreach_compr_set_param(struct q6apm_graph * graph,struct audioreach_module_config * mcfg) audioreach_compr_set_param() argument 993 audioreach_i2s_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_i2s_set_media_format() argument 1070 audioreach_logging_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module) audioreach_logging_set_media_format() argument 1105 audioreach_pcm_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * mcfg) audioreach_pcm_set_media_format() argument 1156 audioreach_shmem_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * mcfg) audioreach_shmem_set_media_format() argument 1252 audioreach_gain_set(struct q6apm_graph * graph,struct audioreach_module * module) audioreach_gain_set() argument 1281 audioreach_set_media_format(struct q6apm_graph * graph,struct audioreach_module * module,struct audioreach_module_config * cfg) audioreach_set_media_format() argument 1338 audioreach_graph_free_buf(struct q6apm_graph * graph) audioreach_graph_free_buf() argument 1356 audioreach_map_memory_regions(struct q6apm_graph * graph,unsigned int dir,size_t period_sz,unsigned int periods,bool is_contiguous) audioreach_map_memory_regions() argument 1420 audioreach_shared_memory_send_eos(struct q6apm_graph * graph) audioreach_shared_memory_send_eos() argument [all...] |
| H A D | q6apm-dai.c | 96 struct q6apm_graph *graph; 258 q6apm_read(prtd->graph); in q6apm_dai_prepare() 308 q6apm_write_async(prtd->graph, in q6apm_dai_prepare() 314 audioreach_shared_memory_send_eos(prtd->graph); in q6apm_dai_ack() 337 if (!prtd || !prtd->graph) { 350 q6apm_graph_stop(prtd->graph); in q6apm_dai_trigger() 351 q6apm_free_fragments(prtd->graph, substream->stream); in q6apm_dai_trigger() 356 if (q6apm_is_graph_in_push_pull_mode(prtd->graph)) { in q6apm_dai_trigger() 358 ret = q6apm_push_pull_config(prtd->graph, prtd->phys, prtd->pos_phys, in q6apm_dai_trigger() 365 ret = q6apm_register_watermark_event(prtd->graph, in q6apm_dai_trigger() 81 struct q6apm_graph *graph; global() member [all...] |
| /linux/tools/power/pm-graph/ |
| H A 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 …]
|
| H A 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"
|
| /linux/lib/ |
| H A 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/sound/soc/generic/ |
| H A 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
|
| H A D | Kconfig | 15 tristate "ASoC Audio Graph sound card support" 20 with OF-graph DT bindings. 24 tristate "ASoC Audio Graph sound card2 support" 29 with OF-graph DT bindings. 32 tristate "ASoC Audio Graph Card2 base custom sample support" 35 This option enables Audio Graph Card2 base custom sample
|
| H A D | audio-graph-card2-custom-sample.c | 3 // audio-graph-card2-custom-sample.c 112 * audio-graph-card2 has many hooks for your customizing. 154 /* "audio-graph-card2-custom-sample" is too long */ in custom_probe() 157 /* use audio-graph-card2 parsing with own custom hooks */ in custom_probe() 168 { .compatible = "audio-graph-card2-custom-sample", }, 175 .name = "audio-graph-card2-custom-sample", 183 MODULE_ALIAS("platform:asoc-audio-graph-card2-custom-sample"); 185 MODULE_DESCRIPTION("ASoC Audio Graph Card2 Custom Sample");
|
| /linux/drivers/media/mc/ |
| H A D | mc-entity.c | 244 * Graph traversal 297 static void stack_push(struct media_graph *graph, in stack_push() 300 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 304 graph->top++; in stack_pop() argument 305 graph->stack[graph->top].link = entity->links.next; in stack_pop() 306 graph->stack[graph->top].entity = entity; in stack_pop() 309 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() 313 entity = graph in stack_pop() 292 stack_push(struct media_graph * graph,struct media_entity * entity) stack_push() argument 329 media_graph_walk_init(struct media_graph * graph,struct media_device * mdev) media_graph_walk_init() argument 339 media_graph_walk_cleanup(struct media_graph * graph) media_graph_walk_cleanup() argument 345 media_graph_walk_start(struct media_graph * graph,struct media_entity * entity) media_graph_walk_start() argument 359 media_graph_walk_iter(struct media_graph * graph) media_graph_walk_iter() argument 403 media_graph_walk_next(struct media_graph * graph) media_graph_walk_next() argument [all...] |
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | usb-switch-ports.yaml | 7 title: USB Orientation and Mode Switches Ports Graph Properties 13 Ports Graph properties for devices handling USB mode and orientation switching. 17 $ref: /schemas/graph.yaml#/$defs/port-base 24 $ref: /schemas/graph.yaml#/$defs/endpoint-base 36 $ref: /schemas/graph.yaml#/properties/ports 39 $ref: /schemas/graph.yaml#/properties/port 44 $ref: /schemas/graph.yaml#/$defs/port-base 51 $ref: /schemas/graph.yaml#/$defs/endpoint-base
|
| /linux/Documentation/bpf/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A D | audio-graph-card2.yaml | 4 $id: http://devicetree.org/schemas/sound/audio-graph-card2.yaml# 7 title: Audio Graph Card2 15 - audio-graph-card2 21 $ref: audio-graph.yaml#/properties/routing 37 $ref: audio-graph.yaml#/properties/hp-det-gpios 39 $ref: audio-graph.yaml#/properties/mic-det-gpios 41 $ref: audio-graph.yaml#/properties/widgets
|
| H A 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";
|
| H A D | nvidia,tegra-audio-graph-card.yaml | 4 $id: http://devicetree.org/schemas/sound/nvidia,tegra-audio-graph-card.yaml# 7 title: Audio Graph based Tegra sound card driver 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 26 - nvidia,tegra238-audio-graph-card 27 - nvidia,tegra264-audio-graph-card 75 compatible = "nvidia,tegra210-audio-graph-card";
|
| /linux/tools/perf/scripts/python/ |
| H A D | flamegraph.py | |
| /linux/tools/perf/Documentation/ |
| H A 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 459 call-graph.*:: 461 -g/--call-graph options). 463 call-graph [all...] |
| H A 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:: 134 - depth=<n> - Set max depth for function graph tracer to follow. 190 --graph-funcs=:: 191 Set graph filter on the given function (or a glob pattern). This is 198 Set graph notrace filter on the given function (or a glob pattern). 214 --graph-opts:: [all …]
|
| /linux/Documentation/userspace-api/media/mediactl/ |
| H A 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
|
| /linux/Documentation/devicetree/bindings/media/ |
| H A D | renesas,vin.yaml | 79 $ref: /schemas/graph.yaml#/$defs/port-base 124 $ref: /schemas/graph.yaml#/properties/ports 128 $ref: /schemas/graph.yaml#/$defs/port-base 166 $ref: /schemas/graph.yaml#/properties/port 173 $ref: /schemas/graph.yaml#/properties/endpoint 177 $ref: /schemas/graph.yaml#/properties/endpoint 181 $ref: /schemas/graph.yaml#/properties/endpoint 185 $ref: /schemas/graph.yaml#/properties/endpoint 199 $ref: /schemas/graph.yaml#/properties/port 206 $ref: /schemas/graph.yaml#/properties/endpoint [all …]
|
| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | fgraph-profiler.tc | 3 # description: ftrace - function profiler with function graph tracing 6 # The function graph tracer can now be run along side of the function 8 # to crash. It also required the function graph tracer to be started 20 echo "Enabling function graph tracer:" 25 # function graph tracer. If the below fails, mark it as unsupported
|
| /linux/tools/perf/util/ |
| H A D | callchain.h | 20 #define CALLCHAIN_HELP "setup and enables call-graph (stack chain/backtrace):\n\n" 22 # define RECORD_MODE_HELP HELP_PAD "record_mode:\tcall graph recording mode (fp|dwarf|lbr)\n" 31 HELP_PAD "print_type:\tcall graph printing style (graph|flat|fractal|folded|none)\n" \ 32 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \ 33 HELP_PAD "print_limit:\tmaximum number of call graph entry (<number>)\n" \ 34 HELP_PAD "order:\t\tcall graph order (caller|callee)\n" \ 35 HELP_PAD "sort_key:\tcall graph sort key (function|address)\n" \ 36 HELP_PAD "branch:\t\tinclude last branch info to call graph (branch)\n" \ 37 HELP_PAD "value:\t\tcall graph valu [all...] |
| /linux/kernel/trace/ |
| H A 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); 95 * inside the #ifdef of the function graph tracer below. 96 * This is OK, since the function graph tracer is 266 * In graph mode call the graph tracer output function, in irqsoff_print_line() 484 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument 492 if (graph) in register_irqsoff_function() 503 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument 508 if (graph) in unregister_irqsoff_function() 528 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument [all …]
|