Lines Matching refs:routing_data
348 static struct msm_routing_data *routing_data; variable
369 if (!routing_data) { in q6routing_stream_open()
374 session = &routing_data->sessions[stream_id - 1]; in q6routing_stream_open()
376 dev_err(routing_data->dev, "Routing not setup for MultiMedia%d Session\n", in q6routing_stream_open()
381 pdata = &routing_data->port_data[session->port_id]; in q6routing_stream_open()
383 mutex_lock(&routing_data->lock); in q6routing_stream_open()
393 copp = q6adm_open(routing_data->dev, session->port_id, in q6routing_stream_open()
399 mutex_unlock(&routing_data->lock); in q6routing_stream_open()
416 q6adm_matrix_map(routing_data->dev, session->path_type, in q6routing_stream_open()
419 mutex_unlock(&routing_data->lock); in q6routing_stream_open()
450 session = get_session_from_id(routing_data, fedai_id); in q6routing_stream_close()
456 q6adm_close(routing_data->dev, session->copps[idx]); in q6routing_stream_close()
1093 routing_data->sessions[i].port_id = -1; in msm_routing_probe()
1094 routing_data->sessions[i].fedai_id = -1; in msm_routing_probe()
1130 routing_data = kzalloc(sizeof(*routing_data), GFP_KERNEL); in q6pcm_routing_probe()
1131 if (!routing_data) in q6pcm_routing_probe()
1134 routing_data->dev = dev; in q6pcm_routing_probe()
1136 mutex_init(&routing_data->lock); in q6pcm_routing_probe()
1137 dev_set_drvdata(dev, routing_data); in q6pcm_routing_probe()
1145 kfree(routing_data); in q6pcm_routing_remove()
1146 routing_data = NULL; in q6pcm_routing_remove()