Lines Matching refs:teles0

186 	return (readisac(cs->hw.teles0.membase, offset));  in ReadISAC()
192 writeisac(cs->hw.teles0.membase, offset, value); in WriteISAC()
198 read_fifo_isac(cs->hw.teles0.membase, data, size); in ReadISACfifo()
204 write_fifo_isac(cs->hw.teles0.membase, data, size); in WriteISACfifo()
210 return (readhscx(cs->hw.teles0.membase, hscx, offset)); in ReadHSCX()
216 writehscx(cs->hw.teles0.membase, hscx, offset, value); in WriteHSCX()
223 #define READHSCX(cs, nr, reg) readhscx(cs->hw.teles0.membase, nr, reg)
224 #define WRITEHSCX(cs, nr, reg, data) writehscx(cs->hw.teles0.membase, nr, reg, data)
225 #define READHSCXFIFO(cs, nr, ptr, cnt) read_fifo_hscx(cs->hw.teles0.membase, nr, ptr, cnt)
226 #define WRITEHSCXFIFO(cs, nr, ptr, cnt) write_fifo_hscx(cs->hw.teles0.membase, nr, ptr, cnt)
241 val = readhscx(cs->hw.teles0.membase, 1, HSCX_ISTA); in telespci_interrupt()
244 val = readisac(cs->hw.teles0.membase, ISAC_ISTA); in telespci_interrupt()
248 writel(0x70000000, cs->hw.teles0.membase + 0x3C); in telespci_interrupt()
250 writehscx(cs->hw.teles0.membase, 0, HSCX_MASK, 0xFF); in telespci_interrupt()
251 writehscx(cs->hw.teles0.membase, 1, HSCX_MASK, 0xFF); in telespci_interrupt()
252 writeisac(cs->hw.teles0.membase, ISAC_MASK, 0xFF); in telespci_interrupt()
253 writeisac(cs->hw.teles0.membase, ISAC_MASK, 0x0); in telespci_interrupt()
254 writehscx(cs->hw.teles0.membase, 0, HSCX_MASK, 0x0); in telespci_interrupt()
255 writehscx(cs->hw.teles0.membase, 1, HSCX_MASK, 0x0); in telespci_interrupt()
261 iounmap((void *)cs->hw.teles0.membase); in release_io_telespci()
310 cs->hw.teles0.membase = (u_long) ioremap(pci_resource_start(dev_tel, 0), in setup_telespci()
325 writel(0x00000000, cs->hw.teles0.membase + 0x28); in setup_telespci()
326 writel(0x01000000, cs->hw.teles0.membase + 0x28); in setup_telespci()
327 writel(0x01000000, cs->hw.teles0.membase + 0x28); in setup_telespci()
328 writel(0x7BFFFFFF, cs->hw.teles0.membase + 0x2C); in setup_telespci()
329 writel(0x70000000, cs->hw.teles0.membase + 0x3C); in setup_telespci()
330 writel(0x61000000, cs->hw.teles0.membase + 0x40); in setup_telespci()
336 cs->hw.teles0.membase); in setup_telespci()