#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/export.h>
#include <linux/err.h>
#include <linux/delay.h>
#include <linux/seq_file.h>
#include <linux/clk.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/gfp.h>
#include <video/omapdss.h>
#include <plat/cpu.h>
#include "dss.h"
#include "dss_features.h"
Go to the source code of this file.
|
#define | DSS_SUBSYS_NAME "DSS" |
|
#define | DSS_SZ_REGS SZ_512 |
|
#define | DSS_REG(idx) ((const struct dss_reg) { idx }) |
|
#define | DSS_REVISION DSS_REG(0x0000) |
|
#define | DSS_SYSCONFIG DSS_REG(0x0010) |
|
#define | DSS_SYSSTATUS DSS_REG(0x0014) |
|
#define | DSS_CONTROL DSS_REG(0x0040) |
|
#define | DSS_SDI_CONTROL DSS_REG(0x0044) |
|
#define | DSS_PLL_CONTROL DSS_REG(0x0048) |
|
#define | DSS_SDI_STATUS DSS_REG(0x005C) |
|
#define | REG_GET(idx, start, end) FLD_GET(dss_read_reg(idx), start, end) |
|
#define | REG_FLD_MOD(idx, val, start, end) dss_write_reg(idx, FLD_MOD(dss_read_reg(idx), val, start, end)) |
|
#define | SR(reg) dss.ctx[(DSS_##reg).idx / sizeof(u32)] = dss_read_reg(DSS_##reg) |
|
#define | RR(reg) dss_write_reg(DSS_##reg, dss.ctx[(DSS_##reg).idx / sizeof(u32)]) |
|
#define | DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(r)) |
|
#define DSS_CONTROL DSS_REG(0x0040) |
Definition at line 54 of file dss.c.
#define DSS_PLL_CONTROL DSS_REG(0x0048) |
Definition at line 56 of file dss.c.
Definition at line 49 of file dss.c.
#define DSS_REVISION DSS_REG(0x0000) |
Definition at line 51 of file dss.c.
#define DSS_SDI_CONTROL DSS_REG(0x0044) |
Definition at line 55 of file dss.c.
#define DSS_SDI_STATUS DSS_REG(0x005C) |
Definition at line 57 of file dss.c.
#define DSS_SUBSYS_NAME "DSS" |
Definition at line 23 of file dss.c.
#define DSS_SYSCONFIG DSS_REG(0x0010) |
Definition at line 52 of file dss.c.
#define DSS_SYSSTATUS DSS_REG(0x0014) |
Definition at line 53 of file dss.c.
Definition at line 43 of file dss.c.
#define DUMPREG |
( |
|
r | ) |
seq_printf(s, "%-35s %08x\n", #r, dss_read_reg(r)) |
Definition at line 62 of file dss.c.
Definition at line 59 of file dss.c.
unsigned long dss_get_dpll4_rate |
( |
void |
| ) |
|
void dss_set_dac_pwrdn_bgz |
( |
bool |
enable | ) |
|
void dss_uninit_platform_driver |
( |
void |
| ) |
|
Definition at line 77 of file dss.c.
Definition at line 85 of file dss.c.
Definition at line 84 of file dss.c.
unsigned long cache_prate |
Definition at line 83 of file dss.c.
unsigned long cache_req_pck |
Definition at line 82 of file dss.c.
Definition at line 92 of file dss.c.
Definition at line 91 of file dss.c.
Definition at line 88 of file dss.c.
Definition at line 79 of file dss.c.
Definition at line 87 of file dss.c.
Definition at line 80 of file dss.c.
Definition at line 94 of file dss.c.
Definition at line 89 of file dss.c.
Definition at line 76 of file dss.c.