Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
sh_mobile_hdmi.c File Reference
#include <linux/clk.h>
#include <linux/console.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/slab.h>
#include <linux/types.h>
#include <linux/workqueue.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/initval.h>
#include <video/sh_mobile_hdmi.h>
#include <video/sh_mobile_lcdc.h>
#include "sh_mobile_lcdcfb.h"

Go to the source code of this file.

Data Structures

struct  sh_hdmi
 

Macros

#define HDMI_SYSTEM_CTRL   0x00 /* System control */
 
#define HDMI_L_R_DATA_SWAP_CTRL_RPKT
 
#define HDMI_20_BIT_N_FOR_AUDIO_RPKT_15_8   0x02 /* bits 15..8 of 20-bit N for Audio Clock Regeneration packet */
 
#define HDMI_20_BIT_N_FOR_AUDIO_RPKT_7_0   0x03 /* bits 7..0 of 20-bit N for Audio Clock Regeneration packet */
 
#define HDMI_SPDIF_AUDIO_SAMP_FREQ_CTS
 
#define HDMI_INTERNAL_CTS_15_8   0x05 /* bits 15..8 of Internal CTS */
 
#define HDMI_INTERNAL_CTS_7_0   0x06 /* bits 7..0 of Internal CTS */
 
#define HDMI_EXTERNAL_CTS_19_16   0x07 /* External CTS */
 
#define HDMI_EXTERNAL_CTS_15_8   0x08 /* External CTS */
 
#define HDMI_EXTERNAL_CTS_7_0   0x09 /* External CTS */
 
#define HDMI_AUDIO_SETTING_1   0x0A /* Audio setting.1 */
 
#define HDMI_AUDIO_SETTING_2   0x0B /* Audio setting.2 */
 
#define HDMI_I2S_AUDIO_SET   0x0C /* I2S audio setting */
 
#define HDMI_DSD_AUDIO_SET   0x0D /* DSD audio setting */
 
#define HDMI_DEBUG_MONITOR_1   0x0E /* Debug monitor.1 */
 
#define HDMI_DEBUG_MONITOR_2   0x0F /* Debug monitor.2 */
 
#define HDMI_I2S_INPUT_PIN_SWAP   0x10 /* I2S input pin swap */
 
#define HDMI_AUDIO_STATUS_BITS_SETTING_1   0x11 /* Audio status bits setting.1 */
 
#define HDMI_AUDIO_STATUS_BITS_SETTING_2   0x12 /* Audio status bits setting.2 */
 
#define HDMI_CATEGORY_CODE   0x13 /* Category code */
 
#define HDMI_SOURCE_NUM_AUDIO_WORD_LEN   0x14 /* Source number/Audio word length */
 
#define HDMI_AUDIO_VIDEO_SETTING_1   0x15 /* Audio/Video setting.1 */
 
#define HDMI_VIDEO_SETTING_1   0x16 /* Video setting.1 */
 
#define HDMI_DEEP_COLOR_MODES   0x17 /* Deep Color Modes */
 
#define HDMI_COLOR_SPACE_CONVERSION_PARAMETERS   0x18
 
#define HDMI_EXTERNAL_VIDEO_PARAM_SETTINGS   0x30 /* External video parameter settings */
 
#define HDMI_EXTERNAL_H_TOTAL_7_0   0x31 /* External horizontal total (LSB) */
 
#define HDMI_EXTERNAL_H_TOTAL_11_8   0x32 /* External horizontal total (MSB) */
 
#define HDMI_EXTERNAL_H_BLANK_7_0   0x33 /* External horizontal blank (LSB) */
 
#define HDMI_EXTERNAL_H_BLANK_9_8   0x34 /* External horizontal blank (MSB) */
 
#define HDMI_EXTERNAL_H_DELAY_7_0   0x35 /* External horizontal delay (LSB) */
 
#define HDMI_EXTERNAL_H_DELAY_9_8   0x36 /* External horizontal delay (MSB) */
 
#define HDMI_EXTERNAL_H_DURATION_7_0   0x37 /* External horizontal duration (LSB) */
 
#define HDMI_EXTERNAL_H_DURATION_9_8   0x38 /* External horizontal duration (MSB) */
 
#define HDMI_EXTERNAL_V_TOTAL_7_0   0x39 /* External vertical total (LSB) */
 
#define HDMI_EXTERNAL_V_TOTAL_9_8   0x3A /* External vertical total (MSB) */
 
#define HDMI_AUDIO_VIDEO_SETTING_2   0x3B /* Audio/Video setting.2 */
 
#define HDMI_EXTERNAL_V_BLANK   0x3D /* External vertical blank */
 
#define HDMI_EXTERNAL_V_DELAY   0x3E /* External vertical delay */
 
#define HDMI_EXTERNAL_V_DURATION   0x3F /* External vertical duration */
 
#define HDMI_CTRL_PKT_MANUAL_SEND_CONTROL   0x40 /* Control packet manual send control */
 
#define HDMI_CTRL_PKT_AUTO_SEND   0x41 /* Control packet auto send with VSYNC control */
 
#define HDMI_AUTO_CHECKSUM_OPTION   0x42 /* Auto checksum option */
 
#define HDMI_VIDEO_SETTING_2   0x45 /* Video setting.2 */
 
#define HDMI_OUTPUT_OPTION   0x46 /* Output option */
 
#define HDMI_SLIPHDMIT_PARAM_OPTION   0x51 /* SLIPHDMIT parameter option */
 
#define HDMI_HSYNC_PMENT_AT_EMB_7_0   0x52 /* HSYNC placement at embedded sync (LSB) */
 
#define HDMI_HSYNC_PMENT_AT_EMB_15_8   0x53 /* HSYNC placement at embedded sync (MSB) */
 
#define HDMI_VSYNC_PMENT_AT_EMB_7_0   0x54 /* VSYNC placement at embedded sync (LSB) */
 
