Home
last modified time | relevance | path

Searched refs:graph (Results 1 - 25 of 77) sorted by relevance

1234

/kernel/linux/linux-6.6/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 in q6apm_get_audioreach_graph()
94 audioreach_graph_mgmt_cmd(struct audioreach_graph *graph, uint32_t opcode) audioreach_graph_mgmt_cmd() argument
132 struct audioreach_graph *graph; q6apm_put_audioreach_graph() local
193 q6apm_graph_media_format_shmem(struct q6apm_graph *graph, struct audioreach_module_config *cfg) q6apm_graph_media_format_shmem() argument
213 q6apm_map_memory_regions(struct q6apm_graph *graph, unsigned int dir, phys_addr_t phys, size_t period_sz, unsigned int periods) q6apm_map_memory_regions() argument
269 q6apm_unmap_memory_regions(struct q6apm_graph *graph, unsigned int dir) q6apm_unmap_memory_regions() argument
301 q6apm_remove_initial_silence(struct device *dev, struct q6apm_graph *graph, uint32_t samples) q6apm_remove_initial_silence() argument
313 q6apm_remove_trailing_silence(struct device *dev, struct q6apm_graph *graph, uint32_t samples) q6apm_remove_trailing_silence() argument
325 q6apm_enable_compress_module(struct device *dev, struct q6apm_graph *graph, bool en) q6apm_enable_compress_module() argument
337 q6apm_set_real_module_id(struct device *dev, struct q6apm_graph *graph, uint32_t codec_id) q6apm_set_real_module_id() argument
366 q6apm_graph_media_format_pcm(struct q6apm_graph *graph, struct audioreach_module_config *cfg) q6apm_graph_media_format_pcm() argument
390 q6apm_graph_get_tx_shmem_module_iid(struct q6apm_graph *graph) q6apm_graph_get_tx_shmem_module_iid() argument
402 q6apm_graph_get_rx_shmem_module_iid(struct q6apm_graph *graph) q6apm_graph_get_rx_shmem_module_iid() argument
415 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
458 q6apm_read(struct q6apm_graph *graph) q6apm_read() argument
503 struct q6apm_graph *graph = priv; graph_callback() local
610 struct q6apm_graph *graph; q6apm_graph_open() local
652 q6apm_graph_close(struct q6apm_graph *graph) q6apm_graph_close() argument
665 q6apm_graph_prepare(struct q6apm_graph *graph) q6apm_graph_prepare() argument
671 q6apm_graph_start(struct q6apm_graph *graph) q6apm_graph_start() argument
685 q6apm_graph_stop(struct q6apm_graph *graph) q6apm_graph_stop() argument
696 q6apm_graph_flush(struct q6apm_graph *graph) q6apm_graph_flush() argument
759 q6apm_find_module_by_mid(struct q6apm_graph *graph, uint32_t mid) q6apm_find_module_by_mid() argument
[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_
[all...]
H A Dq6apm-lpass-dais.c21 struct q6apm_graph *graph[APM_PORT_MAX]; member
145 rc = q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
149 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_shutdown()
157 struct q6apm_graph *graph; in q6apm_lpass_dai_prepare() local
162 q6apm_graph_stop(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
166 q6apm_graph_close(dai_data->graph[dai->id]); in q6apm_lpass_dai_prepare()
170 * It is recommend to load DSP with source graph first and then sink in q6apm_lpass_dai_prepare()
171 * graph, so sequence for playback and capture will be different in q6apm_lpass_dai_prepare()
174 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare()
175 if (IS_ERR(graph)) { in q6apm_lpass_dai_prepare()
210 struct q6apm_graph *graph; q6apm_lpass_dai_startup() local
[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, in q6apm_dai_prepare()
[all...]
H A Daudioreach.c45 /* Container graph Position */
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
735 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
770 audioreach_sal_limiter_enable(struct q6apm_graph *graph, struct audioreach_module *module, bool enable) audioreach_sal_limiter_enable() argument
776 audioreach_sal_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) audioreach_sal_set_media_format() argument
783 audioreach_module_enable(struct q6apm_graph *graph, struct audioreach_module *module, bool enable) audioreach_module_enable() argument
790 audioreach_gapless_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) audioreach_gapless_set_media_format() argument
798 audioreach_mfc_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) audioreach_mfc_set_media_format() argument
907 audioreach_compr_set_param(struct q6apm_graph *graph, struct audioreach_module_config *mcfg) audioreach_compr_set_param() argument
938 audioreach_i2s_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) audioreach_i2s_set_media_format() argument
1014 audioreach_logging_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module) audioreach_logging_set_media_format() argument
1049 audioreach_pcm_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *mcfg) audioreach_pcm_set_media_format() argument
1107 audioreach_shmem_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *mcfg) audioreach_shmem_set_media_format() argument
1209 audioreach_gain_set(struct q6apm_graph *graph, struct audioreach_module *module) audioreach_gain_set() argument
1238 audioreach_set_media_format(struct q6apm_graph *graph, struct audioreach_module *module, struct audioreach_module_config *cfg) audioreach_set_media_format() argument
1292 audioreach_graph_free_buf(struct q6apm_graph *graph) audioreach_graph_free_buf() argument
1310 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
1374 audioreach_shared_memory_send_eos(struct q6apm_graph *graph) audioreach_shared_memory_send_eos() argument
[all...]
/kernel/linux/linux-5.10/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/confi
[all...]
/kernel/linux/linux-6.6/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/confi
[all...]
H A Dinstall_latest_from_github.sh4 # 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
/kernel/linux/linux-5.10/drivers/media/mc/
H A Dmc-entity.c241 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 in stack_pop()
277 media_graph_walk_init( struct media_graph *graph, struct media_device *mdev) media_graph_walk_init() argument
288 media_graph_walk_cleanup(struct media_graph *graph) media_graph_walk_cleanup() argument
294 media_graph_walk_start(struct media_graph *graph, struct media_entity *entity) media_graph_walk_start() argument
308 media_graph_walk_iter(struct media_graph *graph) media_graph_walk_iter() argument
345 media_graph_walk_next(struct media_graph *graph) media_graph_walk_next() argument
411 struct media_graph *graph = &pipe->graph; __media_pipeline_start() local
547 struct media_graph *graph = &entity->pipe->graph; __media_pipeline_stop() local
[all...]
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/lib/
H A 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 in objagg_tmp_graph_node_weight()
756 objagg_tmp_graph_node_max_weight(struct objagg_tmp_graph *graph) objagg_tmp_graph_node_max_weight() argument
780 struct objagg_tmp_graph *graph; objagg_tmp_graph_create() local
834 objagg_tmp_graph_destroy(struct objagg_tmp_graph *graph) objagg_tmp_graph_destroy() argument
846 struct objagg_tmp_graph *graph; objagg_opt_simple_greedy_fillup_hints() local
[all...]
/kernel/linux/linux-6.6/lib/
H A 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 in objagg_tmp_graph_node_weight()
756 objagg_tmp_graph_node_max_weight(struct objagg_tmp_graph *graph) objagg_tmp_graph_node_max_weight() argument
780 struct objagg_tmp_graph *graph; objagg_tmp_graph_create() local
831 objagg_tmp_graph_destroy(struct objagg_tmp_graph *graph) objagg_tmp_graph_destroy() argument
843 struct objagg_tmp_graph *graph; objagg_opt_simple_greedy_fillup_hints() local
[all...]
/kernel/linux/linux-6.6/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 in stack_pop()
315 media_graph_walk_init( struct media_graph *graph, struct media_device *mdev) media_graph_walk_init() argument
326 media_graph_walk_cleanup(struct media_graph *graph) media_graph_walk_cleanup() argument
332 media_graph_walk_start(struct media_graph *graph, struct media_entity *entity) media_graph_walk_start() argument
346 media_graph_walk_iter(struct media_graph *graph) media_graph_walk_iter() argument
390 media_graph_walk_next(struct media_graph *graph) media_graph_walk_next() argument
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-platform.c95 * if the device doesn't have any graph connections in of_coresight_get_ports_legacy()
408 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
422 * GraphID - Integer, identifying a graph the device belongs to.
424 * this graph. (e.g, see is_acpi_coresight_graph())
425 * NumberOfLinks - Number "N" of connections on this node of the graph.
475 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
480 /* The graph must contain at least the Revision and Number of Graphs */ in acpi_validate_dsd_graph()
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 in acpi_validate_dsd_graph()
586 const union acpi_object *graph_list, *graph; acpi_get_coresight_graph() local
690 const union acpi_object *graph; acpi_coresight_parse_graph() local
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-mc.c435 struct media_graph *graph) in pipeline_pm_use_count()
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()
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()
434 pipeline_pm_use_count(struct media_entity *entity, struct media_graph *graph) pipeline_pm_use_count() argument
493 pipeline_pm_power(struct media_entity *entity, int change, struct media_graph *graph) pipeline_pm_power() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-mc.c443 struct media_graph *graph) in pipeline_pm_use_count()
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()
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()
442 pipeline_pm_use_count(struct media_entity *entity, struct media_graph *graph) pipeline_pm_use_count() argument
501 pipeline_pm_power(struct media_entity *entity, int change, struct media_graph *graph) pipeline_pm_power() argument
[all...]
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-platform.c279 * if the device doesn't have any graph connections in of_get_coresight_platform_data()
382 * acpi_validate_dsd_graph - Make sure the given _DSD graph conforms
396 * GraphID - Integer, identifying a graph the device belongs to.
398 * this graph. (e.g, see is_acpi_coresight_graph())
399 * NumberOfLinks - Number "N" of connections on this node of the graph.
449 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument
454 /* The graph must contain at least the Revision and Number of Graphs */ in acpi_validate_dsd_graph()
455 if (graph->package.count < 2) in acpi_validate_dsd_graph()
458 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph()
459 nr_graphs = &graph in acpi_validate_dsd_graph()
559 const union acpi_object *graph_list, *graph; acpi_get_coresight_graph() local
665 const union acpi_object *graph; acpi_coresight_parse_graph() local
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Ddumpstack.c57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr()
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()
93 int graph = 0; in stack_reader_dump() local
105 context, &graph); in stack_reader_dump()
55 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) print_ftrace_graph_addr() argument
81 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) print_ftrace_graph_addr() argument
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Ddumpstack.c57 struct thread_info *tinfo, int *graph) in print_ftrace_graph_addr()
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()
93 int graph = 0; in stack_reader_dump() local
105 context, &graph); in stack_reader_dump()
55 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) print_ftrace_graph_addr() argument
81 print_ftrace_graph_addr(unsigned long addr, void *data, const struct stacktrace_ops *ops, struct thread_info *tinfo, int *graph) print_ftrace_graph_addr() argument
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dsc27xx_adc.c92 * 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...]
/kernel/linux/linux-5.10/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);
95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
249 * In graph mode call the graph tracer output function, in irqsoff_print_line()
463 static int register_irqsoff_function(struct trace_array *tr, int graph, int set) in register_irqsoff_function() argument
471 if (graph) in register_irqsoff_function()
482 static void unregister_irqsoff_function(struct trace_array *tr, int graph) in unregister_irqsoff_function() argument
487 if (graph) in unregister_irqsoff_function()
507 register_irqsoff_function(struct trace_array *tr, int graph, int set) register_irqsoff_function() argument
511 unregister_irqsoff_function(struct trace_array *tr, int graph) unregister_irqsoff_function() argument
533 start_irqsoff_tracer(struct trace_array *tr, int graph) start_irqsoff_tracer() argument
547 stop_irqsoff_tracer(struct trace_array *tr, int graph) stop_irqsoff_tracer() argument
[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);
63 * inside the #ifdef of the function graph tracer below.
64 * This is OK, since the function graph tracer is
194 * In graph mode call the graph tracer output function, in wakeup_print_line()
235 static int register_wakeup_function(struct trace_array *tr, int graph, int set) in register_wakeup_function() argument
243 if (graph) in register_wakeup_function()
254 static void unregister_wakeup_function(struct trace_array *tr, int graph) in unregister_wakeup_function() argument
259 if (graph) in unregister_wakeup_function()
279 register_wakeup_function(struct trace_array *tr, int graph, int set) register_wakeup_function() argument
283 unregister_wakeup_function(struct trace_array *tr, int graph) unregister_wakeup_function() argument
331 start_func_tracer(struct trace_array *tr, int graph) start_func_tracer() argument
345 stop_func_tracer(struct trace_array *tr, int graph) stop_func_tracer() argument
[all...]
/kernel/linux/linux-6.6/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);
95 * inside the #ifdef of the function graph tracer below.
96 * This is OK, since the function graph tracer is
252 * In graph mode call the graph tracer output function, in irqsoff_print_line()
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 register_irqsoff_function(struct trace_array *tr, int graph, int set) register_irqsoff_function() argument
505 unregister_irqsoff_function(struct trace_array *tr, int graph) unregister_irqsoff_function() argument
527 start_irqsoff_tracer(struct trace_array *tr, int graph) start_irqsoff_tracer() argument
541 stop_irqsoff_tracer(struct trace_array *tr, int graph) stop_irqsoff_tracer() argument
[all...]
/kernel/linux/linux-5.10/sound/soc/generic/
H A DMakefile4 snd-soc-audio-graph-card-objs := audio-graph-card.o
8 obj-$(CONFIG_SND_AUDIO_GRAPH_CARD) += snd-soc-audio-graph-card.o
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dsc27xx_adc.c125 * through 2 points in the linear graph. If the voltage is less than 1.2v, we
126 * should use the small-scale graph, and if more than 1.2v, we should use the
127 * big-scale graph.
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()
212 /* Only need to calibrate the adc values in the linear 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
606 sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, int raw_adc) sc27xx_adc_to_volt() argument
[all...]

Completed in 18 milliseconds

1234