Home
last modified time | relevance | path

Searched refs:BaseAddr (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/drivers/net/irda/
Dvia-ircc.h256 __u8 ReadReg(unsigned int BaseAddr, int iRegNum) in ReadReg() argument
258 return ((__u8) inb(BaseAddr + iRegNum)); in ReadReg()
261 void WriteReg(unsigned int BaseAddr, int iRegNum, unsigned char iVal) in WriteReg() argument
263 outb(iVal, BaseAddr + iRegNum); in WriteReg()
266 int WriteRegBit(unsigned int BaseAddr, unsigned char RegNum, in WriteRegBit() argument
276 Rtemp = ReadReg(BaseAddr, RegNum); in WriteRegBit()
285 WriteReg(BaseAddr, RegNum, Wtemp); in WriteRegBit()
289 __u8 CheckRegBit(unsigned int BaseAddr, unsigned char RegNum, in CheckRegBit() argument
299 temp = ReadReg(BaseAddr, RegNum); in CheckRegBit()
455 #define CRC16(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,7,val) //0 for 32 CRC argument
[all …]
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dnsp_io.h20 static inline void nsp_index_write(unsigned int BaseAddr,
23 static inline unsigned char nsp_index_read(unsigned int BaseAddr,
47 static inline unsigned char nsp_index_read(unsigned int BaseAddr, in nsp_index_read() argument
50 outb(Register, BaseAddr + INDEXREG); in nsp_index_read()
51 return inb(BaseAddr + DATAREG); in nsp_index_read()
54 static inline void nsp_index_write(unsigned int BaseAddr, in nsp_index_write() argument
58 outb(Register, BaseAddr + INDEXREG); in nsp_index_write()
59 outb(Value, BaseAddr + DATAREG); in nsp_index_write()
67 static inline void nsp_multi_read_1(unsigned int BaseAddr, in nsp_multi_read_1() argument
72 insb(BaseAddr + Register, buf, count); in nsp_multi_read_1()
[all …]
/linux-2.4.37.9/drivers/video/sis/
Dinit.c1268 SiSRegInit(SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr) in SiSRegInit() argument
1270 SiS_Pr->SiS_P3c4 = BaseAddr + 0x14; in SiSRegInit()
1271 SiS_Pr->SiS_P3d4 = BaseAddr + 0x24; in SiSRegInit()
1272 SiS_Pr->SiS_P3c0 = BaseAddr + 0x10; in SiSRegInit()
1273 SiS_Pr->SiS_P3ce = BaseAddr + 0x1e; in SiSRegInit()
1274 SiS_Pr->SiS_P3c2 = BaseAddr + 0x12; in SiSRegInit()
1275 SiS_Pr->SiS_P3ca = BaseAddr + 0x1a; in SiSRegInit()
1276 SiS_Pr->SiS_P3c6 = BaseAddr + 0x16; in SiSRegInit()
1277 SiS_Pr->SiS_P3c7 = BaseAddr + 0x17; in SiSRegInit()
1278 SiS_Pr->SiS_P3c8 = BaseAddr + 0x18; in SiSRegInit()
[all …]
Dinit.h2391 void SiSRegInit(SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr);
Dsis_main.h907 extern void SiSRegInit(SiS_Private *SiS_Pr, SISIOADDRESS BaseAddr);