#define HDMI_VSYNC_PMENT_AT_EMB_14_8   0x55 /* VSYNC placement at embedded sync (MSB) */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_1   0x56 /* SLIPHDMIT parameter settings.1 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_2   0x57 /* SLIPHDMIT parameter settings.2 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_3   0x58 /* SLIPHDMIT parameter settings.3 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_5   0x59 /* SLIPHDMIT parameter settings.5 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_6   0x5A /* SLIPHDMIT parameter settings.6 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_7   0x5B /* SLIPHDMIT parameter settings.7 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_8   0x5C /* SLIPHDMIT parameter settings.8 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_9   0x5D /* SLIPHDMIT parameter settings.9 */
 
#define HDMI_SLIPHDMIT_PARAM_SETTINGS_10   0x5E /* SLIPHDMIT parameter settings.10 */
 
#define HDMI_CTRL_PKT_BUF_INDEX   0x5F /* Control packet buffer index */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_HB0   0x60 /* Control packet data buffer access window - HB0 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_HB1   0x61 /* Control packet data buffer access window - HB1 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_HB2   0x62 /* Control packet data buffer access window - HB2 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB0   0x63 /* Control packet data buffer access window - PB0 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB1   0x64 /* Control packet data buffer access window - PB1 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB2   0x65 /* Control packet data buffer access window - PB2 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB3   0x66 /* Control packet data buffer access window - PB3 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB4   0x67 /* Control packet data buffer access window - PB4 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB5   0x68 /* Control packet data buffer access window - PB5 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB6   0x69 /* Control packet data buffer access window - PB6 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB7   0x6A /* Control packet data buffer access window - PB7 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB8   0x6B /* Control packet data buffer access window - PB8 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB9   0x6C /* Control packet data buffer access window - PB9 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB10   0x6D /* Control packet data buffer access window - PB10 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB11   0x6E /* Control packet data buffer access window - PB11 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB12   0x6F /* Control packet data buffer access window - PB12 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB13   0x70 /* Control packet data buffer access window - PB13 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB14   0x71 /* Control packet data buffer access window - PB14 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB15   0x72 /* Control packet data buffer access window - PB15 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB16   0x73 /* Control packet data buffer access window - PB16 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB17   0x74 /* Control packet data buffer access window - PB17 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB18   0x75 /* Control packet data buffer access window - PB18 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB19   0x76 /* Control packet data buffer access window - PB19 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB20   0x77 /* Control packet data buffer access window - PB20 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB21   0x78 /* Control packet data buffer access window - PB21 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB22   0x79 /* Control packet data buffer access window - PB22 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB23   0x7A /* Control packet data buffer access window - PB23 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB24   0x7B /* Control packet data buffer access window - PB24 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB25   0x7C /* Control packet data buffer access window - PB25 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB26   0x7D /* Control packet data buffer access window - PB26 */
 
#define HDMI_CTRL_PKT_BUF_ACCESS_PB27   0x7E /* Control packet data buffer access window - PB27 */
 
#define HDMI_EDID_KSV_FIFO_ACCESS_WINDOW   0x80 /* EDID/KSV FIFO access window */
 
#define HDMI_DDC_BUS_ACCESS_FREQ_CTRL_7_0   0x81 /* DDC bus access frequency control (LSB) */
 
#define HDMI_DDC_BUS_ACCESS_FREQ_CTRL_15_8   0x82 /* DDC bus access frequency control (MSB) */
 
#define HDMI_INTERRUPT_MASK_1   0x92 /* Interrupt mask.1 */
 
#define HDMI_INTERRUPT_MASK_2   0x93 /* Interrupt mask.2 */
 
#define HDMI_INTERRUPT_STATUS_1   0x94 /* Interrupt status.1 */
 
#define HDMI_INTERRUPT_STATUS_2   0x95 /* Interrupt status.2 */
 
#define HDMI_INTERRUPT_MASK_3   0x96 /* Interrupt mask.3 */
 
#define HDMI_INTERRUPT_MASK_4   0x97 /* Interrupt mask.4 */
 
#define HDMI_INTERRUPT_STATUS_3   0x98 /* Interrupt status.3 */
 
#define HDMI_INTERRUPT_STATUS_4   0x99 /* Interrupt status.4 */
 
#define HDMI_SOFTWARE_HDCP_CONTROL_1   0x9A /* Software HDCP control.1 */
 
#define HDMI_FRAME_COUNTER   0x9C /* Frame counter */
 
#define HDMI_FRAME_COUNTER_FOR_RI_CHECK   0x9D /* Frame counter for Ri check */
 
#define HDMI_HDCP_CONTROL   0xAF /* HDCP control */
 
#define HDMI_RI_FRAME_COUNT_REGISTER   0xB2 /* Ri frame count register */
 
#define HDMI_DDC_BUS_CONTROL   0xB7 /* DDC bus control */
 
#define HDMI_HDCP_STATUS   0xB8 /* HDCP status */
 
#define HDMI_SHA0   0xB9 /* sha0 */
 
#define HDMI_SHA1   0xBA /* sha1 */
 
#define HDMI_SHA2   0xBB /* sha2 */
 
#define HDMI_SHA3   0xBC /* sha3 */
 
#define HDMI_SHA4   0xBD /* sha4 */
 
#define HDMI_BCAPS_READ   0xBE /* BCAPS read / debug */
 
#define HDMI_AKSV_BKSV_7_0_MONITOR   0xBF /* AKSV/BKSV[7:0] monitor */
 
#define HDMI_AKSV_BKSV_15_8_MONITOR   0xC0 /* AKSV/BKSV[15:8] monitor */
 
#define HDMI_AKSV_BKSV_23_16_MONITOR   0xC1 /* AKSV/BKSV[23:16] monitor */
 
#define HDMI_AKSV_BKSV_31_24_MONITOR   0xC2 /* AKSV/BKSV[31:24] monitor */
 
#define HDMI_AKSV_BKSV_39_32_MONITOR   0xC3 /* AKSV/BKSV[39:32] monitor */
 
#define HDMI_EDID_SEGMENT_POINTER   0xC4 /* EDID segment pointer */
 
#define HDMI_EDID_WORD_ADDRESS   0xC5 /* EDID word address */
 
#define HDMI_EDID_DATA_FIFO_ADDRESS   0xC6 /* EDID data FIFO address */
 
