Home
last modified time | relevance | path

Searched +full:pmsg +full:- +full:size (Results 1 – 25 of 70) sorted by relevance

123

/freebsd/sys/dev/usb/misc/
H A Di2ctinyusb.c1 /*-
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 Dlac_sym_qat_hash.c1 /* 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 …]
/freebsd/sys/dev/qat/qat_api/common/crypto/sym/include/
H A Dlac_sym_qat_hash.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2025 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 Dlac_sym_qat_cipher.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2025 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/sys/contrib/device-tree/Bindings/reserved-memory/
H A Dramoops.yaml1 # 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 Dramoops.txt5 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/contrib/opencsd/decoder/include/opencsd/c_api/
H A Docsd_c_api_cust_impl.h43 /**@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 Dlac_sym_alg_chain.c1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2025 Intel Corporation */
98 for (i = 0; i < pBufferList->numBuffers; i++) { in LacSymAlgChain_PtrFromOffsetGet()
99 Cpa8U *pCurrData = pBufferList->pBuffers[i].pData; in LacSymAlgChain_PtrFromOffsetGet()
100 Cpa32U currDataSize = pBufferList->pBuffers[i].dataLenInBytes; in LacSymAlgChain_PtrFromOffsetGet()
108 *ppDataPtr = pCurrData + (packetOffset - currentOffset); in LacSymAlgChain_PtrFromOffsetGet()
112 /* Increment by the size of the buffer */ in LacSymAlgChain_PtrFromOffsetGet()
136 switch (pSessionDesc->cipherAlgorithm) { in LacSymCheck_IsPartialSupported()
149 switch (pSessionDesc->hashAlgorithm) { in LacSymCheck_IsPartialSupported()
167 switch (pSessionDesc->symOperation) { in LacSymCheck_IsPartialSupported()
[all …]
/freebsd/sys/dev/qat/qat_api/common/include/
H A Dsal_qat_cmn_msg.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2025 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 Ddc_session.c1 /* 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 Ddc_datapath.c1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2025 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()
126 LAC_MEM_SHARED_READ_TO_PTR(pCompRespMsg->opaque_data, pReqData); in dcCompression_ProcessCallback()
135 pSessionDesc = DC_SESSION_DESC_FROM_CTX_GET(pCookie->pSessionHandle); in dcCompression_ProcessCallback()
136 pService = (sal_compression_service_t *)(pCookie->dcInstance); in dcCompression_ProcessCallback()
[all …]
/freebsd/crypto/openssl/ssl/
H A Dt1_trce.c2 * Copyright 2012-2025 The OpenSSL Project Authors. All Rights Reserved.
37 if (tbl->num == val) in do_ssl_trace_str()
38 return tbl->name; in do_ssl_trace_str()
58 msglen -= vlen; in do_ssl_trace_list()
434 {0xC102, "IANA-GOST2012-GOST8912-GOST8912"},
449 {0xFF85, "LEGACY-GOST2012-GOST8912-GOST8912"},
450 {0xFF87, "GOST2012-NULL-GOST12"},
453 {0xC100, "GOST2012-KUZNYECHIK-KUZNYECHIKOMAC"},
454 {0xC101, "GOST2012-MAGMA-MAGMAOMAC"},
455 {0xC102, "GOST2012-GOST8912-IANA"},
[all …]
/freebsd/contrib/opencsd/decoder/source/c_api/
H A Docsd_c_api_custom_obj.cpp42 /***************** 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 …]
/freebsd/crypto/krb5/src/windows/leash/
H A DLeashAboutBox.cpp5 // Copyright: @1998 Massachusetts Institute of Technology - All rights
86 if (hProcessSnap == (HANDLE)-1) in GetModules95()
164 GetDlgItem(IDC_STATIC_NO_OF_MODULES)->SetWindowText(numModulesBuffer); in HighlightFirstItem()
191 DWORD size = GetFileVersionInfoSize(filename, &dwVersionHandle); in SetVersionInfo() local
193 if (!size) in SetVersionInfo()
196 pVersionInfo = malloc(size); in SetVersionInfo()
200 if (!GetFileVersionInfo(filename, dwVersionHandle, size, pVersionInfo)) in SetVersionInfo()
226 version[sizeof(version) - 1] = 0; in SetVersionInfo()
227 GetDlgItem(id_version)->SetWindowText(version); in SetVersionInfo()
235 GetDlgItem(id_copyright)->SetWindowText(szCopyright); in SetVersionInfo()
[all …]
H A DMainFrm.cpp5 // Copyright @1998 Massachusetts Institute of Technology - All rights reserved.
98 …om http://social.msdn.microsoft.com/Forums/en/vcmfcatl/thread/5c5b4879-d278-4d79-8894-99e7f9b322df) in OnCreate()
109 theApp.GetTooltipManager()->SetTooltipParams(AFX_TOOLTIP_TYPE_ALL, in OnCreate()
119 hwnd = this->GetSafeHwnd(); in OnCreate()
125 return -1; in OnCreate()
129 if (CLeashFrame::OnCreate(lpCreateStruct) == -1) in OnCreate()
130 return -1; in OnCreate()
142 return -1; // fail to create in OnCreate()
151 return -1; // fail to create in OnCreate()
163 return -1; // fail to create in OnCreate()
[all …]
/freebsd/sys/dev/qat/qat_api/common/compression/include/
H A Ddc_session.h1 /* 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/contrib/device-tree/src/arm64/qcom/
H A Dmsm8992-lg-h815.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
16 /delete-node/ &cont_splash_mem;
19 /delete-node/ &dfps_data_mem;
24 chassis-type = "handset";
26 qcom,msm-id = <0xfb 0x0>;
27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>;
28 qcom,board-id = <0xb64 0x0>;
31 /delete-node/ psci;
[all …]
H A Dsm4250-oneplus-billie2.dts1 // 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-cells = <2>;
26 stdout-path = "framebuffer0";
29 compatible = "simple-framebuffer";
42 no-map;
48 record-size = <0x40000>;
[all …]
H A Dsdm632-motorola-ocean.dts1 // 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 Dmsm8956-sony-xperia-loire.dtsi1 // 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 Dmsm8992-lg-bullhead.dtsi1 // 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 Dmsm8992-bullhead-rev-101.dts1 // 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 Dmsm8953-motorola-potter.dts1 // 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 Dmsm8953-xiaomi-tissot.dts1 // 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-type = "handset";
21 qcom,msm-id = <293 0>;
22 qcom,board-id = <0x1000b 0x00>;
24 gpio-keys {
[all …]
/freebsd/sys/dev/qat/qat_api/qat_direct/include/
H A Dicp_adf_transport.h1 /* 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

123