|
@@ -7,6 +7,11 @@
|
|
|
|
|
|
struct fw_unit;
|
|
|
|
|
|
+enum cmp_direction {
|
|
|
+ CMP_INPUT = 0,
|
|
|
+ CMP_OUTPUT,
|
|
|
+};
|
|
|
+
|
|
|
/**
|
|
|
* struct cmp_connection - manages an isochronous connection to a device
|
|
|
* @speed: the connection's actual speed
|
|
@@ -26,10 +31,12 @@ struct cmp_connection {
|
|
|
__be32 last_pcr_value;
|
|
|
unsigned int pcr_index;
|
|
|
unsigned int max_speed;
|
|
|
+ enum cmp_direction direction;
|
|
|
};
|
|
|
|
|
|
int cmp_connection_init(struct cmp_connection *connection,
|
|
|
struct fw_unit *unit,
|
|
|
+ enum cmp_direction direction,
|
|
|
unsigned int pcr_index);
|
|
|
void cmp_connection_destroy(struct cmp_connection *connection);
|
|
|
|