Home
last modified time | relevance | path

Searched refs:buf (Results 1 – 20 of 20) sorted by relevance

/hal_ti-3.4.0/simplelink/source/ti/drivers/sd/
DSDSPI.c80 int_fast16_t SDSPI_read(SD_Handle handle, void *buf,
82 int_fast16_t SDSPI_write(SD_Handle handle, const void *buf,
87 static bool recvDataBlock(SPI_Handle handle, void *buf, uint32_t count);
92 static bool transmitDataBlock(SPI_Handle handle, void *buf, uint32_t count,
437 int_fast16_t SDSPI_read(SD_Handle handle, void *buf, int_fast32_t sector, in SDSPI_read() argument
465 recvDataBlock(object->spiHandle, buf, SD_SECTOR_SIZE)) { in SDSPI_read()
473 if (!recvDataBlock(object->spiHandle, buf, SD_SECTOR_SIZE)) { in SDSPI_read()
476 buf = (void *) (((uint32_t) buf) + SD_SECTOR_SIZE); in SDSPI_read()
502 int_fast16_t SDSPI_write(SD_Handle handle, const void *buf, in SDSPI_write() argument
529 transmitDataBlock(object->spiHandle, (void *) buf, SD_SECTOR_SIZE, in SDSPI_write()
[all …]
DSDHostCC32XX.c136 int_fast16_t SDHostCC32XX_read(SD_Handle handle, void *buf,
138 int_fast16_t SDHostCC32XX_write(SD_Handle handle, const void *buf,
537 int_fast16_t SDHostCC32XX_read(SD_Handle handle, void *buf, in SDHostCC32XX_read() argument
564 if (!(((uint32_t)buf) & 0x03)) { in SDHostCC32XX_read()
565 object->buffer = (uint32_t *)buf; in SDHostCC32XX_read()
608 (unsigned long *)buf); in SDHostCC32XX_read()
618 buf = (uint_least8_t *)buf + 4; in SDHostCC32XX_read()
665 int_fast16_t SDHostCC32XX_write(SD_Handle handle, const void *buf, in SDHostCC32XX_write() argument
702 if (!(((uint_fast32_t)buf) & 0x03)) { in SDHostCC32XX_write()
703 object->buffer = (uint32_t *)buf; in SDHostCC32XX_write()
[all …]
/hal_ti-3.4.0/simplelink/source/ti/drivers/
DSD.c145 int_fast16_t SD_read(SD_Handle handle, void *buf, in SD_read() argument
148 return (handle->fxnTablePtr->readFxn(handle, buf, sector, secCount)); in SD_read()
154 int_fast16_t SD_write(SD_Handle handle, const void *buf, in SD_write() argument
157 return (handle->fxnTablePtr->writeFxn(handle, buf, sector, secCount)); in SD_write()
DSD.h270 typedef int_fast16_t (*SD_ReadFxn) (SD_Handle handle, void *buf,
277 typedef int_fast16_t (*SD_WriteFxn) (SD_Handle handle, const void *buf,
479 extern int_fast16_t SD_read(SD_Handle handle, void *buf,
502 extern int_fast16_t SD_write(SD_Handle handle, const void *buf,
DCamera.h283 typedef void (*Camera_Callback) (Camera_Handle handle, void *buf,
DUART2.h328 typedef void (*UART2_Callback) (UART2_Handle handle, void *buf, size_t count,
DUART.h420 typedef void (*UART_Callback) (UART_Handle handle, void *buf, size_t count);
/hal_ti-3.4.0/simplelink/source/ti/drivers/dpl/
DSystemP.h52 extern int SystemP_snprintf(char *buf, size_t n, const char *format,...);
53 extern int SystemP_vsnprintf(char *buf, size_t n, const char *format, va_list va);
/hal_ti-3.4.0/simplelink/source/ti/drivers/net/wifi/
Dslnetifwifi.h802 int32_t SlNetIfWifi_recv(int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags);
861 int32_t SlNetIfWifi_recvFrom(int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags, …
910 int32_t SlNetIfWifi_send(int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t flags…
962 int32_t SlNetIfWifi_sendTo(int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t fla…
Dsl_socket.h1342 _i16 sl_Recv(_i16 sd, void *buf, _i16 len, _i16 flags);
1402 _i16 sl_RecvFrom(_i16 sd, void *buf, _i16 len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen…
1452 _i16 sl_Send(_i16 sd, const void *buf, _i16 len, _i16 flags);
1505 _i16 sl_SendTo(_i16 sd, const void *buf, _i16 len, _i16 flags, const SlSockAddr_t *to, SlSocklen_t …
/hal_ti-3.4.0/simplelink/source/ti/drivers/net/wifi/slnetif/
Dslnetifwifi.c323 int32_t SlNetIfWifi_recv(int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags) in SlNetIfWifi_recv() argument
326 return sl_Recv(sd, buf, len, flags); in SlNetIfWifi_recv()
335 int32_t SlNetIfWifi_recvFrom(int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags, … in SlNetIfWifi_recvFrom() argument
338 return sl_RecvFrom(sd, buf, len, flags, (SlSockAddr_t *)from, fromlen); in SlNetIfWifi_recvFrom()
347 int32_t SlNetIfWifi_send(int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t flags) in SlNetIfWifi_send() argument
350 return sl_Send(sd, buf, len, flags); in SlNetIfWifi_send()
359 int32_t SlNetIfWifi_sendTo(int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t fla… in SlNetIfWifi_sendTo() argument
362 return sl_SendTo(sd, buf, len, flags, (const SlSockAddr_t *)to, tolen); in SlNetIfWifi_sendTo()
/hal_ti-3.4.0/simplelink/source/ti/drivers/nvs/
DNVSSPI25X.c85 static int_fast16_t extFlashSpiWrite(const uint8_t *buf, size_t len);
86 static int_fast16_t extFlashSpiRead(uint8_t *buf, size_t len);
804 uint8_t buf; in extFlashWaitReady() local
812 ret = extFlashSpiRead(&buf,sizeof(buf)); in extFlashWaitReady()
819 if (!(buf & SPIFLASH_STATUS_BIT_BUSY)) { in extFlashWaitReady()
851 static int_fast16_t extFlashSpiWrite(const uint8_t *buf, size_t len) in extFlashSpiWrite() argument
861 if (buf == NULL) { in extFlashSpiWrite()
863 byte0 = *buf++; in extFlashSpiWrite()
876 masterTransaction.txBuf = (void*)buf; in extFlashSpiWrite()
885 static int_fast16_t extFlashSpiRead(uint8_t *buf, size_t len) in extFlashSpiRead() argument
[all …]
/hal_ti-3.4.0/simplelink/source/ti/net/
Dslnetif.h175 …int32_t (*sockRecv) (int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags…
176 …int32_t (*sockRecvFrom) (int16_t sd, void *sdContext, void *buf, uint32_t len, uint32_t flags…
177 …int32_t (*sockSend) (int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t…
178 …int32_t (*sockSendTo) (int16_t sd, void *sdContext, const void *buf, uint32_t len, uint32_t…
Dslnetsock.h1543 int32_t SlNetSock_recv(int16_t sd, void *buf, uint32_t len, uint32_t flags);
1583 int32_t SlNetSock_recvFrom(int16_t sd, void *buf, uint32_t len, uint32_t flags, SlNetSock_Addr_t *f…
1613 int32_t SlNetSock_send(int16_t sd, const void *buf, uint32_t len, uint32_t flags);
1650 int32_t SlNetSock_sendTo(int16_t sd, const void *buf, uint32_t len, uint32_t flags, const SlNetSock…
Dslnetsock.c1179 int32_t SlNetSock_recv(int16_t sd, void *buf, uint32_t len, uint32_t flags) in SlNetSock_recv() argument
1212 retVal = (netIf->ifConf)->sockRecv(realSd, sdContext, buf, len, flags); in SlNetSock_recv()
1224 int32_t SlNetSock_recvFrom(int16_t sd, void *buf, uint32_t len, uint32_t flags, SlNetSock_Addr_t *f… in SlNetSock_recvFrom() argument
1253 retVal = (netIf->ifConf)->sockRecvFrom(realSd, sdContext, buf, len, flags, from, fromlen); in SlNetSock_recvFrom()
1265 int32_t SlNetSock_send(int16_t sd, const void *buf, uint32_t len, uint32_t flags) in SlNetSock_send() argument
1298 retVal = (netIf->ifConf)->sockSend(realSd, sdContext, buf, len, flags); in SlNetSock_send()
1310 int32_t SlNetSock_sendTo(int16_t sd, const void *buf, uint32_t len, uint32_t flags, const SlNetSock… in SlNetSock_sendTo() argument
1339 retVal = (netIf->ifConf)->sockSendTo(realSd, sdContext, buf, len, flags, to, tolen); in SlNetSock_sendTo()
/hal_ti-3.4.0/simplelink/source/ti/drivers/spi/
DSPICC32XXDMA.c134 void *buf; in configDMA() local
172 buf = (void *) ((uint32_t) transaction->txBuf + in configDMA()
178 buf = hwAttrs->scratchBufPtr; in configDMA()
187 UDMA_MODE_BASIC, buf, (void *) (hwAttrs->baseAddr + MCSPI_O_TX0), in configDMA()
197 buf = (void *) ((uint32_t) transaction->rxBuf + in configDMA()
202 buf = hwAttrs->scratchBufPtr; in configDMA()
211 UDMA_MODE_BASIC, (void *) (hwAttrs->baseAddr + MCSPI_O_RX0), buf, in configDMA()
/hal_ti-3.4.0/simplelink/source/ti/drivers/uart2/
DUART2CC32XX.c618 unsigned char *buf = (unsigned char *)buffer; in UART2CC32XX_read() local
665 *buf++ = data & 0xFF; in UART2CC32XX_read()
767 unsigned char *buf = (unsigned char *)buffer; in UART2CC32XX_write() local
812 if (!UARTCharPutNonBlocking(hwAttrs->baseAddr, *buf)) { in UART2CC32XX_write()
815 buf++; in UART2CC32XX_write()
/hal_ti-3.4.0/simplelink/source/ti/drivers/uart/
DUARTCC32XXDMA.c541 int_fast32_t UARTCC32XXDMA_readPolling(UART_Handle handle, void *buf, in UARTCC32XXDMA_readPolling() argument
547 unsigned char *buffer = (unsigned char *)buf; in UARTCC32XXDMA_readPolling()
687 int_fast32_t UARTCC32XXDMA_writePolling(UART_Handle handle, const void *buf, in UARTCC32XXDMA_writePolling() argument
693 unsigned char *buffer = (unsigned char *)buf; in UARTCC32XXDMA_writePolling()
DUARTCC32XX.c635 int_fast32_t UARTCC32XX_readPolling(UART_Handle handle, void *buf, size_t size) in UARTCC32XX_readPolling() argument
640 unsigned char *buffer = (unsigned char *)buf; in UARTCC32XX_readPolling()
804 int_fast32_t UARTCC32XX_writePolling(UART_Handle handle, const void *buf, in UARTCC32XX_writePolling() argument
810 unsigned char *buffer = (unsigned char *)buf; in UARTCC32XX_writePolling()
/hal_ti-3.4.0/simplelink/source/ti/drivers/net/wifi/source/
Dsl_socket.c360 _i16 sl_RecvFrom(_i16 sd, void *buf, _i16 Len, _i16 flags, SlSockAddr_t *from, SlSocklen_t *fromlen) in sl_RecvFrom() argument
378 CmdExt.pRxPayload = (_u8 *)buf; in sl_RecvFrom()