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()
160 err = cmp_connection_establish(conn, in start_stream()
166 conn->resources.channel, in start_stream()
167 conn->speed); in start_stream()
169 cmp_connection_break(conn); in start_stream()
185 struct cmp_connection *conn; in check_connection_used_by_others() local
190 conn = &oxfw->out_conn; in check_connection_used_by_others()
192 conn = &oxfw->in_conn; in check_connection_used_by_others()
194 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
198 (conn->direction == CMP_OUTPUT) ? 'o' : 'i', in check_connection_used_by_others()
199 conn->pcr_index); in check_connection_used_by_others()
209 struct cmp_connection *conn; in snd_oxfw_stream_init_simplex() local
215 conn = &oxfw->out_conn; in snd_oxfw_stream_init_simplex()
219 conn = &oxfw->in_conn; in snd_oxfw_stream_init_simplex()
224 err = cmp_connection_init(conn, oxfw->unit, c_dir, 0); in snd_oxfw_stream_init_simplex()
231 cmp_connection_destroy(conn); in snd_oxfw_stream_init_simplex()
348 struct cmp_connection *conn; in snd_oxfw_stream_destroy_simplex() local
351 conn = &oxfw->out_conn; in snd_oxfw_stream_destroy_simplex()
353 conn = &oxfw->in_conn; in snd_oxfw_stream_destroy_simplex()
356 cmp_connection_destroy(conn); in snd_oxfw_stream_destroy_simplex()
362 struct cmp_connection *conn; in snd_oxfw_stream_update_simplex() local
365 conn = &oxfw->out_conn; in snd_oxfw_stream_update_simplex()
367 conn = &oxfw->in_conn; in snd_oxfw_stream_update_simplex()
369 if (cmp_connection_update(conn) < 0) in snd_oxfw_stream_update_simplex()