Searched refs:cmdq (Results 1 - 12 of 12) sorted by relevance

/freebsd-9.3-release/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c105 NG_BT_MBUFQ_DRAIN(&unit->cmdq);
115 m0 = NG_BT_MBUFQ_FIRST(&unit->cmdq);
338 m = NG_BT_MBUFQ_FIRST(&unit->cmdq);
371 NG_BT_MBUFQ_DEQUEUE(&unit->cmdq, *cp);
398 NG_BT_MBUFQ_DEQUEUE(&unit->cmdq, m);
H A Dng_hci_main.c135 NG_BT_MBUFQ_INIT(&unit->cmdq, NG_HCI_CMD_QUEUE_LEN);
167 NG_BT_MBUFQ_DESTROY(&unit->cmdq);
321 NG_BT_MBUFQ_LEN(&unit->cmdq),
1062 if (NG_BT_MBUFQ_FULL(&unit->cmdq)) {
1066 NG_BT_MBUFQ_LEN(&unit->cmdq));
1068 NG_BT_MBUFQ_DROP(&unit->cmdq);
1075 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
H A Dng_hci_var.h154 ng_bt_mbufq_t cmdq; /* command queue */ member in struct:ng_hci_unit
H A Dng_hci_ulpi.c294 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
463 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
554 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
844 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
1033 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
H A Dng_hci_misc.c140 NG_BT_MBUFQ_DRAIN(&unit->cmdq);
H A Dng_hci_evnt.c541 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m);
/freebsd-9.3-release/sys/dev/iwi/
H A Dif_iwivar.h147 struct iwi_cmd_ring cmdq; member in struct:iwi_softc
H A Dif_iwi.c331 if (iwi_alloc_cmd_ring(sc, &sc->cmdq, IWI_CMD_RING_COUNT) != 0) {
468 iwi_free_cmd_ring(sc, &sc->cmdq);
1733 desc = &sc->cmdq.desc[sc->cmdq.cur];
1741 bus_dmamap_sync(sc->cmdq.desc_dmat, sc->cmdq.desc_map,
1744 DPRINTFN(2, ("sending command idx=%u type=%u len=%u\n", sc->cmdq.cur,
1747 sc->cmdq.cur = (sc->cmdq.cur + 1) % IWI_CMD_RING_COUNT;
1748 CSR_WRITE_4(sc, IWI_CSR_CMD_WIDX, sc->cmdq
[all...]
/freebsd-9.3-release/sys/dev/usb/wlan/
H A Dif_runvar.h220 struct run_cmdq cmdq[RUN_CMDQ_MAX]; member in struct:run_softc
H A Dif_run.c95 * '& RUN_CMDQ_MASQ' is to loop cmdq[].
1033 * '& RUN_CMDQ_MASQ' is to loop cmdq[].
1041 /* call cmdq[].func locked */
1043 for (i = sc->cmdq_exec; sc->cmdq[i].func && pending;
1049 * than one arg. So, pass ptr to cmdq struct.
1051 if (sc->cmdq[i].arg0)
1052 sc->cmdq[i].func(sc->cmdq[i].arg0);
1054 sc->cmdq[i].func(&sc->cmdq[
2270 struct run_cmdq *cmdq = arg; local
2429 struct run_cmdq *cmdq = arg; local
2656 struct run_cmdq *cmdq = arg; local
[all...]
/freebsd-9.3-release/sys/dev/wpi/
H A Dif_wpivar.h148 struct wpi_tx_ring cmdq; member in struct:wpi_softc
H A Dif_wpi.c591 error = wpi_alloc_tx_ring(sc, &sc->cmdq, WPI_CMD_RING_COUNT, 4);
729 wpi_free_tx_ring(sc, &sc->cmdq);
1619 struct wpi_tx_ring *ring = &sc->cmdq;
2177 struct wpi_tx_ring *ring = &sc->cmdq;
2358 struct wpi_tx_ring *ring = &sc->cmdq;
2554 struct wpi_tx_ring *ring = &sc->cmdq;
3200 wpi_reset_tx_ring(sc, &sc->cmdq);

Completed in 184 milliseconds