Lines Matching refs:head
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()
198 head = head->next; in HAL_GpioConflictSearch()
203 static hal_gpio_status_t HAL_GpioAddItem(hal_gpio_state_t **head, hal_gpio_state_t *node) in HAL_GpioAddItem() argument
205 hal_gpio_state_t *p = *head; in HAL_GpioAddItem()
212 *head = node; in HAL_GpioAddItem()
233 static hal_gpio_status_t HAL_GpioRemoveItem(hal_gpio_state_t **head, hal_gpio_state_t *node) in HAL_GpioRemoveItem() argument
235 hal_gpio_state_t *p = *head; in HAL_GpioRemoveItem()
246 *head = p->next; in HAL_GpioRemoveItem()