| /hal_nxp-latest/mcux/mcux-sdk/utilities/str/ |
| D | fsl_str.c | 221 char *buf, in PrintOutputdifFobpu() argument 230 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 233 cb(buf, count, '0', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 240 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 243 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 251 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 254 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 258 cb(buf, count, *vstrp--, 1); in PrintOutputdifFobpu() 263 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 274 char *buf, in PrintOutputxX() argument [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/s3mu/ |
| D | fsl_s3mu.c | 37 static status_t s3mu_read_data_wait(S3MU_Type *mu, uint32_t *buf, uint8_t *size, uint32_t wait); 55 status_t S3MU_SendMessage(S3MU_Type *mu, void *buf, size_t wordCount) in S3MU_SendMessage() argument 60 if (buf == NULL) in S3MU_SendMessage() 69 s3mu_hal_send_data(mu, tx_reg_idx, (uint32_t*)buf+counter); in S3MU_SendMessage() 101 status_t S3MU_GetResponse(S3MU_Type *mu, void *buf) in S3MU_GetResponse() argument 106 if (buf == NULL) in S3MU_GetResponse() 111 return S3MU_ReadMessage(mu, buf, &size, MU_READ_HEADER); in S3MU_GetResponse() 128 status_t S3MU_ReadMessage(S3MU_Type *mu, uint32_t *buf, size_t *size, uint8_t read_header) in S3MU_ReadMessage() argument 132 uint32_t *buf_ptr = buf; in S3MU_ReadMessage() 135 if ((buf == NULL) || (size == NULL)) in S3MU_ReadMessage() [all …]
|
| D | fsl_s3mu.h | 82 status_t S3MU_SendMessage(S3MU_Type *mu, void *buf, size_t wordCount); 98 status_t S3MU_GetResponse(S3MU_Type *mu, void *buf); 114 status_t S3MU_WaitForData(S3MU_Type *mu, uint32_t *buf, size_t wordCount, uint32_t wait); 129 status_t S3MU_ReadMessage(S3MU_Type *mu, uint32_t *buf, size_t *size, uint8_t read_header);
|
| /hal_nxp-latest/mcux/mcux-sdk/utilities/debug_console/str/ |
| D | fsl_str.c | 253 char *buf, in PrintOutputdifFobpu() argument 262 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 265 cb(buf, count, '0', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 272 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 275 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 283 cb(buf, count, schar, 1); in PrintOutputdifFobpu() 286 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 290 cb(buf, count, *vstrp--, 1); in PrintOutputdifFobpu() 295 cb(buf, count, ' ', (int)field_width - (int)vlen); in PrintOutputdifFobpu() 306 char *buf, in PrintOutputxX() argument [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/srtm/port/ |
| D | srtm_message_pool.c | 40 uint8_t buf[SRTM_MESSAGE_BUF_SIZE - sizeof(srtm_list_t)]; member 60 void *buf; in SRTM_MessagePool_Alloc() local 87 buf = SRTM_Heap_Malloc(size); in SRTM_MessagePool_Alloc() 97 buf = SRTM_Heap_Malloc(size); in SRTM_MessagePool_Alloc() 101 buf = (void *)srtmMsgList.next; in SRTM_MessagePool_Alloc() 114 return buf; in SRTM_MessagePool_Alloc() 117 void SRTM_MessagePool_Free(void *buf) in SRTM_MessagePool_Free() argument 122 …if ((buf >= (void *)&srtmMsgs[0]) && (buf < (void *)(&srtmMsgs[sizeof(srtmMsgs) / sizeof(srtm_mess… in SRTM_MessagePool_Free() 125 … assert(((uint32_t)(uint8_t *)(buf) - (uint32_t)&srtmMsgs[0]) % sizeof(srtm_message_buf_t) == 0U); in SRTM_MessagePool_Free() 126 msgBuf = (srtm_message_buf_t *)buf; in SRTM_MessagePool_Free() [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | mlan_action.c | 235 t_u8 *buf = wifi_get_outbuf(&max_len); in wlan_send_timing_measurement_req_frame() local 241 assert(buf != MNULL); in wlan_send_timing_measurement_req_frame() 244 pkt_hdr = (wlan_mgmt_pkt *)(void *)(buf + offset); in wlan_send_timing_measurement_req_frame() 249 buf[offset] = (t_u8)IEEE_MGMT_ACTION_CATEGORY_WNM; in wlan_send_timing_measurement_req_frame() 250 buf[offset + 1U] = IEEE_MGMT_WNM_TIMING_MEASUREMENT_REQUEST; in wlan_send_timing_measurement_req_frame() 251 buf[offset + 2U] = trigger; in wlan_send_timing_measurement_req_frame() 257 (void)raw_process_pkt_hdrs(buf, len, pmpriv->bss_index); in wlan_send_timing_measurement_req_frame() 259 txpd = (TxPD *)(void *)(buf + INTF_HEADER_LEN); in wlan_send_timing_measurement_req_frame() 261 (void)raw_wlan_xmit_pkt(buf, len, pmpriv->bss_index, 0); in wlan_send_timing_measurement_req_frame() 271 t_u8 *buf = wifi_get_outbuf(&max_len); in wlan_send_timing_measurement_frame() local [all …]
|
| D | mlan_wmm.c | 618 outbuf_t *buf = MNULL; in wifi_wmm_get_alter_buf_from_txqueue() local 635 … buf = (outbuf_t *)util_dequeue_list(mlan_adap->pmoal_handle, &ra_list->buf_head, MNULL, MNULL); in wifi_wmm_get_alter_buf_from_txqueue() 636 if (buf != MNULL) in wifi_wmm_get_alter_buf_from_txqueue() 653 net_stack_buffer_free(buf->buffer); in wifi_wmm_get_alter_buf_from_txqueue() 662 return buf; in wifi_wmm_get_alter_buf_from_txqueue() 670 outbuf_t *buf = MNULL; in wifi_wmm_get_outbuf_enh() local 673 buf = wifi_wmm_buf_get(); in wifi_wmm_get_outbuf_enh() 674 if (buf != MNULL) in wifi_wmm_get_outbuf_enh() 686 buf = wifi_wmm_get_alter_buf_from_txqueue(interface, ra, i, tx_pause); in wifi_wmm_get_outbuf_enh() 687 if (buf != MNULL) in wifi_wmm_get_outbuf_enh() [all …]
|
| D | mlan_api.c | 170 int wifi_get_eeprom_data(uint32_t offset, uint32_t byte_count, uint8_t *buf) in wifi_get_eeprom_data() argument 184 (void)wifi_wait_for_cmdresp(buf); in wifi_get_eeprom_data() 610 t_u8 *buf = (t_u8 *)cmd, *filter_buf = NULL; in wifi_set_packet_filters() local 625 mef_hdr = (HostCmd_DS_MEF_CFG *)(void *)(buf + buf_len); in wifi_set_packet_filters() 633 entry_hdr = (mef_entry_header *)(buf + buf_len); in wifi_set_packet_filters() 645 filter_buf = (t_u8 *)(buf + buf_len); in wifi_set_packet_filters() 653 filter_buf = (t_u8 *)(buf + buf_len); in wifi_set_packet_filters() 661 filter_buf = (t_u8 *)(buf + buf_len); in wifi_set_packet_filters() 669 filter_buf = (t_u8 *)(buf + buf_len); in wifi_set_packet_filters() 675 filter_buf = (t_u8 *)(buf + buf_len); in wifi_set_packet_filters() [all …]
|
| D | wifi.c | 584 char buf[256], *ptr; in wifi_sdio_reg_dbg() local 589 (void)memset(buf, 0, sizeof(buf)); in wifi_sdio_reg_dbg() 590 ptr = buf; in wifi_sdio_reg_dbg() 646 wifi_d("%s", buf); in wifi_sdio_reg_dbg() 901 char buf[256], *ptr; in wifi_sdio_reg_dbg() local 906 (void)memset(buf, 0, sizeof(buf)); in wifi_sdio_reg_dbg() 907 ptr = buf; in wifi_sdio_reg_dbg() 961 wifi_d("%s", buf); in wifi_sdio_reg_dbg() 3503 t_u32 wifi_wmm_get_pkt_prio(void *buf, t_u8 *tid) in wifi_wmm_get_pkt_prio() argument 3507 if (buf == NULL) in wifi_wmm_get_pkt_prio() [all …]
|
| D | mlan_sta_ioctl.c | 429 t_u8 *buf = MNULL; in wlan_power_ioctl_set_power() local 452 ret = pcb->moal_malloc(pmadapter->pmoal_handle, MRVDRV_SIZE_OF_CMD_BUFFER, MLAN_MEM_DEF, &buf); in wlan_power_ioctl_set_power() 453 if (ret != MLAN_STATUS_SUCCESS || (buf == MNULL)) in wlan_power_ioctl_set_power() 460 (void)__memset(pmadapter, buf, 0, MRVDRV_SIZE_OF_CMD_BUFFER); in wlan_power_ioctl_set_power() 461 txp_cfg = (HostCmd_DS_TXPWR_CFG *)(void *)buf; in wlan_power_ioctl_set_power() 466 pg_tlv = (MrvlTypes_Power_Group_t *)(void *)(buf + sizeof(HostCmd_DS_TXPWR_CFG)); in wlan_power_ioctl_set_power() 469 …pg = (Power_Group_t *)(void *)(buf + sizeof(HostCmd_DS_TXPWR_CFG) + sizeof(MrvlTypes_Power_Group_t… in wlan_power_ioctl_set_power() 506 …wlan_prepare_cmd(pmpriv, HostCmd_CMD_TXPWR_CFG, HostCmd_ACT_GEN_SET, 0, (t_void *)pioctl_req, buf); in wlan_power_ioctl_set_power() 513 (void)pcb->moal_mfree(pmadapter->pmoal_handle, buf); in wlan_power_ioctl_set_power() 569 t_u8 *buf = MNULL; in wlan_power_ioctl_set_power_ext() local [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/elemu/ |
| D | fsl_elemu.c | 99 status_t ELEMU_mu_send_message(ELEMU_Type *mu, uint32_t buf[], size_t wordCount) in ELEMU_mu_send_message() argument 104 if (buf == NULL) in ELEMU_mu_send_message() 117 ELEMU_mu_hal_send_data(mu, tx_reg_idx, &buf[counter]); in ELEMU_mu_send_message() 242 status_t ELEMU_mu_read_message(ELEMU_Type *mu, uint32_t *buf, uint8_t *size, uint8_t read_header) in ELEMU_mu_read_message() argument 246 mu_message_t *msg = (mu_message_t *)(uintptr_t)buf; in ELEMU_mu_read_message() 250 if ((buf == NULL) || (size == NULL)) in ELEMU_mu_read_message() 281 status_t ELEMU_mu_read_data_wait(ELEMU_Type *mu, uint32_t buf[], uint8_t *size, uint32_t wait) in ELEMU_mu_read_data_wait() argument 288 if ((buf == NULL) || (size == NULL)) in ELEMU_mu_read_data_wait() 300 …if ((ret = ELEMU_mu_hal_receive_data_wait(mu, rx_reg_idx, &buf[counter], wait)) != kStatus_Success) in ELEMU_mu_read_data_wait() 307 ELEMU_mu_hal_receive_data(mu, rx_reg_idx, &buf[counter]); in ELEMU_mu_read_data_wait() [all …]
|
| D | fsl_elemu.h | 48 status_t ELEMU_mu_read_message(ELEMU_Type *mu, uint32_t *buf, uint8_t *size, uint8_t read_header); 49 status_t ELEMU_mu_read_data_wait(ELEMU_Type *mu, uint32_t buf[], uint8_t *size, uint32_t wait); 51 status_t ELEMU_mu_send_message(ELEMU_Type *mu, uint32_t buf[], size_t wordCount); 52 status_t ELEMU_mu_get_response(ELEMU_Type *mu, uint32_t *buf, size_t wordCount); 53 status_t ELEMU_mu_wait_for_data(ELEMU_Type *mu, uint32_t *buf, size_t wordCount, uint32_t wait);
|
| /hal_nxp-latest/mcux/mcux-sdk/components/video/ |
| D | fsl_video_common.c | 101 status_t VIDEO_RINGBUF_Init(video_ringbuf_t *ringbuf, void **buf, uint32_t size) in VIDEO_RINGBUF_Init() argument 108 ringbuf->buf = buf; in VIDEO_RINGBUF_Init() 123 *item = ringbuf->buf[ringbuf->front]; in VIDEO_RINGBUF_Get() 154 ringbuf->buf[ringbuf->rear] = item; in VIDEO_RINGBUF_Put() 266 status_t VIDEO_STACK_Init(video_stack_t *stack, void **buf, uint32_t size) in VIDEO_STACK_Init() argument 268 stack->buf = buf; in VIDEO_STACK_Init() 281 *item = stack->buf[--stack->top]; in VIDEO_STACK_Pop() 299 stack->buf[stack->top++] = item; in VIDEO_STACK_Push()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/RW610/drivers/romapi/iap/ |
| D | fsl_romapi_iap.h | 106 status_t (*read)(mem_attribute_t *attr, uint32_t addr, uint32_t leth, uint8_t *buf); 108 status_t (*write)(mem_attribute_t *attr, uint32_t addr, uint32_t len, const uint8_t *buf); 112 status_t (*config)(mem_attribute_t *attr, uint32_t *buf); 187 …status_t (*mem_read)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint8_t *buf, uint32_t … 188 …status_t (*mem_write)(api_core_context_t *ctx, uint32_t addr, uint32_t len, const uint8_t *buf, ui… 192 status_t (*mem_config)(api_core_context_t *ctx, uint32_t *buf, uint32_t memoryId); 221 …api_core_context_t *coreCtx, uint32_t start, uint32_t lengthInBytes, const uint8_t *buf, uint32_t … 225 …api_core_context_t *coreCtx, uint32_t start, uint32_t lengthInBytes, uint8_t *buf, uint32_t memory…
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/RW612/drivers/romapi/iap/ |
| D | fsl_romapi_iap.h | 106 status_t (*read)(mem_attribute_t *attr, uint32_t addr, uint32_t leth, uint8_t *buf); 108 status_t (*write)(mem_attribute_t *attr, uint32_t addr, uint32_t len, const uint8_t *buf); 112 status_t (*config)(mem_attribute_t *attr, uint32_t *buf); 187 …status_t (*mem_read)(api_core_context_t *ctx, uint32_t addr, uint32_t len, uint8_t *buf, uint32_t … 188 …status_t (*mem_write)(api_core_context_t *ctx, uint32_t addr, uint32_t len, const uint8_t *buf, ui… 192 status_t (*mem_config)(api_core_context_t *ctx, uint32_t *buf, uint32_t memoryId); 221 …api_core_context_t *coreCtx, uint32_t start, uint32_t lengthInBytes, const uint8_t *buf, uint32_t … 225 …api_core_context_t *coreCtx, uint32_t start, uint32_t lengthInBytes, uint8_t *buf, uint32_t memory…
|
| /hal_nxp-latest/mcux/mcux-sdk/components/srtm/services/ |
| D | srtm_pdm_edma_adapter.c | 204 if (rtm->localBuf.buf != NULL) in SRTM_PdmEdmaAdaptor_ResetLocalBuf() 242 if (rtm->localBuf.buf == NULL) in SRTM_PdmEdmaAdapter_PeriodReceiveEDMA() 251 if (rtm->localBuf.buf != NULL) in SRTM_PdmEdmaAdapter_PeriodReceiveEDMA() 256 xfer.data = rtm->localBuf.buf + bufRtm->loadIdx * rtm->localRtm.periodSize; in SRTM_PdmEdmaAdapter_PeriodReceiveEDMA() 312 …srtm_pdm_edma_buf_runtime_t bufRtm = (rtm->localBuf.buf != NULL) ? &rtm->localRtm.bufRtm : &rtm->b… in SRTM_PdmEdmaAdapter_DmaTransfer() 346 src = rtm->localBuf.buf + srcRtm->leadIdx * rtm->localRtm.periodSize; in SRTM_PdmEdmaAdapter_PeriodCopyAndNotify() 457 if (rtm->localBuf.buf != NULL) in SRTM_PdmEdmaAdapter_Transfer() 489 if (rtm->localBuf.buf != NULL) in SRTM_PdmEdmaAdapter_RxTransferProc() 491 bufAddr = rtm->localBuf.buf + chaseIdx * rtm->localRtm.periodSize; in SRTM_PdmEdmaAdapter_RxTransferProc() 514 if ((rtm->extBuf.buf != NULL) && (rtm->localBuf.buf != NULL)) in SRTM_PdmEdmaAdaptor_ResetExtBuf() [all …]
|
| D | srtm_pdm_sdma_adapter.c | 172 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdaptor_ResetLocalBuf() 210 if (rtm->localBuf.buf == NULL) in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA() 217 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA() 222 xfer.data = rtm->localBuf.buf + bufRtm->loadIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodReceiveSDMA() 278 …srtm_pdm_sdma_buf_runtime_t bufRtm = (rtm->localBuf.buf != NULL) ? &rtm->localRtm.bufRtm : &rtm->b… in SRTM_PdmSdmaAdapter_DmaTransfer() 312 src = rtm->localBuf.buf + srcRtm->leadIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_PeriodCopyAndNotify() 412 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdapter_Transfer() 444 if (rtm->localBuf.buf != NULL) in SRTM_PdmSdmaAdapter_RxTransferProc() 446 bufAddr = rtm->localBuf.buf + chaseIdx * rtm->localRtm.periodSize; in SRTM_PdmSdmaAdapter_RxTransferProc() 470 if ((rtm->extBuf.buf != NULL) && (rtm->localBuf.buf != NULL)) in SRTM_PdmSdmaAdaptor_ResetExtBuf() [all …]
|
| D | srtm_i2c_service.c | 63 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint16_t fl… in SRTM_I2CService_ReadBus() argument 97 … status = adapter->read(adapter, base_addr, type, slaveAddr, buf, len, flags); // APP_SRTM_I2C_Read in SRTM_I2CService_ReadBus() 102 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint16_t fl… in SRTM_I2CService_WriteBus() argument 136 …status = adapter->write(adapter, base_addr, type, slaveAddr, buf, len, flags); // APP_SRTM_I2C_Wri… in SRTM_I2CService_WriteBus() 281 srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len) in SRTM_I2C_RequestBusRead() argument 305 (void)memcpy(buf, i2cReq->data, len); in SRTM_I2C_RequestBusRead() 317 …srtm_service_t service, uint8_t busID, uint16_t slaveAddr, uint8_t *buf, uint16_t len, uint8_t nee… in SRTM_I2C_RequestBusWrite() argument 334 (void)memcpy(i2cReq->data, buf, len); in SRTM_I2C_RequestBusWrite()
|
| /hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QM6/drivers/ |
| D | fsl_sc_event.c | 42 uint8_t buf[sizeof(struct _sc_event_handler) - sizeof(sc_event_list_t)]; member 128 void *buf; in SCEvent_Pool_Alloc() local 159 buf = (void *)s_freeHandlerPool.next; in SCEvent_Pool_Alloc() 165 return buf; in SCEvent_Pool_Alloc() 173 static void SCEvent_Pool_Free(void *buf) in SCEvent_Pool_Free() argument 179 …assert(((uint32_t)((sc_event_handler_buf_t*)buf) - (uint32_t)&s_handlerBuf[0]) % sizeof(sc_event_h… in SCEvent_Pool_Free() 180 hBuf = (sc_event_handler_t)buf; in SCEvent_Pool_Free()
|
| /hal_nxp-latest/mcux/mcux-sdk/utilities/debug_console/debug_console/ |
| D | fsl_debug_console.c | 276 static void DbgConsole_PrintCallback(char *buf, int32_t *indicator, char dbgVal, int len); 282 int DbgConsole_ReadLine(uint8_t *buf, size_t size); 629 int DbgConsole_ReadLine(uint8_t *buf, size_t size) in DbgConsole_ReadLine() argument 633 assert(buf != NULL); in DbgConsole_ReadLine() 648 if ((status_t)kStatus_Success != DbgConsole_ReadOneCharacter(&buf[i])) in DbgConsole_ReadLine() 658 (void)DbgConsole_EchoCharacter(&buf[i], false, &i); in DbgConsole_ReadLine() 661 if (((uint8_t)'\r' == buf[i]) || ((uint8_t)'\n' == buf[i])) in DbgConsole_ReadLine() 666 buf[i] = (uint8_t)'\0'; in DbgConsole_ReadLine() 680 buf[i] = (uint8_t)'\0'; in DbgConsole_ReadLine() 684 buf[i + 1] = (uint8_t)'\0'; in DbgConsole_ReadLine() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/utilities/debug_console/ |
| D | fsl_debug_console.c | 276 static void DbgConsole_PrintCallback(char *buf, int32_t *indicator, char dbgVal, int len); 282 int DbgConsole_ReadLine(uint8_t *buf, size_t size); 630 int DbgConsole_ReadLine(uint8_t *buf, size_t size) in DbgConsole_ReadLine() argument 634 assert(buf != NULL); in DbgConsole_ReadLine() 649 if ((status_t)kStatus_Success != DbgConsole_ReadOneCharacter(&buf[i])) in DbgConsole_ReadLine() 659 (void)DbgConsole_EchoCharacter(&buf[i], false, &i); in DbgConsole_ReadLine() 662 if (((uint8_t)'\r' == buf[i]) || ((uint8_t)'\n' == buf[i])) in DbgConsole_ReadLine() 667 buf[i] = (uint8_t)'\0'; in DbgConsole_ReadLine() 681 buf[i] = (uint8_t)'\0'; in DbgConsole_ReadLine() 685 buf[i + 1] = (uint8_t)'\0'; in DbgConsole_ReadLine() [all …]
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-connectivity-framework/platform/Common/ |
| D | fwk_platform_mcuboot_ota.ch | 157 …uint32_t buf[PLATFORM_EXTFLASH_PAGE_SIZE / 4]; /* ensure the buffer is word aligned */ 159 …(struct image_trailer *)((uint8_t *)buf + PLATFORM_EXTFLASH_PAGE_SIZE - sizeof(struct image_traile… 164 memset(buf, 0xff, PLATFORM_EXTFLASH_PAGE_SIZE); 176 …status = PLATFORM_WriteExternalFlash((uint8_t *)buf, PLATFORM_EXTFLASH_PAGE_SIZE, _PAGE_ADDR(off)); 195 …uint32_t buf[PLATFORM_EXTFLASH_PAGE_SIZE / 4]; /* ensure the buffer is word aligned */ 197 …(struct image_trailer *)((uint8_t *)buf + PLATFORM_EXTFLASH_PAGE_SIZE - sizeof(struct image_traile… 201 memset(buf, 0xff, PLATFORM_EXTFLASH_PAGE_SIZE); 214 …status = PLATFORM_WriteExternalFlash((uint8_t *)buf, PLATFORM_EXTFLASH_PAGE_SIZE, _PAGE_ADDR(off)); 230 …uint32_t buf[PLATFORM_EXTFLASH_PAGE_SIZE / 4]; /* ensure the buffer is word aligned */ 232 …(struct image_trailer *)((uint8_t *)buf + PLATFORM_EXTFLASH_PAGE_SIZE - sizeof(struct image_traile… [all …]
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/incl/port/net/zephyr/ |
| D | wm_net.h | 266 static inline uint8_t *net_stack_buffer_skip(void *buf, uint16_t in_offset) in net_stack_buffer_skip() argument 269 struct net_buf *frag = ((struct net_pkt *)buf)->frags; in net_stack_buffer_skip() 283 static inline void net_stack_buffer_free(void *buf) in net_stack_buffer_free() argument 285 net_pkt_unref((struct net_pkt *)buf); in net_stack_buffer_free() 304 static inline void *net_stack_buffer_get_payload(void *buf) in net_stack_buffer_get_payload() argument 306 return net_pkt_data((struct net_pkt *)buf); in net_stack_buffer_get_payload()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/video/camera/receiver/isi/ |
| D | fsl_isi_camera_adapter.c | 397 uint32_t buf; in ISI_ADAPTER_IRQHandler() local 413 buf = privateData->activeBuf[privateData->outputBufIdx]; in ISI_ADAPTER_IRQHandler() 416 if (buf != privateData->dropFrame) in ISI_ADAPTER_IRQHandler() 418 status = VIDEO_RINGBUF_Put(&privateData->fullRingBuf, (uint8_t *)buf); in ISI_ADAPTER_IRQHandler() 450 if (kStatus_Success != VIDEO_RINGBUF_Get(&(privateData->emptyRingBuf), (void **)(&buf))) in ISI_ADAPTER_IRQHandler() 455 buf = privateData->dropFrame; in ISI_ADAPTER_IRQHandler() 458 ISI_ADAPTER_LoadEmptyBuffer(handle, buf); in ISI_ADAPTER_IRQHandler()
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/lpflexcomm/lpi2c/ |
| D | fsl_lpi2c.c | 789 uint8_t *buf; in LPI2C_MasterStop() local 826 buf = (uint8_t *)rxBuff; in LPI2C_MasterStop() 861 *buf++ = (uint8_t)(value & LPI2C_MRDR_DATA_MASK); in LPI2C_MasterStop() 889 uint8_t *buf = (uint8_t *)txBuff; in LPI2C_MasterSend() local 904 base->MTDR = *buf++; in LPI2C_MasterSend() 1171 sendval = ((uint16_t)handle->buf[0]) | (((uint16_t)handle->buf[1]) << 8U); in LPI2C_RunTransferStateMachine() 1173 handle->buf++; in LPI2C_RunTransferStateMachine() 1174 handle->buf++; in LPI2C_RunTransferStateMachine() 1184 handle->buf = (uint8_t *)xfer->data; in LPI2C_RunTransferStateMachine() 1253 base->MTDR = *(handle->buf)++; in LPI2C_RunTransferStateMachine() [all …]
|