亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? zl5011xtdm.c

?? Zalink50114----TDMoIP芯片驅(qū)動(dòng)源碼
?? C
?? 第 1 頁(yè) / 共 5 頁(yè)
字號(hào):
      par->osExclusionEnable = ZL5011X_TRUE;
   }

   return status;
}

/*******************************************************************************

 Function:
   zl5011xWanRxGetPayloadLength

 Description:
   Returns the payload length in bits and bytes of a context as it is currently.
   That is, if a context is in modification, the new payload length is returned.

 Inputs:
   zl5011xParams   Pointer to the structure for this device instance
   par            Pointer to the structure for configuration items. See below:

 Structure inputs:
   context        context to be used
   osExclusionEnable ZL5011X_TRUE to enable OS exclusion

 Structure outputs:
   lengthBits     payload length in bits
   lengthBytes    payload length in bytes

 Returns:
   zlStatusE

 Remarks:
   None

*******************************************************************************/

zlStatusE zl5011xWanRxGetPayloadLength(zl5011xParamsS *zl5011xParams,
      zl5011xWanRxGetPayloadLengthS *par)
{
   zlStatusE status = ZL5011X_OK;
   zl5011xBooleanE gotDevice = ZL5011X_FALSE;

   /* do some parameter checking */
   status = ZL5011X_CHECK_POINTERS(zl5011xParams, par);

   if (status == ZL5011X_OK)
   {
      status = ZL5011X_CHECK_RUNNING(zl5011xParams);
   }

   if ((status == ZL5011X_OK) && (par->osExclusionEnable == ZL5011X_TRUE))
   {
      /* get access to the device */
      status = zl5011xGetDevice(zl5011xParams, ZL5011X_GET_DEVICE_TIMEOUT_MODE);

      if (status == ZL5011X_OK)
      {
         gotDevice = ZL5011X_TRUE;
      }
   }

   /* check that the Wan Rx context is valid */
   if (status == ZL5011X_OK)
   {
      status = zl5011xContextCheckRx(zl5011xParams, par->context, ZL5011X_CHECK_CONTEXT_IN_USE);
   }

   /* main function code starts */

   if (status == ZL5011X_OK)
   {
      ZL5011X_TRACE_CONTEXT(ZL5011X_TDM_FN_ID, par->context,
            "zl5011xWanRxGetPayloadLength: ctxt %3d",
            par->context, 0, 0, 0, 0, 0);

      /* calculate the payload length before updating the context */
      if (zl5011xParams->wanIf.wanConnectionMode == ZL5011X_WAN_CONNECTION_UNFRAMED)
      {
         status = zl5011xWanCalcUnframedPayloadLengthEx(zl5011xParams->wanIf.clock.async.stream[par->context].streamFrequency,
               zl5011xParams->wanIf.plaCurrent.context[par->context].payloadFrames,
               zl5011xParams->wanIf.plaCurrent.context[par->context].payloadBytes,
               zl5011xParams->wanIf.wanBitStuffingEnabled,
               zl5011xParams->wanIf.plaCurrent.context[par->context].unframedForceMultiple64Bits,
               &(par->lengthBits), &(par->lengthBytes));
      }
      else
      {
         /* Framed mode. Calculate size from the numberOfFrames and number of channels per frame */
         par->lengthBytes = zl5011xParams->wanIf.plaCurrent.context[par->context].payloadFrames *
               zl5011xParams->wanIf.plaCurrent.context[par->context].numChannels;
         par->lengthBits = par->lengthBytes * 8;
      }
   }

   if (gotDevice == ZL5011X_TRUE)
   {
      if (status == ZL5011X_OK)
      {
         status = zl5011xReleaseDevice(zl5011xParams);
      }
      else
      {
         /* already have an error code, so don't overwrite it */
         (void)zl5011xReleaseDevice(zl5011xParams);
      }
   }

   return status;
}

/*******************************************************************************

 Function:
   zl5011xContextUpdateRxStructInit

 Description:
   Initialises structure used by zl5011xContextUpdateRx function.

 Inputs:
   zl5011xParams   Pointer to the structure for this device instance
   par            Pointer to the structure for configuration items.
                  See main function

 Returns:
   zlStatusE

 Remarks:
   None

*******************************************************************************/

zlStatusE zl5011xContextUpdateRxStructInit(zl5011xParamsS *zl5011xParams,
      zl5011xContextS *par)
{
   zlStatusE status = ZL5011X_OK;

   /* do some parameter checking */
   status = ZL5011X_CHECK_POINTERS(zl5011xParams, par);

   if (status == ZL5011X_OK)
   {
      ZL5011X_TRACE(ZL5011X_TDM_FN_ID,
            "zl5011xContextUpdateRxStructInit:",
            0, 0, 0, 0, 0, 0);

      par->context = (Uint32T)ZL5011X_INVALID_CONTEXT;
      par->osExclusionEnable = ZL5011X_TRUE;
   }

   return status;
}

