linux/include/drm/display/drm_scdc.h

/*
 * Copyright (c) 2015 NVIDIA Corporation. All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sub license,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice (including the
 * next paragraph) shall be included in all copies or substantial portions
 * of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.
 */

#ifndef DRM_SCDC_H
#define DRM_SCDC_H

#define SCDC_SINK_VERSION

#define SCDC_SOURCE_VERSION

#define SCDC_UPDATE_0
#define SCDC_READ_REQUEST_TEST
#define SCDC_CED_UPDATE
#define SCDC_STATUS_UPDATE

#define SCDC_UPDATE_1

#define SCDC_TMDS_CONFIG
#define SCDC_TMDS_BIT_CLOCK_RATIO_BY_40
#define SCDC_TMDS_BIT_CLOCK_RATIO_BY_10
#define SCDC_SCRAMBLING_ENABLE

#define SCDC_SCRAMBLER_STATUS
#define SCDC_SCRAMBLING_STATUS

#define SCDC_CONFIG_0
#define SCDC_READ_REQUEST_ENABLE

#define SCDC_STATUS_FLAGS_0
#define SCDC_CH2_LOCK
#define SCDC_CH1_LOCK
#define SCDC_CH0_LOCK
#define SCDC_CH_LOCK_MASK
#define SCDC_CLOCK_DETECT

#define SCDC_STATUS_FLAGS_1

#define SCDC_ERR_DET_0_L
#define SCDC_ERR_DET_0_H
#define SCDC_ERR_DET_1_L
#define SCDC_ERR_DET_1_H
#define SCDC_ERR_DET_2_L
#define SCDC_ERR_DET_2_H
#define SCDC_CHANNEL_VALID

#define SCDC_ERR_DET_CHECKSUM

#define SCDC_TEST_CONFIG_0
#define SCDC_TEST_READ_REQUEST
#define SCDC_TEST_READ_REQUEST_DELAY(x)

#define SCDC_MANUFACTURER_IEEE_OUI
#define SCDC_MANUFACTURER_IEEE_OUI_SIZE

#define SCDC_DEVICE_ID
#define SCDC_DEVICE_ID_SIZE

#define SCDC_DEVICE_HARDWARE_REVISION
#define SCDC_GET_DEVICE_HARDWARE_REVISION_MAJOR(x)
#define SCDC_GET_DEVICE_HARDWARE_REVISION_MINOR(x)

#define SCDC_DEVICE_SOFTWARE_MAJOR_REVISION
#define SCDC_DEVICE_SOFTWARE_MINOR_REVISION

#define SCDC_MANUFACTURER_SPECIFIC
#define SCDC_MANUFACTURER_SPECIFIC_SIZE

#endif