/hal_nxp-3.5.0/mcux/mcux-sdk/components/messaging/ |
D | fsl_component_messaging.c | 105 void *buffer; in MSG_QueueRemoveHead() local 109 buffer = LIST_RemoveHead(msgQueue); in MSG_QueueRemoveHead() 111 return (buffer != NULL) ? ((list_element_t *)buffer + 1) : buffer; in MSG_QueueRemoveHead() 116 void *buffer; in MSG_QueueGetHead() local 120 buffer = LIST_GetHead(msgQueue); in MSG_QueueGetHead() 122 return (buffer != NULL) ? ((list_element_t *)buffer + 1) : buffer; in MSG_QueueGetHead() 151 void *buffer; in MSG_Alloc() local 155 buffer = MEM_BufferAlloc(length + sizeof(list_element_t)); in MSG_Alloc() 156 if (buffer != NULL) in MSG_Alloc() 158 buffer = (list_element_t *)buffer + 1; in MSG_Alloc() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/ |
D | fsl_component_serial_port_spi.c | 40 uint8_t *buffer; member 48 uint8_t *buffer; member 66 uint8_t *buffer; member 74 uint8_t *buffer; member 109 msg.buffer = serialSpiMasterHandle->tx.buffer; in Serial_SpiMasterTxCallback() 128 msg.buffer = serialSpiMasterHandle->rx.buffer; in Serial_SpiMasterRxCallback() 146 msg.buffer = serialSpiSlaveHandle->tx.buffer; in Serial_SpiSlaveTxCallback() 163 msg.buffer = serialSpiSlaveHandle->rx.buffer; in Serial_SpiSlaveRxCallback() 287 serial_manager_status_t Serial_SpiMasterWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32… in Serial_SpiMasterWrite() argument 293 assert(buffer); in Serial_SpiMasterWrite() [all …]
|
D | fsl_component_serial_manager.c | 93 uint8_t *buffer; member 302 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 308 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 314 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 320 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 326 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 332 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 338 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 344 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() 350 … writeHandle->transfer.buffer, writeHandle->transfer.length); in SerialManager_StartWriting() [all …]
|
D | fsl_component_serial_port_internal.h | 27 serial_manager_status_t Serial_UartWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t le… 28 serial_manager_status_t Serial_UartRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len… 45 serial_manager_status_t Serial_UartDmaWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t… 64 serial_manager_status_t Serial_RpmsgWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… 65 serial_manager_status_t Serial_RpmsgWriteBlocking(serial_handle_t serialHandle, uint8_t *buffer, ui… 67 serial_manager_status_t Serial_RpmsgRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t le… 86 serial_manager_status_t Serial_UsbCdcWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t … 87 serial_manager_status_t Serial_UsbCdcRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… 101 serial_manager_status_t Serial_SwoWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len… 103 serial_manager_status_t Serial_SwoRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t leng… [all …]
|
D | fsl_component_serial_port_uart.c | 40 uint8_t *buffer; member 147 serialMsg.buffer = &serialUartHandle->rx.readBuffer[0]; in Serial_UartCallback() 159 serialMsg.buffer = serialUartHandle->tx.buffer; in Serial_UartCallback() 238 serial_manager_status_t Serial_UartWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t le… in Serial_UartWrite() argument 247 assert(buffer); in Serial_UartWrite() 257 serialUartHandle->tx.buffer = buffer; in Serial_UartWrite() 261 transfer.data = buffer; in Serial_UartWrite() 267 …_UartSendNonBlocking(((hal_uart_handle_t)&serialUartHandle->usartHandleBuffer[0]), buffer, length); in Serial_UartWrite() 275 serial_manager_status_t Serial_UartRead(serial_handle_t serialHandle, uint8_t *buffer, uint32_t len… in Serial_UartRead() argument 278 (void)buffer; in Serial_UartRead() [all …]
|
D | fsl_component_serial_port_rpmsg.c | 90 msg.buffer = data; in Serial_RpmsgRxCallback() 158 serial_manager_status_t Serial_RpmsgWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… in Serial_RpmsgWrite() argument 164 assert(buffer); in Serial_RpmsgWrite() 170 HAL_RpmsgSend((hal_rpmsg_handle_t)serialRpmsgHandle->rpmsgHandleBuffer, buffer, length)) in Serial_RpmsgWrite() 177 msg.buffer = buffer; in Serial_RpmsgWrite() 185 serial_manager_status_t Serial_RpmsgWriteBlocking(serial_handle_t serialHandle, uint8_t *buffer, ui… in Serial_RpmsgWriteBlocking() argument 190 assert(buffer); in Serial_RpmsgWriteBlocking() 196 HAL_RpmsgSend((hal_rpmsg_handle_t)serialRpmsgHandle->rpmsgHandleBuffer, buffer, length)) in Serial_RpmsgWriteBlocking() 206 serial_manager_status_t Serial_RpmsgWrite(serial_handle_t serialHandle, uint8_t *buffer, uint32_t l… in Serial_RpmsgWrite() argument 211 assert(buffer); in Serial_RpmsgWrite() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/log/ |
D | fsl_component_log.c | 71 uint8_t *buffer; member 169 static void log_output_low_level(uint8_t *buffer, size_t length) in log_output_low_level() argument 177 backend->putStr(buffer, length); in log_output_low_level() 185 log_print_buffer_t *buffer = (log_print_buffer_t *)((void *)(buf)); in log_print_to_buffer() local 190 if ((((size_t)(*indicator)) + buffer->sofar + ((size_t)1)) >= buffer->length) in log_print_to_buffer() 197 … (((uint8_t)'\r') != buffer->buffer[((size_t)(*indicator)) + buffer->sofar - ((size_t)1)]))) in log_print_to_buffer() 199 buffer->buffer[((size_t)(*indicator)) + buffer->sofar] = (uint8_t)'\r'; in log_print_to_buffer() 203 buffer->buffer[((size_t)(*indicator)) + buffer->sofar] = (uint8_t)val; in log_print_to_buffer() 526 log_print_buffer_t buffer; in LOG_Printf() local 544 if (NULL != s_logContext.printBuffer.buffer) in LOG_Printf() [all …]
|
D | fsl_component_log_backend_ringbuffer.c | 41 __WEAK_FUNC void log_backend_ringbuffer_update(uint8_t *buffer, size_t head, size_t tail); 42 __WEAK_FUNC void log_backend_ringbuffer_update(uint8_t *buffer, size_t head, size_t tail) in log_backend_ringbuffer_update() argument 44 (void)buffer; in log_backend_ringbuffer_update() 49 static void log_init_backend_ringbuffer_puts(uint8_t *buffer, size_t length); 63 static void log_init_backend_ringbuffer_puts(uint8_t *buffer, size_t length) in log_init_backend_ringbuffer_puts() argument 82 buffer = &buffer[length - s_logBackendRingBuffer.ringBufferLength + 1U]; in log_init_backend_ringbuffer_puts() 91 …(void)memcpy(&s_logBackendRingBuffer.ringBuffer[s_logBackendRingBuffer.ringBufferHead], &buffer[0]… in log_init_backend_ringbuffer_puts() 94 … (void)memcpy(&s_logBackendRingBuffer.ringBuffer[0], &buffer[copyLength], length - copyLength); in log_init_backend_ringbuffer_puts()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/ |
D | fsl_component_mem_manager.c | 146 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument 148 block_list_header_t *pBlock = (block_list_header_t *)buffer - 1; in MEM_BufferAllocates_memStatis() 204 static void MEM_BufferFrees_memStatis(void *buffer) in MEM_BufferFrees_memStatis() argument 206 block_list_header_t *pBlock = (block_list_header_t *)buffer - 1; in MEM_BufferFrees_memStatis() 315 mem_status_t MEM_AddBuffer(const uint8_t *buffer) in MEM_AddBuffer() argument 317 mem_config_t *memConfig = (mem_config_t *)(void *)buffer; in MEM_AddBuffer() 322 assert(buffer); in MEM_AddBuffer() 333 pPool->poolId = *(uint16_t *)(void *)(&buffer[4]); in MEM_AddBuffer() 393 mem_status_t MEM_RemoveBuffer(uint8_t *buffer) in MEM_RemoveBuffer() argument 395 mem_config_t *memConfig = (mem_config_t *)(void *)buffer; in MEM_RemoveBuffer() [all …]
|
D | fsl_component_mem_manager_light.c | 211 static void MEM_BufferAllocates_memStatis(void *buffer, uint32_t time, uint32_t requestedSize) in MEM_BufferAllocates_memStatis() argument 218 buffer_ptr.void_ptr = buffer; in MEM_BufferAllocates_memStatis() 276 static void MEM_BufferFrees_memStatis(void *buffer) in MEM_BufferFrees_memStatis() argument 283 buffer_ptr.void_ptr = buffer; in MEM_BufferFrees_memStatis() 470 void *buffer = NULL; in MEM_BufferAllocate() local 655 buffer = buffer_ptr.void_ptr; in MEM_BufferAllocate() 656 (void)memset(buffer, 0x0, numBytes); in MEM_BufferAllocate() 661 MEM_BufferAllocates_memStatis(buffer, ALLOC_TIME, numBytes); in MEM_BufferAllocate() 663 MEM_BufferAllocates_memStatis(buffer, 0, numBytes); in MEM_BufferAllocate() 674 return buffer; in MEM_BufferAllocate() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/ |
D | usb_device_ch9.c | 35 uint8_t **buffer, 44 uint8_t **buffer, 48 uint8_t **buffer, 53 uint8_t **buffer, 57 uint8_t **buffer, 61 uint8_t **buffer, 65 uint8_t **buffer, 69 uint8_t **buffer, 73 uint8_t **buffer, 77 uint8_t **buffer, [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/ |
D | usb_host_msd_ufi.c | 57 uint8_t *buffer, in USB_HostMsdRead10() argument 73 return USB_HostMsdCommand(classHandle, buffer, bufferLength, callbackFn, callbackParam, in USB_HostMsdRead10() 80 uint8_t *buffer, in USB_HostMsdRead12() argument 96 return USB_HostMsdCommand(classHandle, buffer, bufferLength, callbackFn, callbackParam, in USB_HostMsdRead12() 103 uint8_t *buffer, in USB_HostMsdWrite10() argument 119 return USB_HostMsdCommand(classHandle, buffer, bufferLength, callbackFn, callbackParam, in USB_HostMsdWrite10() 126 uint8_t *buffer, in USB_HostMsdWrite12() argument 142 return USB_HostMsdCommand(classHandle, buffer, bufferLength, callbackFn, callbackParam, in USB_HostMsdWrite12() 148 uint8_t *buffer, in USB_HostMsdReadCapacity() argument 163 return USB_HostMsdCommand(classHandle, buffer, bufferLength, callbackFn, callbackParam, in USB_HostMsdReadCapacity() [all …]
|
D | usb_host_msd.h | 317 uint8_t *buffer, 349 uint8_t *buffer, 381 uint8_t *buffer, 413 uint8_t *buffer, 442 uint8_t *buffer, 494 uint8_t *buffer, 522 uint8_t *buffer, 554 uint8_t *buffer, 582 uint8_t *buffer, 610 uint8_t *buffer, [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif.c | 286 void SPDIF_WriteBlocking(SPDIF_Type *base, uint8_t *buffer, uint32_t size) in SPDIF_WriteBlocking() argument 288 assert(buffer != NULL); in SPDIF_WriteBlocking() 303 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 304 buffer++; in SPDIF_WriteBlocking() 312 data |= ((uint32_t)(*buffer) << (j * 8U)); in SPDIF_WriteBlocking() 313 buffer++; in SPDIF_WriteBlocking() 330 void SPDIF_ReadBlocking(SPDIF_Type *base, uint8_t *buffer, uint32_t size) in SPDIF_ReadBlocking() argument 332 assert(buffer != NULL); in SPDIF_ReadBlocking() 348 *buffer = ((uint8_t)(data >> (j * 8U)) & 0xFFU); in SPDIF_ReadBlocking() 349 buffer++; in SPDIF_ReadBlocking() [all …]
|
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/output/source/device/class/ |
D | usb_device_class.h | 193 uint8_t *buffer; /*!< Pass the buffer address. */ member 201 uint8_t *buffer; /*!< Pass the buffer address. */ member 208 uint8_t *buffer; /*!< Pass the buffer address. */ member 215 uint8_t *buffer; /*!< Pass the buffer address. */ member 222 uint8_t *buffer; /*!< Pass the buffer address. */ member 230 uint8_t *buffer; /*!< Pass the buffer address. */ member 237 uint8_t *buffer; /*!< Pass the buffer address. */ member 246 uint8_t *buffer; /*!< Pass the buffer address. */ member 254 uint8_t *buffer; /*!< Pass the buffer address. */ member 262 uint8_t *buffer; /*!< Pass the buffer address. */ member
|
D | usb_device_msc_ufi.c | 79 …status = USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 108 …status = USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 133 …status = USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 165 …status = USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 194 … USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, 0)) in USB_DeviceMscUfiThirteenCasesCheck() 199 …void)USB_DeviceSendRequest(mscHandle->handle, mscHandle->bulkInEndpoint, mscCheckEvent->buffer, 0); in USB_DeviceMscUfiThirteenCasesCheck() 251 …tatus = USB_DeviceRecvRequest(mscHandle->handle, mscHandle->bulkOutEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 276 …tatus = USB_DeviceRecvRequest(mscHandle->handle, mscHandle->bulkOutEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 306 …tatus = USB_DeviceRecvRequest(mscHandle->handle, mscHandle->bulkOutEndpoint, mscCheckEvent->buffer, in USB_DeviceMscUfiThirteenCasesCheck() 370 ufi->thirteenCase.buffer = (uint8_t *)ufi->requestSense; in USB_DeviceMscUfiRequestSenseCommand() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/video/camera/receiver/isi/ |
D | fsl_isi_camera_adapter.c | 40 static status_t ISI_ADAPTER_SubmitEmptyBuffer(camera_receiver_handle_t *handle, uint32_t buffer); 42 static status_t ISI_ADAPTER_GetFullBuffer(camera_receiver_handle_t *handle, uint32_t *buffer); 83 static void ISI_ADAPTER_LoadEmptyBuffer(camera_receiver_handle_t *handle, uint32_t buffer) in ISI_ADAPTER_LoadEmptyBuffer() argument 88 privateData->activeBuf[privateData->outputBufIdx] = buffer; in ISI_ADAPTER_LoadEmptyBuffer() 89 ISI_SetOutputBufferAddr(isiBase, privateData->outputBufIdx, buffer, 0, 0); in ISI_ADAPTER_LoadEmptyBuffer() 132 uint32_t buffer; in ISI_ADAPTER_Start() local 160 buffer = privateData->activeBufSave[--privateData->activeBufSaveCnt]; in ISI_ADAPTER_Start() 164 (void)VIDEO_RINGBUF_Get(&(privateData->emptyRingBuf), (void **)(&buffer)); in ISI_ADAPTER_Start() 166 privateData->activeBuf[i] = buffer; in ISI_ADAPTER_Start() 167 ISI_SetOutputBufferAddr(isiBase, i, buffer, 0, 0); in ISI_ADAPTER_Start() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/uart/ |
D | fsl_adapter_usart.c | 34 uint8_t *volatile buffer; member 44 uint8_t *volatile buffer; member 77 volatile uint8_t *buffer; member 85 volatile uint8_t *buffer; member 227 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 229 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle() 234 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 247 if (NULL != uartHandle->tx.buffer) in HAL_UartInterruptHandle() 249 …USART_WriteByte(s_UsartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle() 253 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle() [all …]
|
D | fsl_adapter_iuart.c | 28 volatile uint8_t *buffer; member 36 volatile uint8_t *buffer; member 172 if (uartHandle->rx.buffer) in HAL_UartInterruptHandle() 174 … uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = UART_ReadByte(s_UartAdapterBase[instance]); in HAL_UartInterruptHandle() 181 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 198 if (uartHandle->tx.buffer) in HAL_UartInterruptHandle() 200 … UART_WriteByte(s_UartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle() 204 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle() 316 if (uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 337 if (uartHandle->tx.buffer) in HAL_UartSendBlocking() [all …]
|
D | fsl_adapter_miniusart.c | 28 volatile uint8_t *buffer; member 36 volatile uint8_t *buffer; member 172 if (uartHandle->rx.buffer) in HAL_UartInterruptHandle() 174 …uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = USART_ReadByte(s_UsartAdapterBase[instance]); in HAL_UartInterruptHandle() 179 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 192 if (uartHandle->tx.buffer) in HAL_UartInterruptHandle() 194 …USART_WriteByte(s_UsartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle() 198 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle() 313 if (uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 334 if (uartHandle->tx.buffer) in HAL_UartSendBlocking() [all …]
|
D | fsl_adapter_uart.c | 28 volatile uint8_t *buffer; member 36 volatile uint8_t *buffer; member 174 if (NULL != uartHandle->rx.buffer) in HAL_UartInterruptHandle() 176 … uartHandle->rx.buffer[uartHandle->rx.bufferSofar++] = UART_ReadByte(s_UartAdapterBase[instance]); in HAL_UartInterruptHandle() 181 uartHandle->rx.buffer = NULL; in HAL_UartInterruptHandle() 196 if (NULL != uartHandle->tx.buffer) in HAL_UartInterruptHandle() 198 … UART_WriteByte(s_UartAdapterBase[instance], uartHandle->tx.buffer[uartHandle->tx.bufferSofar++]); in HAL_UartInterruptHandle() 203 uartHandle->tx.buffer = NULL; in HAL_UartInterruptHandle() 326 if (NULL != uartHandle->rx.buffer) in HAL_UartReceiveBlocking() 347 if (NULL != uartHandle->tx.buffer) in HAL_UartSendBlocking() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/utilities/debug_console_lite/ |
D | fsl_debug_console.c | 1165 size_t __write(int handle, const unsigned char *buffer, size_t size); 1166 size_t __write(int handle, const unsigned char *buffer, size_t size) in __write() argument 1169 if (NULL == buffer) in __write() 1191 …(void)s_debugConsole.putChar((hal_uart_handle_t)&s_debugConsole.uartHandleBuffer[0], buffer, size); in __write() 1198 size_t __read(int handle, unsigned char *buffer, size_t size); 1199 size_t __read(int handle, unsigned char *buffer, size_t size) in __read() argument 1215 …(void)s_debugConsole.getChar((hal_uart_handle_t)&s_debugConsole.uartHandleBuffer[0], buffer, size); in __read() 1226 int __attribute__((weak)) __sys_write(int handle, char *buffer, int size) in __sys_write() argument 1228 if (NULL == buffer) in __sys_write() 1247 …ugConsole.putChar((hal_uart_handle_t)&s_debugConsole.uartHandleBuffer[0], (uint8_t *)buffer, size); in __sys_write() [all …]
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/video/camera/receiver/ |
D | fsl_camera_receiver.h | 46 …status_t (*submitEmptyBuffer)(camera_receiver_handle_t *handle, uint32_t buffer); /*!< Submit the … 49 …status_t (*getFullBuffer)(camera_receiver_handle_t *handle, uint32_t *buffer); /*!< Get the ful… 149 …nline status_t CAMERA_RECEIVER_SubmitEmptyBuffer(camera_receiver_handle_t *handle, uint32_t buffer) in CAMERA_RECEIVER_SubmitEmptyBuffer() argument 151 return handle->ops->submitEmptyBuffer(handle, buffer); in CAMERA_RECEIVER_SubmitEmptyBuffer() 161 …c inline status_t CAMERA_RECEIVER_GetFullBuffer(camera_receiver_handle_t *handle, uint32_t *buffer) in CAMERA_RECEIVER_GetFullBuffer() argument 163 return handle->ops->getFullBuffer(handle, buffer); in CAMERA_RECEIVER_GetFullBuffer()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/components/internal_flash/ |
D | fsl_adapter_flash.c | 151 uint8_t buffer[PGM_SIZE_BYTE]; in HAL_FlashProgramUnaligned() local 164 (void)memcpy(buffer, (uint8_t *)(dest - bytes), PGM_SIZE_BYTE); in HAL_FlashProgramUnaligned() 165 (void)memcpy(&buffer[bytes], pData, unalignedBytes); in HAL_FlashProgramUnaligned() 167 status = HAL_FlashProgramAdaptation(dest - bytes, PGM_SIZE_BYTE, buffer); in HAL_FlashProgramUnaligned() 195 (void)memcpy(buffer, (uint8_t *)dest, PGM_SIZE_BYTE); in HAL_FlashProgramUnaligned() 196 (void)memcpy(buffer, pData, size); in HAL_FlashProgramUnaligned() 197 status = HAL_FlashProgramAdaptation(dest, PGM_SIZE_BYTE, buffer); in HAL_FlashProgramUnaligned()
|
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexspi/ |
D | fsl_flexspi.c | 333 configValue |= FLEXSPI_AHBRXBUFCR0_PREFETCHEN(config->ahbConfig.buffer[i].enablePrefetch) | in FLEXSPI_Init() 334 FLEXSPI_AHBRXBUFCR0_PRIORITY(config->ahbConfig.buffer[i].priority) | in FLEXSPI_Init() 335 FLEXSPI_AHBRXBUFCR0_MSTRID(config->ahbConfig.buffer[i].masterIndex) | in FLEXSPI_Init() 336 … FLEXSPI_AHBRXBUFCR0_BUFSZ((uint32_t)config->ahbConfig.buffer[i].bufferSize / 8U); in FLEXSPI_Init() 387 FLEXSPI_Memset(config->ahbConfig.buffer, 0, sizeof(config->ahbConfig.buffer)); in FLEXSPI_GetDefaultConfig() 391 config->ahbConfig.buffer[i].enablePrefetch = true; /* Default enable AHB prefetch. */ in FLEXSPI_GetDefaultConfig() 392 …config->ahbConfig.buffer[i].masterIndex = 0xFU; /* Invalid master index which is not used, so will… in FLEXSPI_GetDefaultConfig() 393 config->ahbConfig.buffer[i].bufferSize = in FLEXSPI_GetDefaultConfig() 400 config->ahbConfig.buffer[i].enablePrefetch = true; /* Default enable AHB prefetch. */ in FLEXSPI_GetDefaultConfig() 401 config->ahbConfig.buffer[i].bufferSize = 256U; /* Default buffer size 256 bytes. */ in FLEXSPI_GetDefaultConfig() [all …]
|