Lines Matching +full:target +full:- +full:12 +full:v +full:- +full:supply

1 /* SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
22 * | | \--- Response
23 * | \------- Error
24 * \------------------------------ Resync (always set)
76 * - To advance a shared memory request if XFLAGS_EVREQ was set
77 * - As a notification (link state, i2c event), controlled
89 * - LEVEL==INFO Command succeeded
90 * - LEVEL==ERR Command failed
101 * non-existent MCDI command MC_CMD_DEBUG_LOG.
106 * Since the event is written in big-endian byte order, this works
107 * providing bits 56-63 of the event are 0xc0.
117 * the errno value may be followed by the (0-based) number of the
125 /* Non-existent command target */
143 /* Invalid argument to target */
147 /* Read-only */
153 /* Non-recursive resource is already acquired */
177 /* V-adaptor not found. */
181 /* V-switch not found. */
189 /* Invalid v-switch type. */
191 /* Invalid v-port type. */
211 * sub-variant switching.
270 * BUS_COUNT-1
289 * Bus number to enumerate, in range 0 to BUS_COUNT-1, as returned by
299 * DEVICE_COUNT-1. Returns EAGAIN if number of devices unknown or if the target
311 * DEVICE_COUNT - 1), retrieving device resource data. May return EAGAIN if the
315 * addresses (prior to any potential IOMMU translation). For versal-net, these
316 * are equivalent to APU physical addresses. Implementation note - for this to
327 /* Device bus number, in range 0 to BUS_COUNT-1 */
330 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
336 /* 16-bit Vendor identifier, compliant with PCI-SIG VendorID assignment. */
339 /* 16-bit Device ID assigned by the vendor */
343 * 16-bit Subsystem Vendor ID, , compliant with PCI-SIG VendorID assignment.
349 * 16-bit Subsystem Device ID assigned by the vendor. For further device
354 /* 24-bit Device Class code, compliant with PCI-SIG Device Class codes */
357 /* 8-bit vendor-assigned revision */
361 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_RESERVED_OFST 12
483 /* Bus number to put in reset, in range 0 to BUS_COUNT-1 */
496 * After bus reset is de-asserted, devices are in a state which is functionally
498 * other words, device logic is reset in a hardware-specific way, MMIO accesses
500 * re-enabled with MC_CMD_CDX_DEVICE_DMA_ENABLE once the driver is ready to
503 * is expected to re-enumerate the bus. Returns EALREADY if the bus was already
511 /* Bus number to take out of reset, in range 0 to BUS_COUNT-1 */
522 * logic is reset in a hardware-specific way and DMA bus mastering is disabled.
532 /* Device bus number, in range 0 to BUS_COUNT-1 */
535 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
568 #define MC_CMD_CDX_DEVICE_CONTROL_SET_IN_LEN 12
569 /* Device bus number, in range 0 to BUS_COUNT-1 */
572 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
604 /* Device bus number, in range 0 to BUS_COUNT-1 */
607 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
629 * interrupt vector. Versal-net implementation specific limitations are that
642 /* Device bus number, in range 0 to BUS_COUNT-1 */
645 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
649 * Device-relative MSI vector number. Must be < MSI_COUNT reported for the
655 #define MC_CMD_CDX_DEVICE_WRITE_MSI_MSG_IN_RESERVED_OFST 12
660 * of the entity managing the IOMMU (APU kernel) to supply the correct IOVA
674 * MSI data to be used by the hardware. On versal-net, only the lower 16-bits
684 /* MC_CMD_V2_EXTN - Encapsulation for a v2 extended command */
703 * enum: MCDI command directed to versal-net. MCDI responses of this type