Home
last modified time | relevance | path

Searched refs:u16 (Results 1 – 25 of 146) sorted by relevance

123456

/AliOS-Things-master/components/SDL2/src/video/arm/
A Dpixman-arm-neon-asm.S236 vrshr.u16 q3, q0, #8
238 vrshr.u16 q2, q1, #8
270 vrshr.u16 q3, q0, #8
302 vmovn.u16 d24, q2
313 vsra.u16 q13, #5
314 vsra.u16 q14, #5
315 vsra.u16 q15, #5
316 vrshr.u16 q13, #5
317 vrshr.u16 q14, #5
318 vrshr.u16 q15, #5
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_sdio_host.h403 u16 Valid:1;
404 u16 End:1;
405 u16 Int:1;
407 u16 Act1:1;
408 u16 Act2:1;
415 u16 Len1;
419 u16 Len2;
770 u16 End:1;
771 u16 Int:1;
773 u16 Act1:1;
[all …]
A Drtl8721d_tim.h294 #define TIM_Channel_0 ((u16)0x0000)
295 #define TIM_Channel_1 ((u16)0x0001)
296 #define TIM_Channel_2 ((u16)0x0002)
297 #define TIM_Channel_3 ((u16)0x0003)
298 #define TIM_Channel_4 ((u16)0x0004)
299 #define TIM_Channel_5 ((u16)0x0005)
300 #define TIM_Channel_6 ((u16)0x0006)
301 #define TIM_Channel_7 ((u16)0x0007)
302 #define TIM_Channel_8 ((u16)0x0008)
303 #define TIM_Channel_9 ((u16)0x0009)
[all …]
A Drtl8721d_sdio.h152 _LONG_CALL_ VOID SDIO_INTConfig(u16 IntMask, u32 NewState);
154 _LONG_CALL_ u16 SDIO_RPWM2_Get(void);
156 _LONG_CALL_ void SDIO_CPWM2_Set(u16 Val, u32 Newstate);
157 _LONG_CALL_ u16 SDIO_RXBD_RPTR_Get(void);
158 _LONG_CALL_ void SDIO_RXBD_WPTR_Set(u16 Val);
159 _LONG_CALL_ u16 SDIO_TXBD_WPTR_Get(void);
160 _LONG_CALL_ void SDIO_TXBD_RPTR_Set(u16 Val);
A Dbasic_types.h68 #define u16 uint16_t macro
219 #define WAP16(x) ((u16)( \
220 (((u16)(x) & (u16)0x00ff) << 8) | \
221 (((u16)(x) & (u16)0xff00) >> 8)))
227 #define rtk_cpu_to_le16(x) ((u16)(x))
228 #define rtk_le16_to_cpu(x) ((u16)(x))
267 #define ReadEF2Byte(_ptr) EF2Byte(*((u16 *)(_ptr)))
274 #define WriteEF2Byte(_ptr, _val) (*((u16 *)(_ptr)))=EF2Byte(_val)
346 (EF2Byte(*((u16 *)(__pStart))))
363 *((u16 *)(__pStart)) = \
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/
A Drtl8721dhp_sdio.c51 u16 Temp = 0; in SDIO_Init()
94 u16 IntStatus; in SDIO_INTClear()
119 VOID SDIO_INTConfig(u16 IntMask, u32 NewState) in SDIO_INTConfig()
121 u16 IntMaskTmp = HAL_SDIO_READ16(REG_SPDIO_CPU_INT_MASK); in SDIO_INTConfig()
149 u16 SDIO_RPWM2_Get(void) in SDIO_RPWM2_Get()
177 void SDIO_CPWM2_Set(u16 Val, u32 Newstate) in SDIO_CPWM2_Set()
179 u16 Temp = HAL_SDIO_READ16(REG_SPDIO_CCPWM2); in SDIO_CPWM2_Set()
197 u16 SDIO_RXBD_RPTR_Get(void) in SDIO_RXBD_RPTR_Get()
208 void SDIO_RXBD_WPTR_Set(u16 Val) in SDIO_RXBD_WPTR_Set()
219 u16 SDIO_TXBD_WPTR_Get(void) in SDIO_TXBD_WPTR_Get()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/usb_otg/include/
A Dusb_ch9.h132 u16 wValue;
133 u16 wIndex;
134 u16 wLength;
194 u16 bcdUSB;
199 u16 idVendor;
200 u16 idProduct;
201 u16 bcdDevice;
247 u16 wTotalLength;
338 u16 bcdUSB;
399 u16 wTotalLength;
[all …]
A Dcdc.h56 u16 bcdCDC;
112 u16 wMaxSegmentSize;
113 u16 wNumberMCFilters;
123 u16 bcdVersion;
206 u16 wValue;
207 u16 wIndex;
208 u16 wLength;
A Dhcd.h76 u16 typeReq, u16 wValue, u16 wIndex,
77 char *buf, u16 wLength);
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/tools/
A Dchecksum-icc.c56 # define u16(x) (header[x] * 256 + header[x+1]) in read_one_file() macro
57 # define u32(x) (u16(x) * 65536 + u16(x+2)) in read_one_file()
58 u32(64), u16(24), u16(26), u16(28), u16(30), u16(32), u16(34), in read_one_file()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/hal_ext/
A Dqdec_api.h84u16 pc_maximum; /*!< The maximum value of the position counter. Value: 0 ~…
141 void qdec_set_pc_maximum (qdec_t *obj, u16 pc_maximum);
160 void qdec_set_filter_init (qdec_t *obj, BOOL filter_enable, u16 filter_time);
217 void qdec_set_position_compare_init (qdec_t *obj, BOOL en, u16 compare_value, qdec_irq_handler qdec…
248 void qdec_set_rotation_compare_init (qdec_t *obj, BOOL en, u16 compare_value, qdec_irq_handler qdec…
293 void qdec_set_velocity_measure_cnt_lowlmt_init (qdec_t *obj, BOOL en, u16 low_limit_cnt, qdec_irq_h…
304 void qdec_set_velocity_measure_cnt_uplmt_init (qdec_t *obj, BOOL en, u16 up_limit_cnt, qdec_irq_han…
360 u16 qdec_get_velocity_measure_cnt (qdec_t *obj);
368 float qdec_get_velocity_measure_cnt_rpm (qdec_t *obj, u16 velocity_cnt);
375 u16 qdec_get_position (qdec_t *obj);
[all …]
A Dcir_api.h194 u16 symbol01_us; /*!< Set the symbol01 duration */
225 u16 symbol01_us; /*!< Set the symbol01 duration */
226 u16 symbol02_us; /*!< Set the symbol02 duration */
227 u16 symbol03_us; /*!< Set the symbol03 duration */
228 u16 symbol04_us; /*!< Set the symbol04 duration */
229 u16 symbol05_us; /*!< Set the symbol05 duration */
230 u16 symbol06_us; /*!< Set the symbol06 duration */
231 u16 symbol07_us; /*!< Set the symbol07 duration */
232 u16 symbol08_us; /*!< Set the symbol08 duration */
341u16 symbol_time_tolerance_us, u16 carrier_tolerance_cnt, u16 check_frame_end_time_us,
[all …]
A Dspdio_api.h64 u16 size_allocated; //The actual allocated size
66 u16 buf_size;
88 char (*rx_done_cb)(void *priv, void* pbuf, u8 *pdata, u16 size, u8 type);
A Dchg_api.h33 void charger_sm(chg_t *obj, u16 cc, u16 cv);
/AliOS-Things-master/hardware/board/haaseduk1/drivers/sensor/
A Ddrv_acc_gyro_inv_mpu6050.c79 uint8_t MPU_Set_LPF(u16 lpf) in MPU_Set_LPF()
100 uint8_t MPU_Set_Rate(u16 rate) in MPU_Set_Rate()
157 raw = ((u16)buf[0] << 8) | buf[1]; in MPU_Get_Temperature()
171 *gx = ((u16)buf[0] << 8) | buf[1]; in MPU_Get_Gyroscope()
172 *gy = ((u16)buf[2] << 8) | buf[3]; in MPU_Get_Gyroscope()
173 *gz = ((u16)buf[4] << 8) | buf[5]; in MPU_Get_Gyroscope()
184 *ax = ((u16)buf[0] << 8) | buf[1]; in MPU_Get_Accelerometer()
185 *ay = ((u16)buf[2] << 8) | buf[3]; in MPU_Get_Accelerometer()
186 *az = ((u16)buf[4] << 8) | buf[5]; in MPU_Get_Accelerometer()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/inc/bluetooth/gap/
A Dbt_types.h490 #define LE_STREAM_TO_UINT16(u16, s) { \ argument
491 u16 = ((uint16_t)(*(s + 0)) << 0) + \
519 #define LE_UINT16_TO_STREAM(s, u16) { \ argument
520 *s++ = (uint8_t)((u16) >> 0); \
521 *s++ = (uint8_t)((u16) >> 8); \
545 #define LE_ARRAY_TO_UINT16(u16, a) { \ argument
546 u16 = ((uint16_t)(*(a + 0)) << 0) + \
571 #define LE_UINT16_TO_ARRAY(a, u16) { \ argument
572 *((uint8_t *)(a) + 0) = (uint8_t)((u16) >> 0); \
573 *((uint8_t *)(a) + 1) = (uint8_t)((u16) >> 8); \
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/hal/hal_test/spi/
A Dspi_flash.h29 void SPI_FLASH_PageWrite(u8* pBuffer, u32 WriteAddr, u16 NumByteToWrite);
30 void SPI_FLASH_BufferWrite(u8* pBuffer, u32 WriteAddr, u16 NumByteToWrite);
31 void SPI_FLASH_BufferRead(u8* pBuffer, u32 ReadAddr, u16 NumByteToRead);
41 u16 SPI_FLASH_SendHalfWord(u16 HalfWord);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/src/utils/
A Dcommon.h97 typedef UINT16 u16; typedef
109 typedef UINT16 u16; typedef
129 typedef unsigned short u16; typedef
143 typedef uint16_t u16;
249 (a)[0] = ((u16) (val)) >> 8; \
250 (a)[1] = ((u16) (val)) & 0xff; \
256 (a)[1] = ((u16) (val)) >> 8; \
382 #define bswap_16(a) ((((u16) (a) << 8) & 0xff00) | (((u16) (a) >> 8) & 0xff))
429 typedef u16 __bitwise be16;
430 typedef u16 __bitwise le16;
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/include/
A Dmonitor_rom.h13 _LONG_CALL_ extern u32 cmd_dump_word(u16 argc, u8 *argv[]);
14 _LONG_CALL_ extern u32 cmd_write_word(u16 argc, u8 *argv[]);
15 _LONG_CALL_ extern u32 cmd_flash(u16 argc, u8 *argv[]);
16 _LONG_CALL_ extern u32 cmd_efuse(u16 argc, u8 *argv[]);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/bluetooth/realtek/sdk/example/ble_central/
A Dble_central_at_cmd.c206 u16 start_handle; in ble_central_at_cmd_get()
207 u16 end_handle; in ble_central_at_cmd_get()
208 u16 uuid16; in ble_central_at_cmd_get()
366 u16 auth_flags = GAP_AUTHEN_BIT_BONDING_FLAG; in ble_central_at_cmd_auth()
370 u16 auth_sec_req_flags = GAP_AUTHEN_BIT_BONDING_FLAG; in ble_central_at_cmd_auth()
424 u16 handle; in ble_central_at_cmd_read()
425 u16 start_handle; in ble_central_at_cmd_read()
426 u16 end_handle; in ble_central_at_cmd_read()
429 u16 uuid16; in ble_central_at_cmd_read()
473 u16 handle; in ble_central_at_cmd_write()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/api/wifi/rtw_wpa_supplicant/wpa_supplicant/
A Dwifi_wps_config.h34 int wps_start(u16 wps_config, char *pin, u8 channel, char *ssid);
59 void wifi_start_ap_wps_thread(u16 config_methods, char *pin);
76 extern int wpas_wps_enrollee_init_probe_ie(u16 config_methods);
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/app/monitor/ram/
A Dmonitor_hp.c19 IN u16 argc,
25 IN u16 argc, in CmdShellSwitch()
41 IN u16 argc, in cmd_reboot()
89 IN u16 argc, in CmdTickPS()
137 IN u16 argc, in CmdRTC()
186 IN u16 argc, in CmdLogBuf()
205 u32 cmd_efuse_protect(u16 argc, u8 *argv[]) in cmd_efuse_protect()
318 IN u16 argc, in CmdCloseUltraLowPower()
333 IN u16 argc, in CmdTsfTest()
403 IN u16 argc, in CmdRamHelp()
A Dmonitor_lp.c17 IN u16 argc,
23 IN u16 argc, in CmdShellSwitch()
44 IN u16 argc, in cmd_reboot()
73 IN u16 argc, in CmdTickPS()
123 IN u16 argc, in CmdRTC()
205 u32 cmd_efuse_protect(u16 argc, u8 *argv[]) in cmd_efuse_protect()
323 IN u16 argc, in CmdCTC()
347 IN u16 argc, in CmdHsSdm32K()
427 IN u16 argc, in CmdRamHelp()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_tim.c309 void RTIM_CCxInit(RTIM_TypeDef* TIMx, TIM_CCInitTypeDef* TIM_CCInitStruct, u16 TIM_Channel) in RTIM_CCxInit()
347 void RTIM_CCRxMode(RTIM_TypeDef* TIMx, u16 TIM_Channel, u32 TIM_CCMode) in RTIM_CCRxMode()
376 void RTIM_CCRxSet(RTIM_TypeDef* TIMx, u32 Compare, u16 TIM_Channel) in RTIM_CCRxSet()
412 u32 RTIM_CCRxGet(RTIM_TypeDef* TIMx, u16 TIM_Channel) in RTIM_CCRxGet()
436 void RTIM_OCxPreloadConfig(RTIM_TypeDef* TIMx, u32 TIM_OCProtection, u16 TIM_Channel) in RTIM_OCxPreloadConfig()
471 void RTIM_CCxPolarityConfig(RTIM_TypeDef* TIMx, u32 TIM_OCPolarity, u16 TIM_Channel) in RTIM_CCxPolarityConfig()
504 void RTIM_CCxCmd(RTIM_TypeDef* TIMx, u16 TIM_Channel, u32 TIM_CCx) in RTIM_CCxCmd()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Dspdio_api.c62 u16 TXBDRPtr; /* The SDIO TX(Host->Device) BD read index */
72 u16 RXBDWPtr; /* The SDIO RX(Device->Host) BD write index */
90 s8 spdio_rx_done_cb(void *padapter, void *data, u16 offset, u16 pktsize, u8 type) in spdio_rx_done_cb()
119 u16 RxBdWrite=0; // to count how much RX_BD used in a Transaction in spdio_tx()
120 u16 RxBdRdPtr= pgSDIODev->RXBDRPtr; // RX_BD read pointer in spdio_tx()
132 if ((pgSDIODev->RXBDWPtr - RxBdRdPtr) >= (u16)(obj->tx_bd_num - needed_rxbd_num)) in spdio_tx()
134 if ((pgSDIODev->RXBDWPtr - RxBdRdPtr) >= (u16)(obj->tx_bd_num - (u32)MIN_RX_BD_SEND_PKT)) in spdio_tx()
143 if ((RxBdRdPtr - pgSDIODev->RXBDWPtr) <= (u16)needed_rxbd_num) in spdio_tx()
145 if ((RxBdRdPtr - pgSDIODev->RXBDWPtr) <= (u16)MIN_RX_BD_SEND_PKT) in spdio_tx()
260 volatile u16 TxBDWPtr=0; in SPDIO_TX_FIFO_DataReady()
[all …]

Completed in 48 milliseconds

123456