/freebsd/sys/dev/iwm/ |
H A D | if_iwm_notif_wait.c | 126 struct iwm_notification_wait *wait_entry; in iwm_notification_wait_notify() local 129 STAILQ_FOREACH(wait_entry, ¬if_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 D | if_iwm_notif_wait.h | 127 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 D | notif-wait.c | 71 struct iwl_notification_wait *wait_entry; in iwl_abort_notification_waits() local 74 list_for_each_entry(wait_entry, ¬if_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 D | notif-wait.h | 80 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 D | dwc_otg.c | 2510 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 D | ohci.c | 1086 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 D | uss820dci.c | 712 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 D | uhci.c | 1392 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 D | ehci.c | 1409 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 D | atmegadci.c | 618 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in atmegadci_interrupt_poll()
|
H A D | avr32dci.c | 606 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in avr32dci_interrupt_poll()
|
H A D | musb_otg.c | 2174 TAILQ_FOREACH(xfer, &sc->sc_bus.intr_q.head, wait_entry) { in musbotg_interrupt_poll()
|
/freebsd/sys/dev/usb/ |
H A D | usb_core.h | 133 TAILQ_ENTRY(usb_xfer) wait_entry; /* used at various places */
|
H A D | usb_debug.c | 180 TAILQ_FOREACH(xfer, &ep->endpoint_q[x].head, wait_entry) in usb_dump_queue()
|
H A D | usb_transfer.c | 2554 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 D | usb_hub.c | 2099 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()
|