diff options
author | Josh Blum <josh@joshknows.com> | 2010-09-29 15:35:54 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-09-29 15:41:33 -0700 |
commit | 543a63648f11d0e502e897f3cd98667005580c9e (patch) | |
tree | dbd2ce144887b068e64196f1735791c73f623559 /host/include | |
parent | 302078474312ad87db69a9c06b63e3f8a0c19cd5 (diff) | |
download | uhd-543a63648f11d0e502e897f3cd98667005580c9e.tar.gz uhd-543a63648f11d0e502e897f3cd98667005580c9e.tar.bz2 uhd-543a63648f11d0e502e897f3cd98667005580c9e.zip |
usrp: transfer resize options and documentation
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/transport/usb_zero_copy.hpp | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/host/include/uhd/transport/usb_zero_copy.hpp b/host/include/uhd/transport/usb_zero_copy.hpp index 75232c22a..61bf380ba 100644 --- a/host/include/uhd/transport/usb_zero_copy.hpp +++ b/host/include/uhd/transport/usb_zero_copy.hpp @@ -45,16 +45,22 @@ public: * The underlying implementation may be platform specific. * * \param handle a device handle that uniquely identifying the device - * \param rx_endpoint an integer specifiying an IN endpoint number - * \param tx_endpoint an integer specifiying an OUT endpoint number - * \param buff_size total number of bytes of buffer space to allocate - * \param block_size number of bytes allocated for each I/O transaction + * \param recv_endpoint an integer specifiying an IN endpoint number + * \param send_endpoint an integer specifiying an OUT endpoint number + * \param recv_xfer_size the number of bytes for each receive transfer + * \param recv_num_xfers the number of simultaneous receive transfers + * \param send_xfer_size the number of bytes for each send transfer + * \param send_num_xfers the number of simultaneous send transfers */ - static sptr make(usb_device_handle::sptr handle, - unsigned int rx_endpoint, - unsigned int tx_endpoint, - size_t buff_size = 0, - size_t block_size = 0); + static sptr make( + usb_device_handle::sptr handle, + unsigned int recv_endpoint, + unsigned int send_endpoint, + size_t recv_xfer_size = 0, + size_t recv_num_xfers = 0, + size_t send_xfer_size = 0, + size_t send_num_xfers = 0 + ); }; }} //namespace |