Commit fff536a0 authored by Federico Vaga's avatar Federico Vaga

demos:s[pv]ec: replace WRNC with TRTL in comments

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 726bc123
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* Description of a fmc-spec-carrier device * Description of a fmc-spec-carrier device
*/ */
struct spec_desc { struct spec_desc {
struct trtl_dev *trtl; /**< WRNC device associated */ struct trtl_dev *trtl; /**< TRTL device associated */
uint32_t dev_id; /**< fmc device id */ uint32_t dev_id; /**< fmc device id */
uint32_t app_id; /**< Application id */ uint32_t app_id; /**< Application id */
uint32_t n_cpu; /**< Number of CPUs */ uint32_t n_cpu; /**< Number of CPUs */
......
...@@ -49,7 +49,7 @@ const char *spec_strerror(unsigned int err) ...@@ -49,7 +49,7 @@ const char *spec_strerror(unsigned int err)
* Initialize the SPEC library. It must be called before doing * Initialize the SPEC library. It must be called before doing
* anything else. * anything else.
* This library is based on the libmockturtle, so internally, this function also * This library is based on the libmockturtle, so internally, this function also
* run spec_init() in order to initialize the WRNC library. * run spec_init() in order to initialize the TRTL library.
* @return 0 on success, otherwise -1 and errno is appropriately set * @return 0 on success, otherwise -1 and errno is appropriately set
*/ */
int spec_init() int spec_init()
...@@ -118,10 +118,10 @@ void spec_close(struct spec_node *dev) ...@@ -118,10 +118,10 @@ void spec_close(struct spec_node *dev)
/** /**
* Return the WRNC token in order to allows users to run * Return the TRTL token in order to allows users to run
* functions from the WRNC library * functions from the TRTL library
* @param[in] dev device token * @param[in] dev device token
* @return the WRNC token * @return the TRTL token
*/ */
struct trtl_dev *spec_get_trtl_dev(struct spec_node *dev) struct trtl_dev *spec_get_trtl_dev(struct spec_node *dev)
{ {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
* Description of a fmc-svec-carrier device * Description of a fmc-svec-carrier device
*/ */
struct svec_desc { struct svec_desc {
struct trtl_dev *trtl; /**< WRNC device associated */ struct trtl_dev *trtl; /**< TRTL device associated */
uint32_t dev_id; /**< fmc device id */ uint32_t dev_id; /**< fmc device id */
uint32_t app_id; /**< Application id */ uint32_t app_id; /**< Application id */
uint32_t n_cpu; /**< Number of CPUs */ uint32_t n_cpu; /**< Number of CPUs */
......
...@@ -39,7 +39,7 @@ const char *svec_strerror(unsigned int err) ...@@ -39,7 +39,7 @@ const char *svec_strerror(unsigned int err)
* Initialize the SVEC library. It must be called before doing * Initialize the SVEC library. It must be called before doing
* anything else. * anything else.
* This library is based on the libmockturtle, so internally, this function also * This library is based on the libmockturtle, so internally, this function also
* run svec_init() in order to initialize the WRNC library. * run svec_init() in order to initialize the TRTL library.
* @return 0 on success, otherwise -1 and errno is appropriately set * @return 0 on success, otherwise -1 and errno is appropriately set
*/ */
int svec_init() int svec_init()
...@@ -108,10 +108,10 @@ void svec_close(struct svec_node *dev) ...@@ -108,10 +108,10 @@ void svec_close(struct svec_node *dev)
/** /**
* Return the WRNC token in order to allows users to run * Return the TRTL token in order to allows users to run
* functions from the WRNC library * functions from the TRTL library
* @param[in] dev device token * @param[in] dev device token
* @return the WRNC token * @return the TRTL token
*/ */
struct trtl_dev *svec_get_trtl_dev(struct svec_node *dev) struct trtl_dev *svec_get_trtl_dev(struct svec_node *dev)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment