diff options
author | Ge Bian <bian@google.com> | 2020-04-21 15:12:08 -0700 |
---|---|---|
committer | Ge Bian <bian@google.com> | 2020-04-21 15:21:03 -0700 |
commit | 4a7616e9026dbba5bec7c86af1f40ac2934523c2 (patch) | |
tree | eebe26b1dac91159b5073ff14cb0cd1efb8ed8ea /lwis_transaction.h | |
parent | 222f4165f5a5093b1ebecdee10bf08cc36f25a6f (diff) | |
download | lwis-4a7616e9026dbba5bec7c86af1f40ac2934523c2.tar.gz |
LWIS: Add Poll and SetBias to synchronous IO.
Bug: 153108965
Change-Id: Ic9161efa683f51711725364e685d5c3b3473723a
Diffstat (limited to 'lwis_transaction.h')
-rw-r--r-- | lwis_transaction.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lwis_transaction.h b/lwis_transaction.h index 2545ded..e0aba66 100644 --- a/lwis_transaction.h +++ b/lwis_transaction.h @@ -33,6 +33,9 @@ struct lwis_transaction_event_list { struct hlist_node node; }; +void lwis_entry_bias(struct lwis_io_entry *entry, uint64_t bias); +int lwis_entry_poll(struct lwis_device *lwis_dev, struct lwis_io_entry *entry); + int lwis_transaction_init(struct lwis_client *client); int lwis_transaction_client_flush(struct lwis_client *client); int lwis_transaction_client_cleanup(struct lwis_client *client); @@ -45,4 +48,4 @@ int lwis_transaction_event_trigger(struct lwis_client *client, int64_t event_id, bool in_irq); int lwis_transaction_cancel(struct lwis_client *client, int64_t id); -#endif /* LWIS_TRANSACTION_H_ */
\ No newline at end of file +#endif /* LWIS_TRANSACTION_H_ */ |