Lines Matching refs:routing_data
296 static struct msm_routing_data *routing_data; variable
317 if (!routing_data) { in q6routing_stream_open()
322 session = &routing_data->sessions[stream_id - 1]; in q6routing_stream_open()
323 pdata = &routing_data->port_data[session->port_id]; in q6routing_stream_open()
325 mutex_lock(&routing_data->lock); in q6routing_stream_open()
335 copp = q6adm_open(routing_data->dev, session->port_id, in q6routing_stream_open()
341 mutex_unlock(&routing_data->lock); in q6routing_stream_open()
358 q6adm_matrix_map(routing_data->dev, session->path_type, in q6routing_stream_open()
361 mutex_unlock(&routing_data->lock); in q6routing_stream_open()
392 session = get_session_from_id(routing_data, fedai_id); in q6routing_stream_close()
398 q6adm_close(routing_data->dev, session->copps[idx]); in q6routing_stream_close()
992 routing_data->sessions[i].port_id = -1; in msm_routing_probe()
993 routing_data->sessions[i].fedai_id = -1; in msm_routing_probe()
1013 routing_data = kzalloc(sizeof(*routing_data), GFP_KERNEL); in q6pcm_routing_probe()
1014 if (!routing_data) in q6pcm_routing_probe()
1017 routing_data->dev = dev; in q6pcm_routing_probe()
1019 mutex_init(&routing_data->lock); in q6pcm_routing_probe()
1020 dev_set_drvdata(dev, routing_data); in q6pcm_routing_probe()
1028 kfree(routing_data); in q6pcm_routing_remove()
1029 routing_data = NULL; in q6pcm_routing_remove()