/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | calxeda-ddr-ctrlr.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/calxeda-ddr-ctrlr.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 The Calxeda DDR memory controller is initialised and programmed by the 11 firmware, but an OS might want to read its registers for error reporting 15 - Andre Przywara <andre.przywara@arm.com> 20 - calxeda,hb-ddr-ctrl 21 - calxeda,ecx-2000-ddr-ctrl 30 - compatible [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/net/ |
H A D | calxeda-xgmac.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/calxeda-xgmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 internal machine "network fabric", which is set up, initialised and 12 managed by the firmware. So there are no PHY properties in this 17 - Andre Przywara <andre.przywara@arm.com> 21 const: calxeda,hb-xgmac 34 dma-coherent: true 37 - compatible [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | testmode.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 9 #include <linux/firmware.h> 38 "testmode event wmi cmd_id %d skb %pK skb->len %d\n", in ath10k_tm_event_wmi() 39 cmd_id, skb, skb->len); in ath10k_tm_event_wmi() 41 ath10k_dbg_dump(ar, ATH10K_DBG_TESTMODE, NULL, "", skb->data, skb->len); in ath10k_tm_event_wmi() 43 spin_lock_bh(&ar->data_lock); in ath10k_tm_event_wmi() 45 if (!ar->testmode.utf_monitor) { in ath10k_tm_event_wmi() 50 /* Only testmode.c should be handling events from utf firmware, in ath10k_tm_event_wmi() 52 * are not initialised. in ath10k_tm_event_wmi() [all …]
|
H A D | pci.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 62 /* PCI-E QCA988X V2 (Ubiquiti branded) */ 65 { PCI_VDEVICE(ATHEROS, QCA988X_2_0_DEVICE_ID) }, /* PCI-E QCA988X V2 */ 66 { PCI_VDEVICE(ATHEROS, QCA6164_2_1_DEVICE_ID) }, /* PCI-E QCA6164 V2.1 */ 67 { PCI_VDEVICE(ATHEROS, QCA6174_2_1_DEVICE_ID) }, /* PCI-E QCA6174 V2.1 */ 68 { PCI_VDEVICE(ATHEROS, QCA99X0_2_0_DEVICE_ID) }, /* PCI-E QCA99X0 V2 */ 69 { PCI_VDEVICE(ATHEROS, QCA9888_2_0_DEVICE_ID) }, /* PCI-E QCA9888 V2 */ 70 { PCI_VDEVICE(ATHEROS, QCA9984_1_0_DEVICE_ID) }, /* PCI-E QCA9984 V1 */ [all …]
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat_hw15reg.h | 1 /* SPDX-License-Identifier: BSD-2-Clause AND BSD-3-Clause */ 31 * Copyright(c) 2007-2013 Intel Corporation. All rights reserved. 72 /* -------------------------------------------------------------------------- */ 91 /* QAT-AE Service Request Type IDs - 01 to 20 */ 92 ARCH_IF_REQ_QAT_FW_INIT, /* QAT-FW Initialization Request */ 93 ARCH_IF_REQ_QAT_FW_ADMIN, /* QAT-FW Administration Request */ 94 ARCH_IF_REQ_QAT_FW_PKE, /* QAT-FW PKE Request */ 95 ARCH_IF_REQ_QAT_FW_LA, /* QAT-FW Lookaside Request */ 96 ARCH_IF_REQ_QAT_FW_IPSEC, /* QAT-FW IPSec Request */ 97 ARCH_IF_REQ_QAT_FW_SSL, /* QAT-FW SSL Request */ [all …]
|
/freebsd/sys/dev/qat/qat_api/common/compression/ |
H A D | dc_datapath.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 80 DC_SESSION_DESC_FROM_CTX_GET(pCookie->pSessionHandle); in dcUpdateXltOverflowChecksumsGen4() 85 if (CPA_DC_CRC32 == pSessionDesc->checksumType) { in dcUpdateXltOverflowChecksumsGen4() 86 pDcResults->checksum = pRespPars->crc.legacy.curr_crc32; in dcUpdateXltOverflowChecksumsGen4() 91 } else if (CPA_DC_ADLER32 == pSessionDesc->checksumType) { in dcUpdateXltOverflowChecksumsGen4() 92 pDcResults->checksum = pRespPars->crc.legacy.curr_adler_32; in dcUpdateXltOverflowChecksumsGen4() 123 LAC_MEM_SHARED_READ_TO_PTR(pCompRespMsg->opaque_data, pReqData); in dcCompression_ProcessCallback() 130 pSessionDesc = DC_SESSION_DESC_FROM_CTX_GET(pCookie->pSessionHandle); in dcCompression_ProcessCallback() 131 pService = (sal_compression_service_t *)(pCookie->dcInstance); in dcCompression_ProcessCallback() [all …]
|
/freebsd/sys/cam/ |
H A D | README.quirks | 4 Nate Lawson - njl at freebsd org 19 CAM provides a generic transport for SCSI-like devices. Many different 23 and RBC. SCSI hard drives are usually SBC-compliant and smaller 24 devices like flash drives are usually RBC-compliant. Multimedia 25 devices including CDROMs and DVD-RW are usually MMC-compliant. 39 o CAM_QUIRK_NOLUNS - do not probe luns other than 0 since device 42 o CAM_QUIRK_NOSERIAL - do not send an inquiry for serial number. 44 o CAM_QUIRK_HILUNS - probe all luns even if some respond "not present" 49 o DA_Q_NO_SYNC_CACHE - The sync cache command is used to force a 57 o DA_Q_NO_6_BYTE - The RBC spec (see Links below) does not allow [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | pci.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2019-2020 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved. 50 return mhi_device_get_sync(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_wake_up() 57 mhi_device_put(ab_pci->mhi_ctrl->mhi_dev); in ath11k_pci_bus_release() 62 if (!ab->hw_params.static_window_map) in ath11k_pci_get_window_start() 78 struct ath11k_base *ab = ab_pci->ab; in ath11k_pci_select_window() 82 lockdep_assert_held(&ab_pci->window_lock); in ath11k_pci_select_window() 84 if (window != ab_pci->register_window) { in ath11k_pci_select_window() 87 ab->mem + ATH11K_PCI_WINDOW_REG_ADDRESS); in ath11k_pci_select_window() [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | sta.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2021, 2023 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 * enum iwl_sta_flags - flag [all...] |
/freebsd/sys/contrib/device-tree/Bindings/regulator/ |
H A D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-nam [all...] |
/freebsd/sys/dev/aacraid/ |
H A D | aacraid_debug.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2006-2010 Adaptec, Inc. 5 * Copyright (c) 2010-2012 PMC-Sierra, Inc. 71 device_printf(sc->aac_dev, "AACQ_FREE %d/%d\n", in aacraid_print_queues() 72 sc->aac_qstat[AACQ_FREE].q_length, sc->aac_qstat[AACQ_FREE].q_max); in aacraid_print_queues() 73 device_printf(sc->aac_dev, "AACQ_READY %d/%d\n", in aacraid_print_queues() 74 sc->aac_qstat[AACQ_READY].q_length, in aacraid_print_queues() 75 sc->aac_qstat[AACQ_READY].q_max); in aacraid_print_queues() 76 device_printf(sc->aac_dev, "AACQ_BUSY %d/%d\n", in aacraid_print_queues() [all …]
|
H A D | aacraid_reg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2000-2001 Scott Long 7 * Copyright (c) 2001-2010 Adaptec, Inc. 8 * Copyright (c) 2010-2012 PMC-Sierra, Inc. 50 * retain their naming conventions (for now) to aid in cross-referencing. 62 * List structure used to chain FIBs (used by the adapter - we hang FIBs off 92 #define AAC_FIB_DATASIZE (512 - sizeof(struct aac_fib_header)) 188 #define AAC_FIBSTATE_INITIALISED (1<<2) /* initialised */ 286 CT_RAID5D, /* raid5 distributed hot-sparing */ [all …]
|
/freebsd/sys/dev/qat/qat_hw/qat_c4xxx/ |
H A D | adf_c4xxx_hw_data.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 132 device_t pdev = accel_dev->accel_pci_dev.pci_dev; in get_accel_mask() 146 device_t pdev = accel_dev->accel_pci_dev.pci_dev; in get_ae_mask() 163 return self ? hweight32(self->accel_mask) : 0; in get_num_accels() 169 return self ? hweight32(self->ae_mask) : 0; in get_num_aes() 198 * c4xxx_set_ssm_wdtimer() - Initialize the slice hang watchdog timer. 206 struct adf_hw_device_data *hw_device = accel_dev->hw_device; in c4xxx_set_ssm_wdtimer() 208 &GET_BARS(accel_dev)[hw_device->get_misc_bar_id(hw_device)]; in c4xxx_set_ssm_wdtimer() 209 struct resource *csr = misc_bar->virt_addr; in c4xxx_set_ssm_wdtimer() [all …]
|
/freebsd/sys/dev/qat/qat_api/firmware/include/ |
H A D | icp_qat_fw_comp.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 55 * + ===== + ------ + ------ + --- + ----- + ----- + ----- + -- + ---- + --- + 56 * | Bit | 15 - 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | 57 * + ===== + ------ + ----- + --- + ----- + ----- + ----- + -- + ---- + --- + 63 * + ===== + ------ + ----- + --- + ------ + ----- + ----- + -- + ---- + --- + 142 when Enhanced autoselect best is enabled. If set firmware does 292 * The structure is a service-specific implementation of the common 296 /**< LWs 2-5 */ 336 * Parameters block spanning LWs 14-23, thus differing from the common [all …]
|
H A D | icp_qat_fw_la.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 46 /*!< Cipher-Hash Request */ 49 /*!< Hash-Cipher Request */ 70 /*!< Auth Pre-Compute Request */ 73 /*!< Auth Pre-Compute Request */ 103 /**< LWs 16-19 */ 122 /**< LW 22 - 23 */ 124 /**< LW 24 - 25 */ 158 * Used for hash, cipher, hash-cipher and authentication-encryption [all …]
|
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_mcdi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2008-2016 Solarflare Communications Inc. 41 * - MCDIv0: Siena BootROM. Transport uses MCDIv1 headers. 42 * - MCDIv1: Siena firmware and Huntington BootROM. 43 * - MCDIv2: EF10 firmware (Huntington/Medford) and Medford BootROM. 47 * ---------------------------- 96 EFSYS_ASSERT3U(enp->en_magic, ==, EFX_NIC_MAGIC); in efx_mcdi_init() 97 EFSYS_ASSERT3U(enp->en_mod_flags, ==, 0); in efx_mcdi_init() 99 switch (enp->en_family) { in efx_mcdi_init() [all …]
|
H A D | efx_regs_mcdi.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright 2008-2013 Solarflare Communications Inc. All rights reserved. 32 /* Power-on reset state */ 46 /* We have entered the main firmware via recovery mode. This 54 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 57 /* The rest of these are firmware-defined */ 65 /* Values to be written to the per-port status dword in shared 94 * | | \--- Response 95 * | \------- Error [all …]
|
H A D | efx_nic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2016 Solarflare Communications Inc. 224 enp->en_magic = EFX_NIC_MAGIC; in efx_nic_create() 229 enp->en_enop = &__efx_nic_siena_ops; in efx_nic_create() 230 enp->en_features = in efx_nic_create() 244 enp->en_enop = &__efx_nic_hunt_ops; in efx_nic_create() 245 enp->en_features = in efx_nic_create() 262 enp->en_enop = &__efx_nic_medford_ops; in efx_nic_create() 264 * FW_ASSISTED_TSO omitted as Medford only supports firmware in efx_nic_create() [all …]
|
H A D | ef10_nvram.c | 1 /*- 2 * Copyright (c) 2012-2016 Solarflare Communications Inc. 81 dword = cursor->current[0]; in tlv_tag() 96 dword = cursor->current[1]; in tlv_length() 109 return ((uint8_t *)(&cursor->current[2])); in tlv_value() 119 return ((uint8_t *)cursor->current); in tlv_item() 124 * equivalent to tlv_n_words_for_len in mc-comms tlv.c 127 (1 + 1 + (((length) + sizeof (uint32_t) - 1) / sizeof (uint32_t))) 137 return (cursor->current + TLV_DWORD_COUNT(length)); in tlv_next_item_ptr() 149 if (cursor->current == cursor->end) { in tlv_advance() [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_tbolt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 8 * Copyright 1994-2009 The FreeBSD Project. 88 0, "Force a firmware reset condition"); 145 * mfi_tbolt_adp_reset - For controller reset 168 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: retry time=%d, " in mfi_tbolt_adp_reset() 175 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: HostDiag=%#x\n", HostDiag); in mfi_tbolt_adp_reset() 187 device_printf(sc->mfi_dev, "ADP_RESET_TBOLT: retry time=%d, " in mfi_tbolt_adp_reset() 203 sc->reply_size = MEGASAS_THUNDERBOLT_REPLY_SIZE; in mfi_tbolt_init_globals() 204 sc->raid_io_msg_size = MEGASAS_THUNDERBOLT_NEW_MSG_SIZE; in mfi_tbolt_init_globals() [all …]
|
/freebsd/sys/dev/aac/ |
H A D | aacreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2000-2001 Scott Long 49 * retain their naming conventions (for now) to aid in cross-referencing. 54 * be 16-byte aligned, and are sized as follows: 56 #define AAC_HOST_NORM_CMD_ENTRIES 8 /* command adapter->host, 58 #define AAC_HOST_HIGH_CMD_ENTRIES 4 /* command adapter->host, 60 #define AAC_ADAP_NORM_CMD_ENTRIES 512 /* command host->adapter, 62 #define AAC_ADAP_HIGH_CMD_ENTRIES 4 /* command host->adapter, 64 #define AAC_HOST_NORM_RESP_ENTRIES 512 /* response, adapter->host, [all …]
|
/freebsd/sys/dev/qat/qat_api/common/ctrl/ |
H A D | sal_ctrl_services.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 14 /* QAT-API includes */ 72 * semi-colon separated. Internally, the bitmask represented 435 if (CPA_TRUE == inst->is_dyn) { in SalCtrl_ServiceShutdown() 439 inst->instance); in SalCtrl_ServiceShutdown() 452 service->state = SAL_SERVICE_STATE_RESTARTING; in SalCtrl_ServiceShutdown() 472 pInst->gen = GEN2; in selectGeneration() 477 pInst->gen = GEN3; in selectGeneration() 482 pInst->gen = GEN4; in selectGeneration() [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/ |
H A D | lac_sym_alg_chain.c | 101 for (i = 0; i < pBufferList->numBuffers; i++) { in LacSymAlgChain_PtrFromOffsetGet() 102 Cpa8U *pCurrData = pBufferList->pBuffers[i].pData; in LacSymAlgChain_PtrFromOffsetGet() 103 Cpa32U currDataSize = pBufferList->pBuffers[i].dataLenInBytes; in LacSymAlgChain_PtrFromOffsetGet() 111 *ppDataPtr = pCurrData + (packetOffset - currentOffset); in LacSymAlgChain_PtrFromOffsetGet() 139 switch (pSessionDesc->cipherAlgorithm) { in LacSymCheck_IsPartialSupported() 152 switch (pSessionDesc->hashAlgorithm) { in LacSymCheck_IsPartialSupported() 170 switch (pSessionDesc->symOperation) { in LacSymCheck_IsPartialSupported() 188 if (ICP_QAT_FW_LA_USE_UCS_SLICE_TYPE == pSessionDesc->cipherSliceType) { in LacSymCheck_IsPartialSupported() 194 pSessionDesc->isPartialSupported = isPartialSupported; in LacSymCheck_IsPartialSupported() 218 pCipherData->cipherKeyLenInBytes, in LacAlgChain_CipherCDBuild_ForOptimisedCD() [all …]
|
/freebsd/sys/dev/iwm/ |
H A D | if_iwmreg.h | 10 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 31 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 35 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved. 73 * BEGIN iwl-csr.h 81 * low power states due to driver-invoked device resets 82 * (e.g. IWM_CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 95 #define IWM_CSR_INT_COALESCING (0x004) /* accum ints, 32-usec units */ 109 * 31-16: Reserved 110 * 15- [all...] |