#define HDMI_NUM_OF_HDMI_DEVICES   0xC7 /* Number of HDMI devices */
 
#define HDMI_HDCP_ERROR_CODE   0xC8 /* HDCP error code */
 
#define HDMI_100MS_TIMER_SET   0xC9 /* 100ms timer setting */
 
#define HDMI_5SEC_TIMER_SET   0xCA /* 5sec timer setting */
 
#define HDMI_RI_READ_COUNT   0xCB /* Ri read count */
 
#define HDMI_AN_SEED   0xCC /* An seed */
 
#define HDMI_MAX_NUM_OF_RCIVRS_ALLOWED   0xCD /* Maximum number of receivers allowed */
 
#define HDMI_HDCP_MEMORY_ACCESS_CONTROL_1   0xCE /* HDCP memory access control.1 */
 
#define HDMI_HDCP_MEMORY_ACCESS_CONTROL_2   0xCF /* HDCP memory access control.2 */
 
#define HDMI_HDCP_CONTROL_2   0xD0 /* HDCP Control 2 */
 
#define HDMI_HDCP_KEY_MEMORY_CONTROL   0xD2 /* HDCP Key Memory Control */
 
#define HDMI_COLOR_SPACE_CONV_CONFIG_1   0xD3 /* Color space conversion configuration.1 */
 
#define HDMI_VIDEO_SETTING_3   0xD4 /* Video setting.3 */
 
#define HDMI_RI_7_0   0xD5 /* Ri[7:0] */
 
#define HDMI_RI_15_8   0xD6 /* Ri[15:8] */
 
#define HDMI_PJ   0xD7 /* Pj */
 
#define HDMI_SHA_RD   0xD8 /* sha_rd */
 
#define HDMI_RI_7_0_SAVED   0xD9 /* Ri[7:0] saved */
 
#define HDMI_RI_15_8_SAVED   0xDA /* Ri[15:8] saved */
 
#define HDMI_PJ_SAVED   0xDB /* Pj saved */
 
#define HDMI_NUM_OF_DEVICES   0xDC /* Number of devices */
 
#define HDMI_HOT_PLUG_MSENS_STATUS   0xDF /* Hot plug/MSENS status */
 
#define HDMI_BCAPS_WRITE   0xE0 /* bcaps */
 
#define HDMI_BSTAT_7_0   0xE1 /* bstat[7:0] */
 
#define HDMI_BSTAT_15_8   0xE2 /* bstat[15:8] */
 
#define HDMI_BKSV_7_0   0xE3 /* bksv[7:0] */
 
#define HDMI_BKSV_15_8   0xE4 /* bksv[15:8] */
 
#define HDMI_BKSV_23_16   0xE5 /* bksv[23:16] */
 
#define HDMI_BKSV_31_24   0xE6 /* bksv[31:24] */
 
#define HDMI_BKSV_39_32   0xE7 /* bksv[39:32] */
 
#define HDMI_AN_7_0   0xE8 /* An[7:0] */
 
#define HDMI_AN_15_8   0xE9 /* An [15:8] */
 
#define HDMI_AN_23_16   0xEA /* An [23:16] */
 
#define HDMI_AN_31_24   0xEB /* An [31:24] */
 
#define HDMI_AN_39_32   0xEC /* An [39:32] */
 
#define HDMI_AN_47_40   0xED /* An [47:40] */
 
#define HDMI_AN_55_48   0xEE /* An [55:48] */
 
#define HDMI_AN_63_56   0xEF /* An [63:56] */
 
#define HDMI_PRODUCT_ID   0xF0 /* Product ID */
 
#define HDMI_REVISION_ID   0xF1 /* Revision ID */
 
#define HDMI_TEST_MODE   0xFE /* Test mode */
 
#define HDMI_HTOP1_TEST_MODE   0x0000 /* Test mode */
 
#define HDMI_HTOP1_VIDEO_INPUT   0x0008 /* VideoInput */
 
#define HDMI_HTOP1_CORE_RSTN   0x000C /* CoreResetn */
 
#define HDMI_HTOP1_PLLBW   0x0018 /* PLLBW */
 
#define HDMI_HTOP1_CLK_TO_PHY   0x001C /* Clk to Phy */
 
#define HDMI_HTOP1_VIDEO_INPUT2   0x0020 /* VideoInput2 */
 
#define HDMI_HTOP1_TISEMP0_1   0x0024 /* tisemp0-1 */
 
#define HDMI_HTOP1_TISEMP2_C   0x0028 /* tisemp2-c */
 
#define HDMI_HTOP1_TISIDRV   0x002C /* tisidrv */
 
#define HDMI_HTOP1_TISEN   0x0034 /* tisen */
 
#define HDMI_HTOP1_TISDREN   0x0038 /* tisdren */
 
#define HDMI_HTOP1_CISRANGE   0x003C /* cisrange */
 
#define HDMI_HTOP1_ENABLE_SELECTOR   0x0040 /* Enable Selector */
 
#define HDMI_HTOP1_MACRO_RESET   0x0044 /* Macro reset */
 
#define HDMI_HTOP1_PLL_CALIBRATION   0x0048 /* PLL calibration */
 
#define HDMI_HTOP1_RE_CALIBRATION   0x004C /* Re-calibration */
 
#define HDMI_HTOP1_CURRENT   0x0050 /* Current */
 
#define HDMI_HTOP1_PLL_LOCK_DETECT   0x0054 /* PLL lock detect */
 
#define HDMI_HTOP1_PHY_TEST_MODE   0x0058 /* PHY Test Mode */
 
#define HDMI_HTOP1_CLK_SET   0x0080 /* Clock Set */
 
#define HDMI_HTOP1_DDC_FAIL_SAFE   0x0084 /* DDC fail safe */
 
#define HDMI_HTOP1_PRBS   0x0088 /* PRBS */
 
#define HDMI_HTOP1_EDID_AINC_CONTROL   0x008C /* EDID ainc Control */
 
