/freebsd/sys/arm64/iommu/ |
H A D | smmu_fdt.c | 1 /*- 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 D | smmu.c | 1 /*- 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-based devices, StreamID is a PCI rid. 42 * which contains per-device configuration. 44 * Stream table is a linear or 2-level walk table (this driver supports both). 67 * Register interface and Memory-based circular buffer queues are used 79 * in a producer-consumer fashion so that an output queue contains data 143 #define Q_WRP(q, p) ((p) & (1 << (q)->size_log2)) [all …]
|
H A D | smmu_acpi.c | 1 /*- 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 …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/gce/ |
H A D | mt8186-gce.h | 1 /* 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/sys/contrib/device-tree/Bindings/iommu/ |
H A D | arm,smmu-v3.yaml | 1 # 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/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_rcfw.c | 2 * 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/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_cmds.c | 5 /*- 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 D | ng_hci_evnt.c | 5 /*- 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/sys/dev/iwi/ |
H A D | if_iwivar.h | 2 /*- 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 D | if_iwi.c | 1 /*- 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/sys/dev/usb/wlan/ |
H A D | if_run.c | 1 /*- 5 * Copyright (c) 2013-2014 Kevin Lo 20 /*- 114 device_printf((_sc)->sc_dev, __VA_ARGS__); \ 124 * '& RUN_CMDQ_MASQ' is to loop cmdq[]. 530 /* MCS - single stream */ 540 /* MCS - 2 streams */ 550 /* MCS - 3 streams */ 731 if (uaa->dev_state != UAA_DEV_READY) in run_autoinst() 737 id = iface->idesc; in run_autoinst() [all …]
|
H A D | if_rum.c | 2 /*- 3 * Copyright (c) 2005-2007 Damien Bergamini <damien.bergamini@free.fr> 5 * Copyright (c) 2007-2008 Hans Petter Selasky <hselasky@FreeBSD.org> 21 /*- 467 if (uaa->usb_mode != USB_MODE_HOST) in rum_match() 469 if (uaa->info.bConfigIndex != 0) in rum_match() 471 if (uaa->info.bIfaceIndex != RT2573_IFACE_INDEX) in rum_match() 482 struct ieee80211com *ic = &sc->sc_ic; in rum_attach() 488 sc->sc_udev = uaa->device; in rum_attach() 489 sc->sc_dev = self; in rum_attach() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/arm/ |
H A D | fvp-base-revc.dts | 1 // 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-motherboard-rs2.dtsi" 22 compatible = "arm,fvp-base-revc", "arm,vexpress"; 23 interrupt-parent = <&gic>; 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/pcie/ |
H A D | trans.c | 1 // 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/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3588-base.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rockchip,rk3588-cru.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/power/rk3588-power.h> 10 #include <dt-bindings/reset/rockchip,rk3588-cru.h> 11 #include <dt-bindings/phy/phy.h> 12 #include <dt-bindings/ata/ahci.h> 13 #include <dt-bindings/thermal/thermal.h> 18 interrupt-parent = <&gic>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx95.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR MIT) 6 #include <dt-bindings/dma/fsl-edma.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 12 #include "imx95-clock.h" 13 #include "imx95-pinfunc.h" 14 #include "imx95-power.h" 17 interrupt-parent = <&gic>; [all …]
|
/freebsd/sys/dev/bnxt/bnxt_en/ |
H A D | hsi_struct_def.h | 1 /*- 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 …]
|