aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/usrp/b100/io_impl.cpp
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Apply clang-format against all .cpp and .hpp files in host/Martin Braun2020-03-031-91/+119
| | | | | Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against.
* uhd: Replace all occurrences of boost::bind with std::bindMartin Braun2019-11-261-13/+11
| | | | | | | | | | | | | | | | | | | | | Note: Replacing everything with a lambda would be even better, but that can't be easily scripted so we'll do this as a first step to reduce the Boost footprint. This also removes occurences of #include <boost/bind.hpp>, and makes sure all usages of std::bind have an #include <functional>. clang-format wasn't always applied to minimize the changeset in this commit, however, it was applied to the blocks of #includes. Due to conflicts with other Boost libraries, the placeholders _1, _2, etc. could not be directly used, but had to be explicitly called out (as std::placeholders::_1, etc.). This makes the use of std::bind even uglier, which serves as another reminder that using std::bind (and even more so, boost::bind) should be avoided. nirio/rpc/rpc_client.cpp still contains a reference to boost::bind. It was not possible to remove it by simply doing a search and replace, so it will be removed in a separate commit.
* uhd: Replace usage of boost smart pointers with C++11 counterpartsMartin Braun2019-11-261-11/+11
| | | | | | | | | | | | | | | | | | | This removes the following Boost constructs: - boost::shared_ptr, boost::weak_ptr - boost::enable_shared_from_this - boost::static_pointer_cast, boost::dynamic_pointer_cast The appropriate includes were also removed. All C++11 versions of these require #include <memory>. Note that the stdlib and Boost versions have the exact same syntax, they only differ in the namespace (boost vs. std). The modifications were all done using sed, with the exception of boost::scoped_ptr, which was replaced by std::unique_ptr. References to boost::smart_ptr were also removed. boost::intrusive_ptr is not removed in this commit, since it does not have a 1:1 mapping to a C++11 construct.
* uhd: Move internal headers to uhdlib/Martin Braun2018-03-141-4/+4
| | | | | | | | | | | | | | | | To avoid the proliferation of additional include directories and multiple ways of including project-local headers, we now default to moving all headers that are used across UHD into the uhdlib/ subdirectory. Some #include statements were also reordered as they were modified for closer compliance with the coding guidelines. Internal cpp source files should now include files like this: #include <uhdlib/rfnoc/ctrl_iface.hpp> Reviewed-by: Ashish Chaudhari <ashish.chaudhari@ettus.com>
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* utils: introduce new logging API and remove msg APIAndrej Rode2017-02-201-1/+1
|
* uhd: replace BOOST_FOREACH with C++11 range-based for loopAndrej Rode2017-02-101-2/+2
| | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development.
* Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵Martin Braun2016-11-081-2/+2
| | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that).
* b100: call demuxer realloc sidJosh Blum2013-07-191-0/+1
|
* uhd: added new calls to streamer object + support workJosh Blum2013-07-151-0/+3
| | | | | | | * The transmit streamer gives access to the async msg queue. * The receive streamer gives access to the issue stream cmd. * Supporting usrp implementation files updated. * Example applications updated to use this API.
* b100: switch to new packet demuxerJosh Blum2013-07-151-6/+2
|
* b100: additional flushing when rx streamer createdJosh Blum2013-02-191-0/+4
|
* b100: squashed host code for fifo control/timed commandsJosh Blum2012-07-021-70/+2
| | | | | This uses the new b100/e100 common core and FIFO control modules. Subsequent commit will be the compatible FPGA merge.
* uhd: added async md user payload and common utilsJosh Blum2012-02-141-15/+11
|
* b100: use frame boundary to calculate frame sizeJosh Blum2012-02-141-2/+2
|
* uhd: various tweaks for compiler warns and valgrindJosh Blum2012-02-091-1/+1
|
* dsp rework: implement 64 bit ticks, no secondsJosh Blum2012-02-061-4/+4
|
* b100/e100: unify rx/tx fifo clears into oneJosh Blum2012-02-041-3/+2
|
* b100: delete some unused registers from mapJosh Blum2012-02-041-3/+0
|
* dsp rework: work on usb wrapper for smaller packets, large lutsJosh Blum2012-02-021-7/+3
|
* b100: sc8 mode not implemented errorJosh Blum2012-02-011-0/+4
|
* B100: Modified TX send size to achieve 10.7Msps.Nick Foster2012-02-011-1/+1
|
* dsp rework: account for no sid used in tx vita pktJosh Blum2012-02-011-0/+1
|
* dsp rework: tx trailer, scaling work (peak)Josh Blum2012-01-311-0/+1
|
* dsp rework: work on scaling and args parsing on RX and TX dspJosh Blum2012-01-311-9/+4
| | | | | This simplified some copy pasta in the io_impl.cpp files, and adds a place for sc8 tx mode in the tx dsp core code.
* dsp rework: implemented new scalefactor in rx dsp coreJosh Blum2012-01-311-1/+1
|
* uhd: add samples per pkt option to rx streamerJosh Blum2012-01-261-1/+2
|
* uhd: flush transport for new rx streamersJosh Blum2012-01-231-1/+1
|
* usrp: added underflow_policy to tx streamer argsJosh Blum2011-12-201-0/+1
|
* UHD will now print 'L' whenever a late packet is transmitted.Ben Hilburn2011-12-121-0/+3
| | | | | This is similiar to printing 'U' and 'S'. This functionality is not yet supported on the USRP1.
* uhd: work with stream clearingJosh Blum2011-12-051-1/+2
| | | | | | | | dont clear when using the compat device API tx clear also resets expected seqnum tx clear on usrp2 resets flow control monitor
* usrp: clear dsp when making new streamerJosh Blum2011-11-211-0/+1
|
* usrp: parse rx stream args scalarJosh Blum2011-11-051-1/+2
|
* uhd: renamed convert markup to formatJosh Blum2011-11-031-6/+4
| | | | | | | | removed convert args added simd level got orc and neon updated
* b100: performed streamer API update to b100 implJosh Blum2011-11-031-86/+136
|
* B100: reset FPGA GPIF fifos correctly so no garbage data on startupNick Foster2011-08-241-2/+3
|
* uhd: replaced boost filesystem path with fs_path in property treeJosh Blum2011-07-221-2/+2
|
* usrp: added software scale factor adjustmentJosh Blum2011-07-081-0/+2
|
* usrp: handle frontend swapping if the first subdev is QI or QJosh Blum2011-07-041-2/+4
|
* usrp: created common code to demux an rx stream (b100, e100)Josh Blum2011-07-011-44/+8
|
* usrp: added validate_subdev_spec to all io_implsJosh Blum2011-07-011-3/+3
|
* b100: figured it out, endianess was set wrongJosh Blum2011-06-301-2/+2
|
* b100: made async callback safer, other tweaks (still issues)Josh Blum2011-06-301-0/+6
|
* b100: removed old impl files, moved async processing to io implJosh Blum2011-06-291-6/+41
|
* b100: got b100 into the properties tree like usrp2Josh Blum2011-06-291-63/+92
|
* b100: support for dual dspJosh Blum2011-06-161-49/+50
|
* b100: removed usrp prefix from filesJosh Blum2011-06-151-0/+210