#define HDMI_HTOP1_HTOP_DCL_MODE   0x00FC /* Deep Coloer Mode */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF0   0x0100 /* Deep Color:FRC COEF0 */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF1   0x0104 /* Deep Color:FRC COEF1 */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF2   0x0108 /* Deep Color:FRC COEF2 */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF3   0x010C /* Deep Color:FRC COEF3 */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF0_C   0x0110 /* Deep Color:FRC COEF0C */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF1_C   0x0114 /* Deep Color:FRC COEF1C */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF2_C   0x0118 /* Deep Color:FRC COEF2C */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_COEF3_C   0x011C /* Deep Color:FRC COEF3C */
 
#define HDMI_HTOP1_HTOP_DCL_FRC_MODE   0x0120 /* Deep Color:FRC Mode */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_START1   0x0124 /* Deep Color:Rect Start1 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE1   0x0128 /* Deep Color:Rect Size1 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_START2   0x012C /* Deep Color:Rect Start2 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE2   0x0130 /* Deep Color:Rect Size2 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_START3   0x0134 /* Deep Color:Rect Start3 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE3   0x0138 /* Deep Color:Rect Size3 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_START4   0x013C /* Deep Color:Rect Start4 */
 
#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE4   0x0140 /* Deep Color:Rect Size4 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y1_1   0x0144 /* Deep Color:Fil Para Y1_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y1_2   0x0148 /* Deep Color:Fil Para Y1_2 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB1_1   0x014C /* Deep Color:Fil Para CB1_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB1_2   0x0150 /* Deep Color:Fil Para CB1_2 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR1_1   0x0154 /* Deep Color:Fil Para CR1_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR1_2   0x0158 /* Deep Color:Fil Para CR1_2 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y2_1   0x015C /* Deep Color:Fil Para Y2_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y2_2   0x0160 /* Deep Color:Fil Para Y2_2 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB2_1   0x0164 /* Deep Color:Fil Para CB2_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB2_2   0x0168 /* Deep Color:Fil Para CB2_2 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR2_1   0x016C /* Deep Color:Fil Para CR2_1 */
 
#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR2_2   0x0170 /* Deep Color:Fil Para CR2_2 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_Y1   0x0174 /* Deep Color:Cor Para Y1 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CB1   0x0178 /* Deep Color:Cor Para CB1 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CR1   0x017C /* Deep Color:Cor Para CR1 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_Y2   0x0180 /* Deep Color:Cor Para Y2 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CB2   0x0184 /* Deep Color:Cor Para CB2 */
 
#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CR2   0x0188 /* Deep Color:Cor Para CR2 */
 
#define HDMI_HTOP1_EDID_DATA_READ   0x0200 /* EDID Data Read 128Byte:0x03FC */
 
#define entity_to_sh_hdmi(e)   container_of(e, struct sh_hdmi, entity)
 

Enumerations

enum  hotplug_state { HDMI_HOTPLUG_DISCONNECTED, HDMI_HOTPLUG_CONNECTED, HDMI_HOTPLUG_EDID_DONE }
 

Functions

 module_init (sh_hdmi_init)
 
 module_exit (sh_hdmi_exit)
 
 MODULE_AUTHOR ("Guennadi Liakhovetski <[email protected]>")
 
 MODULE_DESCRIPTION ("SuperH / ARM-shmobile HDMI driver")
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define entity_to_sh_hdmi (   e)    container_of(e, struct sh_hdmi, entity)

Definition at line 293 of file sh_mobile_hdmi.c.

#define HDMI_100MS_TIMER_SET   0xC9 /* 100ms timer setting */

Definition at line 163 of file sh_mobile_hdmi.c.

#define HDMI_20_BIT_N_FOR_AUDIO_RPKT_15_8   0x02 /* bits 15..8 of 20-bit N for Audio Clock Regeneration packet */

Definition at line 37 of file sh_mobile_hdmi.c.

#define HDMI_20_BIT_N_FOR_AUDIO_RPKT_7_0   0x03 /* bits 7..0 of 20-bit N for Audio Clock Regeneration packet */

Definition at line 38 of file sh_mobile_hdmi.c.

#define HDMI_5SEC_TIMER_SET   0xCA /* 5sec timer setting */

Definition at line 164 of file sh_mobile_hdmi.c.

#define HDMI_AKSV_BKSV_15_8_MONITOR   0xC0 /* AKSV/BKSV[15:8] monitor */

Definition at line 154 of file sh_mobile_hdmi.c.

#define HDMI_AKSV_BKSV_23_16_MONITOR   0xC1 /* AKSV/BKSV[23:16] monitor */

Definition at line 155 of file sh_mobile_hdmi.c.

#define HDMI_AKSV_BKSV_31_24_MONITOR   0xC2 /* AKSV/BKSV[31:24] monitor */

Definition at line 156 of file sh_mobile_hdmi.c.

#define HDMI_AKSV_BKSV_39_32_MONITOR   0xC3 /* AKSV/BKSV[39:32] monitor */

Definition at line 157 of file sh_mobile_hdmi.c.

#define HDMI_AKSV_BKSV_7_0_MONITOR   0xBF /* AKSV/BKSV[7:0] monitor */

Definition at line 153 of file sh_mobile_hdmi.c.

#define HDMI_AN_15_8   0xE9 /* An [15:8] */

Definition at line 192 of file sh_mobile_hdmi.c.

#define HDMI_AN_23_16   0xEA /* An [23:16] */

Definition at line 193 of file sh_mobile_hdmi.c.

#define HDMI_AN_31_24   0xEB /* An [31:24] */

Definition at line 194 of file sh_mobile_hdmi.c.

#define HDMI_AN_39_32   0xEC /* An [39:32] */

Definition at line 195 of file sh_mobile_hdmi.c.

#define HDMI_AN_47_40   0xED /* An [47:40] */

Definition at line 196 of file sh_mobile_hdmi.c.

#define HDMI_AN_55_48   0xEE /* An [55:48] */

Definition at line 197 of file sh_mobile_hdmi.c.

#define HDMI_AN_63_56   0xEF /* An [63:56] */

Definition at line 198 of file sh_mobile_hdmi.c.

#define HDMI_AN_7_0   0xE8 /* An[7:0] */

Definition at line 191 of file sh_mobile_hdmi.c.

