summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/connection.h
diff options
context:
space:
mode:
authorBryan O'Donoghue2015-10-15 17:10:42 +0200
committerGreg Kroah-Hartman2015-10-15 20:31:08 +0200
commite7e2efc438ba721000ed4b747f159e41571570a7 (patch)
treeb45cfc454e67599876e3b777b2e34716543cfe5a /drivers/staging/greybus/connection.h
parentgreybus: es1,es2: add USB vendor command to timestamp (diff)
downloadkernel-qcow2-linux-e7e2efc438ba721000ed4b747f159e41571570a7.tar.gz
kernel-qcow2-linux-e7e2efc438ba721000ed4b747f159e41571570a7.tar.xz
kernel-qcow2-linux-e7e2efc438ba721000ed4b747f159e41571570a7.zip
greybus: connection: add latency tag enable/disable callbacks
This patch adds a layered wrapper around optional latency tag enable/disable commands to APBridge. When set APBridge and GPBridge will insert timing information into reserved fields in the loopback response header. Correspondingly when unset no timing information will be included in the response payload. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.h')
-rw-r--r--drivers/staging/greybus/connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/connection.h b/drivers/staging/greybus/connection.h
index 27ec5975bbe0..2eaf186ab60e 100644
--- a/drivers/staging/greybus/connection.h
+++ b/drivers/staging/greybus/connection.h
@@ -66,4 +66,7 @@ void greybus_data_rcvd(struct greybus_host_device *hd, u16 cport_id,
int gb_connection_bind_protocol(struct gb_connection *connection);
+void gb_connection_latency_tag_enable(struct gb_connection *connection);
+void gb_connection_latency_tag_disable(struct gb_connection *connection);
+
#endif /* __CONNECTION_H */