Home
last modified time | relevance | path

Searched +full:cmdq +full:- +full:sync (Results 1 – 16 of 16) sorted by relevance

/freebsd-src/sys/arm64/iommu/
H A Dsmmu_fdt.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
58 { "arm,smmu-v3", 1 },
68 if (ofw_bus_search_compatible(dev, compat_data)->ocd_data == 0) in smmu_fdt_probe()
87 sc->dev = dev; in smmu_fdt_attach()
92 sc->res[0] = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in smmu_fdt_attach()
94 if (sc->res[0] == NULL) { in smmu_fdt_attach()
101 * Interrupt lines are "eventq", "priq", "cmdq-sync", "gerror". in smmu_fdt_attach()
104 err = ofw_bus_find_string_index(node, "interrupt-names", "eventq", in smmu_fdt_attach()
112 sc->res[1] = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE); in smmu_fdt_attach()
[all …]
H A Dsmmu.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2019-2020 Ruslan Bukin <br@bsdpad.com>
8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
39 * In case of PCI-base
532 struct smmu_queue *cmdq; smmu_cmdq_enqueue_cmd() local
[all...]
H A Dsmmu_acpi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2019-2020 Ruslan Bukin <br@bsdpad.com>
8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
79 i = iort_data->count; in iort_handler()
81 switch(entry->Type) { in iort_handler()
88 if (iort_data->smmu[i] != NULL) { in iort_handler()
90 device_printf(iort_data->parent, in iort_handler()
95 iort_data->smmu[i] = (ACPI_IORT_SMMU_V3 *)node->NodeData; in iort_handler()
96 iort_data->count++; in iort_handler()
[all …]
H A Dsmmuvar.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2019-2020 Ruslan Bukin <br@bsdpad.com>
8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the
39 #define SMMU_LOCK(_sc) mtx_lock(&(_sc)->sc_mt
118 } sync; global() member
165 struct smmu_queue cmdq; global() member
169 int sync; global() member
[all...]
/freebsd-src/sys/contrib/device-tree/include/dt-bindings/gce/
H A Dmt8186-gce.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
82 /* CMDQ: debug */
85 /* CMDQ: P7: debug */
348 /* CMDQ sw tokens
367 /* Notify normal CMDQ there are some secure task done
368 * MUST NOT CHANGE, this token sync with secure world
372 /* CMDQ use sw token */
386 * There are 15 32-bit GPR, 3 GPR form a set
387 * (64-bit for address, 32-bit for value)
388 * MUST NOT CHANGE, these tokens sync with MDP
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/iommu/
H A Darm,smmu-v3.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/iommu/arm,smmu-v3.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Will Deacon <will@kernel.org>
11 - Robin Murphy <Robin.Murphy@arm.com>
15 revisions, replacing the MMIO register interface with in-memory command
21 pattern: "^iommu@[0-9a-f]*"
23 const: arm,smmu-v3
32 interrupt-names:
[all …]
/freebsd-src/sys/dev/bnxt/bnxt_re/
H A Dqplib_rcfw.c2 * Copyright (c) 2015-2024, Broadcom. All rights reserved. The term
33 #include <linux/dma-mapping.h>
52 struct bnxt_qplib_cmdq_ctx *cmdq; in __check_cmdq_stall() local
54 cmdq = &rcfw->cmdq; in __check_cmdq_stall()
56 if (*cur_prod == cmdq->hwq.prod && in __check_cmdq_stall()
57 *cur_cons == cmdq->hwq.cons) in __check_cmdq_stall()
58 /* No activity on CMDQ or CREQ. FW down */ in __check_cmdq_stall()
59 return -ETIMEDOUT; in __check_cmdq_stall()
61 *cur_prod = cmdq->hwq.prod; in __check_cmdq_stall()
62 *cur_cons = cmdq->hwq.cons; in __check_cmdq_stall()
[all …]
/freebsd-src/sys/netgraph/bluetooth/hci/
H A Dng_hci_cmds.c5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
96 if (unit->state & NG_HCI_UNIT_COMMAND_PENDING) in ng_hci_send_command()
100 NG_HCI_BUFF_CMD_GET(unit->buffer, free); in ng_hci_send_command()
105 if (unit->drv == NULL || NG_HOOK_NOT_VALID(unit->drv)) { in ng_hci_send_command()
107 "%s: %s - hoo in ng_hci_send_command()
[all...]
H A Dng_hci_evnt.c5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
100 "%s: %s - got HCI event=%#x, length=%d\n", in ng_hci_process_event()
101 __func__, NG_NODE_NAME(unit->node), hdr->event, hdr->length); in ng_hci_process_event()
106 switch (hdr->even in ng_hci_process_event()
[all...]
/freebsd-src/sys/dev/iwi/
H A Dif_iwivar.h2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause
151 struct iwi_cmd_ring cmdq; member
169 * dma-ble memory around until detach time, and reallocate it when
228 KASSERT(_sc->fw_state == IWI_FW_IDLE, \
229 ("iwi firmware not idle, state %s", iwi_fw_states[_sc->fw_state]));\
230 _sc->fw_state = _state; \
231 _sc->sc_state_timer = 5; \
236 if (_sc->fw_state == _state) \
240 iwi_fw_states[_state], iwi_fw_states[_sc->fw_state])); \
[all …]
H A Dif_iwi.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting
33 /*-
266 for (ident = iwi_ident_table; ident->name != NULL; ident++) { in iwi_probe()
267 if (pci_get_vendor(dev) == ident->vendor && in iwi_probe()
268 pci_get_device(dev) == ident->device) { in iwi_probe()
269 device_set_desc(dev, ident->name); in iwi_probe()
280 struct ieee80211com *ic = &sc->sc_ic; in iwi_attach()
284 sc->sc_dev = dev; in iwi_attach()
[all …]
/freebsd-src/sys/dev/usb/wlan/
H A Dif_run.c1 /*-
5 * Copyright (c) 2013-2014 Kevin Lo
21 /*-
115 device_printf((_sc)->sc_dev, __VA_ARGS__); \
125 * '& RUN_CMDQ_MASQ' is to loop cmdq[].
531 /* MCS - single stream */
541 /* MCS - 2 streams */
551 /* MCS - 3 streams */
732 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst()
738 id = iface->ides in run_autoinst()
2355 struct run_cmdq *cmdq = arg; run_key_set_cb() local
2515 struct run_cmdq *cmdq = arg; run_key_delete_cb() local
2754 struct run_cmdq *cmdq = arg; run_newassoc_cb() local
[all...]
H A Dif_rum.c2 /*-
3 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr>
5 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org>
22 /*-
468 if (uaa->usb_mode != USB_MODE_HOST) in rum_match()
470 if (uaa->info.bConfigIndex != 0) in rum_match()
472 if (uaa->info.bIfaceIndex != RT2573_IFACE_INDEX) in rum_match()
483 struct ieee80211com *ic = &sc->sc_ic; in rum_attach()
489 sc->sc_udev = uaa->devic in rum_attach()
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/arm/
H A Dfvp-base-revc.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Architecture Envelope Model (AEM) ARMv8-A
11 /dts-v1/;
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
17 #include "rtsm_ve-motherboard.dtsi"
18 #include "rtsm_ve-motherboar
[all...]
/freebsd-src/sys/contrib/dev/iwlwifi/pcie/
H A Dtrans.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2007-2015, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
22 #include "iwl-dr
3374 struct iwl_txq *cmdq = trans->txqs.txq[trans->txqs.cmd.q_id]; iwl_trans_pcie_dump_data() local
[all...]
/freebsd-src/sys/dev/bnxt/bnxt_en/
H A Dhsi_struct_def.h1 /*-
34 * Copyright(c) 2001-2024, Broadcom. All rights reserved. The
71 * * 0x0-0xFFF8 - The function ID
72 * * 0xFFF8-0xFFFC, 0xFFFE - Reserved for internal processors
73 * * 0xFFFD - Reserved for user-space HWRM interface
74 * * 0xFFFF - HWRM
122 /* Engine CKV - The Alias key EC curve and ECC public key information. */
124 /* Engine CKV - Initialization vector. */
126 /* Engine CKV - Authentication tag. */
128 /* Engine CKV - The encrypted data. */
[all …]