Home
last modified time | relevance | path

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

1234567891011

/openbmc/linux/sound/soc/qcom/qdsp6/
H A Dq6apm.c43 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 …]
H A Dq6apm.h89 void *graph; member
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,
125 int q6apm_graph_media_format_shmem(struct q6apm_graph *graph,
129 int q6apm_read(struct q6apm_graph *graph);
130 int q6apm_write_async(struct q6apm_graph *graph, uint32_t len, uint32_t msw_ts,
[all …]
H A Dq6apm-lpass-dais.c21 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()
179 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
[all …]
H A Dq6apm-dai.c77 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 …]
H A Daudioreach.c582 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
762 rc = q6apm_send_cmd_sync(graph->apm, pkt, 0); in audioreach_send_u32_param()
770 static int audioreach_sal_limiter_enable(struct q6apm_graph *graph, in audioreach_sal_limiter_enable() argument
[all …]
/openbmc/linux/tools/power/pm-graph/
H 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
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 …]
H A Dinstall_latest_from_github.sh16 rm -rf pm-graph
22 git clone http://github.com/intel/pm-graph.git $OUT/pm-graph
29 cd $OUT/pm-graph
/openbmc/linux/lib/
H A Dobjagg.c713 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 …]
/openbmc/linux/sound/soc/generic/
H 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
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/pm-graph/pm-graph/
H A D0001-Makefile-fix-multilib-build-failure.patch22 SHRDIR ?= /usr/share/pm-graph
36 $(INSTALL) -d $(DESTDIR)$(LIBDIR)/pm-graph
37 $(INSTALL) sleepgraph.py $(DESTDIR)$(LIBDIR)/pm-graph
42 - ln -s ../lib/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
43 - ln -s ../lib/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
44 - ln -s ../lib/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
46 + ln -s ../$(BASELIB)/pm-graph/bootgraph.py $(DESTDIR)$(BINDIR)/bootgraph
47 + ln -s ../$(BASELIB)/pm-graph/sleepgraph.py $(DESTDIR)$(BINDIR)/sleepgraph
48 + ln -s ../$(BASELIB)/pm-graph/netfix.py $(DESTDIR)$(BINDIR)/netfix
54 rm -f $(DESTDIR)$(LIBDIR)/pm-graph/hwcheck.py
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-mc.c443 struct media_graph *graph) in pipeline_pm_use_count() argument
447 media_graph_walk_start(graph, entity); in pipeline_pm_use_count()
449 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count()
502 struct media_graph *graph) in pipeline_pm_power() argument
510 media_graph_walk_start(graph, entity); in pipeline_pm_power()
512 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power()
519 media_graph_walk_start(graph, first); in pipeline_pm_power()
521 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power()
567 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local
574 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify()
[all …]
/openbmc/linux/drivers/media/mc/
H A Dmc-entity.c279 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()
316 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument
318 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init()
[all …]
/openbmc/qemu/scripts/
H A Drender_block_graph.py54 graph = Digraph(comment='Block Nodes Graph')
55 graph.format = format
56 graph.node('permission symbols:\l'
83 graph.node(str(n['id']), label, shape=shape)
88 graph.edge(str(e['parent']), str(e['child']), label=label)
90 graph.render(filename)
/openbmc/qemu/tests/qemu-iotests/
H A D25854 def find_graph_node(graph, node_id): argument
55 return next(node for node in graph['nodes'] if node['id'] == node_id)
144 graph = vm.qmp('x-debug-query-block-graph')['return']
145 for edge in graph['edges']:
147 find_graph_node(graph, edge['parent'])['name'] == 'node3':
148 assert find_graph_node(graph, edge['child'])['name'] == 'node0'
/openbmc/linux/drivers/hwtracing/coresight/
H A Dcoresight-platform.c451 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 …]
/openbmc/linux/arch/sh/kernel/
H 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()
/openbmc/phosphor-dbus-monitor/src/
H A Dcallback.hpp143 graph(graphEntry) in GroupOfCallbacks()
149 for (auto e : graph) in operator ()()
157 const std::vector<size_t>& graph; member in phosphor::dbus::monitoring::GroupOfCallbacks
174 Conditional& cond) : graph(graphEntry), condition(cond) in ConditionalCallback()
182 (*CallbackAccess::get()[graph[0]])(ctx); in operator ()()
188 const std::vector<size_t>& graph; member in phosphor::dbus::monitoring::ConditionalCallback
/openbmc/linux/tools/perf/tests/attr/
H A 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)
/openbmc/openbmc/poky/scripts/contrib/
H A Dgraph-tool29 graph = networkx.DiGraph(networkx.nx_pydot.read_dot(dotfile))
32 close_matches = difflib.get_close_matches(node, graph.nodes(), cutoff=0.7)
37 if not fromnode in graph:
39 if not tonode in graph:
41 return networkx.all_simple_paths(graph, source=fromnode, target=tonode)
/openbmc/linux/kernel/trace/
H 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);
457 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
465 if (graph) in register_irqsoff_function()
476 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
481 if (graph) in unregister_irqsoff_function()
501 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
505 static void unregister_irqsoff_function(struct trace_array *tr, int graph) { } in unregister_irqsoff_function() argument
527 static int start_irqsoff_tracer(struct trace_array *tr, int graph) in start_irqsoff_tracer() argument
531 ret = register_irqsoff_function(tr, graph, 0); in start_irqsoff_tracer()
[all …]
H 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);
232 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
240 if (graph) in register_wakeup_function()
251 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
256 if (graph) in unregister_wakeup_function()
276 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
280 static void unregister_wakeup_function(struct trace_array *tr, int graph) { } in unregister_wakeup_function() argument
328 static int start_func_tracer(struct trace_array *tr, int graph) in start_func_tracer() argument
332 ret = register_wakeup_function(tr, graph, 0); in start_func_tracer()
[all …]
/openbmc/linux/drivers/iio/adc/
H A Dsc27xx_adc.c196 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 …]
/openbmc/linux/Documentation/userspace-api/media/mediactl/
H 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
H 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.
/openbmc/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst5 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 …]

1234567891011