Home
last modified time | relevance | path

Searched +full:endpoint +full:- +full:base (Results 1 – 25 of 101) sorted by relevance

12345

/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_core.c1 // SPDX-License-Identifier: GPL-2.0+
8 * Author: Thomas Abraham t-abraham@ti.com, Texas Instruments
27 writew(0, &musbr->intrtxe); in musb_start()
28 writew(0, &musbr->intrrxe); in musb_start()
29 writeb(0, &musbr->intrusbe); in musb_start()
30 writeb(0, &musbr->testmode); in musb_start()
33 writeb(MUSB_POWER_HSENAB, &musbr->power); in musb_start()
41 devctl = readb(&musbr->devctl); in musb_start()
42 writeb(devctl | MUSB_DEVCTL_SESSION, &musbr->devctl); in musb_start()
51 writeb(idx, &musbr->dir##fifosz); \
[all …]
/openbmc/qemu/include/crypto/
H A Dtlscreds.h24 #include "qapi/qapi-types-crypto.h"
27 #define TYPE_QCRYPTO_TLS_CREDS "tls-creds"
34 #define QCRYPTO_TLS_CREDS_DH_PARAMS "dh-params.pem"
41 * The QCryptoTLSCreds object is an abstract base for different
55 * @endpoint: type of network endpoint that will be using the credentials
56 * @errp: pointer to a NULL-initialized error object
59 * the type of @endpoint argument.
61 * Returns true if the credentials is setup for the endpoint, false otherwise
64 QCryptoTLSCredsEndpoint endpoint,
/openbmc/u-boot/doc/device-tree-bindings/video/
H A Drockchip-lvds.txt2 ------------------
5 - compatible: "rockchip,rk3288-lvds";
7 - reg: physical base address of the controller and length
9 - clocks: must include clock specifiers corresponding to entries in the
10 clock-names property.
11 - clock-names: must contain "pclk_lvds"
13 - rockchip,grf: phandle to the general register files syscon
15 - rockchip,data-mapping: should be <LVDS_FORMAT_VESA> or <LVDS_FORMAT_JEIDA>,
18 - rockchip,data-width : should be <18> or <24>;
19 - rockchip,output: should be <LVDS_OUTPUT_RGB>, <LVDS_OUTPUT_SINGLE> or
[all …]
/openbmc/pldm/oem/meta/
H A Dutils.hpp3 #include <libpldm/base.h>
11 * @brief Check the IANA of the MCTP endpoint device that sent the OEM message.
13 * @param[in] tid - PLDM TID of the sender.
14 * @param[out] bool - True if the endpoint used META IANA, false otherwise.
19 * @brief Get the slot number from D-Bus for the given sender tid.
21 * - If no configurations available, it will return std::string("0").
22 * - If any error or exception occurs during the process, it
27 * @param[in] tid - PLDM TID of the sender.
28 * @param[out] std::string - Corresponding slot number.
/openbmc/pldm/pldmtool/
H A DREADME.md8 pldmtool supports the subcommands for PLDM types such as base, platform, bios,
9 fru, and oem-ibm.
11 - Source files are implemented in C++.
12 - Consumes pldm/libpldm encode and decode functions.
13 - Communicates with pldmd daemon running on BMC.
14 - Enables writing functional test cases for PLDM stack.
34 Given a PLDM command "foo" of PLDM type "base" the pldmtool should consume
38 - encode_foo_req() - Send the required input parameters in the request message.
39 - decode_foo_resp() - Decode the response message.
43 directly send the request message with the help of **pldmtool raw -d \<data\>**
[all …]
H A Dpldm_cmd_helper.hpp7 #include <libpldm/base.h>
34 * @param[in] pldmVerbose - verbosity flag - true/false
35 * @param[in] msg - message to print
36 * @param[in] data - data to print
38 * @return - None
54 * @param[in] data - data to print in json
56 * @return - None
64 * @brief Maps numeric PLDM completion codes to human-readable strings
66 * @param[in] completionCode - Numeric PLDM completion code returned in response
67 * @param[in] data - The JSON data to which the completion code is added.
[all …]
/openbmc/u-boot/arch/arm/mach-tegra/
H A Divc.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <asm/arch-tegra/ivc.h>
25 * ack state when it observes the receiving endpoint in the ack or
32 * If an endpoint is observed in the sync state, the remote endpoint is
34 * the current endpoint. Therefore, the current endpoint is no longer
42 * state. If the remote endpoint observes us in the ack state, it can
49 * This structure is divided into two-cache aligned parts, the first is only
52 * which is critical to performance and necessary in non-cache coherent
75 ulong base = ((ulong)h) + offset; in tegra_ivc_invalidate_counter() local
76 invalidate_dcache_range(base, base + TEGRA_IVC_ALIGN); in tegra_ivc_invalidate_counter()
[all …]
/openbmc/pldm/platform-mc/
H A Dterminus_manager.hpp62 // DSP0240 v1.1.0 table-8, special value: 0,0xFF = reserved in TerminusManager()
69 * @param[in] mctpInfos - list information of the MCTP endpoints
75 * @param[in] mctpInfos - list information of the MCTP endpoints
84 * @param[in] tid - Destination TID
85 * @param[in] request - request PLDM message
86 * @param[out] responseMsg - response PLDM message
87 * @param[out] responseLen - length of response PLDM message
88 * @return coroutine return_value - PLDM completion code
97 * @param[in] eid - Destination EID
98 * @param[in] request - request PLDM message
[all …]
/openbmc/pldm/requester/
H A Drequest.hpp8 #include <libpldm/base.h>
11 #include <phosphor-logging/lg2.hpp>
27 * The abstract base class for implementing the PLDM request retry logic. This
44 * @param[in] event - reference to PLDM daemon's main event loop
45 * @param[in] numRetries - number of request retries
46 * @param[in] timeout - time to wait between each retry in milliseconds
52 timer(event.get(), [this] { this->callback(); }) in RequestRetryTimer()
77 error("Failed to start the request timer, error - {ERROR}", "ERROR", in start()
112 if (numRetries--) in callback()
144 * @param[in] pldm_transport - PLDM transport object
[all …]
H A Dhandler.hpp8 #include <libpldm/base.h>
11 #include <phosphor-logging/lg2.hpp>
36 * response and a combination of MCTP endpoint ID, PLDM instance ID, PLDM type
41 mctp_eid_t eid; //!< MCTP endpoint ID
56 * generates unique instance IDs for MCTP endpoint ID.
83 * This struct is used to store the registered request to one endpoint.
87 RequestKey key; //!< Responder MCTP endpoint ID
94 * This struct is used to save the list of request messages of one endpoint and
95 * the existing of the request message to the endpoint with its' EID.
99 mctp_eid_t eid; //!< Responder MCTP endpoint ID
[all …]
/openbmc/qemu/qapi/
H A Dcrypto.json1 # -*- Mode: Python -*-
14 # The type of network endpoint that will be using the credentials.
18 # @client: the network endpoint is acting as the client
20 # @server: the network endpoint is acting as the server
32 # @raw: raw bytes. When encoded in JSON only valid UTF-8 sequences
49 # @sha1: SHA-1. Should not be used in any new code, legacy compat only
51 # @sha224: SHA-224. (since 2.7)
53 # @sha256: SHA-256. Current recommended strong hash.
55 # @sha384: SHA-384. (since 2.7)
57 # @sha512: SHA-512. (since 2.7)
[all …]
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dprc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright 2013-2016 Freescale Semiconductor, Inc.
48 MC_CMD_OP(cmd, 0, 32, 16, uint16_t, cfg->icid); \
49 MC_CMD_OP(cmd, 0, 0, 32, uint32_t, cfg->options); \
50 MC_CMD_OP(cmd, 1, 32, 32, int, cfg->portal_id); \
51 MC_CMD_OP(cmd, 2, 0, 8, char, cfg->label[0]);\
52 MC_CMD_OP(cmd, 2, 8, 8, char, cfg->label[1]);\
53 MC_CMD_OP(cmd, 2, 16, 8, char, cfg->label[2]);\
54 MC_CMD_OP(cmd, 2, 24, 8, char, cfg->label[3]);\
55 MC_CMD_OP(cmd, 2, 32, 8, char, cfg->label[4]);\
[all …]
/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c1 // SPDX-License-Identifier: GPL-2.0
121 /*-------------------------------------------------------------------------*/
123 __raw_readl(aspeed_udc->udc_base + (offset))
125 __raw_writel((u32)val, aspeed_udc->udc_base + (offset))
131 /*-------------------------------------------------------------------------*/
148 ep_reg = aspeed_udc->udc_base + AST_EP_BASE + in udc_stall_ep()
149 (AST_EP_OFFSET * (ep_num - 1)); in udc_stall_ep()
160 int udc_endpoint_write(struct usb_endpoint_instance *endpoint) in udc_endpoint_write() argument
162 struct urb *urb = endpoint->tx_urb; in udc_endpoint_write()
169 if (!endpoint) { in udc_endpoint_write()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dxhci.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Based on xHCI host controller driver in linux-kernel
29 /* Max number of USB devices for any host controller - limit in section 6.1 */
31 /* Section 5.3.3 - MaxPorts */
42 * connect status, over-current status, port speed, and device removable.
43 * connect status and port speed are also sticky - meaning they're in
64 * over-current, reset, link state, and L1 change
91 /* bits 7:0 - how long is the Capabilities register */
96 /* HCSPARAMS1 - hcs_params1 - bitmasks */
102 /* bits 24:31, Max Ports - max value is 0x7F = 127 ports */
[all …]
/openbmc/qemu/hw/virtio/
H A Dtrace-events16 # vhost-user.c
32 # vhost-vdpa.c
39 …, void *vaddr, bool readonly) "vdpa: %p iova 0x%"PRIx64" llend 0x%"PRIx64" vaddr: %p read-only: %d"
58 …_vdpa_set_log_base(void *dev, uint64_t base, unsigned long long size, int refcnt, int fd, void *lo…
82 # virtio-rng.c
90 # virtio-balloon.c
98 # virtio-mmio.c
105 # virtio-pci.c
110 # hw/virtio/virtio-iommu.c
117 virtio_iommu_attach(uint32_t domain_id, uint32_t ep_id) "domain=%d endpoint=%d"
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DEndpoint_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: Endpoint v1.8.2 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2025 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/qemu/linux-user/generic/
H A Dtarget_errno_defs.h5 * Taken from asm-generic/errno-base.h and asm-generic/errno.h
28 #define TARGET_EXDEV 18 /* Cross-device link */
40 #define TARGET_EROFS 30 /* Read-only file system */
99 #define TARGET_ENOTSOCK 88 /* Socket operation on non-socket */
106 #define TARGET_EOPNOTSUPP 95 /* Operation not supported on transport endpoint */
117 #define TARGET_EISCONN 106 /* Transport endpoint is already connected */
118 #define TARGET_ENOTCONN 107 /* Transport endpoint is not connected */
119 #define TARGET_ESHUTDOWN 108 /* Cannot send after transport endpoint shutdown */
147 #define TARGET_ERFKILL 132 /* Operation not possible due to RF-kill */
/openbmc/u-boot/arch/m68k/include/asm/
H A Dimmap_5329.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Copyright (C) 2004-2007 Freescale Semiconductor, Inc.
6 * TsiChung Liew (Tsi-Chung.Liew@freescale.com)
70 u32 res1[15]; /* 0x04 - 0x3F */
72 u32 res2[3]; /* 0x44 - 0x53 */
79 u32 res1[7]; /* 0x04 - 0x1F */
84 u32 res2[4]; /* 0x30 - 0x3F */
88 u32 res3[2]; /* 0x4C - 0x53 */
94 u8 res1[19]; /* 0x00 - 0x12 */
96 u16 res2; /* 0x14 - 0x15 */
[all …]
/openbmc/u-boot/drivers/video/rockchip/
H A Drk_vop.c1 // SPDX-License-Identifier: GPL-2.0+
21 #include <dm/device-internal.h>
22 #include <dm/uclass-internal.h>
41 u32 hactive = edid->hactive.typ; in rkvop_enable()
42 u32 vactive = edid->vactive.typ; in rkvop_enable()
44 writel(V_ACT_WIDTH(hactive - 1) | V_ACT_HEIGHT(vactive - 1), in rkvop_enable()
45 &regs->win0_act_info); in rkvop_enable()
47 writel(V_DSP_XST(edid->hsync_len.typ + edid->hback_porch.typ) | in rkvop_enable()
48 V_DSP_YST(edid->vsync_len.typ + edid->vback_porch.typ), in rkvop_enable()
49 &regs->win0_dsp_st); in rkvop_enable()
[all …]
/openbmc/pldm/common/
H A Dtransport.hpp3 #include <libpldm/base.h>
42 * @param[in] tid - The terminus ID of the message destination
43 * @param[in] tx - The encoded and framed message to send
44 * @param[in] len - The length of the buffer pointed-to by tx
56 * @param[out] tid - The terminus ID of the message source
57 * @param[out] rx - A pointer to the received, encoded message
58 * @param[out] len - The length of the buffer pointed-to by rx
68 * sendRecvMsg() is a wrapper for the non-compliant
71 * requester flow in accordance with the PLDM base specification (DSP0240).
74 * received, or the upper time-bound on a PLDM exchange is reached. Control
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dbmc_redfish_utils.py70 "get_attribute: JSONDecodeError, re-trying"
101 resource_path URI resource base path (e.g.
137 Returns list with entries ending in "/endpoint".
140 resource_path URI resource base path (e.g. "/redfish/v1/Chassis/").
141 end_point_prefix Name of the endpoint (e.g. 'Power').
143 Find all list entries ending in "/endpoint" combination such as
151 regex = ".*/" + end_point_prefix + "[_]?[0-9]*$"
190 attribute_in_uri = target.rsplit("/", 1)[-1]
319 "enumerate_request: JSONDecodeError, re-trying"
343 self.__pending_enumeration - enumerated_resources
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dinit.c1 // SPDX-License-Identifier: GPL-2.0+
5 * (C) Copyright 2012-2014
19 ENDPOINT, enumerator
39 u32 base = KS2_OSR_CFG_BASE; in osr_init() local
50 writel(val , base + KS2_OSR_ECC_VEC); in osr_init()
57 val = readl(base + KS2_OSR_ECC_VEC); in osr_init()
62 ecc_ctrl[i] = readl(base + KS2_OSR_ECC_CTRL) ^ in osr_init()
66 writel(ecc_ctrl[i], base + KS2_OSR_ECC_CTRL); in osr_init()
76 KS2_OSR_ECC_CTRL_CHK, base + KS2_OSR_ECC_CTRL); in osr_init()
168 /* Initialize the PCIe-0 to work as Root Complex */ in arch_cpu_init()
[all …]
/openbmc/qemu/crypto/
H A Dtlssession.c22 #include "qemu/error-report.h"
29 #include "authz/base.h"
59 * https://gitlab.com/gnutls/gnutls/-/issues/1717
74 error_free(session->rerr); in qcrypto_tls_session_free()
75 error_free(session->werr); in qcrypto_tls_session_free()
77 gnutls_deinit(session->handle); in qcrypto_tls_session_free()
78 g_free(session->hostname); in qcrypto_tls_session_free()
79 g_free(session->peername); in qcrypto_tls_session_free()
80 g_free(session->authzid); in qcrypto_tls_session_free()
81 object_unref(OBJECT(session->creds)); in qcrypto_tls_session_free()
[all …]
/openbmc/u-boot/drivers/usb/dwc3/
H A Dcore.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * core.h - DesignWare USB3 DRD Core Header
5 * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
10 * Taken from Linux Kernel v3.19-rc1 (drivers/usb/dwc3/core.h) and ported
34 #define DWC3_EVENT_MAX_NUM 64 /* 2 events/endpoint */
343 /* Device Endpoint Command Register */
378 * struct dwc3_event_buffer - Software event buffer representation
408 #define DWC3_TRB_MASK (DWC3_TRB_NUM - 1)
411 * struct dwc3_ep - device side endpoint representation
412 * @endpoint: usb endpoint
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Drk3399.dtsi1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (c) 2016-2017 Fuzhou Rockchip Electronics Co., Ltd.
6 #include <dt-bindings/clock/rk3399-cru.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
11 #include <dt-bindings/power/rk3399-power.h>
12 #include <dt-bindings/thermal/thermal.h>
18 interrupt-parent = <&gic>;
[all …]

12345