Lines Matching refs:conn

119 	struct cmp_connection *conn;  in start_stream()  local
126 conn = &oxfw->in_conn; in start_stream()
129 conn = &oxfw->out_conn; in start_stream()
163 err = cmp_connection_establish(conn, in start_stream()
169 conn->resources.channel, in start_stream()
170 conn->speed); in start_stream()
172 cmp_connection_break(conn); in start_stream()
188 struct cmp_connection *conn; in check_connection_used_by_others() local
193 conn = &oxfw->out_conn; in check_connection_used_by_others()
195 conn = &oxfw->in_conn; in check_connection_used_by_others()
197 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
201 (conn->direction == CMP_OUTPUT) ? 'o' : 'i', in check_connection_used_by_others()
202 conn->pcr_index); in check_connection_used_by_others()
212 struct cmp_connection *conn; in snd_oxfw_stream_init_simplex() local
218 conn = &oxfw->out_conn; in snd_oxfw_stream_init_simplex()
222 conn = &oxfw->in_conn; in snd_oxfw_stream_init_simplex()
227 err = cmp_connection_init(conn, oxfw->unit, c_dir, 0); in snd_oxfw_stream_init_simplex()
234 cmp_connection_destroy(conn); in snd_oxfw_stream_init_simplex()
360 struct cmp_connection *conn; in snd_oxfw_stream_destroy_simplex() local
363 conn = &oxfw->out_conn; in snd_oxfw_stream_destroy_simplex()
365 conn = &oxfw->in_conn; in snd_oxfw_stream_destroy_simplex()
368 cmp_connection_destroy(conn); in snd_oxfw_stream_destroy_simplex()
374 struct cmp_connection *conn; in snd_oxfw_stream_update_simplex() local
377 conn = &oxfw->out_conn; in snd_oxfw_stream_update_simplex()
379 conn = &oxfw->in_conn; in snd_oxfw_stream_update_simplex()
381 if (cmp_connection_update(conn) < 0) in snd_oxfw_stream_update_simplex()