Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ti_hdmi_4xxx_ip.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/interrupt.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/string.h>
#include <linux/seq_file.h>
#include <linux/gpio.h>
#include "ti_hdmi_4xxx_ip.h"
#include "dss.h"
#include "dss_features.h"

Go to the source code of this file.

Macros

#define DUMPREG(r)
 
#define DUMPPLL(r)
 
#define CORE_REG(i, name)   name(i)
 
#define DUMPCORE(r)
 
#define DUMPCOREAV(r)
 
#define DUMPCOREAV2(i, r)
 
#define DUMPPHY(r)
 

Functions

int ti_hdmi_4xxx_pll_enable (struct hdmi_ip_data *ip_data)
 
void ti_hdmi_4xxx_pll_disable (struct hdmi_ip_data *ip_data)
 
int ti_hdmi_4xxx_phy_enable (struct hdmi_ip_data *ip_data)
 
void ti_hdmi_4xxx_phy_disable (struct hdmi_ip_data *ip_data)
 
int ti_hdmi_4xxx_read_edid (struct hdmi_ip_data *ip_data, u8 *edid, int len)
 
bool ti_hdmi_4xxx_detect (struct hdmi_ip_data *ip_data)
 
int ti_hdmi_4xxx_wp_video_start (struct hdmi_ip_data *ip_data)
 
void ti_hdmi_4xxx_wp_video_stop (struct hdmi_ip_data *ip_data)
 
void ti_hdmi_4xxx_basic_configure (struct hdmi_ip_data *ip_data)
 
void ti_hdmi_4xxx_wp_dump (struct hdmi_ip_data *ip_data, struct seq_file *s)
 
void ti_hdmi_4xxx_pll_dump (struct hdmi_ip_data *ip_data, struct seq_file *s)
 
void ti_hdmi_4xxx_core_dump (struct hdmi_ip_data *ip_data, struct seq_file *s)
 
void ti_hdmi_4xxx_phy_dump (struct hdmi_ip_data *ip_data, struct seq_file *s)
 

Macro Definition Documentation

#define CORE_REG (   i,
  name 
)    name(i)
#define DUMPCORE (   r)
Value:
seq_printf(s, "%-35s %08x\n", #r,\
hdmi_read_reg(hdmi_core_sys_base(ip_data), r))
#define DUMPCOREAV (   r)
Value:
seq_printf(s, "%-35s %08x\n", #r,\
hdmi_read_reg(hdmi_av_base(ip_data), r))
#define DUMPCOREAV2 (   i,
  r 
)
Value:
seq_printf(s, "%s[%d]%*s %08x\n", #r, i, \
(i < 10) ? 32 - strlen(#r) : 31 - strlen(#r), " ", \
hdmi_read_reg(hdmi_av_base(ip_data), CORE_REG(i, r)))
#define DUMPPHY (   r)
Value:
seq_printf(s, "%-35s %08x\n", #r,\
hdmi_read_reg(hdmi_phy_base(ip_data), r))
#define DUMPPLL (   r)
Value:
seq_printf(s, "%-35s %08x\n", #r,\
hdmi_read_reg(hdmi_pll_base(ip_data), r))
#define DUMPREG (   r)
Value:
seq_printf(s, "%-35s %08x\n", #r,\
hdmi_read_reg(hdmi_wp_base(ip_data), r))

Function Documentation

void ti_hdmi_4xxx_basic_configure ( struct hdmi_ip_data ip_data)

Definition at line 777 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_core_dump ( struct hdmi_ip_data ip_data,
struct seq_file s 
)

Definition at line 892 of file ti_hdmi_4xxx_ip.c.

bool ti_hdmi_4xxx_detect ( struct hdmi_ip_data ip_data)

Definition at line 479 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_phy_disable ( struct hdmi_ip_data ip_data)

Definition at line 320 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_phy_dump ( struct hdmi_ip_data ip_data,
struct seq_file s 
)

Definition at line 1015 of file ti_hdmi_4xxx_ip.c.

int ti_hdmi_4xxx_phy_enable ( struct hdmi_ip_data ip_data)

Definition at line 270 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_pll_disable ( struct hdmi_ip_data ip_data)

Definition at line 231 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_pll_dump ( struct hdmi_ip_data ip_data,
struct seq_file s 
)

Definition at line 878 of file ti_hdmi_4xxx_ip.c.

int ti_hdmi_4xxx_pll_enable ( struct hdmi_ip_data ip_data)

Definition at line 208 of file ti_hdmi_4xxx_ip.c.

int ti_hdmi_4xxx_read_edid ( struct hdmi_ip_data ip_data,
u8 edid,
int  len 
)

Definition at line 451 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_wp_dump ( struct hdmi_ip_data ip_data,
struct seq_file s 
)

Definition at line 856 of file ti_hdmi_4xxx_ip.c.

int ti_hdmi_4xxx_wp_video_start ( struct hdmi_ip_data ip_data)

Definition at line 701 of file ti_hdmi_4xxx_ip.c.

void ti_hdmi_4xxx_wp_video_stop ( struct hdmi_ip_data ip_data)

Definition at line 707 of file ti_hdmi_4xxx_ip.c.