Lines Matching refs:conn
13 struct cmp_connection *conn; in init_stream() local
19 conn = &efw->out_conn; in init_stream()
23 conn = &efw->in_conn; in init_stream()
28 err = cmp_connection_init(conn, efw->unit, c_dir, 0); in init_stream()
35 cmp_connection_destroy(conn); in init_stream()
67 struct cmp_connection *conn; in start_stream() local
71 conn = &efw->out_conn; in start_stream()
73 conn = &efw->in_conn; in start_stream()
76 err = cmp_connection_establish(conn); in start_stream()
82 conn->resources.channel, conn->speed); in start_stream()
84 cmp_connection_break(conn); in start_stream()
106 struct cmp_connection *conn; in check_connection_used_by_others() local
111 conn = &efw->out_conn; in check_connection_used_by_others()
113 conn = &efw->in_conn; in check_connection_used_by_others()
115 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
119 (conn->direction == CMP_OUTPUT) ? 'o' : 'i', in check_connection_used_by_others()
120 conn->pcr_index); in check_connection_used_by_others()
163 struct cmp_connection *conn; in keep_resources() local
169 conn = &efw->out_conn; in keep_resources()
173 conn = &efw->in_conn; in keep_resources()
181 return cmp_connection_reserve(conn, amdtp_stream_get_max_payload(stream)); in keep_resources()