Lines Matching refs:conn
379 struct cmp_connection *conn; in check_connection_used_by_others() local
384 conn = &bebob->out_conn; in check_connection_used_by_others()
386 conn = &bebob->in_conn; in check_connection_used_by_others()
388 err = cmp_connection_check_used(conn, &used); in check_connection_used_by_others()
392 (conn->direction == CMP_OUTPUT) ? 'o' : 'i', in check_connection_used_by_others()
393 conn->pcr_index); in check_connection_used_by_others()
408 struct cmp_connection *conn; in start_stream() local
412 conn = &bebob->in_conn; in start_stream()
414 conn = &bebob->out_conn; in start_stream()
423 err = cmp_connection_establish(conn); in start_stream()
428 conn->resources.channel, conn->speed); in start_stream()
435 struct cmp_connection *conn; in init_stream() local
441 conn = &bebob->out_conn; in init_stream()
445 conn = &bebob->in_conn; in init_stream()
454 err = cmp_connection_init(conn, bebob->unit, dir_conn, 0); in init_stream()
460 cmp_connection_destroy(conn); in init_stream()
505 struct cmp_connection *conn; in keep_resources() local
511 conn = &bebob->out_conn; in keep_resources()
515 conn = &bebob->in_conn; in keep_resources()
522 return cmp_connection_reserve(conn, amdtp_stream_get_max_payload(stream)); in keep_resources()