#include <linux/module.h>
#include <drm/drmP.h>
#include <drm/drm_crtc_helper.h>
#include <drm/drm_encoder_slave.h>
#include <drm/i2c/sil164.h>
Go to the source code of this file.
|
#define | to_sil164_priv(x) ((struct sil164_priv *)to_encoder_slave(x)->slave_priv) |
|
#define | sil164_dbg(client, format,...) |
|
#define | sil164_info(client, format,...) dev_info(&client->dev, format, __VA_ARGS__) |
|
#define | sil164_err(client, format,...) dev_err(&client->dev, format, __VA_ARGS__) |
|
#define | SIL164_I2C_ADDR_MASTER 0x38 |
|
#define | SIL164_I2C_ADDR_SLAVE 0x39 |
|
#define | SIL164_VENDOR_LO 0x0 |
|
#define | SIL164_VENDOR_HI 0x1 |
|
#define | SIL164_DEVICE_LO 0x2 |
|
#define | SIL164_DEVICE_HI 0x3 |
|
#define | SIL164_REVISION 0x4 |
|
#define | SIL164_FREQ_MIN 0x6 |
|
#define | SIL164_FREQ_MAX 0x7 |
|
#define | SIL164_CONTROL0 0x8 |
|
#define | SIL164_CONTROL0_POWER_ON 0x01 |
|
#define | SIL164_CONTROL0_EDGE_RISING 0x02 |
|
#define | SIL164_CONTROL0_INPUT_24BIT 0x04 |
|
#define | SIL164_CONTROL0_DUAL_EDGE 0x08 |
|
#define | SIL164_CONTROL0_HSYNC_ON 0x10 |
|
#define | SIL164_CONTROL0_VSYNC_ON 0x20 |
|
#define | SIL164_DETECT 0x9 |
|
#define | SIL164_DETECT_INTR_STAT 0x01 |
|
#define | SIL164_DETECT_HOTPLUG_STAT 0x02 |
|
#define | SIL164_DETECT_RECEIVER_STAT 0x04 |
|
#define | SIL164_DETECT_INTR_MODE_RECEIVER 0x00 |
|
#define | SIL164_DETECT_INTR_MODE_HOTPLUG 0x08 |
|
#define | SIL164_DETECT_OUT_MODE_HIGH 0x00 |
|
#define | SIL164_DETECT_OUT_MODE_INTR 0x10 |
|
#define | SIL164_DETECT_OUT_MODE_RECEIVER 0x20 |
|
#define | SIL164_DETECT_OUT_MODE_HOTPLUG 0x30 |
|
#define | SIL164_DETECT_VSWING_STAT 0x80 |
|
#define | SIL164_CONTROL1 0xa |
|
#define | SIL164_CONTROL1_DESKEW_ENABLE 0x10 |
|
#define | SIL164_CONTROL1_DESKEW_INCR_SHIFT 5 |
|
#define | SIL164_GPIO 0xb |
|
#define | SIL164_CONTROL2 0xc |
|
#define | SIL164_CONTROL2_FILTER_ENABLE 0x01 |
|
#define | SIL164_CONTROL2_FILTER_SETTING_SHIFT 1 |
|
#define | SIL164_CONTROL2_DUALLINK_MASTER 0x40 |
|
#define | SIL164_CONTROL2_SYNC_CONT 0x80 |
|
#define | SIL164_DUALLINK 0xd |
|
#define | SIL164_DUALLINK_ENABLE 0x10 |
|
#define | SIL164_DUALLINK_SKEW_SHIFT 5 |
|
#define | SIL164_PLLZONE 0xe |
|
#define | SIL164_PLLZONE_STAT 0x08 |
|
#define | SIL164_PLLZONE_FORCE_ON 0x10 |
|
#define | SIL164_PLLZONE_FORCE_HIGH 0x20 |
|
#define SIL164_CONTROL0 0x8 |
#define SIL164_CONTROL0_DUAL_EDGE 0x08 |
#define SIL164_CONTROL0_EDGE_RISING 0x02 |
#define SIL164_CONTROL0_HSYNC_ON 0x10 |
#define SIL164_CONTROL0_INPUT_24BIT 0x04 |
#define SIL164_CONTROL0_POWER_ON 0x01 |
#define SIL164_CONTROL0_VSYNC_ON 0x20 |
#define SIL164_CONTROL1 0xa |
#define SIL164_CONTROL1_DESKEW_ENABLE 0x10 |
#define SIL164_CONTROL1_DESKEW_INCR_SHIFT 5 |
#define SIL164_CONTROL2 0xc |
#define SIL164_CONTROL2_DUALLINK_MASTER 0x40 |
#define SIL164_CONTROL2_FILTER_ENABLE 0x01 |
#define SIL164_CONTROL2_FILTER_SETTING_SHIFT 1 |
#define SIL164_CONTROL2_SYNC_CONT 0x80 |
Value:do { \
"%s: " format, __func__, ## __VA_ARGS__); \
} while (0)
Definition at line 45 of file sil164_drv.c.
#define SIL164_DETECT 0x9 |
#define SIL164_DETECT_HOTPLUG_STAT 0x02 |
#define SIL164_DETECT_INTR_MODE_HOTPLUG 0x08 |
#define SIL164_DETECT_INTR_MODE_RECEIVER 0x00 |
#define SIL164_DETECT_INTR_STAT 0x01 |
#define SIL164_DETECT_OUT_MODE_HIGH 0x00 |
#define SIL164_DETECT_OUT_MODE_HOTPLUG 0x30 |
#define SIL164_DETECT_OUT_MODE_INTR 0x10 |
#define SIL164_DETECT_OUT_MODE_RECEIVER 0x20 |
#define SIL164_DETECT_RECEIVER_STAT 0x04 |
#define SIL164_DETECT_VSWING_STAT 0x80 |
#define SIL164_DEVICE_HI 0x3 |
#define SIL164_DEVICE_LO 0x2 |
#define SIL164_DUALLINK 0xd |
#define SIL164_DUALLINK_ENABLE 0x10 |
#define SIL164_DUALLINK_SKEW_SHIFT 5 |
#define SIL164_FREQ_MAX 0x7 |
#define SIL164_FREQ_MIN 0x6 |
#define SIL164_I2C_ADDR_MASTER 0x38 |
#define SIL164_I2C_ADDR_SLAVE 0x39 |
#define SIL164_PLLZONE 0xe |
#define SIL164_PLLZONE_FORCE_HIGH 0x20 |
#define SIL164_PLLZONE_FORCE_ON 0x10 |
#define SIL164_PLLZONE_STAT 0x08 |
#define SIL164_REVISION 0x4 |
#define SIL164_VENDOR_HI 0x1 |
#define SIL164_VENDOR_LO 0x0 |
MODULE_DESCRIPTION |
( |
"Silicon Image sil164 TMDS transmitter driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
i2c |
, |
|
|
sil164_ids |
|
|
) |
| |
module_exit |
( |
sil164_exit |
| ) |
|
module_init |
( |
sil164_init |
| ) |
|
MODULE_LICENSE |
( |
"GPL and additional rights" |
| ) |
|