Home
last modified time | relevance | path

Searched refs:Length (Results 1 – 25 of 66) sorted by relevance

123

/device/board/unionman/unionpi_tiger/hardware/bt/src/
Dbt_skbuff.c100 RTK_BUFFER *RtbAllocate(uint32_t Length, uint32_t HeadRoom) in RtbAllocate() argument
111 uint32_t BufferLen = HeadRoom ? (Length + HeadRoom) : (Length + DEFAULT_HEADER_SIZE); in RtbAllocate()
118 Rtb->Tail = Rtb->End + Length; in RtbAllocate()
119 Rtb->Length = 0; in RtbAllocate()
155 uint8_t *RtbAddHead(RTK_BUFFER *RtkBuffer, uint32_t Length) in RtbAddHead() argument
157 if ((uint32_t)(RtkBuffer->Data - RtkBuffer->Head) >= Length) { in RtbAddHead()
158 RtkBuffer->Data -= Length; in RtbAddHead()
159 RtkBuffer->Length += Length; in RtbAddHead()
160 RtkBuffer->HeadRoom -= Length; in RtbAddHead()
172 unsigned char RtbRemoveHead(RTK_BUFFER *RtkBuffer, uint32_t Length) in RtbRemoveHead() argument
[all …]
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/src/
Dbt_skbuff.c102 RTK_BUFFER *RtbAllocate(uint32_t Length,uint32_t HeadRoom) in RtbAllocate() argument
114 uint32_t BufferLen = HeadRoom ? (Length + HeadRoom) : (Length + DEFAULT_HEADER_SIZE); in RtbAllocate()
122 Rtb->Tail = Rtb->End + Length; in RtbAllocate()
123 Rtb->Length = 0; in RtbAllocate()
163 uint8_t *RtbAddHead(RTK_BUFFER *RtkBuffer,uint32_t Length) in RtbAddHead() argument
166 if ((uint32_t)(RtkBuffer->Data - RtkBuffer->Head) >= Length) in RtbAddHead()
168 RtkBuffer->Data -= Length; in RtbAddHead()
169 RtkBuffer->Length += Length; in RtbAddHead()
170 RtkBuffer->HeadRoom -= Length; in RtbAddHead()
183 unsigned char RtbRemoveHead(RTK_BUFFER *RtkBuffer,uint32_t Length) in RtbRemoveHead() argument
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
Dprng.h46 #define prng(Buf,Length) contiki_prng_impl((Buf), (Length)) argument
63 #define prng(Buf,Length) lwip_prng_impl((Buf), (Length)) argument
112 #define prng(Buf,Length) coap_prng_impl((Buf), (Length)) argument
Dcoap_hashkey.h36 #define coap_hash(String,Length,Result) \ argument
37 coap_hash_impl((String),(Length),(Result))
/device/board/hisilicon/hispark_phoenix/peripherals/bluetooth/rtkbt/code/libbt-vendor/include/
Dbt_skbuff.h92 uint32_t Length; member
134 IN uint32_t Length,
173 IN uint32_t Length);
185 IN uint32_t Length);
197 IN uint32_t Length);
205 IN uint32_t Length);
/device/board/unionman/unionpi_tiger/hardware/bt/include/
Dbt_skbuff.h91 uint32_t Length; member
129 RTK_BUFFER *RtbAllocate(IN uint32_t Length, IN uint32_t HeadRoom);
155 uint8_t *RtbAddHead(IN OUT RTK_BUFFER *RtkBuffer, IN uint32_t Length);
164 unsigned char RtbRemoveHead(IN OUT RTK_BUFFER *RtkBuffer, IN uint32_t Length);
173 EXTERN uint8_t *RtbAddTail(IN OUT RTK_BUFFER *RtkBuffer, IN uint32_t Length);
178 EXTERN unsigned char RtbRemoveTail(IN OUT RTK_BUFFER *RtkBuffer, IN uint32_t Length);
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dwlan_bssdef.h43 u32 Length; /* Length of structure */ member
67 u8 Length; member
100 u32 Length; /* Length of this structure */ member
130 u32 Length; /* Length of structure */ member
152 u8 Length; member
184 u32 Length; /* Length of this structure */ member
232 u32 Length; member
Ddrv_types_xp.h81 u16 Length; member
Ddrv_types_ce.h79 u16 Length; member
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_btcoex.c624 pEvent->Length = len; in rtw_btcoex_send_event_to_BT()
627 tx_event_length = pEvent->Length + 2; in rtw_btcoex_send_event_to_BT()
702 pEvent->Length = len; in rtw_btcoex_parse_BT_info_notify_cmd()
705 tx_event_length = pEvent->Length + 2; in rtw_btcoex_parse_BT_info_notify_cmd()
753 pEvent->Length = len; in rtw_btcoex_parse_BT_patch_ver_info_cmd()
756 tx_event_length = pEvent->Length + 2; in rtw_btcoex_parse_BT_patch_ver_info_cmd()
801 pEvent->Length = len; in rtw_btcoex_parse_HCI_Ver_notify_cmd()
804 tx_event_length = pEvent->Length + 2; in rtw_btcoex_parse_HCI_Ver_notify_cmd()
843 pEvent->Length = len; in rtw_btcoex_parse_WIFI_scan_notify_cmd()
846 tx_event_length = pEvent->Length + 2; in rtw_btcoex_parse_WIFI_scan_notify_cmd()
[all …]
Drtw_tdls.c420 void rtw_tdls_process_ht_cap(_adapter *padapter, struct sta_info *ptdls_sta, u8 *data, u8 Length) in rtw_tdls_process_ht_cap() argument
431 if (data && Length >= sizeof(struct rtw_ieee80211_ht_cap)) { in rtw_tdls_process_ht_cap()
532 void rtw_tdls_process_vht_cap(_adapter *padapter, struct sta_info *ptdls_sta, u8 *data, u8 Length) in rtw_tdls_process_vht_cap() argument
542 if (data && Length == 12) { in rtw_tdls_process_vht_cap()
616 …rtw_tdls_process_vht_operation(_adapter *padapter, struct sta_info *ptdls_sta, u8 *data, u8 Length) in rtw_tdls_process_vht_operation() argument
636 …dls_process_vht_op_mode_notify(_adapter *padapter, struct sta_info *ptdls_sta, u8 *data, u8 Length) in rtw_tdls_process_vht_op_mode_notify() argument
1922 if (pIE->Length <= sizeof(supportRate)) { in On_TDLS_Setup_Req()
1923 _rtw_memcpy(supportRate, pIE->data, pIE->Length); in On_TDLS_Setup_Req()
1924 supportRateNum = pIE->Length; in On_TDLS_Setup_Req()
1930 if ((supportRateNum + pIE->Length) <= sizeof(supportRate)) { in On_TDLS_Setup_Req()
[all …]
/device/board/bearpi/bearpi_hm_nano/app/C4_e53_sc2_axis/src/
DE53_SC2.c78 static int MPU6050WriteBuffer(uint8_t Reg, uint8_t *pBuffer, uint16_t Length) in MPU6050WriteBuffer() argument
84 for (int j = 0; j < Length; j++) { in MPU6050WriteBuffer()
88 ret = IoTI2cWrite(WIFI_IOT_I2C_IDX_1, (MPU6050_ADDRESS << 1) | 0x00, send_data, Length + 1); in MPU6050WriteBuffer()
104 static int MPU6050ReadBuffer(uint8_t Reg, uint8_t *pBuffer, uint16_t Length) in MPU6050ReadBuffer() argument
112 mpu6050_i2c_data.receiveLen = Length; in MPU6050ReadBuffer()
/device/board/bearpi/bearpi_hm_nano/app/D9_iot_cloud_oc_manhole_cover/src/
DE53_SC2.c80 static int MPU6050WriteBuffer(uint8_t Reg, uint8_t *pBuffer, uint16_t Length) in MPU6050WriteBuffer() argument
86 for (int j = 0; j < Length; j++) { in MPU6050WriteBuffer()
90 ret = IoTI2cWrite(WIFI_IOT_I2C_IDX_1, (MPU6050_ADDRESS << 1) | 0x00, send_data, Length + 1); in MPU6050WriteBuffer()
108 static int MPU6050ReadBuffer(uint8_t Reg, uint8_t *pBuffer, uint16_t Length) in MPU6050ReadBuffer() argument
116 mpu6050_i2c_data.receiveLen = Length; in MPU6050ReadBuffer()
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Src/
Dstm32mp1xx_hal_tim_ex.c404 …usTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) in HAL_TIMEx_HallSensor_Start_DMA() argument
417 if (((uint32_t)pData == 0U) && (Length > 0U)) in HAL_TIMEx_HallSensor_Start_DMA()
441 …IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData, Length) != HAL_OK) in HAL_TIMEx_HallSensor_Start_DMA()
716 …AL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIMEx_OCN_Start_DMA() argument
729 if (((uint32_t)pData == 0U) && (Length > 0U)) in HAL_TIMEx_OCN_Start_DMA()
755 …IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
774 …IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
793 …IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
1124 …L_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIMEx_PWMN_Start_DMA() argument
1137 if (((uint32_t)pData == 0U) && (Length > 0U)) in HAL_TIMEx_PWMN_Start_DMA()
[all …]
Dstm32mp1xx_hal_dfsdm.c2016 uint32_t Length) in HAL_DFSDM_FilterRegularStart_DMA() argument
2024 if((pData == NULL) || (Length == 0U)) in HAL_DFSDM_FilterRegularStart_DMA()
2037 (Length != 1U)) in HAL_DFSDM_FilterRegularStart_DMA()
2059 (uint32_t) pData, Length) != HAL_OK) in HAL_DFSDM_FilterRegularStart_DMA()
2093 uint32_t Length) in HAL_DFSDM_FilterRegularMsbStart_DMA() argument
2101 if((pData == NULL) || (Length == 0U)) in HAL_DFSDM_FilterRegularMsbStart_DMA()
2114 (Length != 1U)) in HAL_DFSDM_FilterRegularMsbStart_DMA()
2136 (uint32_t) pData, Length) != HAL_OK) in HAL_DFSDM_FilterRegularMsbStart_DMA()
2437 uint32_t Length) in HAL_DFSDM_FilterInjectedStart_DMA() argument
2445 if((pData == NULL) || (Length == 0U)) in HAL_DFSDM_FilterInjectedStart_DMA()
[all …]
Dstm32mp1xx_hal_tim.c486 HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) in HAL_TIM_Base_Start_DMA() argument
499 if ((pData == NULL) && (Length > 0U)) in HAL_TIM_Base_Start_DMA()
521 …(htim->hdma[TIM_DMA_ID_UPDATE], (uint32_t)pData, (uint32_t)&htim->Instance->ARR, Length) != HAL_OK) in HAL_TIM_Base_Start_DMA()
938 …f HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIM_OC_Start_DMA() argument
951 if ((pData == NULL) && (Length > 0U)) in HAL_TIM_OC_Start_DMA()
977 …IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)pData, (uint32_t)&htim->Instance->CCR1, Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
997 …IT(htim->hdma[TIM_DMA_ID_CC2], (uint32_t)pData, (uint32_t)&htim->Instance->CCR2, Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1017 …IT(htim->hdma[TIM_DMA_ID_CC3], (uint32_t)pData, (uint32_t)&htim->Instance->CCR3, Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1036 …IT(htim->hdma[TIM_DMA_ID_CC4], (uint32_t)pData, (uint32_t)&htim->Instance->CCR4, Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1517 … HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIM_PWM_Start_DMA() argument
[all …]
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Src/
Dstm32f4xx_hal_tim_ex.c486 …usTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) in HAL_TIMEx_HallSensor_Start_DMA() argument
504 if ((pData == NULL) && (Length > 0U)) in HAL_TIMEx_HallSensor_Start_DMA()
531 …IT(htim->hdma[TIM_DMA_ID_CC1], (uint32_t)&htim->Instance->CCR1, (uint32_t)pData, Length) != HAL_OK) in HAL_TIMEx_HallSensor_Start_DMA()
869 …AL_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIMEx_OCN_Start_DMA() argument
884 if ((pData == NULL) && (Length > 0U)) in HAL_TIMEx_OCN_Start_DMA()
911 Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
932 Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
953 Length) != HAL_OK) in HAL_TIMEx_OCN_Start_DMA()
1350 …L_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIMEx_PWMN_Start_DMA() argument
1365 if ((pData == NULL) && (Length > 0U)) in HAL_TIMEx_PWMN_Start_DMA()
[all …]
Dstm32f4xx_hal_tim.c525 HAL_StatusTypeDef HAL_TIM_Base_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length) in HAL_TIM_Base_Start_DMA() argument
539 if ((pData == NULL) && (Length > 0U)) in HAL_TIM_Base_Start_DMA()
562 Length) != HAL_OK) in HAL_TIM_Base_Start_DMA()
1046 …f HAL_TIM_OC_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIM_OC_Start_DMA() argument
1061 if ((pData == NULL) && (Length > 0U)) in HAL_TIM_OC_Start_DMA()
1088 Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1110 Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1132 Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1153 Length) != HAL_OK) in HAL_TIM_OC_Start_DMA()
1709 … HAL_TIM_PWM_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length) in HAL_TIM_PWM_Start_DMA() argument
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/include/mesh/
Dglue.h350 size_t Length = length; in sys_memcpy_swap() local
352 __ASSERT(((src < dst && (src + Length) <= dst) || in sys_memcpy_swap()
353 (src > dst && (dst + Length) <= src)), in sys_memcpy_swap()
355 src_tmp += Length - 1; in sys_memcpy_swap()
357 for (; Length > 0; Length--) { in sys_memcpy_swap()
/device/soc/winnermicro/wm800/board/include/driver/
Dwm_adc.h200 void tls_adc_start_with_dma(int Channel, int Length);
313 void tls_adc_voltage_start_with_dma(int Length);
/device/soc/st/stm32f4xx/sdk/Drivers/STM32F4xx_HAL_Driver/Inc/
Dstm32f4xx_hal_tim_ex.h222 …sTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
242 …L_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
261 …_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
/device/soc/st/common/platform/stm32mp1xx_hal/STM32MP1xx_HAL_Driver/Inc/
Dstm32mp1xx_hal_tim_ex.h303 …sTypeDef HAL_TIMEx_HallSensor_Start_DMA(TIM_HandleTypeDef *htim, uint32_t *pData, uint16_t Length);
323 …L_TIMEx_OCN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
342 …_TIMEx_PWMN_Start_DMA(TIM_HandleTypeDef *htim, uint32_t Channel, uint32_t *pData, uint16_t Length);
Dstm32mp1xx_hal_dfsdm.h658 …FilterRegularStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length);
659 …terRegularMsbStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length);
665 …ilterInjectedStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int32_t *pData, uint32_t Length);
666 …erInjectedMsbStart_DMA(DFSDM_Filter_HandleTypeDef *hdfsdm_filter, int16_t *pData, uint32_t Length);
/device/soc/winnermicro/wm800/board/platform/drivers/adc/
Dwm_adc.c148 void tls_adc_start_with_dma(int Channel, int Length) in tls_adc_start_with_dma() argument
158 if (Length > ADC_DEST_BUFFER_SIZE) in tls_adc_start_with_dma()
161 len = Length; in tls_adc_start_with_dma()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/higv/include/
Dhi_gv_image.h30 HI_U32 Length; /* Length */ member

123