Linux Kernel
3.7.1
|
#include <linux/export.h>
#include <linux/mutex.h>
#include <linux/pci.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include "psb_drv.h"
Go to the source code of this file.
Data Structures | |
struct | hdmi_i2c_dev |
Macros | |
#define | HDMI_READ(reg) readl(hdmi_dev->regs + (reg)) |
#define | HDMI_WRITE(reg, val) writel(val, hdmi_dev->regs + (reg)) |
#define | HDMI_HCR 0x1000 |
#define | HCR_DETECT_HDP (1 << 6) |
#define | HCR_ENABLE_HDCP (1 << 5) |
#define | HCR_ENABLE_AUDIO (1 << 2) |
#define | HCR_ENABLE_PIXEL (1 << 1) |
#define | HCR_ENABLE_TMDS (1 << 0) |
#define | HDMI_HICR 0x1004 |
#define | HDMI_INTR_I2C_ERROR (1 << 4) |
#define | HDMI_INTR_I2C_FULL (1 << 3) |
#define | HDMI_INTR_I2C_DONE (1 << 2) |
#define | HDMI_INTR_HPD (1 << 0) |
#define | HDMI_HSR 0x1008 |
#define | HDMI_HISR 0x100C |
#define | HDMI_HI2CRDB0 0x1200 |
#define | HDMI_HI2CHCR 0x1240 |
#define | HI2C_HDCP_WRITE (0 << 2) |
#define | HI2C_HDCP_RI_READ (1 << 2) |
#define | HI2C_HDCP_READ (2 << 2) |
#define | HI2C_EDID_READ (3 << 2) |
#define | HI2C_READ_CONTINUE (1 << 1) |
#define | HI2C_ENABLE_TRANSACTION (1 << 0) |
#define | HDMI_ICRH 0x1100 |
#define | HDMI_HI2CTDR0 0x1244 |
#define | HDMI_HI2CTDR1 0x1248 |
#define | I2C_STAT_INIT 0 |
#define | I2C_READ_DONE 1 |
#define | I2C_TRANSACTION_DONE 2 |
Functions | |
int | oaktrail_hdmi_i2c_init (struct pci_dev *dev) |
void | oaktrail_hdmi_i2c_exit (struct pci_dev *dev) |
#define HCR_DETECT_HDP (1 << 6) |
Definition at line 39 of file oaktrail_hdmi_i2c.c.
#define HCR_ENABLE_AUDIO (1 << 2) |
Definition at line 41 of file oaktrail_hdmi_i2c.c.
#define HCR_ENABLE_HDCP (1 << 5) |
Definition at line 40 of file oaktrail_hdmi_i2c.c.
#define HCR_ENABLE_PIXEL (1 << 1) |
Definition at line 42 of file oaktrail_hdmi_i2c.c.
#define HCR_ENABLE_TMDS (1 << 0) |
Definition at line 43 of file oaktrail_hdmi_i2c.c.
#define HDMI_HCR 0x1000 |
Definition at line 38 of file oaktrail_hdmi_i2c.c.
#define HDMI_HI2CHCR 0x1240 |
Definition at line 52 of file oaktrail_hdmi_i2c.c.
#define HDMI_HI2CRDB0 0x1200 |
Definition at line 51 of file oaktrail_hdmi_i2c.c.
#define HDMI_HI2CTDR0 0x1244 |
Definition at line 61 of file oaktrail_hdmi_i2c.c.
#define HDMI_HI2CTDR1 0x1248 |
Definition at line 62 of file oaktrail_hdmi_i2c.c.
#define HDMI_HICR 0x1004 |
Definition at line 44 of file oaktrail_hdmi_i2c.c.
#define HDMI_HISR 0x100C |
Definition at line 50 of file oaktrail_hdmi_i2c.c.
#define HDMI_HSR 0x1008 |
Definition at line 49 of file oaktrail_hdmi_i2c.c.
#define HDMI_ICRH 0x1100 |
Definition at line 60 of file oaktrail_hdmi_i2c.c.
#define HDMI_INTR_HPD (1 << 0) |
Definition at line 48 of file oaktrail_hdmi_i2c.c.
#define HDMI_INTR_I2C_DONE (1 << 2) |
Definition at line 47 of file oaktrail_hdmi_i2c.c.
#define HDMI_INTR_I2C_ERROR (1 << 4) |
Definition at line 45 of file oaktrail_hdmi_i2c.c.
#define HDMI_INTR_I2C_FULL (1 << 3) |
Definition at line 46 of file oaktrail_hdmi_i2c.c.
Definition at line 35 of file oaktrail_hdmi_i2c.c.
Definition at line 36 of file oaktrail_hdmi_i2c.c.
#define HI2C_EDID_READ (3 << 2) |
Definition at line 56 of file oaktrail_hdmi_i2c.c.
#define HI2C_ENABLE_TRANSACTION (1 << 0) |
Definition at line 58 of file oaktrail_hdmi_i2c.c.
#define HI2C_HDCP_READ (2 << 2) |
Definition at line 55 of file oaktrail_hdmi_i2c.c.
#define HI2C_HDCP_RI_READ (1 << 2) |
Definition at line 54 of file oaktrail_hdmi_i2c.c.
#define HI2C_HDCP_WRITE (0 << 2) |
Definition at line 53 of file oaktrail_hdmi_i2c.c.
#define HI2C_READ_CONTINUE (1 << 1) |
Definition at line 57 of file oaktrail_hdmi_i2c.c.
#define I2C_READ_DONE 1 |
Definition at line 65 of file oaktrail_hdmi_i2c.c.
#define I2C_STAT_INIT 0 |
Definition at line 64 of file oaktrail_hdmi_i2c.c.
#define I2C_TRANSACTION_DONE 2 |
Definition at line 66 of file oaktrail_hdmi_i2c.c.
Definition at line 316 of file oaktrail_hdmi_i2c.c.
Definition at line 273 of file oaktrail_hdmi_i2c.c.