| /hal_nxp-latest/mcux/mcux-sdk/components/gpio/ |
| D | fsl_adapter_rt_gpio.c | 60 hal_gpio_state_t *head = s_GpioHead; in HAL_GpioInterruptHandle() local 65 while (NULL != head) in HAL_GpioInterruptHandle() 67 portIntFlags = GPIO_PortGetInterruptStatus(GPIO, head->pin.port, intNum); in HAL_GpioInterruptHandle() 68 if (0U != (portIntFlags & (1UL << head->pin.pin))) in HAL_GpioInterruptHandle() 70 if (NULL != head->callback) in HAL_GpioInterruptHandle() 72 head->callback(head->callbackParam); in HAL_GpioInterruptHandle() 74 GPIO_PinClearInterruptFlag(GPIO, head->pin.port, head->pin.pin, intNum); in HAL_GpioInterruptHandle() 75 if ((uint16_t)kHAL_GpioInterruptEitherEdge == head->pin.trigger) in HAL_GpioInterruptHandle() 77 pinLevel = (uint8_t)GPIO_PinRead(GPIO, head->pin.port, head->pin.pin); in HAL_GpioInterruptHandle() 81 GPIO_SetPinInterruptConfig(GPIO, head->pin.port, head->pin.pin, &triggerConfig); in HAL_GpioInterruptHandle() [all …]
|
| D | fsl_adapter_gpio.c | 77 hal_gpio_state_t *head = s_GpioHead; in HAL_GpioInterruptHandle() local 81 while (NULL != head) in HAL_GpioInterruptHandle() 83 if (head->port == port) in HAL_GpioInterruptHandle() 87 head = head->next; in HAL_GpioInterruptHandle() 90 if (NULL == head) in HAL_GpioInterruptHandle() 95 head = s_GpioHead; in HAL_GpioInterruptHandle() 110 while (NULL != head) in HAL_GpioInterruptHandle() 112 if ((pin == head->pin) && (port == head->port)) in HAL_GpioInterruptHandle() 114 if (NULL != head->callback) in HAL_GpioInterruptHandle() 116 head->callback(head->callbackParam); in HAL_GpioInterruptHandle() [all …]
|
| D | fsl_adapter_igpio.c | 58 hal_gpio_state_t *head = s_GpioHead; in HAL_GpioInterruptHandle() local 66 while (NULL != head) in HAL_GpioInterruptHandle() 69 if (kHAL_GpioInterruptDisable != (hal_gpio_interrupt_trigger_t)head->pin.trigger) in HAL_GpioInterruptHandle() 71 if ((gpio_port == head->pin.port) && (0U != (intFlag & ((uint32_t)1 << head->pin.pin)))) in HAL_GpioInterruptHandle() 73 if ((NULL != head->callback)) in HAL_GpioInterruptHandle() 75 head->callback(head->callbackParam); in HAL_GpioInterruptHandle() 80 head = head->next; in HAL_GpioInterruptHandle() 190 static hal_gpio_status_t HAL_GpioConflictSearch(hal_gpio_state_t *head, uint8_t gpio_port, uint8_t … in HAL_GpioConflictSearch() argument 192 while (NULL != head) in HAL_GpioConflictSearch() 194 if ((head->pin.port == gpio_port) && (head->pin.pin == pin)) in HAL_GpioConflictSearch() [all …]
|
| D | fsl_adapter_rgpio.c | 62 hal_gpio_state_t *head = s_GpioHead; in HAL_GpioInterruptHandle() local 71 while (NULL != head) in HAL_GpioInterruptHandle() 75 if (0U != (portIntFlags & (1UL << head->pin.pin))) in HAL_GpioInterruptHandle() 77 if (NULL != head->callback) in HAL_GpioInterruptHandle() 79 head->callback(head->callbackParam); in HAL_GpioInterruptHandle() 85 head = head->next; in HAL_GpioInterruptHandle() 146 static hal_gpio_status_t HAL_GpioConflictSearch(hal_gpio_state_t *head, uint8_t gpio_port, uint8_t … in HAL_GpioConflictSearch() argument 148 while (NULL != head) in HAL_GpioConflictSearch() 150 if ((head->pin.port == gpio_port) && (head->pin.pin == pin)) in HAL_GpioConflictSearch() 154 head = head->next; in HAL_GpioConflictSearch() [all …]
|
| D | fsl_adapter_gint.c | 322 hal_gpio_state_t *head = s_GpioHead; 328 while (head) 330 GINT_GetConfigPins(GINT0, head->pin.port, &polarityMask, &enableMask); 331 pinMask = 1 << head->pin.pin; 336 pinState = (GPIO_PinRead(gpioList[0], head->pin.port, head->pin.pin) ? 1 : 0); 337 if((polarityMask & pinMask) == (pinState << head->pin.pin)) 339 if ((NULL != head->callback)) 341 head->callback(NULL); 345 head = head->next; 349 static hal_gpio_status_t HAL_GpioConflictSearch(hal_gpio_state_t *head, uint8_t port, uint8_t pin) [all …]
|
| D | fsl_adapter_lpc_gpio.c | 105 hal_gpio_state_t *head = s_GpioHead; in HAL_GpioInterruptHandle() local 107 while (NULL != head) in HAL_GpioInterruptHandle() 109 if ((pin == head->pin.pin) && (port == head->pin.port)) in HAL_GpioInterruptHandle() 111 if ((NULL != head->callback)) in HAL_GpioInterruptHandle() 113 head->callback(head->callbackParam); in HAL_GpioInterruptHandle() 116 head = head->next; in HAL_GpioInterruptHandle() 120 static hal_gpio_status_t HAL_GpioConflictSearch(hal_gpio_state_t *head, uint8_t port, uint8_t pin) in HAL_GpioConflictSearch() argument 122 while (NULL != head) in HAL_GpioConflictSearch() 124 if ((head->pin.port == port) && (head->pin.pin == pin)) in HAL_GpioConflictSearch() 128 head = head->next; in HAL_GpioConflictSearch() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/srtm/srtm/ |
| D | srtm_message.c | 98 srtm_packet_head_t *head; in SRTM_CommMessage_Create() local 109 head = (srtm_packet_head_t *)(msg->data); in SRTM_CommMessage_Create() 110 head->category = category; in SRTM_CommMessage_Create() 111 head->majorVersion = (uint8_t)SRTM_MESSAGE_MAJOR_VERSION(version); in SRTM_CommMessage_Create() 112 head->minorVersion = (uint8_t)SRTM_MESSAGE_MINOR_VERSION(version); in SRTM_CommMessage_Create() 113 head->type = (uint8_t)type; in SRTM_CommMessage_Create() 114 head->command = command; in SRTM_CommMessage_Create() 115 head->priority = msg->priority; in SRTM_CommMessage_Create() 128 srtm_packet_head_t *head; in SRTM_CommMessage_GetPacketHead() local 133 head = (srtm_packet_head_t *)(message->data); in SRTM_CommMessage_GetPacketHead() [all …]
|
| D | srtm_dispatcher.c | 43 srtm_packet_head_t *head; in SRTM_DumpMessage() local 49 head = (srtm_packet_head_t *)msg->data; in SRTM_DumpMessage() 51 … head->category, head->majorVersion, head->minorVersion, head->type, head->command, in SRTM_DumpMessage() 52 head->priority); in SRTM_DumpMessage() 736 srtm_packet_head_t *head; in SRTM_Dispatcher_PostRecvData() local 767 head = (srtm_packet_head_t *)buf; in SRTM_Dispatcher_PostRecvData() 768 message->type = (srtm_message_type_t)head->type; in SRTM_Dispatcher_PostRecvData() 769 message->priority = head->priority; in SRTM_Dispatcher_PostRecvData()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-multicore/rpmsg_lite/lib/common/ |
| D | llist.c | 57 void add_to_list(struct llist **head, struct llist *node) in add_to_list() argument 65 if (*head != LIST_NULL) in add_to_list() 68 node->next = *head; in add_to_list() 70 (*head)->prev = node; in add_to_list() 71 *head = node; in add_to_list() 76 *head = node; in add_to_list() 77 (*head)->next = LIST_NULL; in add_to_list() 78 (*head)->prev = LIST_NULL; in add_to_list() 91 void remove_from_list(struct llist **head, struct llist *node) in remove_from_list() argument 93 if ((*head == LIST_NULL) || (node == LIST_NULL)) in remove_from_list() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/components/lists/ |
| D | fsl_component_generic_list.c | 36 list_element_handle_t element = list->head; in LIST_Error_Check() 82 list->head = NULL; in LIST_Init() 134 list->head = listElement; in LIST_AddTail() 187 list->head->prev = listElement; in LIST_AddHead() 192 listElement->next = list->head; in LIST_AddHead() 193 list->head = listElement; in LIST_AddHead() 228 listElement = list->head; in LIST_RemoveHead() 242 list->head = listElement->next; /*Is NULL if element is head*/ in LIST_RemoveHead() 266 return list->head; in LIST_GetHead() 340 list_element_handle_t element_list = listElement->list->head; in LIST_RemoveElement() [all …]
|
| D | fsl_component_generic_list.h | 70 struct list_element_tag *head; /*!< list head */ member
|
| /hal_nxp-latest/mcux/mcux-sdk/components/serial_manager/ |
| D | fsl_component_serial_port_usb.c | 196 static serial_usb_cdc_state_t *USB_DeviceGetInstanceFromDeviceHandle(serial_usb_cdc_state_t *head, in USB_DeviceGetInstanceFromDeviceHandle() argument 199 while (NULL != head) in USB_DeviceGetInstanceFromDeviceHandle() 201 if (head->deviceHandle == deviceHandle) in USB_DeviceGetInstanceFromDeviceHandle() 203 return head; in USB_DeviceGetInstanceFromDeviceHandle() 205 head = head->next; in USB_DeviceGetInstanceFromDeviceHandle() 210 static serial_usb_cdc_state_t *USB_DeviceGetInstanceFromClassHandle(serial_usb_cdc_state_t *head, in USB_DeviceGetInstanceFromClassHandle() argument 213 while (NULL != head) in USB_DeviceGetInstanceFromClassHandle() 215 if (head->cdcAcmHandle == ClassHandle) in USB_DeviceGetInstanceFromClassHandle() 217 return head; in USB_DeviceGetInstanceFromClassHandle() 219 head = head->next; in USB_DeviceGetInstanceFromClassHandle() [all …]
|
| D | fsl_component_serial_port_virtual.c | 79 static serial_manager_status_t Serial_PortVirtualAddItem(serial_port_virtual_state_t **head, in Serial_PortVirtualAddItem() argument 82 serial_port_virtual_state_t *p = *head; in Serial_PortVirtualAddItem() 89 *head = node; in Serial_PortVirtualAddItem() 110 static serial_manager_status_t Serial_PortVirtualRemoveItem(serial_port_virtual_state_t **head, in Serial_PortVirtualRemoveItem() argument 113 serial_port_virtual_state_t *p = *head; in Serial_PortVirtualRemoveItem() 124 *head = p->next; in Serial_PortVirtualRemoveItem()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/mem_manager/ |
| D | fsl_component_mem_manager_light.c | 160 struct blockHeader_s *head; member 585 p_area->ctx.FreeBlockHdrList.head = firstBlockHdr; in MEM_RegisterExtendedArea() 610 blockHeader_t *FreeBlockHdr = p_area->ctx.FreeBlockHdrList.head; in MEM_AreaIsEmpty() 682 blockHeader_t *FreeBlockHdr = p_area->ctx.FreeBlockHdrList.head; in MEM_BufferAllocateFromArea() 736 if (p_area->ctx.FreeBlockHdrList.head == FreeBlockHdr) in MEM_BufferAllocateFromArea() 738 p_area->ctx.FreeBlockHdrList.head = NextFreeBlockHdr; in MEM_BufferAllocateFromArea() 743 assert(p_area->ctx.FreeBlockHdrList.head->next_free <= FreeBlockHdr); in MEM_BufferAllocateFromArea() 799 if (p_area->ctx.FreeBlockHdrList.head == FreeBlockHdr) in MEM_BufferAllocateFromArea() 801 assert(p_area->ctx.FreeBlockHdrList.head == p_area->ctx.FreeBlockHdrList.tail); in MEM_BufferAllocateFromArea() 805 p_area->ctx.FreeBlockHdrList.head = FreeBlockHdr->next_free; in MEM_BufferAllocateFromArea() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/boards/mekmimx8qx/ |
| D | board.c | 777 static inline pad_ele_t Padlist_Find(pad_ele_t head, sc_pad_t pad) in Padlist_Find() argument 780 if (NULL == head) in Padlist_Find() 782 pad_ele = head; in Padlist_Find() 790 if (pad_ele == head) in Padlist_Find() 797 static inline void Padlist_Insert(pad_ele_t head, pad_ele_t ele) in Padlist_Insert() argument 799 assert(head); in Padlist_Insert() 802 ele->prev = head->prev; in Padlist_Insert() 803 ele->next = head; in Padlist_Insert() 804 head->prev->next = ele; in Padlist_Insert() 805 head->prev = ele; in Padlist_Insert() [all …]
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-usb/host/ |
| D | usb_host_ohci.c | 1093 uint32_t head = pipe->ed->HeadP & USB_HOST_OHCI_ED_HEADP_MASK; in USB_HostOhciTdDoneHandle() local 1095 if (head != tail) in USB_HostOhciTdDoneHandle() 1561 usb_host_ohci_general_transfer_descritpor_struct_t *head; in USB_HostOhciLinkGtdControlTr() local 1592 … head = (usb_host_ohci_general_transfer_descritpor_struct_t *)pipe->ed->TailP; in USB_HostOhciLinkGtdControlTr() 1593 head->NextTD = (uint32_t)p; in USB_HostOhciLinkGtdControlTr() 1594 p = head; in USB_HostOhciLinkGtdControlTr() 1617 … head = (usb_host_ohci_general_transfer_descritpor_struct_t *)pipe->ed->TailP; in USB_HostOhciLinkGtdControlTr() 1618 head->NextTD = (uint32_t)p; in USB_HostOhciLinkGtdControlTr() 1619 p = head; in USB_HostOhciLinkGtdControlTr() 1635 … head = (usb_host_ohci_general_transfer_descritpor_struct_t *)pipe->ed->TailP; in USB_HostOhciLinkGtdControlTr() [all …]
|
| /hal_nxp-latest/mcux/mcux-sdk/drivers/csi/ |
| D | fsl_csi.c | 139 bq->head = -1; in CSI_InitBufferQueue() 145 return bq->head == -1; in CSI_IsBufferQueueEmpty() 159 return bq->tail - bq->head + 1; in CSI_BufferQueueCount() 171 bq->head = 0; in CSI_EnqueueBuffer() 187 uint32_t addr = bq->addr[bq->head]; in CSI_DequeueBuffer() 189 if (bq->head == bq->tail) in CSI_DequeueBuffer() 191 bq->head = -1; in CSI_DequeueBuffer() 196 bq->head++; in CSI_DequeueBuffer()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/i3c_bus/ |
| D | fsl_component_i3c.c | 234 …for (list_element_handle_t listItem = i3cDevList->head; listItem != NULL; listItem = listItem->nex… in I3C_BusMasterAssignDevDynamicAddr() 277 …for (list_element_handle_t listItem = i3cDevList->head; listItem != NULL; listItem = listItem->nex… in I3C_BusMasterAddExistingI3CDevs() 630 …for (list_element_handle_t listItem = i3cDevList->head; listItem != NULL; listItem = listItem->nex… in I3C_BusMasterDoDAA() 710 for (listItem = i2cDevList->head; listItem != NULL; listItem = listItem->next) in I3C_BusMasterSendSlavesList() 715 for (listItem = i3cDevList->head; listItem != NULL; listItem = listItem->next) in I3C_BusMasterSendSlavesList() 741 for (listItem = i2cDevList->head; listItem != NULL; listItem = listItem->next) in I3C_BusMasterSendSlavesList() 748 for (listItem = i3cDevList->head; listItem != NULL; listItem = listItem->next) in I3C_BusMasterSendSlavesList() 922 for (listItem = i3cDevList->head; listItem != NULL; listItem = listItem->next) in I3C_BusMasterHandleIBI()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/log/ |
| 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 45 (void)head; in log_backend_ringbuffer_update()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/osa/ |
| D | fsl_os_abstraction_bm.c | 135 uint16_t head; /*!< Index of the next message to be read */ member 428 (&tcb->link)->list->head = (struct list_element_tag *)(void *)ptaskStruct; in OSA_TaskSetPriority() 498 (&tcb->link)->list->head = (struct list_element_tag *)(void *)ptaskStruct; in OSA_TaskCreate() 1213 pMsgQStruct->head = 0; in OSA_MsgQCreate() 1316 pMsgArray[i] = pQueue->queueMem[pQueue->head + i]; in OSA_MsgQGet() 1320 pQueue->head += (uint16_t)pQueue->size; in OSA_MsgQGet() 1323 if (pQueue->head >= (pQueue->max * pQueue->size)) in OSA_MsgQGet() 1325 pQueue->head = 0; in OSA_MsgQGet()
|
| /hal_nxp-latest/mcux/middleware/mcux-sdk-middleware-multicore/rpmsg_lite/lib/include/ |
| D | llist.h | 59 void add_to_list(struct llist **head, struct llist *node); 60 void remove_from_list(struct llist **head, struct llist *node);
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/incl/ |
| D | mlan_wmm.h | 47 static INLINE int wlan_wmm_list_len(pmlan_adapter pmadapter, pmlan_list_head head) in wlan_wmm_list_len() argument 54 pos = head->pnext; in wlan_wmm_list_len() 56 while (pos != (pmlan_linked_list)(void *)head) in wlan_wmm_list_len()
|
| /hal_nxp-latest/mcux/middleware/wifi_nxp/wifidriver/ |
| D | mlan_cfp.c | 2248 MrvlIEtypesHeader_t *head; local 2284 while (tlv_buf_left >= sizeof(*head)) 2286 head = (MrvlIEtypesHeader_t *)(void *)tlv_buf; 2287 tlv = wlan_le16_to_cpu(head->type); 2288 tlv_buf_len = wlan_le16_to_cpu(head->len); 2290 if (tlv_buf_left < (sizeof(*head) + tlv_buf_len)) 2294 data = (t_u8 *)head + sizeof(*head); 2531 tlv_buf += (sizeof(*head) + tlv_buf_len); 2532 tlv_buf_left -= ((t_u16)sizeof(*head) + tlv_buf_len);
|
| D | mlan_cmdevt.c | 694 MrvlIEtypesHeader_t *head = MNULL; in wlan_ret_tx_rate_cfg() local 766 head = (MrvlIEtypesHeader_t *)(void *)tlv_buf; in wlan_ret_tx_rate_cfg() 767 head->len = wlan_le16_to_cpu(head->len); in wlan_ret_tx_rate_cfg() 768 tlv_buf += head->len + sizeof(MrvlIEtypesHeader_t); in wlan_ret_tx_rate_cfg() 769 tlv_buf_len -= (head->len + sizeof(MrvlIEtypesHeader_t)); in wlan_ret_tx_rate_cfg()
|
| /hal_nxp-latest/mcux/mcux-sdk/components/power_manager/core/ |
| D | fsl_pm_core.c | 127 currElement = (pm_notify_element_t *)(void *)(s_pmHandle->notifyList[i].head); in PM_notifyPowerStateEntry() 168 currElement = (pm_notify_element_t *)(void *)(s_pmHandle->notifyList[i].head); in PM_notifyPowerStateExit() 676 currWakeUpSource = (pm_wakeup_source_t *)(void *)(s_pmHandle->wakeupSourceList.head); in PM_HandleWakeUpEvent()
|