diff options
| author | 2002-11-18 07:40:21 +0000 | |
|---|---|---|
| committer | 2002-11-18 07:40:21 +0000 | |
| commit | b9de121a85abef26f07da8d55530964eb9797f17 (patch) | |
| tree | 7321424534f5afcc1cf3671a9afff9dc567aa443 /src/raw1394_private.h | |
| parent | added missing arm.c from weihs branch (diff) | |
merged rawiso branch
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@93 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to '')
| -rw-r--r-- | src/raw1394_private.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/raw1394_private.h b/src/raw1394_private.h index 733feae..9c0b345 100644 --- a/src/raw1394_private.h +++ b/src/raw1394_private.h @@ -23,6 +23,20 @@ struct raw1394_handle { fcp_handler_t fcp_handler; iso_handler_t iso_handler[64]; + /* new ISO API */ + + /* memory mapping of the DMA buffer */ + unsigned char *iso_buffer; + unsigned long iso_buffer_bytes; + + /* status buffer, updated from _raw1394_iso_iterate() */ + struct raw1394_iso_status iso_status; + unsigned int iso_packets_dropped; + + /* user-supplied handlers */ + raw1394_iso_xmit_handler_t iso_xmit_handler; + raw1394_iso_recv_handler_t iso_recv_handler; + struct raw1394_request req; quadlet_t buffer[HBUF_SIZE/4]; /* 2048 */ }; @@ -33,6 +47,7 @@ struct sync_cb_data { }; int _raw1394_sync_cb(struct raw1394_handle*, struct sync_cb_data*, int); +int _raw1394_iso_iterate(raw1394handle_t handle); #define CLEAR_REQ(reqp) memset((reqp), 0, sizeof(struct raw1394_request)) |