#define HDMI_AN_SEED   0xCC /* An seed */

Definition at line 166 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_SETTING_1   0x0A /* Audio setting.1 */

Definition at line 45 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_SETTING_2   0x0B /* Audio setting.2 */

Definition at line 46 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_STATUS_BITS_SETTING_1   0x11 /* Audio status bits setting.1 */

Definition at line 52 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_STATUS_BITS_SETTING_2   0x12 /* Audio status bits setting.2 */

Definition at line 53 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_VIDEO_SETTING_1   0x15 /* Audio/Video setting.1 */

Definition at line 56 of file sh_mobile_hdmi.c.

#define HDMI_AUDIO_VIDEO_SETTING_2   0x3B /* Audio/Video setting.2 */

Definition at line 74 of file sh_mobile_hdmi.c.

#define HDMI_AUTO_CHECKSUM_OPTION   0x42 /* Auto checksum option */

Definition at line 80 of file sh_mobile_hdmi.c.

#define HDMI_BCAPS_READ   0xBE /* BCAPS read / debug */

Definition at line 152 of file sh_mobile_hdmi.c.

#define HDMI_BCAPS_WRITE   0xE0 /* bcaps */

Definition at line 183 of file sh_mobile_hdmi.c.

#define HDMI_BKSV_15_8   0xE4 /* bksv[15:8] */

Definition at line 187 of file sh_mobile_hdmi.c.

#define HDMI_BKSV_23_16   0xE5 /* bksv[23:16] */

Definition at line 188 of file sh_mobile_hdmi.c.

#define HDMI_BKSV_31_24   0xE6 /* bksv[31:24] */

Definition at line 189 of file sh_mobile_hdmi.c.

#define HDMI_BKSV_39_32   0xE7 /* bksv[39:32] */

Definition at line 190 of file sh_mobile_hdmi.c.

#define HDMI_BKSV_7_0   0xE3 /* bksv[7:0] */

Definition at line 186 of file sh_mobile_hdmi.c.

#define HDMI_BSTAT_15_8   0xE2 /* bstat[15:8] */

Definition at line 185 of file sh_mobile_hdmi.c.

#define HDMI_BSTAT_7_0   0xE1 /* bstat[7:0] */

Definition at line 184 of file sh_mobile_hdmi.c.

#define HDMI_CATEGORY_CODE   0x13 /* Category code */

Definition at line 54 of file sh_mobile_hdmi.c.

#define HDMI_COLOR_SPACE_CONV_CONFIG_1   0xD3 /* Color space conversion configuration.1 */

Definition at line 172 of file sh_mobile_hdmi.c.

#define HDMI_COLOR_SPACE_CONVERSION_PARAMETERS   0x18

Definition at line 61 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_AUTO_SEND   0x41 /* Control packet auto send with VSYNC control */

Definition at line 79 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_HB0   0x60 /* Control packet data buffer access window - HB0 */

Definition at line 98 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_HB1   0x61 /* Control packet data buffer access window - HB1 */

Definition at line 99 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_HB2   0x62 /* Control packet data buffer access window - HB2 */

Definition at line 100 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB0   0x63 /* Control packet data buffer access window - PB0 */

Definition at line 101 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB1   0x64 /* Control packet data buffer access window - PB1 */

Definition at line 102 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB10   0x6D /* Control packet data buffer access window - PB10 */

Definition at line 111 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB11   0x6E /* Control packet data buffer access window - PB11 */

Definition at line 112 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB12   0x6F /* Control packet data buffer access window - PB12 */

Definition at line 113 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB13   0x70 /* Control packet data buffer access window - PB13 */

Definition at line 114 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB14   0x71 /* Control packet data buffer access window - PB14 */

Definition at line 115 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB15   0x72 /* Control packet data buffer access window - PB15 */

Definition at line 116 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB16   0x73 /* Control packet data buffer access window - PB16 */

Definition at line 117 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB17   0x74 /* Control packet data buffer access window - PB17 */

Definition at line 118 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB18   0x75 /* Control packet data buffer access window - PB18 */

Definition at line 119 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB19   0x76 /* Control packet data buffer access window - PB19 */

Definition at line 120 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB2   0x65 /* Control packet data buffer access window - PB2 */

Definition at line 103 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB20   0x77 /* Control packet data buffer access window - PB20 */

Definition at line 121 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB21   0x78 /* Control packet data buffer access window - PB21 */

Definition at line 122 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB22   0x79 /* Control packet data buffer access window - PB22 */

Definition at line 123 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB23   0x7A /* Control packet data buffer access window - PB23 */

Definition at line 124 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB24   0x7B /* Control packet data buffer access window - PB24 */

Definition at line 125 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB25   0x7C /* Control packet data buffer access window - PB25 */

Definition at line 126 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB26   0x7D /* Control packet data buffer access window - PB26 */

Definition at line 127 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB27   0x7E /* Control packet data buffer access window - PB27 */

Definition at line 128 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB3   0x66 /* Control packet data buffer access window - PB3 */

Definition at line 104 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB4   0x67 /* Control packet data buffer access window - PB4 */

Definition at line 105 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB5   0x68 /* Control packet data buffer access window - PB5 */

Definition at line 106 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB6   0x69 /* Control packet data buffer access window - PB6 */

Definition at line 107 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB7   0x6A /* Control packet data buffer access window - PB7 */

Definition at line 108 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB8   0x6B /* Control packet data buffer access window - PB8 */

Definition at line 109 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_ACCESS_PB9   0x6C /* Control packet data buffer access window - PB9 */

Definition at line 110 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_BUF_INDEX   0x5F /* Control packet buffer index */

Definition at line 97 of file sh_mobile_hdmi.c.

#define HDMI_CTRL_PKT_MANUAL_SEND_CONTROL   0x40 /* Control packet manual send control */

Definition at line 78 of file sh_mobile_hdmi.c.

#define HDMI_DDC_BUS_ACCESS_FREQ_CTRL_15_8   0x82 /* DDC bus access frequency control (MSB) */

Definition at line 131 of file sh_mobile_hdmi.c.

