Home
last modified time | relevance | path

Searched refs:ReadReg (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/net/irda/
Dvia-ircc.h239 static __u8 ReadReg(unsigned int BaseAddr, int iRegNum) in ReadReg() function
259 Rtemp = ReadReg(BaseAddr, RegNum); in WriteRegBit()
282 temp = ReadReg(BaseAddr, RegNum); in CheckRegBit()
343 #define GetSIRBOF(BaseAddr) ReadReg(BaseAddr,I_SIR_BOF)
344 #define GetSIREOF(BaseAddr) ReadReg(BaseAddr,I_SIR_EOF)
367 #define GetIntIndentify(BaseAddr) ((ReadReg(BaseAddr,H_ST)&0xf1) >>1)
369 #define GetHostStatus(BaseAddr) ReadReg(BaseAddr,H_ST) //RO
387 #define GetTXStatus(BaseAddr) ReadReg(BaseAddr,TX_ST) //RO
393 #define GetRXStatus(BaseAddr) ReadReg(BaseAddr,RX_ST) //RO
409 #define GetFIRVersion(BaseAddr) ReadReg(BaseAddr,VERSION)
[all …]
Dvia-ircc.c732 bTmp = (ReadReg(iobase, I_CF_H_1) & 0x03); in via_ircc_change_speed()
/linux-3.4.99/drivers/isdn/hisax/
Dhfc_2bds0.c35 ReadReg(struct IsdnCardState *cs, int data, u_char reg) in ReadReg() function
74 return (ReadReg(cs, HFCD_DATA, offset)); in readreghfcd()
88 while (!(ReadReg(cs, HFCD_DATA, HFCD_STAT) & HFCD_BUSY) && to) { in WaitForBusy()
102 while ((ReadReg(cs, HFCD_STATUS, HFCD_STATUS) & HFCD_BUSY) && to) { in WaitNoBusy()
176 val = 256 * ReadReg(cs, HFCD_DATA, reg | HFCB_Z_HIGH); in ReadZReg()
178 val += ReadReg(cs, HFCD_DATA, reg | HFCB_Z_LOW); in ReadZReg()
201 ReadReg(cs, HFCD_DATA_NODEB, cip); in hfc_empty_fifo()
212 ReadReg(cs, HFCD_DATA_NODEB, cip); in hfc_empty_fifo()
223 *ptr = ReadReg(cs, HFCD_DATA_NODEB, cip); in hfc_empty_fifo()
234 chksum = (ReadReg(cs, HFCD_DATA, cip) << 8); in hfc_empty_fifo()
[all …]
/linux-3.4.99/drivers/isdn/hardware/avm/
Db1dma.c147 static u8 ReadReg(avmcard *card, u32 reg) in ReadReg() function
306 if (ReadReg(card, 0x80001000) != 0x11 in t1pci_detect()
307 || ReadReg(card, 0x80101000) != 0x22 in t1pci_detect()
308 || ReadReg(card, 0x80201000) != 0x33 in t1pci_detect()
309 || ReadReg(card, 0x80301000) != 0x44) in t1pci_detect()
318 if (ReadReg(card, 0x80001000) != 0x55 in t1pci_detect()
319 || ReadReg(card, 0x80101000) != 0x66 in t1pci_detect()
320 || ReadReg(card, 0x80201000) != 0x77 in t1pci_detect()
321 || ReadReg(card, 0x80301000) != 0x88) in t1pci_detect()
337 if ((ReadReg(card, 0x80A00000) & 0x01) != 0x01) in b1pciv4_detect()
[all …]