/*******************************************************************************

 Function:
   zl5011xContextUpdateRx

 Description:
   Sets the payload size in bytes, based on the context configuration. The first
   channel is set up and the context update set.

 Inputs:
   zl5011xParams   Pointer to the structure for this device instance
   par            Pointer to the structure for configuration items. See below:

 Structure inputs:
   context        context to be used
   osExclusionEnable ZL5011X_TRUE to enable OS exclusion

 Structure outputs:
   None

 Returns:
   zlStatusE

 Remarks:
   None

*******************************************************************************/

zlStatusE zl5011xContextUpdateRx(zl5011xParamsS *zl5011xParams,
      zl5011xContextS *par)
{
   zlStatusE status = ZL5011X_OK;
   zl5011xWanRxGetPayloadLengthS payloadLength;
   zl5011xBooleanE gotDevice = ZL5011X_FALSE;

   /* do some parameter checking */
   status = ZL5011X_CHECK_POINTERS(zl5011xParams, par);

   if (status == ZL5011X_OK)
   {
      status = ZL5011X_CHECK_RUNNING(zl5011xParams);
   }

   if ((status == ZL5011X_OK) && (par->osExclusionEnable == ZL5011X_TRUE))
   {
      /* get access to the device */
      status = zl5011xGetDevice(zl5011xParams, ZL5011X_GET_DEVICE_TIMEOUT_MODE);

      if (status == ZL5011X_OK)
      {
         gotDevice = ZL5011X_TRUE;
      }
   }

   /* check that the Wan Rx context is valid */
   if (status == ZL5011X_OK)
   {
      status = zl5011xContextCheckRx(zl5011xParams, par->context, ZL5011X_CHECK_CONTEXT_MODIFY);
   }

   /* main function code starts */

   if (status == ZL5011X_OK)
   {
      ZL5011X_TRACE_CONTEXT(ZL5011X_TDM_FN_ID, par->context,
            "zl5011xContextUpdateRx: ctxt %3d",
            par->context, 0, 0, 0, 0, 0);

      status = zl5011xWanRxGetPayloadLengthStructInit(zl5011xParams, &payloadLength);

      payloadLength.context = par->context;
      payloadLength.osExclusionEnable = ZL5011X_FALSE;

      if (status == ZL5011X_OK)
      {
         status = zl5011xWanRxGetPayloadLength(zl5011xParams, &payloadLength);
      }
   }

   if (status == ZL5011X_OK)
   {
      /* set the payload length */
      status = zl5011xPlaSetPayloadLength(zl5011xParams, par->context, payloadLength.lengthBytes);
   }

   /* update the first channel for the context */
   if (status == ZL5011X_OK)
   {
      status = zl5011xPlaUpdateFirstChan(zl5011xParams, par->context);
   }

   /* update the context */
   if (status == ZL5011X_OK)
   {
      status = zl5011xPlaUpdateContext(zl5011xParams, par->context);
   }

   if (gotDevice == ZL5011X_TRUE)
   {
      if (status == ZL5011X_OK)
      {
         status = zl5011xReleaseDevice(zl5011xParams);
      }
      else
      {
         /* already have an error code, so don't overwrite it */
         (void)zl5011xReleaseDevice(zl5011xParams);
      }
   }

   return status;
}

/*******************************************************************************

 Function:
   zl5011xContextUpdateTxStructInit

 Description:
   Initialises structure used by zl5011xContextUpdateTx function.

 Inputs:
   zl5011xParams   Pointer to the structure for this device instance
   par            Pointer to the structure for configuration items.
                  See main function

 Returns:
   zlStatusE

 Remarks:
   None

*******************************************************************************/

zlStatusE zl5011xContextUpdateTxStructInit(zl5011xParamsS *zl5011xParams,
      zl5011xContextS *par)
{
   zlStatusE status = ZL5011X_OK;

   /* do some parameter checking */
   status = ZL5011X_CHECK_POINTERS(zl5011xParams, par);

   if (status == ZL5011X_OK)
   {
      ZL5011X_TRACE(ZL5011X_TDM_FN_ID,
            "zl5011xContextUpdateTxStructInit:",
            0, 0, 0, 0, 0, 0);

      par->context = (Uint32T)ZL5011X_INVALID_CONTEXT;
      par->osExclusionEnable = ZL5011X_TRUE;
   }

   return status;
}

