Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/bnxt/bnxt_re/
H A Dqplib_rcfw.c54 cmdq = &rcfw->cmdq; in __check_cmdq_stall()
104 cmdq = &rcfw->cmdq; in bnxt_re_is_fw_stalled()
137 cmdq = &rcfw->cmdq; in __wait_for_resp()
189 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __block_for_resp() local
241 struct bnxt_qplib_cmdq_ctx *cmdq = &rcfw->cmdq; in __send_message_no_waiter() local
301 cmdq = &rcfw->cmdq; in __send_message()
452 cmdq = &rcfw->cmdq; in __send_message_basic_sanity()
1045 cmdq = &rcfw->cmdq; in bnxt_qplib_alloc_rcfw_channel()
1145 cmdq = &rcfw->cmdq; in bnxt_qplib_disable_rcfw_channel()
1278 cmdq = &rcfw->cmdq; in bnxt_qplib_start_rcfw()
[all …]
H A Dqplib_rcfw.h149 (test_bit(ERR_DEVICE_DETACHED, &(rcfw)->cmdq.flags) || \
275 struct bnxt_qplib_cmdq_ctx cmdq; member
H A Dmain.c321 set_bit(ERR_DEVICE_DETACHED, &rdev->rcfw.cmdq.flags); in bnxt_re_detach_err_device()
323 wake_up_all(&rdev->rcfw.cmdq.waitq); in bnxt_re_detach_err_device()
774 set_bit(ERR_DEVICE_DETACHED, &rdev->rcfw.cmdq.flags); in bnxt_re_async_notifier()
777 wake_up_all(&rdev->rcfw.cmdq.waitq); in bnxt_re_async_notifier()
1036 cur_prod = rdev->rcfw.cmdq.hwq.prod; in __wait_for_ib_unregister()
1037 cur_cons = rdev->rcfw.cmdq.hwq.cons; in __wait_for_ib_unregister()
1163 set_bit(ERR_DEVICE_DETACHED, &rdev->rcfw.cmdq.flags); in bnxt_re_stop()
1166 wake_up_all(&rdev->rcfw.cmdq.waitq); in bnxt_re_stop()
3829 struct bnxt_qplib_cmdq_ctx *cmdq; in bnxt_re_remove_device() local
3833 cmdq = &rcfw->cmdq; in bnxt_re_remove_device()
[all …]
/freebsd-14.2/sys/dev/rtwn/
H A Dif_rtwn_task.c61 while (sc->cmdq[sc->cmdq_first].func != NULL) { in rtwn_cmdq_cb()
62 item = &sc->cmdq[sc->cmdq_first]; in rtwn_cmdq_cb()
103 if (sc->cmdq[sc->cmdq_last].func != NULL) { in rtwn_cmd_sleepable()
111 memcpy(&sc->cmdq[sc->cmdq_last].data, ptr, len); in rtwn_cmd_sleepable()
112 sc->cmdq[sc->cmdq_last].func = func; in rtwn_cmd_sleepable()
H A Dif_rtwnvar.h230 struct rtwn_cmdq cmdq[RTWN_CMDQ_SIZE]; member
/freebsd-14.2/sys/arm64/iommu/
H A Dsmmu.c355 err = smmu_init_queue(sc, &sc->cmdq, in smmu_init_queues()
542 struct smmu_queue *cmdq; in smmu_cmdq_enqueue_cmd() local
545 cmdq = &sc->cmdq; in smmu_cmdq_enqueue_cmd()
553 cmdq->lc.cons = bus_read_4(sc->res[0], cmdq->cons_off); in smmu_cmdq_enqueue_cmd()
554 } while (smmu_q_has_space(cmdq) == 0); in smmu_cmdq_enqueue_cmd()
557 entry_addr = (void *)((uint64_t)cmdq->vaddr + in smmu_cmdq_enqueue_cmd()
558 Q_IDX(cmdq, cmdq->lc.prod) * CMDQ_ENTRY_DWORDS * 8); in smmu_cmdq_enqueue_cmd()
562 cmdq->lc.prod = smmu_q_inc_prod(cmdq); in smmu_cmdq_enqueue_cmd()
563 bus_write_4(sc->res[0], cmdq->prod_off, cmdq->lc.prod); in smmu_cmdq_enqueue_cmd()
589 q = &sc->cmdq; in smmu_sync()
[all …]
H A Dsmmuvar.h165 struct smmu_queue cmdq; member
/freebsd-14.2/sys/dev/usb/wlan/
H A Dif_run.c1160 if (sc->cmdq[i].arg0) in run_cmdq_cb()
1161 sc->cmdq[i].func(sc->cmdq[i].arg0); in run_cmdq_cb()
1163 sc->cmdq[i].func(&sc->cmdq[i]); in run_cmdq_cb()
2488 sc->cmdq[i].arg0 = NULL; in run_key_set()
2489 sc->cmdq[i].arg1 = vap; in run_key_set()
2490 sc->cmdq[i].k = k; in run_key_set()
2565 sc->cmdq[i].arg1 = sc; in run_key_delete()
2566 k0 = &sc->cmdq[i].key; in run_key_delete()
5029 sc->cmdq[i].arg0 = vap; in run_update_beacon()
5095 sc->cmdq[i].arg0 = ic; in run_updateprot()
[all …]
H A Dif_rumvar.h134 struct rum_cmdq cmdq[RUM_CMDQ_SIZE]; member
H A Dif_runvar.h223 struct run_cmdq cmdq[RUN_CMDQ_MAX]; member
H A Dif_rum.c749 while (sc->cmdq[sc->cmdq_first].func != NULL) { in rum_cmdq_cb()
750 rc = &sc->cmdq[sc->cmdq_first]; in rum_cmdq_cb()
773 if (sc->cmdq[sc->cmdq_last].func != NULL) { in rum_cmd_sleepable()
781 memcpy(&sc->cmdq[sc->cmdq_last].data, ptr, len); in rum_cmd_sleepable()
782 sc->cmdq[sc->cmdq_last].rvp_id = rvp_id; in rum_cmd_sleepable()
783 sc->cmdq[sc->cmdq_last].func = func; in rum_cmd_sleepable()
/freebsd-14.2/sys/netgraph/bluetooth/hci/
H A Dng_hci_main.c151 NG_BT_MBUFQ_INIT(&unit->cmdq, NG_HCI_CMD_QUEUE_LEN); in ng_hci_constructor()
183 NG_BT_MBUFQ_DESTROY(&unit->cmdq); in ng_hci_shutdown()
337 NG_BT_MBUFQ_LEN(&unit->cmdq), in ng_hci_default_rcvmsg()
1080 if (NG_BT_MBUFQ_FULL(&unit->cmdq)) { in ng_hci_raw_rcvdata()
1084 NG_BT_MBUFQ_LEN(&unit->cmdq)); in ng_hci_raw_rcvdata()
1086 NG_BT_MBUFQ_DROP(&unit->cmdq); in ng_hci_raw_rcvdata()
1093 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_raw_rcvdata()
H A Dng_hci_cmds.c110 NG_BT_MBUFQ_DRAIN(&unit->cmdq); in ng_hci_send_command()
120 m0 = NG_BT_MBUFQ_FIRST(&unit->cmdq); in ng_hci_send_command()
348 m = NG_BT_MBUFQ_FIRST(&unit->cmdq); in complete_command()
381 NG_BT_MBUFQ_DEQUEUE(&unit->cmdq, *cp); in complete_command()
408 NG_BT_MBUFQ_DEQUEUE(&unit->cmdq, m); in ng_hci_process_command_timeout()
H A Dng_hci_ulpi.c307 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_acl_con_req()
476 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_sco_con_req()
649 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_le_con_req()
741 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_discon_req()
1060 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_con_rsp()
1249 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in ng_hci_lp_qos_req()
H A Dng_hci_var.h155 ng_bt_mbufq_t cmdq; /* command queue */ member
H A Dng_hci_misc.c141 NG_BT_MBUFQ_DRAIN(&unit->cmdq); in ng_hci_unit_clean()
H A Dng_hci_evnt.c787 NG_BT_MBUFQ_ENQUEUE(&unit->cmdq, m); in con_compl()
/freebsd-14.2/sys/contrib/device-tree/Bindings/iommu/
H A Darm,smmu-v3.yaml45 - cmdq-sync # CMD_SYNC complete
91 interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";
/freebsd-14.2/sys/dev/iwi/
H A Dif_iwi.c332 if (iwi_alloc_cmd_ring(sc, &sc->cmdq, IWI_CMD_RING_COUNT) != 0) { in iwi_attach()
459 iwi_free_cmd_ring(sc, &sc->cmdq); in iwi_detach()
1729 desc = &sc->cmdq.desc[sc->cmdq.cur]; in iwi_cmd()
1737 bus_dmamap_sync(sc->cmdq.desc_dmat, sc->cmdq.desc_map, in iwi_cmd()
1740 DPRINTFN(2, ("sending command idx=%u type=%u len=%u\n", sc->cmdq.cur, in iwi_cmd()
1743 sc->cmdq.cur = (sc->cmdq.cur + 1) % IWI_CMD_RING_COUNT; in iwi_cmd()
1744 CSR_WRITE_4(sc, IWI_CSR_CMD_WIDX, sc->cmdq.cur); in iwi_cmd()
3117 CSR_WRITE_4(sc, IWI_CSR_CMD_BASE, sc->cmdq.physaddr); in iwi_init_locked()
3118 CSR_WRITE_4(sc, IWI_CSR_CMD_SIZE, sc->cmdq.count); in iwi_init_locked()
3119 CSR_WRITE_4(sc, IWI_CSR_CMD_WIDX, sc->cmdq.cur); in iwi_init_locked()
[all …]
H A Dif_iwivar.h151 struct iwi_cmd_ring cmdq; member
/freebsd-14.2/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c3374 struct iwl_txq *cmdq = trans->txqs.txq[trans->txqs.cmd.q_id]; in iwl_trans_pcie_dump_data() local
3390 if (dump_mask & BIT(IWL_FW_ERROR_DUMP_TXCMD) && cmdq) in iwl_trans_pcie_dump_data()
3392 cmdq->n_window * (sizeof(*txcmd) + in iwl_trans_pcie_dump_data()
3442 if (dump_mask & BIT(IWL_FW_ERROR_DUMP_TXCMD) && cmdq) { in iwl_trans_pcie_dump_data()
3447 spin_lock_bh(&cmdq->lock); in iwl_trans_pcie_dump_data()
3448 ptr = cmdq->write_ptr; in iwl_trans_pcie_dump_data()
3449 for (i = 0; i < cmdq->n_window; i++) { in iwl_trans_pcie_dump_data()
3450 u8 idx = iwl_txq_get_cmd_index(cmdq, ptr); in iwl_trans_pcie_dump_data()
3460 (u8 *)cmdq->tfds + in iwl_trans_pcie_dump_data()
3468 memcpy(txcmd->data, cmdq->entries[idx].cmd, in iwl_trans_pcie_dump_data()
[all …]
/freebsd-14.2/sys/contrib/device-tree/src/arm64/arm/
H A Dfvp-base-revc.dts255 interrupt-names = "eventq", "gerror", "priq", "cmdq-sync";