Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 16 of 16) sorted by relevance

/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_common/
A Drtl8721d_i2c.c493 I2Cx->IC_DATA_CMD = *(pBuf) | in I2C_MasterSendNullData()
514 I2Cx->IC_DATA_CMD = *(pBuf) | in I2C_MasterSend()
571 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 9); in I2C_MasterWrite()
575 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_MasterWrite()
604 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 9); in I2C_MasterWriteBrk()
608 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_MasterWriteBrk()
663 *pBuf++ = (u8)I2Cx->IC_DATA_CMD; in I2C_MasterReadDW()
669 *pBuf++ = (u8)I2Cx->IC_DATA_CMD; in I2C_MasterReadDW()
706 *pBuf++ = (u8)I2Cx->IC_DATA_CMD; in I2C_MasterRead()
736 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_SlaveWrite()
[all …]
A Drtl8721d_ir.c184 void IR_SendBuf(IR_TypeDef *IRx, u32 *pBuf, u32 len, u32 IsLastPacket) in IR_SendBuf() argument
192 IRx->IR_TX_FIFO = *pBuf++; in IR_SendBuf()
196 IRx->IR_TX_FIFO = *pBuf |IR_TX_DATA_END_MASK; in IR_SendBuf()
198 IRx->IR_TX_FIFO = *pBuf; in IR_SendBuf()
208 void IR_ReceiveBuf(IR_TypeDef *IRx, u32 *pBuf, u32 len) in IR_ReceiveBuf() argument
213 *pBuf++ = IRx->IR_RX_FIFO; in IR_ReceiveBuf()
A Drtl8721d_adc.c416 void ADC_ReceiveBuf(u16 *pBuf, u32 len) in ADC_ReceiveBuf() argument
424 pBuf[i] = ADC_Read(); in ADC_ReceiveBuf()
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/common/mbed/targets/hal/rtl8721d/
A Di2c_api.c48 void i2c_send_restart(I2C_TypeDef *I2Cx, u8* pBuf, u8 len, u8 restart);
58 u8 I2C_MasterRead_Patch(I2C_TypeDef *I2Cx, u8* pBuf, u8 len) in I2C_MasterRead_Patch() argument
80 *pBuf++ = (u8)I2Cx->IC_DATA_CMD; in I2C_MasterRead_Patch()
93 u8 I2C_MasterWrite_Patch(I2C_TypeDef *I2Cx, u8* pBuf, u8 len) in I2C_MasterWrite_Patch() argument
107 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 9); in I2C_MasterWrite_Patch()
111 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_MasterWrite_Patch()
168 *pBuf++ = (u8)I2Cx->IC_DATA_CMD; in I2C_MasterRead_TimeOut()
200 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 9); in I2C_MasterWrite_TimeOut()
204 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_MasterWrite_TimeOut()
609 I2Cx->IC_DATA_CMD = (*pBuf++) | (restart << 10); in i2c_send_restart()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/include/
A Drtl8721d_usi_i2c.h281 _LONG_CALL_ void USI_I2C_MasterSendNullData(USI_TypeDef *USIx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u…
282 _LONG_CALL_ void USI_I2C_MasterSend(USI_TypeDef *USIx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u8 I2CRe…
283 _LONG_CALL_ u8 USI_I2C_MasterWrite(USI_TypeDef *USIx, u8* pBuf, u8 len);
284 _LONG_CALL_ u8 USI_I2C_MasterRead(USI_TypeDef *USIx, u8* pBuf, u8 len);
294 _LONG_CALL_ void USI_I2C_SlaveWrite(USI_TypeDef *USIx, u8* pBuf, u8 len);
295 _LONG_CALL_ void USI_I2C_SlaveRead(USI_TypeDef *USIx, u8* pBuf, u8 len);
A Drtl8721d_i2c.h319 _LONG_CALL_ void I2C_MasterSendNullData(I2C_TypeDef *I2Cx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u8 I…
320 _LONG_CALL_ void I2C_MasterSend(I2C_TypeDef *I2Cx, u8* pBuf, u8 I2CCmd, u8 I2CStop, u8 I2CReSTR);
321 _LONG_CALL_ void I2C_MasterWrite(I2C_TypeDef *I2Cx, u8* pBuf, u8 len);
322 _LONG_CALL_ void I2C_MasterReadDW(I2C_TypeDef *I2Cx, u8* pBuf, u8 len);
323 _LONG_CALL_ u8 I2C_MasterRead(I2C_TypeDef *I2Cx, u8* pBuf, u8 len);
333 _LONG_CALL_ void I2C_SlaveWrite(I2C_TypeDef *I2Cx, u8* pBuf, u8 len);
334 _LONG_CALL_ void I2C_SlaveRead(I2C_TypeDef *I2Cx, u8* pBuf, u8 len);
A Drtl8721d_ir.h347 void IR_SendBuf(IR_TypeDef *IRx, u32 *pBuf, u32 len, u32 IsLastPacket);
348 void IR_ReceiveBuf(IR_TypeDef *IRx, u32 *pBuf, u32 len);
A Drtl8721d_adc.h300 _LONG_CALL_ void ADC_ReceiveBuf(u16 *pBuf, u32 len);
/AliOS-Things-master/components/SDL2/src/hidapi/android/
A Dhid.cpp273 jbyte *pBuf = env->GetByteArrayElements( array, NULL ); in NewByteArray() local
274 memcpy( pBuf, pData, nDataLen ); in NewByteArray()
275 env->ReleaseByteArrayElements( array, pBuf, 0 ); in NewByteArray()
512 m_vecData.emplace_back( pBuf, nBufSize ); in ProcessInput()
560 env->DeleteLocalRef( pBuf ); in SendOutputReport()
582 env->DeleteLocalRef( pBuf ); in SendFeatureReport()
596 m_featureReport.assign( pBuf, nBufSize ); in ProcessFeatureReport()
630 env->DeleteLocalRef( pBuf ); in GetFeatureReport()
953 jbyte *pBuf = env->GetByteArrayElements(value, NULL); in HID_DEVICE_MANAGER_JAVA_INTERFACE() local
963 env->ReleaseByteArrayElements(value, pBuf, 0); in HID_DEVICE_MANAGER_JAVA_INTERFACE()
[all …]
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/fwlib/ram_hp/
A Drtl8721dhp_usi_i2c.c475 USIx->TX_FIFO_WRITE = *(pBuf) | in USI_I2C_MasterSendNullData()
496 USIx->TX_FIFO_WRITE = *(pBuf) | in USI_I2C_MasterSend()
539 u8 USI_I2C_MasterWrite(USI_TypeDef *USIx, u8* pBuf, u8 len) in USI_I2C_MasterWrite() argument
554 USIx->TX_FIFO_WRITE = (*pBuf++) | (1 << 9); in USI_I2C_MasterWrite()
558 USIx->TX_FIFO_WRITE = (*pBuf++); in USI_I2C_MasterWrite()
579 u8 USI_I2C_MasterRead(USI_TypeDef *USIx, u8* pBuf, u8 len) in USI_I2C_MasterRead() argument
606 *pBuf++ = (u8)USIx->RX_FIFO_READ; in USI_I2C_MasterRead()
619 void USI_I2C_SlaveWrite(USI_TypeDef *USIx, u8* pBuf, u8 len) in USI_I2C_SlaveWrite() argument
636 USIx->TX_FIFO_WRITE = (*pBuf++); in USI_I2C_SlaveWrite()
648 void USI_I2C_SlaveRead(USI_TypeDef *USIx, u8* pBuf, u8 len) in USI_I2C_SlaveRead() argument
[all …]
/AliOS-Things-master/components/ble_host/bt_host/hci_driver/
A Dbt_skbuff.c376 RTK_BUFFER* pBuf; in RtbNodeIsLast() local
379 pBuf = (RTK_BUFFER*)RtkQueueHead->List.Prev; in RtbNodeIsLast()
380 if(pBuf == pRtkBuffer) in RtbNodeIsLast()
402 RTK_BUFFER* pBuf; in RtbQueueNextNode() local
404 pBuf = (RTK_BUFFER*)RtkQueueHead->List.Prev; in RtbQueueNextNode()
405 if(pBuf == pRtkBuffer) in RtbQueueNextNode()
410 pBuf = (RTK_BUFFER*)pRtkBuffer->List.Next; in RtbQueueNextNode()
412 return pBuf; ///< return next node after this node in RtbQueueNextNode()
A Dh4_driver.c127 uint8_t *pBuf; in h4_send() local
130 pBuf = aos_malloc(data_len); in h4_send()
131 if (pBuf == NULL) { in h4_send()
136 pBuf[0] = hcit_type[0]; in h4_send()
137 memcpy(pBuf+1, buf->data, buf->len); in h4_send()
139 BT_INFO("Send to driver: %s", bt_hex_real(pBuf, data_len)); in h4_send()
140 ret = tg_bt_hal_hcit_tx(pBuf, data_len, NULL); in h4_send()
141 aos_free(pBuf); in h4_send()
/AliOS-Things-master/components/SDL2/src/image/
A Dminiz.h1726 …t mz_uint8*)pSrc_buf + src_buf_ofs, &src_buf_size, (mz_uint8*)pBuf, pBuf ? (mz_uint8*)pBuf + *pOut… in tinfl_decompress_mem_to_heap()
1730 MZ_FREE(pBuf); *pOut_len = 0; return NULL; in tinfl_decompress_mem_to_heap()
1739 MZ_FREE(pBuf); *pOut_len = 0; return NULL; in tinfl_decompress_mem_to_heap()
1743 return pBuf; in tinfl_decompress_mem_to_heap()
3573 if ((buf_size) && (!pBuf)) in mz_zip_reader_extract_to_mem_no_alloc()
3713 void *pBuf; in mz_zip_reader_extract_to_heap() local
3735 pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); in mz_zip_reader_extract_to_heap()
3740 return pBuf; in mz_zip_reader_extract_to_heap()
4669 pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); in mz_zip_writer_add_from_zip_reader()
4704 pZip->m_pFree(pZip->m_pAlloc_opaque, pBuf); in mz_zip_writer_add_from_zip_reader()
[all …]
/AliOS-Things-master/hardware/chip/haas1000/drivers/services/bt_app/
A Dapp_rfcomm_mgr.h48 int8_t app_rfcomm_write(uint8_t instanceIndex, const uint8_t* pBuf, uint16_t length);
49 void app_rfcomm_read(uint8_t instanceIndex, uint8_t* pBuf, uint16_t* ptrLen);
/AliOS-Things-master/hardware/chip/rtl872xd/csi_driver/iic/
A Diic.c176 int32_t I2C_MasterRead_TimeOut(I2C_TypeDef *I2Cx, uint8_t* pBuf, uint8_t len, uint32_t timeout_ms) in I2C_MasterRead_TimeOut() argument
208 *pBuf++ = (uint8_t)I2Cx->IC_DATA_CMD; in I2C_MasterRead_TimeOut()
222 int32_t I2C_MasterWrite_TimeOut(I2C_TypeDef *I2Cx, uint8_t* pBuf, uint8_t len, uint32_t timeout_ms,… in I2C_MasterWrite_TimeOut() argument
238 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 9); in I2C_MasterWrite_TimeOut()
241 I2Cx->IC_DATA_CMD = (*pBuf++) | (1 << 10); in I2C_MasterWrite_TimeOut()
246 I2Cx->IC_DATA_CMD = (*pBuf++); in I2C_MasterWrite_TimeOut()
/AliOS-Things-master/components/SDL2/src/joystick/hidapi/
A DSDL_hidapi_switch.c376 SDL_memcpy(outPacket->rgucSubcommandData, pBuf, ucLen); in ConstructSubcommand()
381 static SDL_bool WritePacket(SDL_DriverSwitch_Context *ctx, void *pBuf, Uint8 ucLen) in WritePacket() argument
391 SDL_memcpy(rgucBuf, pBuf, ucLen); in WritePacket()
393 pBuf = rgucBuf; in WritePacket()
396 return (WriteOutput(ctx, (Uint8 *)pBuf, ucLen) >= 0); in WritePacket()
399 …d(SDL_DriverSwitch_Context *ctx, ESwitchSubcommandIDs ucCommandID, Uint8 *pBuf, Uint8 ucLen, Switc… in WriteSubcommand() argument
406 ConstructSubcommand(ctx, ucCommandID, pBuf, ucLen, &commandPacket); in WriteSubcommand()
421 …DriverSwitch_Context *ctx, ESwitchProprietaryCommandIDs ucCommand, Uint8 *pBuf, Uint8 ucLen, SDL_b… in WriteProprietary() argument
428 if ((!pBuf && ucLen > 0) || ucLen > sizeof(packet.rgucProprietaryData)) { in WriteProprietary()
434 if (pBuf) { in WriteProprietary()
[all …]

Completed in 61 milliseconds