Home
last modified time | relevance | path

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

12

/hal_infineon-latest/mtb-pdl-cat1/drivers/source/
Dcy_scb_common.c61 uint8_t *buf = (uint8_t *) buffer; in Cy_SCB_ReadArrayNoCheck() local
66 buf[idx] = (uint8_t) Cy_SCB_ReadRxFifo(base); in Cy_SCB_ReadArrayNoCheck()
71 uint16_t *buf = (uint16_t *) buffer; in Cy_SCB_ReadArrayNoCheck() local
76 buf[idx] = (uint16_t) Cy_SCB_ReadRxFifo(base); in Cy_SCB_ReadArrayNoCheck()
84 uint8_t *buf = (uint8_t *) buffer; in Cy_SCB_ReadArrayNoCheck() local
89 buf[idx] = (uint8_t) Cy_SCB_ReadRxFifo(base); in Cy_SCB_ReadArrayNoCheck()
94 uint16_t *buf = (uint16_t *) buffer; in Cy_SCB_ReadArrayNoCheck() local
99 buf[idx] = (uint16_t) Cy_SCB_ReadRxFifo(base); in Cy_SCB_ReadArrayNoCheck()
104 uint32_t *buf = (uint32_t *) buffer; in Cy_SCB_ReadArrayNoCheck() local
109 buf[idx] = (uint32_t) Cy_SCB_ReadRxFifo(base); in Cy_SCB_ReadArrayNoCheck()
[all …]
Dcy_scb_spi.c1157 uint8_t *buf = (uint8_t *) context->rxBuf; in HandleReceive() local
1163 buf = &buf[((1UL << mem_width) * numToCopy)]; in HandleReceive()
1165 buf = &buf[(Cy_SCB_IsRxDataWidthByte(base) ? (numToCopy) : (2UL * numToCopy))]; in HandleReceive()
1167 context->rxBuf = (void *) buf; in HandleReceive()
1245 uint8_t *buf = (uint8_t *) context->txBuf; in HandleTransmit() local
1251 buf = &buf[((1UL << mem_width) * numToCopy)]; in HandleTransmit()
1253 buf = &buf[(Cy_SCB_IsTxDataWidthByte(base) ? (numToCopy) : (2UL * numToCopy))]; in HandleTransmit()
1255 context->txBuf = (void *) buf; in HandleTransmit()
Dcy_smif_hb_flash.c57 uint16_t buf[],
440 uint16_t buf[], in Cy_SMIF_HyperBus_Read() argument
452 buf, in Cy_SMIF_HyperBus_Read()
508 uint16_t buf[], in Cy_SMIF_HyperBus_Write() argument
576 (uint16_t*)&buf[i_WriteAddr], in Cy_SMIF_HyperBus_Write()
961 uint16_t buf[], in Cy_SMIF_HyperBus_MMIO_Read() argument
1016 …status = Cy_SMIF_ReceiveDataBlocking_Ext(base, (uint8_t *)buf, (sizeInHalfWord*2u), CY_SMIF_WIDTH_… in Cy_SMIF_HyperBus_MMIO_Read()
1020 …status = Cy_SMIF_ReceiveData_Ext(base, (uint8_t *)buf, (sizeInHalfWord*2u), CY_SMIF_WIDTH_OCTAL, C… in Cy_SMIF_HyperBus_MMIO_Read()
1073 uint16_t buf[], in Cy_SMIF_HyperBus_MMIO_Write() argument
1135 …status = Cy_SMIF_TransmitDataBlocking_Ext(base, (uint8_t *)buf, (sizeInHalfWord*2u), CY_SMIF_WIDTH… in Cy_SMIF_HyperBus_MMIO_Write()
[all …]
Dcy_scb_uart.c899 uint8_t *buf = (uint8_t *) buffer; in Cy_SCB_UART_Receive() local
900 buf[idx] = ((uint8_t *) context->rxRingBuf)[locTail]; in Cy_SCB_UART_Receive()
904 uint16_t *buf = (uint16_t *) buffer; in Cy_SCB_UART_Receive() local
905 buf[idx] = ((uint16_t *) context->rxRingBuf)[locTail]; in Cy_SCB_UART_Receive()
1504 uint8_t *buf = (uint8_t *) context->rxBuf; in HandleDataReceive() local
1506 buf = &buf[(Cy_SCB_IsRxDataWidthByte(base) ? (numCopied) : (2UL * numCopied))]; in HandleDataReceive()
1507 context->rxBuf = (void *) buf; in HandleDataReceive()
1626 uint8_t *buf = (uint8_t *) context->txBuf; in HandleDataTransmit() local
1637 buf = &buf[(byteMode) ? (numToCopy) : (2UL * numToCopy)]; in HandleDataTransmit()
1638 context->txBuf = (void *) buf; in HandleDataTransmit()
Dcy_usbfs_dev_drv_io_dma.c402 uint8_t *buf = endpoint->buffer; in DmaEndpointSetLength() local
415 Cy_DMA_Descriptor_SetSrcAddress(endpoint->descr0, buf); in DmaEndpointSetLength()
416 Cy_DMA_Descriptor_SetSrcAddress(endpoint->descr1, &buf[size - numXloops]); in DmaEndpointSetLength()
421 Cy_DMA_Descriptor_SetDstAddress(endpoint->descr0, buf); in DmaEndpointSetLength()
422 Cy_DMA_Descriptor_SetDstAddress(endpoint->descr1, &buf[size - numXloops]); in DmaEndpointSetLength()
Dcy_ipc_bt.c295 cy_en_btipcdrv_status_t Cy_BTIPC_HPC_RelChannel(cy_stc_ipc_bt_context_t *btIpcContext, void * buf) in Cy_BTIPC_HPC_RelChannel() argument
300 (void)buf; in Cy_BTIPC_HPC_RelChannel()
303 if ((NULL == contextPtr) || (NULL == buf)) in Cy_BTIPC_HPC_RelChannel()
/hal_infineon-latest/serial-flash/
Dcy_serial_flash_qspi.c154 uint8_t* buf; member
426 cy_rslt_t cy_serial_flash_qspi_read(uint32_t addr, size_t length, uint8_t* buf) in cy_serial_flash_qspi_read() argument
437 buf, length, &qspi_obj.context); in cy_serial_flash_qspi_read()
489 cy_rslt_t cy_serial_flash_qspi_read_async(uint32_t addr, size_t length, uint8_t* buf, in cy_serial_flash_qspi_read_async() argument
497 CY_ASSERT(NULL != buf); in cy_serial_flash_qspi_read_async()
512 read_txfr_info.buf = buf; in cy_serial_flash_qspi_read_async()
538 CY_UNUSED_PARAMETER(buf); in cy_serial_flash_qspi_read_async()
550 cy_rslt_t cy_serial_flash_qspi_write(uint32_t addr, size_t length, const uint8_t* buf) in cy_serial_flash_qspi_write() argument
561 (uint8_t*)buf, length, &qspi_obj.context); in cy_serial_flash_qspi_write()
701 dma_descr_config.dstAddress = (void*)read_txfr_info.buf; in _read_next_chunk()
[all …]
Dcy_serial_flash_qspi.h180 cy_rslt_t cy_serial_flash_qspi_read(uint32_t addr, size_t length, uint8_t* buf);
196 cy_rslt_t cy_serial_flash_qspi_read_async(uint32_t addr, size_t length, uint8_t* buf,
220 cy_rslt_t cy_serial_flash_qspi_write(uint32_t addr, size_t length, const uint8_t* buf);
/hal_infineon-latest/mtb-pdl-cat1/drivers/third_party/ethernet/src/
Dedd_rx.c113 uint32_t emacAddRxBuf(void *pD, uint8_t queueNum, CEDI_BuffAddr *buf, uint8_t init) in emacAddRxBuf() argument
125 if ((buf==0) || (buf->vAddr==0) || (buf->pAddr==0)) { in emacAddRxBuf()
149 if ((buf->pAddr)%tmp) { in emacAddRxBuf()
155 *(rxQ->rxEndVA) = buf->vAddr; in emacAddRxBuf()
160 CPS_UncachedWrite32((uint32_t *)(buf->vAddr)+tmp, 0); in emacAddRxBuf()
164 buf->pAddr & CEDI_RXD_ADDR_MASK); in emacAddRxBuf()
170 (buf->pAddr & 0xFFFFFFFF00000000)>>32); in emacAddRxBuf()
288 uint32_t emacReadRxBuf(void *pD, uint8_t queueNum, CEDI_BuffAddr *buf, in emacReadRxBuf() argument
302 if (buf==NULL) { in emacReadRxBuf()
317 if ((buf->vAddr==0) || (buf->pAddr==0)) { in emacReadRxBuf()
[all …]
/hal_infineon-latest/whd-bsp-integration/
DREADME.md28 void cy_network_process_ethernet_data(whd_interface_t iface, whd_buffer_t buf)
32 if (default_interface->input(buf, default_interface) != ERR_OK)
33 cy_buffer_release(buf, WHD_NETWORK_RX);
37 cy_buffer_release(buf, WHD_NETWORK_RX);
/hal_infineon-latest/mtb-pdl-cat1/drivers/third_party/ethernet/include/
Dedd_int.h321 uint32_t emacAddRxBuf(void *pD, uint8_t queueNum, CEDI_BuffAddr *buf,
328 uint32_t emacReadRxBuf(void *pD, uint8_t queueNum, CEDI_BuffAddr *buf,
341 uint32_t emacRemoveRxBuf(void *pD, uint8_t queueNum, CEDI_BuffAddr *buf);
Dcedi.h2109 uint32_t (*addRxBuf)(void* pD, uint8_t queueNum, CEDI_BuffAddr* buf, uint8_t init);
2158 …uint32_t (*readRxBuf)(void* pD, uint8_t queueNum, CEDI_BuffAddr* buf, uint8_t init, CEDI_RxDescDat…
2210 uint32_t (*removeRxBuf)(void* pD, uint8_t queueNum, CEDI_BuffAddr* buf);
/hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/src/
Dwhd_utils.c452 char *whd_ether_ntoa(const uint8_t *ea, char *buf, uint8_t buf_len) in whd_ether_ntoa() argument
459 char *output = buf; in whd_ether_ntoa()
467 buf[0] = '\0'; in whd_ether_ntoa()
469 return buf; in whd_ether_ntoa()
481 return buf; in whd_ether_ntoa()
Dwhd_chip.c506 if (c->buf == NULL) in whd_wifi_read_wlan_log_unsafe()
509 c->buf = whd_mem_malloc(c->bufsize); in whd_wifi_read_wlan_log_unsafe()
510 if (c->buf == NULL) in whd_wifi_read_wlan_log_unsafe()
542 address = dtoh32(c->log.buf); in whd_wifi_read_wlan_log_unsafe()
543 …t = whd_bus_transfer_backplane_bytes(whd_driver, BUS_READ, address, c->bufsize, (uint8_t *)c->buf); in whd_wifi_read_wlan_log_unsafe()
573 ch = c->buf[c->last]; in whd_wifi_read_wlan_log_unsafe()
Dwhd_sdpcm.c290 …whd_buffer_t buf = whd_sdpcm_get_next_buffer_in_queue(whd_driver, sdpcm_info->send_queue_head[ac]); in whd_sdpcm_quit() local
294 sdpcm_info->send_queue_head[ac] = buf; in whd_sdpcm_quit()
/hal_infineon-latest/XMCLib/drivers/inc/
Dxmc_usbd.h459 …int32_t (*EndpointRead) (uint8_t ep_addr, uint8_t *buf, uint32_t len);/**< P…
462 …int32_t (*EndpointWrite) (uint8_t ep_addr, const uint8_t *buf, uint32_t len);…
Dxmc_usbd_regs.h1823 uint32_t buf; member
2438 uint32_t buf; member
/hal_infineon-latest/wifi-host-driver/WiFi_Host_Driver/src/include/
Dwhd_chip.h255 uint buf; member
295 char *buf; /* Log buffer (host copy) */ member
Dwhd_utils.h107 char *whd_ether_ntoa(const uint8_t *ea, char *buf, uint8_t buf_len);
/hal_infineon-latest/mtb-hal-cat1/source/
Dcyhal_ezi2c.c258 …Cy_SCB_EZI2C_SetBuffer1(obj->base, slave1_cfg->buf, slave1_cfg->buf_size, slave1_cfg->buf_rw_bound… in _cyhal_ezi2c_setup_and_enable()
262 …Cy_SCB_EZI2C_SetBuffer2(obj->base, slave2_cfg->buf, slave2_cfg->buf_size, slave2_cfg->buf_rw_bound… in _cyhal_ezi2c_setup_and_enable()
Dcyhal_spi.c299 const uint8_t *buf = obj->tx_buffer; in _cyhal_spi_irq_handler() local
302 … Cy_SCB_SPI_Transfer(obj->base, (uint8_t *)buf, NULL, obj->tx_buffer_size, &obj->context); in _cyhal_spi_irq_handler()
/hal_infineon-latest/mtb-hal-cat1/include/
Dcyhal_ezi2c.h150 uint8_t *buf; member
/hal_infineon-latest/mtb-pdl-cat1/drivers/include/
Dcy_smif_memslot.h1088 uint16_t buf[],
1143 uint16_t buf[],
1198 uint16_t buf[],
Dcy_usbfs_dev_drv.h1343 #define CY_USBFS_DEV_DRV_ALLOC_ENDPOINT_BUFFER(buf, size) uint8_t buf[(0U != ((size) & 0x1U)) ? ((… argument
Dcy_ipc_bt.h1004 cy_en_btipcdrv_status_t Cy_BTIPC_HPC_RelChannel(cy_stc_ipc_bt_context_t *btIpcContext, void * buf);

12