diff options
| author | 2007-02-14 05:29:18 +0000 | |
|---|---|---|
| committer | 2007-02-14 05:29:18 +0000 | |
| commit | fa981a8b96ec3d09385a0b14b4342e574b7bbe29 (patch) | |
| tree | 512bc4640fd1f1501d4c2af09469224d881f07b9 /src/kernel-raw1394.h | |
| parent | bugfix segfault in raw1394_iso_shutdown on no iso activity due to not initial... (diff) | |
added raw1394_read_cycle_timer, contributed by Pieter Palmers
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@169 53a565d1-3bb7-0310-b661-cf11e63c67ab
Diffstat (limited to 'src/kernel-raw1394.h')
| -rw-r--r-- | src/kernel-raw1394.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/kernel-raw1394.h b/src/kernel-raw1394.h index cd4fc47..318f612 100644 --- a/src/kernel-raw1394.h +++ b/src/kernel-raw1394.h @@ -177,4 +177,14 @@ struct raw1394_iso_status { __s16 xmit_cycle; }; +/* argument to RAW1394_IOC_GET_CYCLE_TIMER ioctl */ +struct raw1394_cycle_timer { + /* contents of Isochronous Cycle Timer register, + as in OHCI 1.1 clause 5.13 (also with non-OHCI hosts) */ + __u32 cycle_timer; + + /* local time in microseconds since Epoch, + simultaneously read with cycle timer */ + __u64 local_time; +}; #endif /* IEEE1394_RAW1394_H */ |
