Searched refs:graph_id (Results 1 – 5 of 5) sorted by relevance
/linux-6.3-rc2/sound/soc/qcom/qdsp6/ |
A D | q6apm-lpass-dais.c | 127 int graph_id = dai->id; in q6apm_lpass_dai_prepare() local 140 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_prepare() 142 dev_err(dai->dev, "Failed to open graph (%d)\n", graph_id); in q6apm_lpass_dai_prepare() 146 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_prepare() 177 int graph_id = dai->id; in q6apm_lpass_dai_startup() local 180 graph = q6apm_graph_open(dai->dev, NULL, dai->dev, graph_id); in q6apm_lpass_dai_startup() 182 dev_err(dai->dev, "Failed to open graph (%d)\n", graph_id); in q6apm_lpass_dai_startup() 185 dai_data->graph[graph_id] = graph; in q6apm_lpass_dai_startup()
|
A D | q6apm.c | 40 static struct audioreach_graph *q6apm_get_audioreach_graph(struct q6apm *apm, uint32_t graph_id) in q6apm_get_audioreach_graph() argument 47 graph = idr_find(&apm->graph_idr, graph_id); in q6apm_get_audioreach_graph() 55 info = idr_find(&apm->graph_info_idr, graph_id); in q6apm_get_audioreach_graph() 66 graph->id = graph_id; in q6apm_get_audioreach_graph() 77 id = idr_alloc(&apm->graph_idr, graph, graph_id, graph_id + 1, GFP_KERNEL); in q6apm_get_audioreach_graph() 79 dev_err(apm->dev, "Unable to allocate graph id (%d)\n", graph_id); in q6apm_get_audioreach_graph() 534 void *priv, int graph_id) in q6apm_graph_open() argument 541 ar_graph = q6apm_get_audioreach_graph(apm, graph_id); in q6apm_graph_open() 543 dev_err(dev, "No graph found with id %d\n", graph_id); in q6apm_graph_open()
|
A D | topology.c | 19 u32 graph_id; /* Graph ID */ member 28 uint32_t graph_id, in audioreach_tplg_alloc_graph_info() argument 35 info = idr_find(&apm->graph_info_idr, graph_id); in audioreach_tplg_alloc_graph_info() 51 ret = idr_alloc_u32(&apm->graph_info_idr, info, &graph_id, graph_id, GFP_KERNEL); in audioreach_tplg_alloc_graph_info() 60 info->id = graph_id; in audioreach_tplg_alloc_graph_info() 313 int graph_id, sub_graph_id, tkn_count = 0; in audioreach_parse_sg_tokens() local 334 graph_id = le32_to_cpu(sg_elem->value); in audioreach_parse_sg_tokens() 797 scontrol->graph_id = le32_to_cpu(w_elem->value); in audioreach_widget_load_mixer() 1057 info = idr_find(&apm->graph_info_idr, m2->graph_id); in audioreach_connect_sub_graphs() 1081 info = idr_find(&apm->graph_info_idr, m2->graph_id); in audioreach_is_vmixer_connected() [all …]
|
A D | q6apm-dai.c | 251 int graph_id, ret; in q6apm_dai_open() local 253 graph_id = cpu_dai->driver->id; in q6apm_dai_open() 267 prtd->graph = q6apm_graph_open(dev, (q6apm_cb)event_handler, prtd, graph_id); in q6apm_dai_open()
|
A D | q6apm.h | 112 void *priv, int graph_id);
|
Completed in 12 milliseconds