Home
last modified time | relevance | path

Searched refs:next (Results 1 – 25 of 69) sorted by relevance

123

/hal_nxp-latest/mcux/mcux-sdk/components/lists/
Dfsl_component_generic_list.c53 element = element->next; in LIST_Error_Check()
138 list->tail->next = listElement; in LIST_AddTail()
145 listElement->next = NULL; in LIST_AddTail()
192 listElement->next = list->head; in LIST_AddHead()
238 listElement->next->prev = NULL; in LIST_RemoveHead()
242 list->head = listElement->next; /*Is NULL if element is head*/ in LIST_RemoveHead()
286 return listElement->next; in LIST_GetNext()
346 listElement->list->head = element_list->next; in LIST_RemoveElement()
349 if (element_list->next == listElement) in LIST_RemoveElement()
352 element_list->next = listElement->next; in LIST_RemoveElement()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_list.h33 struct _srtm_list *next; /*!< next list node */ member
53 list->next = list; in SRTM_List_Init()
66 return list->next == list; in SRTM_List_IsEmpty()
80 node->next = list->next; in SRTM_List_AddHead()
82 list->next->prev = node; in SRTM_List_AddHead()
83 list->next = node; in SRTM_List_AddHead()
98 node->next = list; in SRTM_List_AddTail()
99 list->prev->next = node; in SRTM_List_AddTail()
134 node->prev->next = node->next; in SRTM_List_Remove()
135 node->next->prev = node->prev; in SRTM_List_Remove()
Dsrtm_dispatcher.c128 list = disp->messageQ.next; in SRTM_Dispatcher_RecvMessage()
265 list = disp->cores.next; in SRTM_Dispatcher_Destroy()
273 list = disp->services.next; in SRTM_Dispatcher_Destroy()
281 list = disp->freeRxMsgs.next; in SRTM_Dispatcher_Destroy()
349 for (list = disp->cores.next; list != &disp->cores; list = list->next) in SRTM_Dispatcher_Run()
375 for (list = disp->cores.next; list != &disp->cores; list = list->next) in SRTM_Dispatcher_Run()
411 srtm_list_t *list, *next; in SRTM_Dispatcher_RemovePeerCore() local
435 for (list = disp->messageQ.next; list != &disp->messageQ; list = next) in SRTM_Dispatcher_RemovePeerCore()
437 next = list->next; in SRTM_Dispatcher_RemovePeerCore()
450 for (list = disp->waitingReqs.next; list != &disp->waitingReqs; list = next) in SRTM_Dispatcher_RemovePeerCore()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/imu_adapter/
Dfsl_adapter_imu_common.h37 #define list_for_each(cur, list) for ((cur) = (list)->next; (cur) != (list); (cur) = (cur)->next)
45 struct LIST_ELEM_st *next; member
55 list->next = list; in LIST_init()
65 elem->next = NULL; in LIST_elemInit()
81 (elem->prev)->next = newElem; in LIST_insertBefore()
82 newElem->next = elem; in LIST_insertBefore()
108 if ((elem->next == NULL) || (elem->prev == NULL)) in LIST_remove()
112 (elem->prev)->next = elem->next; in LIST_remove()
113 (elem->next)->prev = elem->prev; in LIST_remove()
115 elem->next = NULL; // to indicate this is not linked yet in LIST_remove()
/hal_nxp-latest/mcux/mcux-sdk/components/rpmsg/
Dfsl_adapter_rfcommon.h38 #define list_for_each(cur, list) for ((cur) = (list)->next; (cur) != (list); (cur) = (cur)->next)
46 struct LIST_ELEM_st *next; member
56 list->next = list; in LIST_init()
66 elem->next = NULL; in LIST_elemInit()
82 (elem->prev)->next = newElem; in LIST_insertBefore()
83 newElem->next = elem; in LIST_insertBefore()
109 if ((elem->next == NULL) || (elem->prev == NULL)) in LIST_remove()
113 (elem->prev)->next = elem->next; in LIST_remove()
114 (elem->next)->prev = elem->prev; in LIST_remove()
116 elem->next = NULL; // to indicate this is not linked yet in LIST_remove()
/hal_nxp-latest/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c146 struct blockHeader_s *next; member
181 memAreaCfg_t *next; /*< Next registered RAM area descriptor. */ member
268 assert((BlockHdr != NULL) && (BlockHdr->next != NULL)); in MEM_BufferAllocates_memStatis()
292 block_size = (uint32_t)BlockHdr->next - (uint32_t)BlockHdr - BLOCK_HDR_SIZE; in MEM_BufferAllocates_memStatis()
333 assert((BlockHdr != NULL) && (BlockHdr->next != NULL)); in MEM_BufferFrees_memStatis()
351 … block_size = (uint16_t)((uint32_t)BlockHdr->next - (uint32_t)BlockHdr - BLOCK_HDR_SIZE); in MEM_BufferFrees_memStatis()
365 blockHeader_t *NextBlockHdr = BlockHdr->next; in MEM_BufferFreeBlocksCleanUp()
378 while (PrevFreeBlockHdr->next == BlockHdr) in MEM_BufferFreeBlocksCleanUp()
383 PrevFreeBlockHdr->next = BlockHdr->next; in MEM_BufferFreeBlocksCleanUp()
388 assert(BlockHdr->next == BlockHdr->next_free); in MEM_BufferFreeBlocksCleanUp()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/devices/MIMX8QM6/drivers/
Dfsl_sc_event.c70 list->next = list; in SCEvent_List_Init()
83 return list->next == list; in SCEvent_List_IsEmpty()
98 node->next = list; in SCEvent_List_AddTail()
99 list->prev->next = node; in SCEvent_List_AddTail()
112 node->prev->next = node->next; in SCEvent_List_Remove()
113 node->next->prev = node->prev; in SCEvent_List_Remove()
131 if (s_freeHandlerPool.next == NULL) in SCEvent_Pool_Alloc()
134 if (s_freeHandlerPool.next == NULL) in SCEvent_Pool_Alloc()
159 buf = (void *)s_freeHandlerPool.next; in SCEvent_Pool_Alloc()
160 SCEvent_List_Remove(s_freeHandlerPool.next); in SCEvent_Pool_Alloc()
[all …]
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-multicore/rpmsg_lite/lib/common/
Dllist.c68 node->next = *head; in add_to_list()
77 (*head)->next = LIST_NULL; in add_to_list()
102 *head = (*head)->next; in remove_from_list()
104 else if (node->next == LIST_NULL) in remove_from_list()
107 node->prev->next = node->next; in remove_from_list()
112 node->prev->next = node->next; in remove_from_list()
113 node->next->prev = node->prev; in remove_from_list()
/hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_khci.c436 … ((tempTransfer->transferPipe->pipeType == USB_ENDPOINT_INTERRUPT) && (tempTransfer->next != NULL)) in _USB_HostKhciGetRightTrRequest()
440 usbHostPointer->periodicListPointer = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
444 prevTtransfer->next = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
449 tempTransfer = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
451 prevTtransfer->next = firstTransfer; in _USB_HostKhciGetRightTrRequest()
452 firstTransfer->next = NULL; in _USB_HostKhciGetRightTrRequest()
459 tempTransfer = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
469 if (tempTransfer->next != NULL) in _USB_HostKhciGetRightTrRequest()
471 usbHostPointer->asyncListPointer = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
478 tempTransfer = tempTransfer->next; in _USB_HostKhciGetRightTrRequest()
[all …]
Dusb_host_ehci.c845 transfer->next = NULL; in USB_HostEhciSingleStepQtdListInit()
848 transfer->next = NULL; in USB_HostEhciSingleStepQtdListInit()
853 transfer->next = NULL; in USB_HostEhciSingleStepQtdListInit()
854 vltQhPointer->ehciTransferTail->next = transfer; in USB_HostEhciSingleStepQtdListInit()
1105 temp = (void *)ehciPipePointer->pipeCommon.next; in USB_HostBandwidthFslsHostComputeCurrent()
1138 temp = (void *)ehciPipePointer->pipeCommon.next; in USB_HostBandwidthHsHostComputeCurrentFsls()
1146 temp = (void *)ehciPipePointer->pipeCommon.next; in USB_HostBandwidthHsHostComputeCurrentFsls()
1169 temp = (void *)ehciPipePointer->pipeCommon.next; in USB_HostBandwidthHsHostComputeCurrentFsls()
1253 temp = (void *)ehciPipePointer->pipeCommon.next; in USB_HostBandwidthHsHostComputeCurrentHsAll()
2191 transfer->next = NULL; in USB_HostEhciQhQtdListInit()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/log/
Dfsl_component_log.c60 struct log_string_node *next; member
179 backend = backend->next; in log_output_low_level()
246 s_logContext.pend = s_logContext.pend->next; in LOG_DumpInternal()
343 busy->next = s_logContext.idle; in LOG_DumpInternal()
370 s_logContext.stringNode[i].next = s_logContext.idle; in LOG_Init()
459 s_logContext.idle = s_logContext.idle->next; in LOG_AsyncPrintf()
470 s_logContext.pend = s_logContext.pend->next; in LOG_AsyncPrintf()
483 s_logContext.idle = s_logContext.idle->next; in LOG_AsyncPrintf()
503 node->next = NULL; in LOG_AsyncPrintf()
509 while (NULL != p->next) in LOG_AsyncPrintf()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_rgpio.c35 struct _hal_gpio_state *next; member
85 head = head->next; in HAL_GpioInterruptHandle()
154 head = head->next; in HAL_GpioConflictSearch()
172 while (NULL != p->next) in HAL_GpioAddItem()
179 p = p->next; in HAL_GpioAddItem()
182 p->next = node; in HAL_GpioAddItem()
184 node->next = NULL; in HAL_GpioAddItem()
202 *head = p->next; in HAL_GpioRemoveItem()
206 q->next = p->next; in HAL_GpioRemoveItem()
213 p = p->next; in HAL_GpioRemoveItem()
Dfsl_adapter_rt_gpio.c34 struct _hal_gpio_state *next; member
85 head = head->next; in HAL_GpioInterruptHandle()
114 head = head->next; in HAL_GpioConflictSearch()
132 while (NULL != p->next) in HAL_GpioAddItem()
139 p = p->next; in HAL_GpioAddItem()
142 p->next = node; in HAL_GpioAddItem()
144 node->next = NULL; in HAL_GpioAddItem()
162 *head = p->next; in HAL_GpioRemoveItem()
166 q->next = p->next; in HAL_GpioRemoveItem()
173 p = p->next; in HAL_GpioRemoveItem()
Dfsl_adapter_igpio.c34 struct _hal_gpio_state *next; member
80 head = head->next; in HAL_GpioInterruptHandle()
198 head = head->next; in HAL_GpioConflictSearch()
216 while (NULL != p->next) in HAL_GpioAddItem()
223 p = p->next; in HAL_GpioAddItem()
226 p->next = node; in HAL_GpioAddItem()
228 node->next = NULL; in HAL_GpioAddItem()
246 *head = p->next; in HAL_GpioRemoveItem()
250 q->next = p->next; in HAL_GpioRemoveItem()
257 p = p->next; in HAL_GpioRemoveItem()
Dfsl_adapter_gpio.c50 struct _hal_gpio_state *next; member
87 head = head->next; in HAL_GpioInterruptHandle()
125 head = head->next; in HAL_GpioInterruptHandle()
139 head = head->next; in HAL_GpioConflictSearch()
167 p = p->next; in HAL_GpioAddItem()
170 q->next = node; in HAL_GpioAddItem()
172 node->next = NULL; in HAL_GpioAddItem()
190 *head = p->next; in HAL_GpioRemoveItem()
194 q->next = p->next; in HAL_GpioRemoveItem()
201 p = p->next; in HAL_GpioRemoveItem()
Dfsl_adapter_lpc_gpio.c57 struct _hal_gpio_state *next; member
116 head = head->next; in HAL_GpioInterruptHandle()
128 head = head->next; in HAL_GpioConflictSearch()
146 while (NULL != p->next) in HAL_GpioAddItem()
153 p = p->next; in HAL_GpioAddItem()
156 p->next = node; in HAL_GpioAddItem()
158 node->next = NULL; in HAL_GpioAddItem()
176 *head = p->next; in HAL_GpioRemoveItem()
180 q->next = p->next; in HAL_GpioRemoveItem()
187 p = p->next; in HAL_GpioRemoveItem()
Dfsl_adapter_gint.c345 head = head->next;
357 head = head->next;
375 while (p->next)
382 p = p->next;
385 p->next = node;
387 node->next = NULL;
405 *head = p->next;
409 q->next = p->next;
416 p = p->next;
488 if (NULL == gpioStateHandle->next)
/hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_usb.c117 struct _serial_usb_cdc_state *next; /* Next pointer of the interface */ member
205 head = head->next; in USB_DeviceGetInstanceFromDeviceHandle()
219 head = head->next; in USB_DeviceGetInstanceFromClassHandle()
237 while (NULL != p->next) in USB_DeviceAddItem()
244 p = p->next; in USB_DeviceAddItem()
247 p->next = node; in USB_DeviceAddItem()
249 node->next = NULL; in USB_DeviceAddItem()
267 *head = p->next; in USB_DeviceRemoveItem()
271 q->next = p->next; in USB_DeviceRemoveItem()
278 p = p->next; in USB_DeviceRemoveItem()
[all …]
Dfsl_component_serial_port_virtual.c59 struct _serial_port_virtual_state *next; /* Next pointer of the interface */ member
93 while (NULL != p->next) in Serial_PortVirtualAddItem()
100 p = p->next; in Serial_PortVirtualAddItem()
103 p->next = node; in Serial_PortVirtualAddItem()
105 node->next = NULL; in Serial_PortVirtualAddItem()
124 *head = p->next; in Serial_PortVirtualRemoveItem()
128 q->next = p->next; in Serial_PortVirtualRemoveItem()
135 p = p->next; in Serial_PortVirtualRemoveItem()
/hal_nxp-latest/mcux/mcux-sdk/components/button/
Dfsl_component_button.c53 struct _button_state *next; member
246 buttonState = buttonState->next; in BUTTON_Task()
288 buttonState = buttonState->next;
375 buttonState->next = s_buttonList.button;
425 while ((NULL != buttonStatePre) && (buttonStatePre->next != buttonState))
427 buttonStatePre = buttonStatePre->next;
431 buttonStatePre->next = buttonState->next;
436 s_buttonList.button = buttonState->next;
521 buttonState = buttonState->next;
559 buttonState = buttonState->next;
/hal_nxp-latest/mcux/mcux-sdk/components/timer_manager/
Dfsl_component_timer_manager.c99 struct _timer_handle_struct_t *next; /*!< LIST_ element of the link */ member
310 th = th->next; in TimersUpdate()
336 th_next = th->next; in TimerManagerTaskProcess()
793 th = th->next; in TM_Open()
799 timerState->next = NULL; in TM_Open()
804 timerState->next = s_timermanager.timerHead; in TM_Open()
837 while ((NULL != timerStatePre) && (timerStatePre->next != timerState)) in TM_Close()
839 timerStatePre = timerStatePre->next; in TM_Close()
843 timerStatePre->next = timerState->next; in TM_Close()
848 s_timermanager.timerHead = timerState->next; in TM_Close()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/scripts/kconfig/
Dkconfiglib.py1085 self._parse_block(None, self.top_node, self.top_node).next = None
1086 self.top_node.list = self.top_node.next
1087 self.top_node.next = None
1611 elif node.next:
1612 node = node.next
1624 if node.next:
1625 node = node.next
1939 elif node.next:
1940 node = node.next
1944 if node.next:
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/wlcmgr/
Dwlan.c694 TX_SEMAPHORE *next; in dbg_lock_info()
697 &first_suspended, &suspended_count, &next); in dbg_lock_info()
1623 static void wlcm_request_reconnect(enum cm_sta_state *next, struct wlan_network *network);
2913 static void wlcm_process_deepsleep_event(struct wifi_message *msg, enum cm_sta_state *next) in wlcm_process_deepsleep_event() argument
3003 static void wlcm_process_scan_result_event(struct wifi_message *msg, enum cm_sta_state *next) in wlcm_process_scan_result_event() argument
3016 *next = wlan.sta_state; in wlcm_process_scan_result_event()
3017 wlcm_d("SM: returned to %s", dbg_sta_state_name(*next)); in wlcm_process_scan_result_event()
3042 *next = wlan.sta_return_to; in wlcm_process_scan_result_event()
3043 wlcm_d("SM: returned to %s", dbg_sta_state_name(*next)); in wlcm_process_scan_result_event()
3083 wlcm_d("SM: returned to %s", dbg_sta_state_name(*next)); in wlcm_process_scan_result_event()
[all …]
/hal_nxp-latest/mcux/middleware/wifi_nxp/port/net/zephyr/
Dnet.c700 struct group_ip4_addr *next; member
734 curr->next = igmp_ip4_list; in igmp_mac_filter()
750 igmp_ip4_list = curr->next; in igmp_mac_filter()
770 igmp_ip4_list = curr->next; in igmp_mac_filter()
779 prev->next = curr->next; in igmp_mac_filter()
790 curr = curr->next; in igmp_mac_filter()
802 curr = curr->next; in igmp_mac_filter()
827 struct group_ip6_addr *next; member
861 curr->next = mld_ip6_list; in mld_mac_filter()
877 mld_ip6_list = mld_ip6_list->next; in mld_mac_filter()
[all …]
/hal_nxp-latest/mcux/mcux-sdk/boards/mekmimx8qx/
Dboard.c37 pad_ele_t next; member
728 pad_ele = pad_ele->next; in BOARD_CheckNextWakeupButton()
789 pad_ele = pad_ele->next; in Padlist_Find()
803 ele->next = head; in Padlist_Insert()
804 head->prev->next = ele; in Padlist_Insert()
810 ele->prev->next = ele->next; in Padlist_Remove()
811 ele->next->prev = ele->prev; in Padlist_Remove()
836 pad_ele->next = pad_ele; in BOARD_EnablePadWakeup()
862 if (pad_ele->next == pad_ele) in BOARD_EnablePadWakeup()
871 pad_ele->next = NULL; in BOARD_EnablePadWakeup()

123