summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/connection.h
diff options
context:
space:
mode:
authorBryan O'Donoghue <bryan.odonoghue@linaro.org>2015-10-15 16:10:42 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2015-10-15 11:31:08 -0700
commite7e2efc438ba721000ed4b747f159e41571570a7 (patch)
treeb45cfc454e67599876e3b777b2e34716543cfe5a /drivers/staging/greybus/connection.h
parent608ab2fe99396eff941256d7f0ae7b91438e6cc1 (diff)
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 */