Lines Matching refs:hw

84 	return (readreg(cs->hw.mic.adr, cs->hw.mic.isac, offset));  in ReadISAC()
90 writereg(cs->hw.mic.adr, cs->hw.mic.isac, offset, value); in WriteISAC()
96 readfifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size); in ReadISACfifo()
102 writefifo(cs->hw.mic.adr, cs->hw.mic.isac, 0, data, size); in WriteISACfifo()
108 return (readreg(cs->hw.mic.adr, in ReadHSCX()
109 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0))); in ReadHSCX()
115 writereg(cs->hw.mic.adr, in WriteHSCX()
116 cs->hw.mic.hscx, offset + (hscx ? 0x40 : 0), value); in WriteHSCX()
123 #define READHSCX(cs, nr, reg) readreg(cs->hw.mic.adr, \
124 cs->hw.mic.hscx, reg + (nr ? 0x40 : 0))
125 #define WRITEHSCX(cs, nr, reg, data) writereg(cs->hw.mic.adr, \
126 cs->hw.mic.hscx, reg + (nr ? 0x40 : 0), data)
128 #define READHSCXFIFO(cs, nr, ptr, cnt) readfifo(cs->hw.mic.adr, \
129 cs->hw.mic.hscx, (nr ? 0x40 : 0), ptr, cnt)
131 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) writefifo(cs->hw.mic.adr, \
132 cs->hw.mic.hscx, (nr ? 0x40 : 0), ptr, cnt)
146 val = readreg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_ISTA + 0x40); in mic_interrupt()
150 val = readreg(cs->hw.mic.adr, cs->hw.mic.isac, ISAC_ISTA); in mic_interrupt()
154 val = readreg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_ISTA + 0x40); in mic_interrupt()
160 val = readreg(cs->hw.mic.adr, cs->hw.mic.isac, ISAC_ISTA); in mic_interrupt()
166 writereg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_MASK, 0xFF); in mic_interrupt()
167 writereg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_MASK + 0x40, 0xFF); in mic_interrupt()
168 writereg(cs->hw.mic.adr, cs->hw.mic.isac, ISAC_MASK, 0xFF); in mic_interrupt()
169 writereg(cs->hw.mic.adr, cs->hw.mic.isac, ISAC_MASK, 0x0); in mic_interrupt()
170 writereg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_MASK, 0x0); in mic_interrupt()
171 writereg(cs->hw.mic.adr, cs->hw.mic.hscx, HSCX_MASK + 0x40, 0x0); in mic_interrupt()
179 if (cs->hw.mic.cfg_reg) in release_io_mic()
180 release_region(cs->hw.mic.cfg_reg, bytecnt); in release_io_mic()
215 cs->hw.mic.cfg_reg = card->para[1]; in setup_mic()
217 cs->hw.mic.adr = cs->hw.mic.cfg_reg + MIC_ADR; in setup_mic()
218 cs->hw.mic.isac = cs->hw.mic.cfg_reg + MIC_ISAC; in setup_mic()
219 cs->hw.mic.hscx = cs->hw.mic.cfg_reg + MIC_HSCX; in setup_mic()
221 if (check_region((cs->hw.mic.cfg_reg), bytecnt)) { in setup_mic()
225 cs->hw.mic.cfg_reg, in setup_mic()
226 cs->hw.mic.cfg_reg + bytecnt); in setup_mic()
229 request_region(cs->hw.mic.cfg_reg, bytecnt, "mic isdn"); in setup_mic()
234 cs->hw.mic.cfg_reg, in setup_mic()