Lines Matching +full:versal +full:- +full:8

1 /* SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2022-2023, Advanced Micro Devices, Inc.
19 * 0 7 8 16 20 22 23 24 31
22 * | | \--- Response
23 * | \------- Error
24 * \------------------------------ Resync (always set)
50 #define MCDI_HEADER_DATALEN_LBN 8
51 #define MCDI_HEADER_DATALEN_WIDTH 8
63 #define MCDI_HEADER_XFLAGS_WIDTH 8
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
92 * 0 8 16 24 32
101 * non-existent MCDI command MC_CMD_DEBUG_LOG.
103 * 0 7 8
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 */
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
326 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_IN_LEN 8
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 */
355 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_DEVICE_CLASS_OFST 8
357 /* 8-bit vendor-assigned revision */
365 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_BASE_LEN 8
376 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION0_SIZE_LEN 8
387 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION1_BASE_LEN 8
398 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION1_SIZE_LEN 8
409 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION2_BASE_LEN 8
420 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION2_SIZE_LEN 8
431 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION3_BASE_LEN 8
442 #define MC_CMD_CDX_BUS_GET_DEVICE_CONFIG_OUT_MMIO_REGION3_SIZE_LEN 8
462 * logic is reset in a hardware-specific way and DMA bus mastering is disabled.
471 #define MC_CMD_CDX_DEVICE_RESET_IN_LEN 8
472 /* Device bus number, in range 0 to BUS_COUNT-1 */
475 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
509 /* Device bus number, in range 0 to BUS_COUNT-1 */
512 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
515 #define MC_CMD_CDX_DEVICE_CONTROL_SET_IN_FLAGS_OFST 8
517 #define MC_CMD_CDX_DEVICE_CONTROL_SET_IN_BUS_MASTER_ENABLE_OFST 8
520 #define MC_CMD_CDX_DEVICE_CONTROL_SET_IN_MSI_ENABLE_OFST 8
523 #define MC_CMD_CDX_DEVICE_CONTROL_SET_IN_MMIO_REGIONS_ENABLE_OFST 8
543 #define MC_CMD_CDX_DEVICE_CONTROL_GET_IN_LEN 8
544 /* Device bus number, in range 0 to BUS_COUNT-1 */
547 /* Device number relative to the bus, in range 0 to DEVICE_COUNT-1 for that bus */
566 /* MC_CMD_V2_EXTN - Encapsulation for a v2 extended command */
585 * enum: MCDI command directed to versal-net. MCDI responses of this type