| /netbsd-src/sys/arch/hp300/dev/ |
| H A D | hpib.c | 157 TAILQ_INIT(&sc->sc_queue); in hpibbusattach() 252 TAILQ_INSERT_TAIL(&sc->sc_queue, hq, hq_list); in hpibreq() 255 if (TAILQ_FIRST(&sc->sc_queue) == hq) in hpibreq() 268 TAILQ_REMOVE(&sc->sc_queue, hq, hq_list); in hpibfree() 271 if ((hq = TAILQ_FIRST(&sc->sc_queue)) != NULL) in hpibfree() 372 hq = TAILQ_FIRST(&sc->sc_queue); in hpibstart()
|
| H A D | dma.c | 122 TAILQ_HEAD(, dmaqueue) sc_queue; /* job queue */ 222 TAILQ_INIT(&sc->sc_queue); in dmaattach() 330 TAILQ_INSERT_TAIL(&sc->sc_queue, dq, dq_list); in dmareq() 388 for (dn = TAILQ_FIRST(&sc->sc_queue); dn != NULL; in dmafree() 392 TAILQ_REMOVE(&sc->sc_queue, dn, dq_list); in dmafree()
|
| H A D | nhpib.c | 464 hq = TAILQ_FIRST(&hs->sc_queue); in nhpibreadtimo() 517 hq = TAILQ_FIRST(&hs->sc_queue); in nhpibintr() 591 if (nhpibppoll(hs) & (0x80 >> TAILQ_FIRST(&hs->sc_queue)->hq_slave)) in nhpibppwatch()
|
| H A D | fhpib.c | 470 hq = TAILQ_FIRST(&hs->sc_queue); in fhpibdmadone() 550 hq = TAILQ_FIRST(&hs->sc_queue); in fhpibintr() 652 slave = (0x80 >> TAILQ_FIRST(&hs->sc_queue)->hq_slave); in fhpibppwatch()
|
| H A D | hpibvar.h | 199 TAILQ_HEAD(, hpibqueue) sc_queue;
|
| /netbsd-src/sys/arch/sparc64/dev/ |
| H A D | lom.c | 190 TAILQ_HEAD(, lom_cmd) sc_queue; 306 TAILQ_INIT(&sc->sc_queue); in lom_attach() 484 TAILQ_FOREACH(lcp, &sc->sc_queue, lc_next) { in lom_dequeue_cmd() 486 TAILQ_REMOVE(&sc->sc_queue, lc, lc_next); in lom_dequeue_cmd() 607 TAILQ_FOREACH(lcp, &sc->sc_queue, lc_next) { in lom1_queue_cmd() 613 TAILQ_INSERT_TAIL(&sc->sc_queue, lc, lc_next); in lom1_queue_cmd() 637 lc = TAILQ_FIRST(&sc->sc_queue); in lom1_process_queue_locked() 676 TAILQ_REMOVE(&sc->sc_queue, lc, lc_next); in lom1_process_queue_locked() 680 if (!TAILQ_EMPTY(&sc->sc_queue)) { in lom1_process_queue_locked() 834 TAILQ_FOREACH(lcp, &sc->sc_queue, lc_next) { in lom2_queue_cmd() [all …]
|
| /netbsd-src/sys/arch/pmax/tc/ |
| H A D | dt.c | 226 SIMPLEQ_INIT(&sc->sc_queue); in dt_attach() 306 pend = SIMPLEQ_FIRST(&sc->sc_queue); in dt_intr() 307 SIMPLEQ_INSERT_TAIL(&sc->sc_queue, msg, chain.simpleq); in dt_intr() 329 msg = SIMPLEQ_FIRST(&sc->sc_queue); in dt_dispatch() 331 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, chain.simpleq); in dt_dispatch()
|
| H A D | dtvar.h | 78 SIMPLEQ_HEAD(, dt_msg) sc_queue;
|
| /netbsd-src/sys/dev/gpib/ |
| H A D | gpib.c | 137 TAILQ_INIT(&sc->sc_queue); in gpibattach() 220 hdl = TAILQ_FIRST(&sc->sc_queue); in gpibintr() 250 TAILQ_INSERT_TAIL(&sc->sc_queue, hdl, hq_list); in _gpibrequest() 251 if (TAILQ_FIRST(&sc->sc_queue) == hdl) in _gpibrequest() 266 TAILQ_REMOVE(&sc->sc_queue, hdl, hq_list); in _gpibrelease() 267 if ((hdl = TAILQ_FIRST(&sc->sc_queue)) != NULL) in _gpibrelease() 282 slave = TAILQ_FIRST(&sc->sc_queue)->hq_slave; in _gpibawait()
|
| H A D | gpibvar.h | 178 TAILQ_HEAD(, gpibqueue) sc_queue; /* GPIB job queue */
|
| /netbsd-src/sys/dev/pci/ |
| H A D | if_aq.c | 1345 struct aq_queue sc_queue[AQ_RSSQUEUE_MAX]; member 2161 aq_rx_intr, &sc->sc_queue[i].rxring, intr_xname); in aq_establish_msix_intr() 2170 aq_tx_intr, &sc->sc_queue[i].txring, intr_xname); in aq_establish_msix_intr() 2181 aq_txrx_intr, &sc->sc_queue[i], intr_xname); in aq_establish_msix_intr() 4867 sc->sc_queue[n].sc = sc; in aq_txrx_rings_alloc() 4868 sc->sc_queue[n].txring.txr_sc = sc; in aq_txrx_rings_alloc() 4869 sc->sc_queue[n].txring.txr_index = n; in aq_txrx_rings_alloc() 4870 mutex_init(&sc->sc_queue[n].txring.txr_mutex, MUTEX_DEFAULT, in aq_txrx_rings_alloc() 4872 error = aq_txring_alloc(sc, &sc->sc_queue[n].txring); in aq_txrx_rings_alloc() 4876 error = aq_tx_pcq_alloc(sc, &sc->sc_queue[n].txring); in aq_txrx_rings_alloc() [all …]
|
| H A D | if_wm.c | 573 struct wm_queue *sc_queue; member 3698 struct wm_rxqueue *rxq = &sc->sc_queue[i].wmq_rxq; in wm_detach() 3719 softint_disestablish(sc->sc_queue[i].wmq_si); in wm_detach() 3813 struct wm_txqueue *txq = &sc->sc_queue[qid].wmq_txq; in wm_watchdog() 4068 struct wm_txqueue *txq = &sc->sc_queue[i].wmq_txq; in wm_set_linkdown_discard() 4081 struct wm_txqueue *txq = &sc->sc_queue[i].wmq_txq; in wm_clear_linkdown_discard() 5397 * I219 does not use multiqueue, so it is enough to check sc->sc_queue[0] only. 5435 txq = &sc->sc_queue[0].wmq_txq; in wm_flush_desc_rings() 5515 struct wm_txqueue *txq = &sc->sc_queue[i].wmq_txq; in wm_reset() 6178 struct wm_queue *wmq = &sc->sc_queue[qid in wm_softint_establish_queue() [all...] |
| H A D | ubsec.c | 364 SIMPLEQ_INIT(&sc->sc_queue); in ubsec_attach() 865 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 866 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, /*q,*/ q_next); in ubsec_feed() 878 q2 = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 884 q2= SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 885 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, /*q2,*/ q_next); in ubsec_feed() 908 while (!SIMPLEQ_EMPTY(&sc->sc_queue)) { in ubsec_feed() 920 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 939 q = SIMPLEQ_FIRST(&sc->sc_queue); in ubsec_feed() 940 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue, /*q,*/ q_next); in ubsec_feed() [all …]
|
| H A D | ubsecvar.h | 180 SIMPLEQ_HEAD(,ubsec_q) sc_queue; /* packet queue, mcr1 */
|
| /netbsd-src/sys/arch/arm/xscale/ |
| H A D | pxa2x0_dmac.c | 175 struct dmac_xfer_state_head sc_queue[DMAC_N_PRIORITIES]; member 332 SIMPLEQ_INIT(&sc->sc_queue[i]); in pxadmac_attach() 882 dxs->dxs_queue = &sc->sc_queue[DMAC_PRI(dxs->dxs_priority)]; in pxa2x0_dmac_start_xfer() 978 dxs->dxs_queue = &sc->sc_queue[DMAC_PRI(dxs->dxs_priority)]; in pxa2x0_dmac_abort_xfer() 999 (dxs = SIMPLEQ_FIRST(&sc->sc_queue[priority])) != NULL && in dmac_start() 1006 SIMPLEQ_REMOVE_HEAD(&sc->sc_queue[priority], dxs_link); in dmac_start() 1283 &sc->sc_queue[DMAC_PRI(dxs->dxs_priority)]; in dmac_channel_intr() 1299 &sc->sc_queue[DMAC_PRI(dxs->dxs_priority)], dxs, in dmac_channel_intr()
|