Home
last modified time | relevance | path

Searched refs:cmdq (Results 1 – 13 of 13) sorted by relevance

/openbsd/sys/dev/pci/
H A Dif_iwi.c212 if (iwi_alloc_cmd_ring(sc, &sc->cmdq) != 0) { in iwi_attach()
325 iwi_free_cmd_ring(sc, &sc->cmdq); in iwi_attach()
1184 sc->cmdq.next = (sc->cmdq.next + 1) % IWI_CMD_RING_COUNT; in iwi_intr()
1185 if (--sc->cmdq.queued > 0) in iwi_intr()
1217 desc = &sc->cmdq.desc[sc->cmdq.cur]; in iwi_cmd()
1224 bus_dmamap_sync(sc->sc_dmat, sc->cmdq.map, in iwi_cmd()
1225 sc->cmdq.cur * sizeof (struct iwi_cmd_desc), in iwi_cmd()
1231 sc->cmdq.cur = (sc->cmdq.cur + 1) % IWI_CMD_RING_COUNT; in iwi_cmd()
1234 if (++sc->cmdq.queued == 1) { in iwi_cmd()
1235 sc->cmdq.next = sc->cmdq.cur; in iwi_cmd()
[all …]
H A Dif_iwivar.h98 struct iwi_cmd_ring cmdq; member
/openbsd/sys/dev/usb/
H A Dif_runvar.h190 struct run_host_cmd_ring cmdq; member
H A Dif_mtwvar.h221 struct mtw_host_cmd_ring cmdq; member
H A Dif_athn_usb.h464 struct athn_usb_host_cmd_ring cmdq; member
H A Dif_athn_usb.c587 struct athn_usb_host_cmd_ring *ring = &usc->cmdq; in athn_usb_task()
609 struct athn_usb_host_cmd_ring *ring = &usc->cmdq; in athn_usb_do_async()
1900 if (usc->cmdq.queued > 0) in athn_usb_intr()
2556 usc->cmdq.cur = usc->cmdq.next = usc->cmdq.queued = 0; in athn_usb_init()
H A Dif_urtwn.c192 struct urtwn_host_cmd_ring cmdq; member
733 struct urtwn_host_cmd_ring *ring = &sc->cmdq; in urtwn_task()
755 struct urtwn_host_cmd_ring *ring = &sc->cmdq; in urtwn_do_async()
2525 sc->cmdq.cur = sc->cmdq.next = sc->cmdq.queued = 0; in urtwn_alloc_buffers()
H A Dif_otus.c710 struct otus_host_cmd_ring *ring = &sc->cmdq; in otus_task()
732 struct otus_host_cmd_ring *ring = &sc->cmdq; in otus_do_async()
2248 sc->cmdq.cur = sc->cmdq.next = sc->cmdq.queued = 0; in otus_init()
H A Dif_rsu.c480 struct rsu_host_cmd_ring *ring = &sc->cmdq; in rsu_task()
502 struct rsu_host_cmd_ring *ring = &sc->cmdq; in rsu_do_async()
2184 sc->cmdq.cur = sc->cmdq.next = sc->cmdq.queued = 0; in rsu_init()
H A Dif_rsureg.h733 struct rsu_host_cmd_ring cmdq; member
H A Dif_otusreg.h975 struct otus_host_cmd_ring cmdq; member
H A Dif_mtw.c1514 struct mtw_host_cmd_ring *ring = &sc->cmdq; in mtw_task()
1539 struct mtw_host_cmd_ring *ring = &sc->cmdq; in mtw_do_async()
3086 sc->cmdq.cur = sc->cmdq.next = sc->cmdq.queued = 0; in mtw_init()
H A Dif_run.c1721 struct run_host_cmd_ring *ring = &sc->cmdq; in run_task()
1746 struct run_host_cmd_ring *ring = &sc->cmdq; in run_do_async()
4517 sc->cmdq.cur = sc->cmdq.next = sc->cmdq.queued = 0; in run_init()