/*******************************************************************************

 Function:
   zl5011xContextUpdateTx

 Description:
   The first channel is updated and the context updated. If the context is in
   the INIT state, then the queue is resumed (started).
   If in unstructured mode, the stream clock is enabled (to the nominal
   frequency) if it has not already been done.
   If in structured mode, the channel tri-states are updated.

 Inputs:
   zl5011xParams   Pointer to the structure for this device instance
   par            Pointer to the structure for configuration items. See below:

 Structure inputs:
   context        context to be used
   osExclusionEnable ZL5011X_TRUE to enable OS exclusion

 Structure outputs:
   None

 Returns:
   zlStatusE

 Remarks:
   None

*******************************************************************************/

zlStatusE zl5011xContextUpdateTx(zl5011xParamsS *zl5011xParams,
      zl5011xContextS *par)
{
   zlStatusE status = ZL5011X_OK;
   zl5011xBooleanE firstUpdate = ZL5011X_FALSE;
   Uint32T loop;
   zl5011xBooleanE gotDevice = ZL5011X_FALSE;

   /* do some parameter checking */
   status = ZL5011X_CHECK_POINTERS(zl5011xParams, par);

   if (status == ZL5011X_OK)
   {
      status = ZL5011X_CHECK_RUNNING(zl5011xParams);
   }

   if ((status == ZL5011X_OK) && (par->osExclusionEnable == ZL5011X_TRUE))
   {
      /* get access to the device */
      status = zl5011xGetDevice(zl5011xParams, ZL5011X_GET_DEVICE_TIMEOUT_MODE);

      if (status == ZL5011X_OK)
      {
         gotDevice = ZL5011X_TRUE;
      }
   }

   /* check that the Wan Tx context is valid */
   if (status == ZL5011X_OK)
   {
      status = zl5011xContextCheckTx(zl5011xParams, par->context, ZL5011X_CHECK_CONTEXT_MODIFY);
   }

   /* main function code starts */

   if (status == ZL5011X_OK)
   {
      ZL5011X_TRACE_CONTEXT(ZL5011X_TDM_FN_ID, par->context,
            "zl5011xContextUpdateTx: ctxt %3d",
            par->context, 0, 0, 0, 0, 0);

      if (zl5011xParams->wanIf.tfmCurrent.context[par->context].state == ZL5011X_STATE_INIT)
      {
         firstUpdate = ZL5011X_TRUE;
      }

      /* update the first channel for the context */
      status = zl5011xTfmUpdateFirstChan(zl5011xParams, par->context);
   }

   /* update the context */
   if (status == ZL5011X_OK)
   {
      if (zl5011xParams->wanIf.txQueue[par->context].queueInitialised != ZL5011X_TRUE)
      {
         status = ZL5011X_WAN_QUEUE_NOT_INIT;
      }
      else
      {
         status = zl5011xTfmUpdateContext(zl5011xParams, par->context);
      }
   }

   /* if this is a new context, then need to resume the queue */
   if (status == ZL5011X_OK)
   {
      if (firstUpdate == ZL5011X_TRUE)
      {
         status = zl5011xTfqResume(zl5011xParams, par->cont

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成年人网站在线观看| 欧美成人高清电影在线| 国产午夜精品福利| 国内外精品视频| 久久先锋影音av| 国产一区91精品张津瑜| 久久综合久久综合久久| 黄页视频在线91| 久久婷婷综合激情| 国产成人激情av| 国产精品国产精品国产专区不蜜| 国产成人小视频| 亚洲国产精品精华液ab| 国产在线精品免费| 久久久久久夜精品精品免费| 国产精品18久久久久久久久| 国产人妖乱国产精品人妖| 粉嫩av一区二区三区在线播放 | 国产精品欧美经典| 成人ar影院免费观看视频| 日韩一区在线播放| 99久久精品国产网站| 亚洲精品乱码久久久久| 欧洲亚洲国产日韩| 免费人成黄页网站在线一区二区| 日韩欧美专区在线| 国产电影精品久久禁18| 亚洲日本护士毛茸茸| 欧美无人高清视频在线观看| 青草av.久久免费一区| 久久综合九色综合欧美98| 国产福利一区二区| 一区二区三区久久| 欧美成人一区二区三区片免费| 成人性视频网站| 一区二区在线看| 日韩一级片网站| 成人激情免费网站| 亚洲一二三区在线观看| 精品理论电影在线观看| 91影院在线免费观看| 日韩av中文在线观看| 国产欧美日韩综合| 欧美日韩精品欧美日韩精品一 | 日韩一区二区在线看| 国产一区二区免费看| 亚洲欧美另类小说视频| 日韩视频永久免费| 91日韩一区二区三区| 青青草国产成人av片免费| 国产精品成人免费| 日韩欧美在线网站| 一本高清dvd不卡在线观看| 久久99久久久欧美国产| 亚洲美女免费在线| 久久亚洲一区二区三区明星换脸| 色综合中文字幕国产 | 精品福利二区三区| 91精彩视频在线观看| 国产一区二区三区在线观看精品| 亚洲猫色日本管| 久久久亚洲综合| 欧美日韩精品一区二区三区四区 | 精品久久国产老人久久综合| 色呦呦一区二区三区| 国产一区二区三区av电影| 亚洲gay无套男同| 综合久久综合久久| 久久久99久久| 日韩欧美国产午夜精品| 在线视频一区二区三区| www.视频一区| 国产精品 欧美精品| 久久精品久久99精品久久| 亚洲国产中文字幕在线视频综合| 国产精品高潮久久久久无| 精品久久久久av影院 | 欧美日韩在线三级| 99久久精品国产网站| 国产成人啪免费观看软件| 久久精品国产精品亚洲红杏| 亚洲电影视频在线| 亚洲精品免费在线| 中文字幕一区二区三区精华液| 亚洲精品在线观看网站| 日韩欧美国产三级电影视频| 在线播放欧美女士性生活| 欧美日韩一区中文字幕| 一本到三区不卡视频| 97久久精品人人澡人人爽| 国产成人亚洲综合a∨婷婷图片 | 免费的成人av| 日本不卡123| 爽爽淫人综合网网站| 亚洲综合一区二区精品导航| 亚洲欧美日韩一区二区三区在线观看| 国产色产综合产在线视频| 久久伊人蜜桃av一区二区| 亚洲精品一区二区在线观看| 精品国产成人系列| 久久久久亚洲蜜桃| 中文字幕精品一区二区精品绿巨人 | 激情深爱一区二区| 蜜芽一区二区三区| 久久国产麻豆精品| 极品瑜伽女神91| 国产综合久久久久久鬼色| 精品一区二区三区影院在线午夜| 激情综合色综合久久| 国产一区二区三区综合| 国产成人久久精品77777最新版本| 国产成人av在线影院| 99精品久久免费看蜜臀剧情介绍| 一本久久a久久精品亚洲| 欧美午夜影院一区| 欧美一区二区三区小说| 精品国产一区二区亚洲人成毛片 | 国产精品久久久久婷婷| 国产精品成人午夜| 一区二区三区四区激情 | 成人在线一区二区三区| 99国产精品久久久久| 欧美在线视频全部完| 欧美一级二级在线观看| 2020国产精品自拍| 国产精品成人免费在线| 五月天激情综合| 国产伦精品一区二区三区免费| 成人av在线影院| 欧美日本视频在线| 久久亚洲春色中文字幕久久久| **网站欧美大片在线观看| 亚洲自拍偷拍九九九| 久久精品国产精品亚洲综合| 国产aⅴ综合色| 欧美片在线播放| 国产丝袜欧美中文另类| 亚洲已满18点击进入久久| 麻豆精品一区二区| 99久久国产综合精品色伊| 欧美伦理视频网站| 国产精品第一页第二页第三页| 亚洲一区二区在线免费观看视频| 久久成人久久爱| 91在线视频播放地址| 日韩精品专区在线影院观看| 中文字幕一区二区三区四区 | 一区二区三区在线免费观看| 理论片日本一区| 99国产精品久久久久久久久久久| 91麻豆精品国产无毒不卡在线观看| 久久久久久免费| 亚洲国产另类精品专区| 国产福利电影一区二区三区| 欧美夫妻性生活| 亚洲日穴在线视频| 国产高清亚洲一区| 欧美一级二级在线观看| 亚洲综合成人网| caoporm超碰国产精品| 欧美一级爆毛片| 亚洲在线视频网站| 岛国av在线一区| 亚洲精品一线二线三线无人区| 亚洲线精品一区二区三区八戒| 成人免费高清视频在线观看| 日韩欧美亚洲国产另类| 亚洲图片自拍偷拍| 精品国产乱码91久久久久久网站| 亚洲精品欧美激情| 国产99久久久国产精品| 精品日韩欧美一区二区| 亚洲r级在线视频| 色妹子一区二区| 国产精品素人一区二区| 国产一区视频导航| 日韩女优电影在线观看| 亚洲chinese男男1069| 色成年激情久久综合| 国产精品一区二区在线看| 91精品国产aⅴ一区二区| 亚洲一二三区在线观看| 91久久精品国产91性色tv | 日韩av中文字幕一区二区三区| 色狠狠综合天天综合综合| 国产精品乱码妇女bbbb| 国产成人综合网站| 欧美韩国日本不卡| 国产99一区视频免费| 日本一区二区三区国色天香| 国产精品一区二区不卡| 久久久久久一二三区| 国产伦精一区二区三区| 久久久www成人免费毛片麻豆 | 国产制服丝袜一区| 337p粉嫩大胆色噜噜噜噜亚洲 | 午夜欧美在线一二页| 欧美视频中文字幕| 亚洲一区在线观看视频| 色婷婷久久99综合精品jk白丝|