#define HDMI_DDC_BUS_ACCESS_FREQ_CTRL_7_0   0x81 /* DDC bus access frequency control (LSB) */

Definition at line 130 of file sh_mobile_hdmi.c.

#define HDMI_DDC_BUS_CONTROL   0xB7 /* DDC bus control */

Definition at line 145 of file sh_mobile_hdmi.c.

#define HDMI_DEBUG_MONITOR_1   0x0E /* Debug monitor.1 */

Definition at line 49 of file sh_mobile_hdmi.c.

#define HDMI_DEBUG_MONITOR_2   0x0F /* Debug monitor.2 */

Definition at line 50 of file sh_mobile_hdmi.c.

#define HDMI_DEEP_COLOR_MODES   0x17 /* Deep Color Modes */

Definition at line 58 of file sh_mobile_hdmi.c.

#define HDMI_DSD_AUDIO_SET   0x0D /* DSD audio setting */

Definition at line 48 of file sh_mobile_hdmi.c.

#define HDMI_EDID_DATA_FIFO_ADDRESS   0xC6 /* EDID data FIFO address */

Definition at line 160 of file sh_mobile_hdmi.c.

#define HDMI_EDID_KSV_FIFO_ACCESS_WINDOW   0x80 /* EDID/KSV FIFO access window */

Definition at line 129 of file sh_mobile_hdmi.c.

#define HDMI_EDID_SEGMENT_POINTER   0xC4 /* EDID segment pointer */

Definition at line 158 of file sh_mobile_hdmi.c.

#define HDMI_EDID_WORD_ADDRESS   0xC5 /* EDID word address */

Definition at line 159 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_CTS_15_8   0x08 /* External CTS */

Definition at line 43 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_CTS_19_16   0x07 /* External CTS */

Definition at line 42 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_CTS_7_0   0x09 /* External CTS */

Definition at line 44 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_BLANK_7_0   0x33 /* External horizontal blank (LSB) */

Definition at line 66 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_BLANK_9_8   0x34 /* External horizontal blank (MSB) */

Definition at line 67 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_DELAY_7_0   0x35 /* External horizontal delay (LSB) */

Definition at line 68 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_DELAY_9_8   0x36 /* External horizontal delay (MSB) */

Definition at line 69 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_DURATION_7_0   0x37 /* External horizontal duration (LSB) */

Definition at line 70 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_DURATION_9_8   0x38 /* External horizontal duration (MSB) */

Definition at line 71 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_TOTAL_11_8   0x32 /* External horizontal total (MSB) */

Definition at line 65 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_H_TOTAL_7_0   0x31 /* External horizontal total (LSB) */

Definition at line 64 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_V_BLANK   0x3D /* External vertical blank */

Definition at line 75 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_V_DELAY   0x3E /* External vertical delay */

Definition at line 76 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_V_DURATION   0x3F /* External vertical duration */

Definition at line 77 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_V_TOTAL_7_0   0x39 /* External vertical total (LSB) */

Definition at line 72 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_V_TOTAL_9_8   0x3A /* External vertical total (MSB) */

Definition at line 73 of file sh_mobile_hdmi.c.

#define HDMI_EXTERNAL_VIDEO_PARAM_SETTINGS   0x30 /* External video parameter settings */

Definition at line 63 of file sh_mobile_hdmi.c.

#define HDMI_FRAME_COUNTER   0x9C /* Frame counter */

Definition at line 141 of file sh_mobile_hdmi.c.

#define HDMI_FRAME_COUNTER_FOR_RI_CHECK   0x9D /* Frame counter for Ri check */

Definition at line 142 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_CONTROL   0xAF /* HDCP control */

Definition at line 143 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_CONTROL_2   0xD0 /* HDCP Control 2 */

Definition at line 170 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_ERROR_CODE   0xC8 /* HDCP error code */

Definition at line 162 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_KEY_MEMORY_CONTROL   0xD2 /* HDCP Key Memory Control */

Definition at line 171 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_MEMORY_ACCESS_CONTROL_1   0xCE /* HDCP memory access control.1 */

Definition at line 168 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_MEMORY_ACCESS_CONTROL_2   0xCF /* HDCP memory access control.2 */

Definition at line 169 of file sh_mobile_hdmi.c.

#define HDMI_HDCP_STATUS   0xB8 /* HDCP status */

Definition at line 146 of file sh_mobile_hdmi.c.

#define HDMI_HOT_PLUG_MSENS_STATUS   0xDF /* Hot plug/MSENS status */

Definition at line 182 of file sh_mobile_hdmi.c.

#define HDMI_HSYNC_PMENT_AT_EMB_15_8   0x53 /* HSYNC placement at embedded sync (MSB) */

Definition at line 85 of file sh_mobile_hdmi.c.

#define HDMI_HSYNC_PMENT_AT_EMB_7_0   0x52 /* HSYNC placement at embedded sync (LSB) */

Definition at line 84 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_CISRANGE   0x003C /* cisrange */

Definition at line 215 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_CLK_SET   0x0080 /* Clock Set */

Definition at line 223 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_CLK_TO_PHY   0x001C /* Clk to Phy */

Definition at line 208 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_CORE_RSTN   0x000C /* CoreResetn */

Definition at line 206 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_CURRENT   0x0050 /* Current */

Definition at line 220 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_DDC_FAIL_SAFE   0x0084 /* DDC fail safe */

Definition at line 224 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_EDID_AINC_CONTROL   0x008C /* EDID ainc Control */

Definition at line 226 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_EDID_DATA_READ   0x0200 /* EDID Data Read 128Byte:0x03FC */

Definition at line 263 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_ENABLE_SELECTOR   0x0040 /* Enable Selector */

Definition at line 216 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CB1   0x0178 /* Deep Color:Cor Para CB1 */

Definition at line 258 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CB2   0x0184 /* Deep Color:Cor Para CB2 */

Definition at line 261 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CR1   0x017C /* Deep Color:Cor Para CR1 */

Definition at line 259 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_CR2   0x0188 /* Deep Color:Cor Para CR2 */

Definition at line 262 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_Y1   0x0174 /* Deep Color:Cor Para Y1 */

Definition at line 257 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_COR_PARA_Y2   0x0180 /* Deep Color:Cor Para Y2 */

Definition at line 260 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB1_1   0x014C /* Deep Color:Fil Para CB1_1 */

Definition at line 247 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB1_2   0x0150 /* Deep Color:Fil Para CB1_2 */

Definition at line 248 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB2_1   0x0164 /* Deep Color:Fil Para CB2_1 */

Definition at line 253 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CB2_2   0x0168 /* Deep Color:Fil Para CB2_2 */

Definition at line 254 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR1_1   0x0154 /* Deep Color:Fil Para CR1_1 */

Definition at line 249 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR1_2   0x0158 /* Deep Color:Fil Para CR1_2 */

Definition at line 250 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR2_1   0x016C /* Deep Color:Fil Para CR2_1 */

Definition at line 255 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_CR2_2   0x0170 /* Deep Color:Fil Para CR2_2 */

Definition at line 256 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y1_1   0x0144 /* Deep Color:Fil Para Y1_1 */

Definition at line 245 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y1_2   0x0148 /* Deep Color:Fil Para Y1_2 */

Definition at line 246 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y2_1   0x015C /* Deep Color:Fil Para Y2_1 */

Definition at line 251 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FIL_PARA_Y2_2   0x0160 /* Deep Color:Fil Para Y2_2 */

Definition at line 252 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF0   0x0100 /* Deep Color:FRC COEF0 */

Definition at line 228 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF0_C   0x0110 /* Deep Color:FRC COEF0C */

Definition at line 232 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF1   0x0104 /* Deep Color:FRC COEF1 */

Definition at line 229 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF1_C   0x0114 /* Deep Color:FRC COEF1C */

Definition at line 233 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF2   0x0108 /* Deep Color:FRC COEF2 */

Definition at line 230 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF2_C   0x0118 /* Deep Color:FRC COEF2C */

Definition at line 234 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF3   0x010C /* Deep Color:FRC COEF3 */

Definition at line 231 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_COEF3_C   0x011C /* Deep Color:FRC COEF3C */

Definition at line 235 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_FRC_MODE   0x0120 /* Deep Color:FRC Mode */

Definition at line 236 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_MODE   0x00FC /* Deep Coloer Mode */

Definition at line 227 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE1   0x0128 /* Deep Color:Rect Size1 */

Definition at line 238 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE2   0x0130 /* Deep Color:Rect Size2 */

Definition at line 240 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE3   0x0138 /* Deep Color:Rect Size3 */

Definition at line 242 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_SIZE4   0x0140 /* Deep Color:Rect Size4 */

Definition at line 244 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_START1   0x0124 /* Deep Color:Rect Start1 */

Definition at line 237 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_START2   0x012C /* Deep Color:Rect Start2 */

Definition at line 239 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_START3   0x0134 /* Deep Color:Rect Start3 */

Definition at line 241 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_HTOP_DCL_RECT_START4   0x013C /* Deep Color:Rect Start4 */

Definition at line 243 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_MACRO_RESET   0x0044 /* Macro reset */

Definition at line 217 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_PHY_TEST_MODE   0x0058 /* PHY Test Mode */

Definition at line 222 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_PLL_CALIBRATION   0x0048 /* PLL calibration */

Definition at line 218 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_PLL_LOCK_DETECT   0x0054 /* PLL lock detect */

Definition at line 221 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_PLLBW   0x0018 /* PLLBW */

Definition at line 207 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_PRBS   0x0088 /* PRBS */

Definition at line 225 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_RE_CALIBRATION   0x004C /* Re-calibration */

Definition at line 219 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TEST_MODE   0x0000 /* Test mode */

Definition at line 204 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TISDREN   0x0038 /* tisdren */

Definition at line 214 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TISEMP0_1   0x0024 /* tisemp0-1 */

Definition at line 210 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TISEMP2_C   0x0028 /* tisemp2-c */

Definition at line 211 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TISEN   0x0034 /* tisen */

Definition at line 213 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_TISIDRV   0x002C /* tisidrv */

Definition at line 212 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_VIDEO_INPUT   0x0008 /* VideoInput */

Definition at line 205 of file sh_mobile_hdmi.c.

#define HDMI_HTOP1_VIDEO_INPUT2   0x0020 /* VideoInput2 */

Definition at line 209 of file sh_mobile_hdmi.c.

#define HDMI_I2S_AUDIO_SET   0x0C /* I2S audio setting */

Definition at line 47 of file sh_mobile_hdmi.c.

#define HDMI_I2S_INPUT_PIN_SWAP   0x10 /* I2S input pin swap */

Definition at line 51 of file sh_mobile_hdmi.c.

#define HDMI_INTERNAL_CTS_15_8   0x05 /* bits 15..8 of Internal CTS */

Definition at line 40 of file sh_mobile_hdmi.c.

#define HDMI_INTERNAL_CTS_7_0   0x06 /* bits 7..0 of Internal CTS */

Definition at line 41 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_MASK_1   0x92 /* Interrupt mask.1 */

Definition at line 132 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_MASK_2   0x93 /* Interrupt mask.2 */

Definition at line 133 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_MASK_3   0x96 /* Interrupt mask.3 */

Definition at line 136 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_MASK_4   0x97 /* Interrupt mask.4 */

Definition at line 137 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_STATUS_1   0x94 /* Interrupt status.1 */

Definition at line 134 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_STATUS_2   0x95 /* Interrupt status.2 */

Definition at line 135 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_STATUS_3   0x98 /* Interrupt status.3 */

Definition at line 138 of file sh_mobile_hdmi.c.

#define HDMI_INTERRUPT_STATUS_4   0x99 /* Interrupt status.4 */

Definition at line 139 of file sh_mobile_hdmi.c.

#define HDMI_L_R_DATA_SWAP_CTRL_RPKT
Value:
0x01 /* L/R data swap control,
bits 19..16 of 20-bit N for Audio Clock Regeneration packet */

Definition at line 36 of file sh_mobile_hdmi.c.

#define HDMI_MAX_NUM_OF_RCIVRS_ALLOWED   0xCD /* Maximum number of receivers allowed */

