#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/export.h>
#include <linux/vmalloc.h>
#include <linux/clk.h>
#include <linux/io.h>
#include <linux/delay.h>
#include <linux/kfifo.h>
#include <linux/ktime.h>
#include <linux/hrtimer.h>
#include <linux/seq_file.h>
#include <linux/semaphore.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <video/omapdss.h>
#include "dss.h"
Go to the source code of this file.
|
#define | DSS_SUBSYS_NAME "RFBI" |
|
#define | RFBI_REG(idx) ((const struct rfbi_reg) { idx }) |
|
#define | RFBI_REVISION RFBI_REG(0x0000) |
|
#define | RFBI_SYSCONFIG RFBI_REG(0x0010) |
|
#define | RFBI_SYSSTATUS RFBI_REG(0x0014) |
|
#define | RFBI_CONTROL RFBI_REG(0x0040) |
|
#define | RFBI_PIXEL_CNT RFBI_REG(0x0044) |
|
#define | RFBI_LINE_NUMBER RFBI_REG(0x0048) |
|
#define | RFBI_CMD RFBI_REG(0x004c) |
|
#define | RFBI_PARAM RFBI_REG(0x0050) |
|
#define | RFBI_DATA RFBI_REG(0x0054) |
|
#define | RFBI_READ RFBI_REG(0x0058) |
|
#define | RFBI_STATUS RFBI_REG(0x005c) |
|
#define | RFBI_CONFIG(n) RFBI_REG(0x0060 + (n)*0x18) |
|
#define | RFBI_ONOFF_TIME(n) RFBI_REG(0x0064 + (n)*0x18) |
|
#define | RFBI_CYCLE_TIME(n) RFBI_REG(0x0068 + (n)*0x18) |
|
#define | RFBI_DATA_CYCLE1(n) RFBI_REG(0x006c + (n)*0x18) |
|
#define | RFBI_DATA_CYCLE2(n) RFBI_REG(0x0070 + (n)*0x18) |
|
#define | RFBI_DATA_CYCLE3(n) RFBI_REG(0x0074 + (n)*0x18) |
|
#define | RFBI_VSYNC_WIDTH RFBI_REG(0x0090) |
|
#define | RFBI_HSYNC_WIDTH RFBI_REG(0x0094) |
|
#define | REG_FLD_MOD(idx, val, start, end) rfbi_write_reg(idx, FLD_MOD(rfbi_read_reg(idx), val, start, end)) |
|
#define | DUMPREG(r) seq_printf(s, "%-35s %08x\n", #r, rfbi_read_reg(r)) |
|
|
void | rfbi_bus_lock (void) |
|
| EXPORT_SYMBOL (rfbi_bus_lock) |
|
void | rfbi_bus_unlock (void) |
|
| EXPORT_SYMBOL (rfbi_bus_unlock) |
|
void | omap_rfbi_write_command (const void *buf, u32 len) |
|
| EXPORT_SYMBOL (omap_rfbi_write_command) |
|
void | omap_rfbi_read_data (void *buf, u32 len) |
|
| EXPORT_SYMBOL (omap_rfbi_read_data) |
|
void | omap_rfbi_write_data (const void *buf, u32 len) |
|
| EXPORT_SYMBOL (omap_rfbi_write_data) |
|
void | omap_rfbi_write_pixels (const void __iomem *buf, int scr_width, u16 x, u16 y, u16 w, u16 h) |
|
| EXPORT_SYMBOL (omap_rfbi_write_pixels) |
|
int | omap_rfbi_setup_te (enum omap_rfbi_te_mode mode, unsigned hs_pulse_time, unsigned vs_pulse_time, int hs_pol_inv, int vs_pol_inv, int extif_div) |
|
| EXPORT_SYMBOL (omap_rfbi_setup_te) |
|
int | omap_rfbi_enable_te (bool enable, unsigned line) |
|
| EXPORT_SYMBOL (omap_rfbi_enable_te) |
|
int | omap_rfbi_configure (struct omap_dss_device *dssdev) |
|
| EXPORT_SYMBOL (omap_rfbi_configure) |
|
int | omap_rfbi_update (struct omap_dss_device *dssdev, void(*callback)(void *), void *data) |
|
| EXPORT_SYMBOL (omap_rfbi_update) |
|
void | omapdss_rfbi_set_size (struct omap_dss_device *dssdev, u16 w, u16 h) |
|
| EXPORT_SYMBOL (omapdss_rfbi_set_size) |
|
void | omapdss_rfbi_set_pixel_size (struct omap_dss_device *dssdev, int pixel_size) |
|
| EXPORT_SYMBOL (omapdss_rfbi_set_pixel_size) |
|
void | omapdss_rfbi_set_data_lines (struct omap_dss_device *dssdev, int data_lines) |
|
| EXPORT_SYMBOL (omapdss_rfbi_set_data_lines) |
|
void | omapdss_rfbi_set_interface_timings (struct omap_dss_device *dssdev, struct rfbi_timings *timings) |
|
| EXPORT_SYMBOL (omapdss_rfbi_set_interface_timings) |
|
int | omapdss_rfbi_display_enable (struct omap_dss_device *dssdev) |
|
| EXPORT_SYMBOL (omapdss_rfbi_display_enable) |
|
void | omapdss_rfbi_display_disable (struct omap_dss_device *dssdev) |
|
| EXPORT_SYMBOL (omapdss_rfbi_display_disable) |
|
int __init | rfbi_init_platform_driver (void) |
|
void __exit | rfbi_uninit_platform_driver (void) |
|
#define DSS_SUBSYS_NAME "RFBI" |
#define DUMPREG |
( |
|
r | ) |
seq_printf(s, "%-35s %08x\n", #r, rfbi_read_reg(r)) |
#define RFBI_CONFIG |
( |
|
n | ) |
RFBI_REG(0x0060 + (n)*0x18) |
#define RFBI_CYCLE_TIME |
( |
|
n | ) |
RFBI_REG(0x0068 + (n)*0x18) |
#define RFBI_DATA_CYCLE1 |
( |
|
n | ) |
RFBI_REG(0x006c + (n)*0x18) |
#define RFBI_DATA_CYCLE2 |
( |
|
n | ) |
RFBI_REG(0x0070 + (n)*0x18) |
#define RFBI_DATA_CYCLE3 |
( |
|
n | ) |
RFBI_REG(0x0074 + (n)*0x18) |
#define RFBI_HSYNC_WIDTH RFBI_REG(0x0094) |
#define RFBI_LINE_NUMBER RFBI_REG(0x0048) |
#define RFBI_ONOFF_TIME |
( |
|
n | ) |
RFBI_REG(0x0064 + (n)*0x18) |
#define RFBI_VSYNC_WIDTH RFBI_REG(0x0090) |
- Enumerator:
OMAP_DSS_RFBI_CYCLEFORMAT_1_1 |
|
OMAP_DSS_RFBI_CYCLEFORMAT_2_1 |
|
OMAP_DSS_RFBI_CYCLEFORMAT_3_1 |
|
OMAP_DSS_RFBI_CYCLEFORMAT_3_2 |
|
Definition at line 72 of file rfbi.c.
- Enumerator:
OMAP_DSS_RFBI_DATATYPE_12 |
|
OMAP_DSS_RFBI_DATATYPE_16 |
|
OMAP_DSS_RFBI_DATATYPE_18 |
|
OMAP_DSS_RFBI_DATATYPE_24 |
|
Definition at line 79 of file rfbi.c.
- Enumerator:
OMAP_DSS_RFBI_PARALLELMODE_8 |
|
OMAP_DSS_RFBI_PARALLELMODE_9 |
|
OMAP_DSS_RFBI_PARALLELMODE_12 |
|
OMAP_DSS_RFBI_PARALLELMODE_16 |
|
Definition at line 86 of file rfbi.c.
int omap_rfbi_enable_te |
( |
bool |
enable, |
|
|
unsigned |
line |
|
) |
| |
int omap_rfbi_setup_te |
( |
enum omap_rfbi_te_mode |
mode, |
|
|
unsigned |
hs_pulse_time, |
|
|
unsigned |
vs_pulse_time, |
|
|
int |
hs_pol_inv, |
|
|
int |
vs_pol_inv, |
|
|
int |
extif_div |
|
) |
| |
void* framedone_callback_data |