Home
last modified time | relevance | path

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

/linux-4.19.296/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-4.19.296/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 …]