Definition at line 167 of file sh_mobile_hdmi.c.

#define HDMI_NUM_OF_DEVICES   0xDC /* Number of devices */

Definition at line 181 of file sh_mobile_hdmi.c.

#define HDMI_NUM_OF_HDMI_DEVICES   0xC7 /* Number of HDMI devices */

Definition at line 161 of file sh_mobile_hdmi.c.

#define HDMI_OUTPUT_OPTION   0x46 /* Output option */

Definition at line 82 of file sh_mobile_hdmi.c.

#define HDMI_PJ   0xD7 /* Pj */

Definition at line 176 of file sh_mobile_hdmi.c.

#define HDMI_PJ_SAVED   0xDB /* Pj saved */

Definition at line 180 of file sh_mobile_hdmi.c.

#define HDMI_PRODUCT_ID   0xF0 /* Product ID */

Definition at line 199 of file sh_mobile_hdmi.c.

#define HDMI_REVISION_ID   0xF1 /* Revision ID */

Definition at line 200 of file sh_mobile_hdmi.c.

#define HDMI_RI_15_8   0xD6 /* Ri[15:8] */

Definition at line 175 of file sh_mobile_hdmi.c.

#define HDMI_RI_15_8_SAVED   0xDA /* Ri[15:8] saved */

Definition at line 179 of file sh_mobile_hdmi.c.

#define HDMI_RI_7_0   0xD5 /* Ri[7:0] */

Definition at line 174 of file sh_mobile_hdmi.c.

#define HDMI_RI_7_0_SAVED   0xD9 /* Ri[7:0] saved */

Definition at line 178 of file sh_mobile_hdmi.c.

#define HDMI_RI_FRAME_COUNT_REGISTER   0xB2 /* Ri frame count register */

Definition at line 144 of file sh_mobile_hdmi.c.

#define HDMI_RI_READ_COUNT   0xCB /* Ri read count */

Definition at line 165 of file sh_mobile_hdmi.c.

#define HDMI_SHA0   0xB9 /* sha0 */

Definition at line 147 of file sh_mobile_hdmi.c.

#define HDMI_SHA1   0xBA /* sha1 */

Definition at line 148 of file sh_mobile_hdmi.c.

#define HDMI_SHA2   0xBB /* sha2 */

Definition at line 149 of file sh_mobile_hdmi.c.

#define HDMI_SHA3   0xBC /* sha3 */

Definition at line 150 of file sh_mobile_hdmi.c.

#define HDMI_SHA4   0xBD /* sha4 */

Definition at line 151 of file sh_mobile_hdmi.c.

#define HDMI_SHA_RD   0xD8 /* sha_rd */

Definition at line 177 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_OPTION   0x51 /* SLIPHDMIT parameter option */

Definition at line 83 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_1   0x56 /* SLIPHDMIT parameter settings.1 */

Definition at line 88 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_10   0x5E /* SLIPHDMIT parameter settings.10 */

Definition at line 96 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_2   0x57 /* SLIPHDMIT parameter settings.2 */

Definition at line 89 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_3   0x58 /* SLIPHDMIT parameter settings.3 */

Definition at line 90 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_5   0x59 /* SLIPHDMIT parameter settings.5 */

Definition at line 91 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_6   0x5A /* SLIPHDMIT parameter settings.6 */

Definition at line 92 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_7   0x5B /* SLIPHDMIT parameter settings.7 */

Definition at line 93 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_8   0x5C /* SLIPHDMIT parameter settings.8 */

Definition at line 94 of file sh_mobile_hdmi.c.

#define HDMI_SLIPHDMIT_PARAM_SETTINGS_9   0x5D /* SLIPHDMIT parameter settings.9 */

Definition at line 95 of file sh_mobile_hdmi.c.

#define HDMI_SOFTWARE_HDCP_CONTROL_1   0x9A /* Software HDCP control.1 */

Definition at line 140 of file sh_mobile_hdmi.c.

#define HDMI_SOURCE_NUM_AUDIO_WORD_LEN   0x14 /* Source number/Audio word length */

Definition at line 55 of file sh_mobile_hdmi.c.

#define HDMI_SPDIF_AUDIO_SAMP_FREQ_CTS
Value:
0x04 /* SPDIF audio sampling frequency,
bits 19..16 of Internal CTS */

Definition at line 39 of file sh_mobile_hdmi.c.

#define HDMI_SYSTEM_CTRL   0x00 /* System control */

Definition at line 35 of file sh_mobile_hdmi.c.

#define HDMI_TEST_MODE   0xFE /* Test mode */

Definition at line 201 of file sh_mobile_hdmi.c.

#define HDMI_VIDEO_SETTING_1   0x16 /* Video setting.1 */

Definition at line 57 of file sh_mobile_hdmi.c.

#define HDMI_VIDEO_SETTING_2   0x45 /* Video setting.2 */

Definition at line 81 of file sh_mobile_hdmi.c.

#define HDMI_VIDEO_SETTING_3   0xD4 /* Video setting.3 */

Definition at line 173 of file sh_mobile_hdmi.c.

#define HDMI_VSYNC_PMENT_AT_EMB_14_8   0x55 /* VSYNC placement at embedded sync (MSB) */

Definition at line 87 of file sh_mobile_hdmi.c.

#define HDMI_VSYNC_PMENT_AT_EMB_7_0   0x54 /* VSYNC placement at embedded sync (LSB) */

Definition at line 86 of file sh_mobile_hdmi.c.

Enumeration Type Documentation

Enumerator:
HDMI_HOTPLUG_DISCONNECTED 
HDMI_HOTPLUG_CONNECTED 
HDMI_HOTPLUG_EDID_DONE 

Definition at line 265 of file sh_mobile_hdmi.c.

Function Documentation

MODULE_AUTHOR ( "Guennadi Liakhovetski <[email protected]>"  )
MODULE_DESCRIPTION ( "SuperH / ARM-shmobile HDMI driver )
module_exit ( sh_hdmi_exit  )
module_init ( sh_hdmi_init  )
MODULE_LICENSE ( "GPL v2 )