/freebsd/sys/dev/usb/misc/ |
H A D | i2ctinyusb.c | 1 /*- 28 * i2c-tiny-usb, DIY USB to IIC bridge (using AVR or RP2040) from 31 * https://github.com/harbaum/I2C-Tiny-USB 33 * https://github.com/Nicolai-Electronics/rp2040-i2c-interface 103 error = usbd_do_request_flags(sc->sc_udev, &sc->sc_mtx, &req, data, 0, in usb_read() 107 actlen = -1; in usb_read() 126 error = usbd_do_request_flags(sc->sc_udev, &sc->sc_mtx, &req, data, 0, in usb_write() 130 actlen = -1; in usb_write() 143 if (uaa->usb_mode != USB_MODE_HOST) in i2ctinyusb_probe() 148 device_set_desc(dev, "I2C-Tiny-USB I2C interface"); in i2ctinyusb_probe() [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/qat/ |
H A D | lac_sym_qat_hash.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 124 *pQatAlgorithm = pHashDefs->qatInfo->algoEnc; in LacSymQat_HashGetCfgData() 135 /* mode0 - plain or mode1 - auth */ in LacSymQat_HashGetCfgData() 143 LacSymQat_HashContentDescInit(icp_qat_la_bulk_req_ftr_t *pMsg, in LacSymQat_HashContentDescInit() argument 157 (icp_qat_fw_auth_cd_ctrl_hdr_t *)&(pMsg->cd_ctrl); in LacSymQat_HashContentDescInit() 163 cd_ctrl->hash_cfg_offset = (Cpa8U)hwBlockOffsetInQuadWords; in LacSymQat_HashContentDescInit() 169 pHashSetupData->hashAlgorithm, in LacSymQat_HashContentDescInit() 176 ICP_QAT_FW_HASH_FLAG_MODE2_SET(cd_ctrl->hash_flags, in LacSymQat_HashContentDescInit() 184 cd_ctrl->hash_flags, in LacSymQat_HashContentDescInit() [all …]
|
H A D | lac_sym_qat_cipher.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 6 * @file lac_sym_qat_cipher.c QAT-related support functions for Cipher 251 * key at session registration, it is instead reversed on-the-fly by 264 * key at session registration, it is instead reversed on-the-fly by 277 * key at session registration, it is instead reversed on-the-fly by 293 * key at session registration, it is instead reversed on-the-fly by 309 * key at session registration, it is instead reversed on-the-fly by 403 * key at session registration, it is instead reversed on-the-fly by 463 LacSymQat_CipherCtrlBlockWrite(icp_qat_la_bulk_req_ftr_t *pMsg, in LacSymQat_CipherCtrlBlockWrite() argument [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
H A D | ramoops.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/reserved-memory/ramoops.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 recovered after a reboot. This is a child-node of "/reserved-memory", and 16 as kernel log messages, or for optional ECC error-correction data. The total 17 size of these optional buffers must fit in the reserved region. 20 records. These records have a configurable size, with a size of 0 indicating 23 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 24 must be set non-zero, but are otherwise optional as listed below. [all …]
|
H A D | ramoops.txt | 5 recovered after a reboot. This is a child-node of "/reserved-memory", and 10 as kernel log messages, or for optional ECC error-correction data. The total 11 size of these optional buffers must fit in the reserved region. 14 records. These records have a configurable size, with a size of 0 indicating 17 At least one of "record-size", "console-size", "ftrace-size", or "pmsg-size" 18 must be set non-zero, but are otherwise optional as listed below. 23 - compatible: must be "ramoops" 25 - reg: region of memory that is preserved between reboots 30 - ecc-size: enables ECC support and specifies ECC buffer size in bytes 33 - record-size: maximum size in bytes of each kmsg dump. [all …]
|
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/ |
H A D | lac_sym_qat_hash.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 52 /**< state1 size */ 56 /**< state2 size */ 74 /**< hash state storage size in quad words */ 76 /**< inner prefix/aad and outer prefix size in quad words */ 87 * the size param to hold the size of the hash setup block. 100 * @param[in] pMsg Pointer to req Parameter Footer 108 * @param[in] hashBlkOffsetInHwBlock Offset in quad-words from the base of 121 * @param[in] useSymConstantsTable Indicate if Shared-SRAM constants table [all …]
|
H A D | lac_sym_qat_cipher.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 52 * Retrieve the cipher block size in bytes for a given algorithm 55 * This function returns a hard-coded block size for the specific cipher 60 * @retval The block size, in bytes, for the given cipher algorithm 69 * Retrieve the cipher IV/state size in bytes for a given algorithm 72 * This function returns a hard-coded IV/state size for the specific cipher 77 * @retval The IV/state size, in bytes, for the given cipher algorithm 91 * - the cipher fields of the req_params block in the request. No 93 * - the corresponding CIPH_IV_FLD flag in the serv_specif_flags field [all …]
|
/freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
H A D | ocsd_c_api_cust_impl.h | 43 /**@name External decoder - Inline utility functions. 56 if (callbacks->fn_gen_elem_out) in lib_cb_GenElemOp() 57 return callbacks->fn_gen_elem_out(callbacks->lib_context, index_sop, trc_chan_id, elem); in lib_cb_GenElemOp() 66 const char *pMsg) in lib_cb_LogError() argument 68 if (callbacks->fn_log_error) in lib_cb_LogError() 70 callbacks->fn_log_error(callbacks->lib_context, filter_level, code, idx, chan_id, pMsg); in lib_cb_LogError() 78 const char *pMsg) in lib_cb_LogMsg() argument 80 if (callbacks->fn_log_msg) in lib_cb_LogMsg() 82 callbacks->fn_log_msg(callbacks->lib_context, filter_level, pMsg); in lib_cb_LogMsg() 91 if (callbacks->fn_arm_instruction_decode) in lib_cb_DecodeArmInst() [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() 115 /* Increment by the size of the buffer */ 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() [all …]
|
/freebsd/sys/dev/qat/qat_api/common/include/ |
H A D | sal_qat_cmn_msg.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 59 /**< Hardware Setup Block size in quad words */ 89 * section of the Request Msg. Build LW0 + LW1 - 92 * @param[in] pMsg Pointer to 128B Request Msg buffer 102 void SalQatMsg_CmnHdrWrite(icp_qat_fw_comn_req_t *pMsg, 149 * @param[in] pMsg Pointer to 128B Request Msg buffer. 157 icp_qat_fw_comn_req_t *pMsg,
|
/freebsd/sys/dev/qat/qat_api/common/compression/ |
H A D | dc_session.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 66 if ((pSessionData->compLevel < CPA_DC_L1) || in dcCheckSessionData() 67 (pSessionData->compLevel > CPA_DC_L12)) { in dcCheckSessionData() 72 if ((pSessionData->autoSelectBestHuffmanTree < CPA_DC_ASB_DISABLED) || in dcCheckSessionData() 73 (pSessionData->autoSelectBestHuffmanTree > CPA_DC_ASB_ENABLED)) { in dcCheckSessionData() 77 if (pSessionData->compType != CPA_DC_DEFLATE) { in dcCheckSessionData() 82 if ((pSessionData->huffType < CPA_DC_HT_STATIC) || in dcCheckSessionData() 83 (pSessionData->huffType > CPA_DC_HT_FULL_DYNAMIC) || in dcCheckSessionData() 84 (CPA_DC_HT_PRECOMP == pSessionData->huffType)) { in dcCheckSessionData() [all …]
|
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/contrib/opencsd/decoder/source/c_api/ |
H A D | ocsd_c_api_custom_obj.cpp | 42 /***************** C-API functions ********************************/ 51 if(pRegister->isRegisteredDecoder(name)) in ocsd_register_custom_decoder() 55 if((p_dcd_fact->createDecoder == 0) || in ocsd_register_custom_decoder() 56 (p_dcd_fact->destroyDecoder == 0) || in ocsd_register_custom_decoder() 57 (p_dcd_fact->csidFromConfig == 0) in ocsd_register_custom_decoder() 66 p_dcd_fact->protocol_id = OcsdLibDcdRegister::getNextCustomProtocolID(); in ocsd_register_custom_decoder() 67 if(p_dcd_fact->protocol_id < OCSD_PROTOCOL_END) in ocsd_register_custom_decoder() 70 pWrapper->setAPIDcdFact(p_dcd_fact); in ocsd_register_custom_decoder() 71 err = pRegister->registerDecoderTypeByName(name,pWrapper); in ocsd_register_custom_decoder() 95 …if (OCSD_PROTOCOL_IS_CUSTOM(pkt_protocol) && (pRegister->getDecoderMngrByType(pkt_protocol, &p_mng… in ocsd_cust_protocol_to_str() [all …]
|
H A D | ocsd_c_api_custom_obj.h | 49 // set the C-API decoder factory interface. 56 //! Get the built in protocol type ID managed by this instance - extern for custom decoders 59 // connect decoders to other components - (replace current / 0 pointer value to detach ); 61 //!attach error logger to ptk-processor, or both of pkt processor and pkt decoder pair 81 …//! attach a packet data sink to pkt processor output (solo pkt processor only - instead of decode… 136 const char *pMsg); 155 const uint32_t size, 164 …ITrcGenElemIn *m_pGenElemIn; //!< generic element sink interface - output from decoder fed … 165 …IInstrDecode *m_pIInstrDec; //!< arm instruction decode interface - decoder may want to us… 166 …ITargetMemAccess *m_pMemAccessor; //!< system memory accessor insterface - decoder may want to u… [all …]
|
/freebsd/sys/dev/qat/qat_api/common/compression/include/ |
H A D | dc_session.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 33 /* Maximum size of the state registers 64 bytes */ 36 /* Size of the history window. 37 * Base 2 logarithm of maximum window size minus 8 */ 43 /* Context size */ 57 /* Maximum size for the compression part of the content descriptor */ 60 /* Maximum size for the translator part of the content descriptor */ 64 /* Maximum size of the decompression content descriptor */ 69 /* Maximum size of the compression content descriptor */ [all …]
|
/freebsd/sys/dev/qat/qat_api/qat_direct/include/ |
H A D | icp_adf_transport.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 50 typedef void (*icp_trans_callback)(void *pMsg); 125 * The message size is variable: requests can be 64 or 128 bytes, responses 154 * The message size is variable: requests can be 64 or 128 bytes, responses
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm4250-oneplus-billie2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 15 qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>; 16 qcom,board-id = <0x1000b 0x00>; 22 #address-cells = <2>; 23 #size [all...] |
H A D | sdm632-motorola-ocean.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 9 #include <dt-bindings/leds/common.h> 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <349 0>; 19 qcom,board-id = <0x141 0xc100>; 20 qcom,pmic-id = <0x10016 0x25 0x00 0x00>; 23 compatible = "led-backlight"; [all …]
|
H A D | msm8953-xiaomi-tissot.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &qseecom_mem; 15 /delete-node/ &wcnss_fw_mem; 20 chassis-typ [all...] |
H A D | msm8956-sony-xperia-loire.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2016-2022, AngeloGioacchino Del Regno 16 qcom,msm-id = <266 0x10001>; /* MSM8956 v1.1 */ 17 qcom,board-id = <8 0>; 27 stdout-path = "serial0:115200n8"; 30 reserved-memory { 31 cont-splash@83000000 { 38 record-size = <0x20000>; 39 console-size = <0x40000>; 40 ftrace-size = <0x20000>; [all …]
|
H A D | msm8992-lg-bullhead.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2021-2022, Petr Vorel <petr.vorel@gmail.com> 9 /dts-v1/; 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <251 0>, <252 0>; 27 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 30 /delete-node/ psci; 37 stdout-path = "serial0:115200n8"; [all …]
|
H A D | msm8992-bullhead-rev-101.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 14 /delete-node/ &cont_splash_mem; 19 chassis-type = "handset"; 22 qcom,msm-id = <251 0>, <252 0>; 23 qcom,board-id = <0xb64 0>; 24 qcom,pmic-id = <0x10009 0x1000A 0x0 0x0>; 27 /delete-node/ psci; 34 stdout-path = "serial0:115200n8"; 37 reserved-memory { [all …]
|
H A D | msm8953-motorola-potter.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 5 /dts-v1/; 11 /delete-node/ &cont_splash_mem; 12 /delete-node/ &qseecom_mem; 17 chassis-type = "handset"; 18 qcom,msm-id = <293 0>; 19 qcom,board-id = <0x46 0x83a0>; 22 #address-cells = <2>; 23 #size-cells = <2>; 27 compatible = "simple-framebuffer"; [all …]
|
H A D | msm8953-xiaomi-vince.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/leds/common.h> 13 /delete-node/ &adsp_fw_mem; 14 /delete-node/ &cont_splash_mem; 15 /delete-node/ &qseecom_mem; 16 /delete-nod [all...] |
H A D | sm6375-sony-xperia-murray-pdx225.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 18 /delete-node/ &pmk8350_pon; 23 chassis-type = "handset"; 26 #address-cells = <2>; 27 #size [all...] |