Home
last modified time | relevance | path

Searched refs:wait_entry (Results 1 – 16 of 16) sorted by relevance

/freebsd/sys/dev/iwm/
H A Dif_iwm_notif_wait.c126 struct iwm_notification_wait *wait_entry; in iwm_notification_wait_notify() local
129 STAILQ_FOREACH(wait_entry, &notif_data->list, entry) { in iwm_notification_wait_notify()
139 if (wait_entry->triggered || wait_entry->aborted) in iwm_notification_wait_notify()
142 for (i = 0; i < wait_entry->n_cmds; i++) { in iwm_notification_wait_notify()
143 if (cmd == wait_entry->cmds[i]) { in iwm_notification_wait_notify()
151 if (!wait_entry->fn || in iwm_notification_wait_notify()
152 wait_entry->fn(notif_data->sc, pkt, wait_entry->fn_data)) { in iwm_notification_wait_notify()
153 wait_entry->triggered = 1; in iwm_notification_wait_notify()
154 wakeup(wait_entry); in iwm_notification_wait_notify()
163 struct iwm_notification_wait *wait_entry; in iwm_abort_notification_waits() local
[all …]
H A Dif_iwm_notif_wait.h127 struct iwm_notification_wait *wait_entry,
133 struct iwm_notification_wait *wait_entry, int timeout);
135 struct iwm_notification_wait *wait_entry);
/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dnotif-wait.c71 struct iwl_notification_wait *wait_entry; in iwl_abort_notification_waits() local
74 list_for_each_entry(wait_entry, &notif_wait->notif_waits, list) in iwl_abort_notification_waits()
75 wait_entry->aborted = true; in iwl_abort_notification_waits()
84 struct iwl_notification_wait *wait_entry, in iwl_init_notification_wait() argument
93 wait_entry->fn = fn; in iwl_init_notification_wait()
94 wait_entry->fn_data = fn_data; in iwl_init_notification_wait()
95 wait_entry->n_cmds = n_cmds; in iwl_init_notification_wait()
96 memcpy(wait_entry->cmds, cmds, n_cmds * sizeof(u16)); in iwl_init_notification_wait()
97 wait_entry->triggered = false; in iwl_init_notification_wait()
98 wait_entry->aborted = false; in iwl_init_notification_wait()
[all …]
H A Dnotif-wait.h80 void __acquires(wait_entry)
82 struct iwl_notification_wait *wait_entry,
88 int __must_check __releases(wait_entry)
90 struct iwl_notification_wait *wait_entry,
93 void __releases(wait_entry)
95 struct iwl_notification_wait *wait_entry);
/freebsd/sys/dev/usb/controller/
H A Ddwc_otg.c2510 TAILQ_FOREACH_SAFE(xfer, &sc->sc_bus.intr_q.head, wait_entry, xfer_next) { in dwc_otg_update_host_transfer_schedule_locked()
2537 TAILQ_REMOVE(&sc->sc_bus.intr_q.head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2538 TAILQ_INSERT_TAIL(&head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2541 TAILQ_FOREACH_SAFE(xfer, &sc->sc_bus.intr_q.head, wait_entry, xfer_next) { in dwc_otg_update_host_transfer_schedule_locked()
2558 TAILQ_REMOVE(&sc->sc_bus.intr_q.head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2559 TAILQ_INSERT_TAIL(&head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2562 TAILQ_FOREACH_SAFE(xfer, &sc->sc_bus.intr_q.head, wait_entry, xfer_next) { in dwc_otg_update_host_transfer_schedule_locked()
2585 TAILQ_REMOVE(&sc->sc_bus.intr_q.head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2586 TAILQ_INSERT_TAIL(&head, xfer, wait_entry); in dwc_otg_update_host_transfer_schedule_locked()
2589 TAILQ_FOREACH_SAFE(xfer, &sc->sc_bus.intr_q.head, wait_entry, xfer_nex in dwc_otg_update_host_transfer_schedule_locked()
[all...]
H A Dohci.c1086 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ohci_interrupt_poll()
2563 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ohci_device_resume()
2599 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ohci_device_suspend()
H A Duss820dci.c712 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) in uss820dci_interrupt_poll_locked()
721 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in uss820dci_interrupt_complete_locked()
H A Duhci.c1392 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in uhci_interrupt_poll()
3022 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in uhci_device_resume()
3062 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in uhci_device_suspend()
H A Dehci.c1409 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ehci_interrupt_poll()
3711 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ehci_device_resume()
3743 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in ehci_device_suspend()
H A Datmegadci.c618 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in atmegadci_interrupt_poll()
H A Davr32dci.c606 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in avr32dci_interrupt_poll()
H A Dmusb_otg.c2174 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in musbotg_interrupt_poll()
/freebsd/sys/dev/usb/
H A Dusb_core.h133 TAILQ_ENTRY(usb_xfer) wait_entry; /* used at various places */
H A Dusb_debug.c180 TAILQ_FOREACH(xfer, &ep->endpoint_q[x].head, wait_entry) in usb_dump_queue()
H A Dusb_transfer.c2554 TAILQ_REMOVE(&pq->head, xfer, wait_entry); in usbd_transfer_dequeue()
2576 TAILQ_INSERT_TAIL(&pq->head, xfer, wait_entry); in usbd_transfer_enqueue()
3180 wait_entry); in usb_command_wrapper()
H A Dusb_hub.c2099 TAILQ_FOREACH(xfer, &bus->intr_q.head, wait_entry) { in usbd_fs_isoc_schedule_alloc_slot()
2139 wait_entry) { in usbd_fs_isoc_schedule_alloc_slot()