Home
last modified time | relevance | path

Searched refs:head (Results 1 – 24 of 24) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/components/gpio/
Dfsl_adapter_rt_gpio.c60 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 …]
Dfsl_adapter_gpio.c77 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 …]
Dfsl_adapter_igpio.c58 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 …]
Dfsl_adapter_lpc_gpio.c105 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 …]
Dfsl_adapter_gint.c322 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 …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/srtm/srtm/
Dsrtm_message.c98 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 …]
Dsrtm_dispatcher.c43 srtm_packet_head_t *head; in SRTM_DumpMessage() local
49 head = (srtm_packet_head_t *)msg->data; in SRTM_DumpMessage()
51head->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-3.5.0/mcux/mcux-sdk/components/lists/
Dfsl_component_generic_list.c36 list_element_handle_t element = list->head; in LIST_Error_Check()
82 list->head = NULL; in LIST_Init()
134 list->head = element; in LIST_AddTail()
187 list->head->prev = element; in LIST_AddHead()
192 element->next = list->head; in LIST_AddHead()
193 list->head = element; in LIST_AddHead()
228 element = list->head; in LIST_RemoveHead()
242 list->head = element->next; /*Is NULL if element is head*/ in LIST_RemoveHead()
266 return list->head; in LIST_GetHead()
340 list_element_handle_t element_list = element->list->head; in LIST_RemoveElement()
[all …]
Dfsl_component_generic_list.h70 struct list_element_tag *head; /*!< list head */ member
/hal_nxp-3.5.0/mcux/mcux-sdk/components/mem_manager/
Dfsl_component_mem_manager_light.c137 struct blockHeader_s *head; member
438 FreeBlockHdrList.head = firstBlockHdr; in MEM_Init()
462 blockHeader_t *FreeBlockHdr = FreeBlockHdrList.head; in MEM_BufferAllocate()
514 if (FreeBlockHdrList.head == FreeBlockHdr) in MEM_BufferAllocate()
516 FreeBlockHdrList.head = NextFreeBlockHdr; in MEM_BufferAllocate()
521 assert(FreeBlockHdrList.head->next_free <= FreeBlockHdr); in MEM_BufferAllocate()
570 if (FreeBlockHdrList.head == FreeBlockHdr) in MEM_BufferAllocate()
572 assert(FreeBlockHdrList.head == FreeBlockHdrList.tail); in MEM_BufferAllocate()
576 FreeBlockHdrList.head = FreeBlockHdr->next_free; in MEM_BufferAllocate()
607 if (FreeBlockHdrList.head == UsableBlockHdr) in MEM_BufferAllocate()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/serial_manager/
Dfsl_component_serial_port_usb.c196 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 …]
Dfsl_component_serial_port_virtual.c79 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-3.5.0/mcux/mcux-sdk/boards/mekmimx8qx/
Dboard.c777 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-3.5.0/mcux/mcux-sdk/boards/mekmimx8qx/project_template/
Dboard.c777 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-3.5.0/mcux/mcux-sdk/components/log/
Dfsl_component_log_backend_ringbuffer.c41 __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-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/
Dusb_host_ohci.c1093 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
1592head = (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()
1617head = (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()
1635head = (usb_host_ohci_general_transfer_descritpor_struct_t *)pipe->ed->TailP; in USB_HostOhciLinkGtdControlTr()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/components/osa/
Dfsl_os_abstraction_bm.c131 uint16_t head; /*!< Index of the next message to be read */ member
333 (&tcb->link)->list->head = (struct list_element_tag *)(void *)ptaskStruct; in OSA_TaskSetPriority()
403 (&tcb->link)->list->head = (struct list_element_tag *)(void *)ptaskStruct; in OSA_TaskCreate()
1116 pMsgQStruct->head = 0; in OSA_MsgQCreate()
1219 pMsgArray[i] = pQueue->queueMem[pQueue->head + i]; in OSA_MsgQGet()
1223 pQueue->head += (uint16_t)pQueue->size; in OSA_MsgQGet()
1226 if (pQueue->head >= (pQueue->max * pQueue->size)) in OSA_MsgQGet()
1228 pQueue->head = 0; in OSA_MsgQGet()
/hal_nxp-3.5.0/mcux/mcux-sdk/components/i3c_bus/
Dfsl_component_i3c.c234 …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-3.5.0/mcux/mcux-sdk/components/power_manager/core/
Dfsl_pm_core.c127 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()
/hal_nxp-3.5.0/mcux/middleware/mcux-sdk-middleware-usb/host/class/
Dusb_host_cdc.h200 usb_host_cdc_head_function_desc_struct_t head; member
Dusb_host_cdc.c1262 *headDesc = &cdc_common_ptr->head; in USB_HostCdcGetAcmDescriptor()
/hal_nxp-3.5.0/mcux/mcux-sdk/middleware/issdk/docs/issdk/SensorFusion/SensorFusion API Reference Manual/
Dnavtree.js74 var head = document.getElementsByTagName("head")[0];
88 head.appendChild(script);
/hal_nxp-3.5.0/mcux/mcux-sdk/components/css_pkc/doc/html/
Dnavtree.js99 var head = document.getElementsByTagName("head")[0];
113 head.appendChild(script);
/hal_nxp-3.5.0/mcux/mcux-sdk/
DCONTRIBUTING.md21 …rces using BSD-3-Clause license, you may see similar copyright as below in the head of source file.