Cross Reference: TIPriv.h
xref
: /
vbox
/
src
/
VBox
/
Additions
/
x11
/
x11include
/
xorg-server-1.5.3
/
TIPriv.h
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
ifdef
HAVE_XORG_CONFIG_H
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
include
<
xorg-config.h
>
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
endif
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
include
"
TI.h
"
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
typedef
struct
{
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
char
*
DeviceName
;
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
}
xf86TIramdacInfo
;
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
extern
xf86TIramdacInfo
TIramdacDeviceInfo
[];
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
ifdef
INIT_TI_RAMDAC_INFO
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
xf86TIramdacInfo
TIramdacDeviceInfo
[] = {
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
{
"TI TVP3030"
},
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
{
"TI TVP3026"
}
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
};
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
endif
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
define
TISAVE
(
_reg
)
do
{ \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
ramdacReg
->
DacRegs
[
_reg
] = (*
ramdacPtr
->
ReadDAC
)(
pScrn
,
_reg
); \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
}
while
(0)
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
#
define
TIRESTORE
(
_reg
)
do
{ \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
(*
ramdacPtr
->
WriteDAC
)(
pScrn
,
_reg
, \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
(
ramdacReg
->
DacRegs
[
_reg
] &
0xFF00
) >>
8
, \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
ramdacReg
->
DacRegs
[
_reg
]); \
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte
}
while
(0)
fcf3ce441efd61da9bb2884968af01cb7c1452cc
John Forte